a declarative approach to electronic business ching-long yeh department of computer science and...
TRANSCRIPT
![Page 1: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/1.jpg)
A Declarative Approach to Electronic Business
Ching-Long Yeh
Department of Computer Science and Engineering
Tatung University
Taipei 104
http://www.cse.ttu.edu.tw/chingyeh
![Page 2: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/2.jpg)
A Declarative to EB 2
Abstract
• EB standards provide the neutral basis of
interoperability between trading partner
• Moving from procedural approach to declarative
approach
• Representation of EB standards using the ontology
technique
• Declarative approach to EB implementation
![Page 3: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/3.jpg)
Electronic Commerce
• Evolution of electronic commerce– B2C, human-to-machine, online catalogue service– B2B, AP-to-AP,
• EB standards– RosettaNet、 ebXML、 BizTalk。
Transport, routing, packaging
Business processes,business documents
Company A Company B
Transport, routing, packaging
Business processes,business documents
Backend APBackend AP
![Page 4: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/4.jpg)
A Declarative to EB 4
General EB Architecture
• EB standard architecture is divided into – Upper level: Standard business
processes and document– Lower level: Services for message
transport, routing and packaging
• Popular standards– Horizontal integration: ebXML– Vertical integration: RosettaNet (Information Technology,
Electronic Component and Semiconductor Manufacturing)– Messaging service: BizTalk Framework
Transport, routing, packaging
Business processes,business documents
![Page 5: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/5.jpg)
A Declarative to EB 5
ebXML Technical Architecture
1. Obtain ebXMLspec
2. Build and deployebXML applications
3. Prepare andpublish CPP
4. Discover A'sprofile
5. Would like toengage in businesscenarioi usingebXML and forman agreement(CPA)
ebXMLregistry
Com
pany
A
Com
pany
B
6. Do business according to the content of CPA
![Page 6: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/6.jpg)
A Declarative to EB 6
ebXML Infrastructure
• EB infrastructure consists of
1. Trading partner’s information
• Collaboration Protocol Profile (CPP) and Collaboration Protocol Agreement (CPA)
2. Business process and information meta model
• Business Process Schema Specification
3. Core component and core library functionality
4. Registry functionality
5. Messaging service functionality
Common BP andvocabulary
![Page 7: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/7.jpg)
A Declarative to EB 7
CPP Structure<CollaborationProtocolProfile
xmlns="http://www.ebxml.org/namespaces/tradePartner"xmlns:ds="http://www.w3.org/2000/09/xmldsig#"xmlns:xlink="http://www.w3.org/1999/xlink"version="1.1">
<PartyInfo> <!--one or more--> ... </PartyInfo> <Packaging id="ID"> <!--one or more--> ... <Packaging> <ds:Signature> <!--zero or one--> ... </ds:Signature> <Comment>text</Comment> <!--zero or more--> </CollaborationProtocolProfile>
![Page 8: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/8.jpg)
A Declarative to EB 8
CPA Structure<CollaborationProtocolAgreement
xmlns="http://www.ebxml.org/namespaces/tradePartner" xmlns:bpm="http://www.ebxml.org/namespaces/businessProcess"
xmlns:ds = "http://www.w3.org/2000/09/xmldsig#"xmlns:xlink = "http://www.w3.org/1999/xlink"
cpaid="YoursAndMyCPA" version="1.2"> <Status value = "proposed"/> <Start>1988-04-07T18:39:09</Start> <End>1990-04-07T18:40:00</End> <!--ConversationConstraints MAY appear 0 or 1 times--> <ConversationConstraints invocationLimit = "100" concurrentConversations = "4"/> <PartyInfo> … </PartyInfo> <PartyInfo> … </PartyInfo> <Packaging id="N20"> <!--one or more-->
… </Packaging> <ds:Signature>any combination of text and elements </ds:Signature> <Comment xml:lang="en-gb">any text</Comment> <!--zero or more--></CollaborationProtocolAgreement>
![Page 9: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/9.jpg)
1. Any Party may register its CPPs to an ebXML Registry.
2. Party B discovers trading partner A (Seller) by searching in the Registry and downloads CPP(A) to Party B’s server.
3. Party B creates CPA(A,B) and sends CPA(A,B) to Party A.
4. Parties A and B negotiate and store identical copies of the completed CPA as a document in both servers. This process is done manually or automatically.
5. Parties A and B configure their run-time systems with the information in the CPA.
6. Parties A and B do business under the new CPA.
CPP(A)CPP(B)
CPP(X)CPP(Y)CPP(Z)
1.
1.CPA(A,B)
CPA(A,B)
(Document)(Exec. codet)
CPA(A,B)
CPA(A,B)(Document)(Exec. codet)
2.3.4.
5.
5.
6.
Party A(Seller, Server)
Party B(Buyer, Server)
Registry
Working Architecture of CPP/CPA
![Page 10: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/10.jpg)
A Declarative to EB 10
Business Process SchemaConcept
![Page 11: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/11.jpg)
A Declarative to EB 11
Business Process Schema in XML
![Page 12: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/12.jpg)
A Declarative to EB 12
Procedural Approach to EB
• Specifications– Not machine-readable– Need human interpretation
• Lack of partner discovery mechanism (registry, CPP, CPA)
• Example: RosettaNet
![Page 13: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/13.jpg)
A Declarative to EB 13
Declarative Approach to EB
• Specifications– Machine-readable (Business Process, Document, and
Vocabulary in either UML or XML)– Enabling automatic code generation
• Partner discovery mechanism (registry, CPP, CPA)• Example: ebXML
![Page 14: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/14.jpg)
A Declarative to EB 14
Forming CPA by Automatic Negotiation
Packaging
Transport
Role
Packaging
Transport
Role
matches
matches
matches
Basic tasks of forming CPA
![Page 15: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/15.jpg)
Rule-based Formation of CPA
Ontology(BPS, BD, CC)
BPS: Business Process SchemaBD: Business DocumentCC: Core Components
InferenceEngine
Rule Base
RDF triplesstore
Prolog rules
WebServer
Input: CPP1,CPP2
Result: CPA or difference
![Page 16: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/16.jpg)
A Declarative to EB 16
Two-Layer Agent-Mediated EB Architecture
• We propose a two-layer agent-mediated EB architecture, where– The Upper Layer consists of agents that play the role of
Business Collaboration and Choreography in ebXML,– The Lower Layer consists of agents each of which
accomplishes a basic Business Transaction in ebXML.
![Page 17: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/17.jpg)
F
BT
FTP, SMTP, HTTP
F
FTP, SMTP, HTTP
F Facilitator
BC BC
BC
BC
BusnessCollaborationAgent
BC
TP TP TP
UpperLayer
LowerLayer
BT
BT
BT
BTBusinessTransactionAgent
BT
BTBT
BT
TP TradingPartner
![Page 18: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/18.jpg)
Interactions between BT Agents
BT BT
RequestingAgent
RespondingAgent
Request Document
Response Document
Receipt Ack Signal
Accept Ack Signal
Receipt Ack Signal
![Page 19: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/19.jpg)
Interactions between BC Agents
RequestingAgent
RespondingAgent
Request Document
Response Document
Receipt Ack Signal
Accept Ack Signal
Receipt Ack Signal
RequestingAgent
RespondingAgent
Request Document
Response Document
Receipt Ack Signal
Accept Ack Signal
Receipt Ack Signal
RequestingAgent
RespondingAgent
Request Document
Response Document
Receipt Ack Signal
Accept Ack Signal
Receipt Ack Signal
RequestingAgent
RespondingAgent
Request Document
Response Document
Receipt Ack Signal
Accept Ack Signal
Receipt Ack Signal
BC BC
![Page 20: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/20.jpg)
Generation of Execution Code from CPA
InferenceEngine
Rule Base
CPABC Agent Code
BT Agent Code
![Page 21: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/21.jpg)
A Declarative to EB 21
Implementation
![Page 22: A Declarative Approach to Electronic Business Ching-Long Yeh Department of Computer Science and Engineering Tatung University Taipei 104 Taiwan chingyeh@cse.ttu.edu.tw](https://reader031.vdocuments.mx/reader031/viewer/2022032307/56649cb65503460f9497b465/html5/thumbnails/22.jpg)
A Declarative to EB 22
Conclusions
• EB standards are moving towards declarative approach.
• We propose a declarative approach to EB implementation– Ontology– Rule-based– Generation of execution codes from specification documents