440 likes | 529 Views
「商業協同運作協定的自動協商」 技術探討. Ching-Long Yeh 葉慶隆 Department of Computer Science and Engineering Tatung University Taipei, Taiwan Email: chingyeh@cse.ttu.edu.tw URL: http://www.cse.ttu.edu.tw/chingyeh. Web Technology Evolution. Web Technology. HTML XML Electronic Business Semantic Web. WWW.
E N D
「商業協同運作協定的自動協商」技術探討 Ching-Long Yeh 葉慶隆 Department of Computer Science and Engineering Tatung University Taipei, Taiwan Email: chingyeh@cse.ttu.edu.tw URL: http://www.cse.ttu.edu.tw/chingyeh
Web Technology • HTML • XML • Electronic Business • Semantic Web Automatic Negotiation of CPA
WWW Information Pool • HTTP (Hyper Text Transport Protocol) • HTML (Hyper Text Markup Language) • URL (Uniform Resource Locator) Application Client Web server URL HTML Document HTTP • Human-to-machine interaction • Information explosion Automatic Negotiation of CPA
Interactions Using XML Information Pool Information Pool • XML (eXtensible Markup Language) • SOAP (Simple Object Access Protocol) Application Application SOAP server SOAP server XML Document XML Document HTTP • Machine-to-machine interaction • Service automation Automatic Negotiation of CPA
Web Service Architecture Automatic Negotiation of CPA
Business processes, business documents Business processes, business documents Transport, routing, packaging Transport, routing, packaging Electronic Business • Application-to-Application • Business Process Automation • RosettaNet (vertical solution) • ebXML (horizontal framework) Company A Company B ERP ERP Automatic Negotiation of CPA
Semantic Web • The Semantic Web is a vision: the idea of having data on the web defined and linked in a way that it can be used by machines not just for display purposes, but for automation, integration and reuse of data across various applications • See “W3C Semantic Web Activity,” by Marja-Riitta Koivunen, for more descriptions. Automatic Negotiation of CPA
Semantic Web • The Semantic Web is the new generation of the World Wide Web, based on the semantic network knowledge representation formalism, which enables packaging information in the form of object-attribute-value statements, so called triplets. • By assuming that terms used in these statements are based on the formally specified meaning (for the community of interest), i.e. ontologies, these triplets can be semantically processed by machine agents. From: http://www2002.org/CDROM/poster/130.pdf Automatic Negotiation of CPA
The Semantic Web Layered Architecture Trust Proof Sig Tim Berners-Lee: “Axioms, Architecture and Aspirations” W3C all-working group plenary Meeting 28 February 2001 Logic Rules Ontology RDF Schema (http://www.w3.org/2001/Talks/0228-tbl/slide5-0.html) RDF M&S XML Schema XML Namespaces URI Unicode Automatic Negotiation of CPA
The Big Picture of SW Automatic Negotiation of CPA (http://semanticweb.org/about.html#bigpicture)
Remainder • Introduction to ebXML framework • Creating agreement of collaboration protocol between trading partners • Introduction to CPPA • Agent-mediated architecture for the negotiation of collaboration protocols • Working examples • Conclusion Automatic Negotiation of CPA
The ebXML Framework at Work Automatic Negotiation of CPA
Components of the ebXML Framework • BPSS (Business Process Specification Schema) • Defining how public business-processes are described • ebCC (Core Components) • Defining the semantics of business documents that are exchanged in public processes • CPP (Collaboration Protocol Profile) • Definition of services and the constraints in using the services • CPA (Collaboration Protocol Agreement) • Description of the mutual agreement between the business partners to carry out the public business process • RR (Registry and Repository) • Protocols and store for registering, storing, and retrieving public business processes and associated business documents, and CPPs • ebMS (Message Services) • A standard way to send and receive messages between business partners Automatic Negotiation of CPA
The ebXML standards Business Process Business Document BPSS CC Registry CPP Partner Profile and Agreement Discovery Repository CPA Message Service MS Automatic Negotiation of CPA
Public and private processes BSI=Business Service Interface Automatic Negotiation of CPA
Performing the automation Automatic Negotiation of CPA
Formation of CPA Automatic Negotiation of CPA
CPP • An XML document, rooted with CollaborationProtocolProfile element. CollaborationProtocolProfile PartyInfo+ Packaging+ ds:Signature? Comment* Automatic Negotiation of CPA
CPP • PartyInfo describes the company described in the CPP PartyInfo PartyId PartyRef CollaborationRole Certificate DeliveryChannel Transport DocExchange Automatic Negotiation of CPA
CPP • The CollaborationRole element contains the data describing the parts or functions played by the company in business processes supported by that company. CollaborationRole ProcessSpecification ds:reference name Role id version CertificateRef certId xlink:type ServiceBinding xlink:href name name channelId xlink:type Packaging xlink:href override Automatic Negotiation of CPA
CPPLayered Structure Business process Business process Process Specification layer Transport Transport Transport Transport layer Delivery channels Document exchange layer Document exchange Document exchange Document exchange Automatic Negotiation of CPA
CPPStructure(1) <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> Automatic Negotiation of CPA
CPA Structure(1) <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"/> Possible values{ “proposed”, “agreed”, “signed”} CPA lifetime Automatic Negotiation of CPA
CPA Structure(2) <PartyInfo> … </PartyInfo> <PartyInfo> … </PartyInfo> <Packaging id="N20"> <!--one or more--> ... </Packaging> <!--ds:signature MAY appear 0 or more times--> <ds:Signature>any combination of text and elements </ds:Signature> <Comment xml:lang="en-gb">any text</Comment> <!--zero or more--> </CollaborationProtocolAgreement> Two for both parties Automatic Negotiation of CPA
An Agent-Mediated Architecture for EB Automation ebXML Repository CPP CPP User Interface Buyer Agent Seller Agent User Interface Evaluation Engine Evaluation Engine Reconciliation Engine Reconciliation Engine Negotiation Repository of Partner’s CPAs Design Time Run Time Transformation of BPSS into rule Repository of BP rule Buyer Seller BSI BSI Backend Processing Backend Processing Working Memory Business Collaboration rule Business Process Handler Process engine Message Service Handler Message Service Handler Automatic Negotiation of CPA
Facilitator Agent Registry Interagent Communication Language Meta Agent Application Agent NL to ICL Agent User Interface Agent API Modality Agents Application OAA Architecture Automatic Negotiation of CPA
System Workflow :Buyer :Buyer Agent :Facilitator Agent :Seller Agent :Seller Request (Buyer CPP) Seller CPP Set the Rule Matching Matching Evaluate and Reconcile Evaluate and Reconcile Modified CPA Modified CPA Negotiation Negotiation Finish and Return Result CPA Finish and Return Result CPA Automatic Negotiation of CPA
Basic Tasks in Forming a CPA match Role Role Packaging Packaging match Transport Transport match Automatic Negotiation of CPA
Two Ways of Creating CPP 1 UI Interface 2 CPP (XML&KSL) User Automatic Negotiation of CPA
Convert CPP to KSL Back Automatic Negotiation of CPA
UI for Creating CPP Automatic Negotiation of CPA
Registration of CPP Automatic Negotiation of CPA
Buyer Agent Automatic Negotiation of CPA
Seller Agent Automatic Negotiation of CPA
Buyer Agent Connects to Seller Automatic Negotiation of CPA
Seller Agent Accepted Connection Automatic Negotiation of CPA
Match Sending Protocol(1/4) Automatic Negotiation of CPA
Match Sending Protocol(2/4) Automatic Negotiation of CPA
Match Sending Protocol(3/4) Automatic Negotiation of CPA
Match Sending Protocol(4/4) Automatic Negotiation of CPA
System Output Negotiation Output CPP CPP CPA Automatic Negotiation of CPA
Conclusion • EB automation, including the automation of implementation, discovery, and run-time phases • Agent-mediated architecture for the automation of discovery phase • A prototype system is developed to show the concept of automation. • Future work • Using UMM to formalize the negotiation protocol in BPSS • Using the agent-mediated architecture to develop the automatic negotiation of products trading, probably replacing the CPPs by terms of condition Automatic Negotiation of CPA