19
From Canonical Semantics to Practical Profiles Jay Britton Britton Consulting LLC [email protected] Pros and Cons of Common Language Transformation Engineering Version Management

From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

From Canonical Semantics to Practical Profiles

Jay Britton

Britton Consulting LLC

[email protected]

• Pros and Cons of Common Language• Transformation Engineering• Version Management

Page 2: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

Legacy Position – Information Silos

System 1

System 2

System 3

System 4

System 6

System 5

Page 3: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

What are the keys to simplifying integration?

1. Communication methods:• E.g. Pub sub; enterprise message bus; …

2. Syntactical constructions with marshalling / unmarshalling tools:• E.g. XML

3. Semantic organization:• Canonical data models; standardized semantic

interoperability; …

4. Business process organization:

5. …

Application investment is highly dependent on

semantic choices.

Page 4: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

GWAC Stack from Gridwise Architecture

Organizational

Technical

Informational

8: Economic/Regulatory Policy

7: Business Objectives

6: Business Procedures

3: Syntactic Interoperability

5: Business Context

2: Network Interoperability

4: Semantic Understanding

1: Basic Connectivity

Interoperability Categories

Political and Economic Objectives as

Embodied in Policy and Regulation

Strategic and Tactical Objectives

Shared between Businesses

Alignment between Operational Business

Processes and Procedures

Awareness of the Business Knowledge

Related to a Specific Interaction

Understanding of the Concepts Contained

in the Message Data Structures

Understanding of Data Structure in

Messages Exchanged between Systems

Mechanism to Exchange Messages between

Multiple Systems across a Variety of Networks

Mechanism to Establish Physical

and Logical Connections between Systems

Page 5: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

Important terminology…

• Semantics refers to the meaning of a set of information.

• A semantic model is a structured description of the semantics of a set of information, using some information modeling language (e.g. UML). • A semantic model is ‘metadata’ – ‘data about data’.• Many different semantic models are possible for the same

semantics, even within one modeling language. • Semantic modeling only represents information content – it does not

include formatting/encoding (syntactical) specifications.

• A semantic transformation is a procedure for converting a given semantic from one semantic model representation to another. • This should be distinguished from a syntactic transformation that

converts from one format to another. (e.g. CSV to XML)

Page 6: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

A canonical data model (CDM) is a semantic model chosen as a common dialect for a data exchange.

Unification of semantic integration standards occurs

when profiles specifying individual exchanges derive

their semantics from a common CDM.

Page 7: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

Profile

• A specification for a data exchange in a particular business context.• Semantic content defined as a subset of a CDM.

• Interface media defined. E.g File, message, data server, etc.• Serialization / access mechanism defined as appropriate.

• If appropriate, message exchange sequences defined.

• Implementation investment is in profiles, not the CDM.

• Testing occurs at the profile level, not the CDM.

• Compliance is defined at the profile level, not the CDM.

Page 8: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

Transformations connect local semantics to standard profile semantics derived from CDM.

e.g. CIM

Page 9: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

How does a standard profile get started?

• The process starts with a business problem:• A need is identified for standardized interaction among a group

of applications to accomplish some business purpose.

• And organizational questions…• What is the proposed scope/purpose of the business problem?• Who are the interested parties that will supply domain expertise

and develop the technical specifications?• What parties are expected to implement support for the

standard?• Which CIM group will take responsibility?

• IEC formalities to define new work item (NWIP).• This basically creates a community of interest.

• Use cases drive requirements.• Individual data exchanges are identified which must be profiled.• Often a given business problem involves multiple exchange

profiles.

Page 10: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

Profile dependence

• Profile B is semantically dependent on profile A if the content of B cannot be fully interpreted without the content of A.

• Example:• Profile A defines the equipment making up an electrical

network.

• Profile B defines a list of contingency specifications that reference equipment to be outaged.

Page 11: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

Partial Sequence Diagram for Building Power Flow Cases

11

Page 12: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

Why does the CIM keep changing?

• Because it’s a language.• If we were perfect modelers, and if there were no new

problems, and no changes to business practices already standardized, we would not have to change. But these conditions are absurd.

• Semantic modeling mimics real language evolution.

• This is what it has to do.

• Profiles may stabilize semantic parts for periods of time, sort of like the way a book remains readable despite the ongoing change in language.

Page 13: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

Enterprise CDM Practicalities• Versions

• Industry standard CDM aims at consistency among a family of standards.• As new standards are developed each year, a new version of the CDM is

released.• It is impractical to update all previous standard profiles whenever a new

CDM version is released.

• Variants• When vendors or utilities use the standard CDM to achieve semantic

consistency, they inevitably need to extend / adapt the core CDM. This is called a CDM variant.

• Utility application also proceeds in stages, it requires regular update to new versions of the variant.

• It is impractical for any utility to maintain all implementations at the latest version of their variant.

• Consequence:• Enterprise usage of CDM strategy will never achieve complete consistency.• CDMs are never complete, never final – just like real languages.

Page 14: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

Enterprise CDM Versions & Variants

Page 15: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

And there is not just one CDM…

Page 16: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

Harmonization: the next best thing for coordinating CDMs.

• Definition: two CDMs are harmonized if:• There is a lossless transformation defined between all

duplicated semantics.

• Both sides undertake to maintain the harmony, once established.

Page 17: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

Standard semantic integration between harmonized domains – two CDMS.

Page 18: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

Transformation Engineering

• Transformations are everywhere…• Between CIM and application internals.• Between CIM versions and variants.• Between harmonized CDMs.

• This is not a completely solved problem.• We know what doesn’t work.• There are promising tools and techniques.• There is still work to do to control cost as the scale of

integration continues to increase.

• We must master the art of transformation engineering!

Page 19: From Canonical Semantics to Interoperability Profilescimug.ucaiug.org/Meetings/Ljubljana2013... · •A semantic transformation is a procedure for converting a given semantic from

• You may think that CIM is complex.

• From the standpoint of one information exchange implementation, it is.

• If you compare life cycle of 100 exchanges, each implemented in CIM, against other alternatives, CIM is much simpler.

CIM is not the easiest way to do anything –it is the easiest way to do everything!