Trustie Forge Solutions Linux Ow2

42
Nesting for Software Innovation Trustie: Trusted National Software Resource Sharing and Cooperating Environment Hailong Sun [email protected] Beihang University, Beijing, China Paris, France March 18, 2010

Transcript of Trustie Forge Solutions Linux Ow2

Page 1: Trustie Forge Solutions Linux Ow2

Nesting for Software Innovation

Trustie: Trusted National Software Resource Sharing and Cooperating Environment

Hailong [email protected]

Beihang University, Beijing, China

Paris, France March 18, 2010

Page 2: Trustie Forge Solutions Linux Ow2

22 www.trustie.net

Contents

Overview of Trustie Project1

Trustie: State of the Art2

International Collaboration3

Page 3: Trustie Forge Solutions Linux Ow2

33 www.trustie.net

About Trustie project

Trustie:Trusted National Software Resource Sharing and Cooperating EnvironmentFunded by the 863 program of MOST

Sept. 2007~Dec. 2010The largest funding project in software technologies from the 863 program

Coordinator: Prof. Huaimin Wang (NUDT)Core partners: 5 leading universities, institutes and industries

National University of Defense TechnologiesPeking UniversityBeihang UniversityInstitute of Software, CASCVICSE

Page 4: Trustie Forge Solutions Linux Ow2

44 www.trustie.net

Totally 18 participating institutions

西安协同

深圳点通

深圳创新天地

All OW2 members!

Page 5: Trustie Forge Solutions Linux Ow2

55 www.trustie.net

Goals of Trustie

Softw

are R

esource S

haring

Trustw

orthiness

Cooperative

Developm

ent

Trusted National Software Resource Sharing and

Cooperating Environment

Software resources, tools, developers…

Page 6: Trustie Forge Solutions Linux Ow2

66 www.trustie.net

Goals of Trustie

Softw

are R

esource S

haring

Trustw

orthiness

Cooperative

Developm

ent

Trusted National Software Resource Sharing and

Cooperating Environment

Software resources, tools, developers…

Productivity + Quality

Page 7: Trustie Forge Solutions Linux Ow2

77 www.trustie.net

R&D strategy of Trustie

Tools CooperativePlatform

SoftwareLibrary

System Product

Integration Framework

SoftwareProductionSoftware

ProductionSoftware Resource

SharingSoftware Resource

SharingSoftware

TrustworthinessSoftware

TrustworthinessCooperativeDevelopmentCooperativeDevelopment

SPLs

Technology R&D

Environment

Software Resource Sharing and Cooperative Production

Applications

Page 8: Trustie Forge Solutions Linux Ow2

88 www.trustie.net

Conceptual architecture of Trustie

TrustieForge: Software Cooperative Development Environment (CDE)

TrustieForgeTrustieForge: Software Cooperative Development : Software Cooperative Development Environment (CDE)Environment (CDE)

Internet

Software Resource Library (SRL)

Software Resource Library (SRL)

Set of Software ToolsSet of Software Tools

Set of Software Components, Services

and Frameworks

Set of Software Components, Services

and Frameworks

Software Production Line Integration Framework

Software Production Line Integration Framework

Software Production Line

Trustworthiness Assurance Mechanism

Trustworthiness Assurance Mechanism

Reusable Software

Resources

Reusable Software

Resources

Software Production

Tools

Software Production

Tools

Page 9: Trustie Forge Solutions Linux Ow2

99 www.trustie.net

Contents

Overview of Trustie Project1

Trustie: State of the Art2

International Collaboration3

Page 10: Trustie Forge Solutions Linux Ow2

1010 www.trustie.net

1. Architecture of SRL

2010-3-26

StorageLayer

Access interfaceLayer

FunctionLayer

Code SRR Service SRRSoftware Tools

Storage security mechanism: backup, recover, access control Storage security mechanism: backup, recover, access control

InternetSR searchengine

InternetSR searchengine

SR

publishing

SR

publishing

SR

Classification

SR

Classification

SR

retrievingSR

retrieving

User

management

User

management

SR’s TW evaluationSRSR’’s TW s TW evaluatevaluationion

Active collectingActive collectingUser feedback User feedback

Code m

easurement

Tool for trust C

ode measurem

entTool for trust

QoS

Coll

ection

Tool

QoS

Coll

ection

Tool

InternetInternet

UserDeveloper

External Integ.Interface

Web Access Interface

Muti-SRR Interoperation Interface

SRRSRR

InteroperationInteroperation

Cooperative developing platform

Software production line & tool

Page 11: Trustie Forge Solutions Linux Ow2

1111 www.trustie.net

Current statusCurrent statusStable running, improved performanceNum. of resources:16,000+

Jan 26, 2010

16396

19

206

4793

11343

Amount

439

18

78

22

321

Developed by Trustie

Total

Framework

Tools

Services

Component

Type

Software Resource Library

Page 12: Trustie Forge Solutions Linux Ow2

1212 www.trustie.net

2. Architecture of TrustieForge

Process MgtProcess MgtProject MgtProject Mgt

SCM

Bug Trace & Mgt

Test Mgt

Progress Mgt.

Task Mgt.

Tools Integration Framew

orkTools Integration Fram

ework

Platform M

anagement

Platform M

anagement

Uniform Resource AccessUniform Resource AccessAuthentication Authorization Query Publish

SoftwareConfiguration

Software Resource Library

CooperatingResource

Project Management and Service PortalProject Management and Service Portal

Application Lifecycle ManagementApplication Lifecycle ManagementPhase Project-Management Communication Assess Report

Software Development Cooperating Platform

Knowledge MgtKnowledge Mgt Communication MgtCommunication Mgt

Content Mgt

Resource Mgt

Wiki Mgt

Instant Message

Mailing List Mgt

Forum Mgt

Page 13: Trustie Forge Solutions Linux Ow2

1313 www.trustie.net

Page 14: Trustie Forge Solutions Linux Ow2

1414 www.trustie.net

InternetInternetInternet

3. SPL: Software Production Line

Coordinating people, tools and artifacts in a well-defined processInternet-based, integrated, extensible, collaborative

Software Production Process

Step 1 Step 2 Step 3 Step 4

Artifact C

ArtifactArtifact

…Tools

Process Model

Artifact A Artifact B

…Tools …Tools …ToolsPeoplePeople ToolTool

Page 15: Trustie Forge Solutions Linux Ow2

1515 www.trustie.net

A Virtual Development Team

2010-3-26

Cooperative Development based on SPLCooperative Development based on SPL

Trustie

Developer-1

Assessors

Developers

Developer-2 Developer-3……Developer-n

SPLComponent

/Service Component/Service

SPL Component/Service

AssessFuncationTrustworthiness

UseComponentsToolsSPLs

PublishComponents

ToolsSPLs

Page 16: Trustie Forge Solutions Linux Ow2

1616 www.trustie.net

T-Frame: SPL Integration FrameworkPersonal W

orkspacePersonal W

orkspace

SPL Instance

ToolRepository

ToolRepository

Assemble Client

Assemble Client

TaskMgmtTaskMgmt

Task ClientTask Client

SPLMgmtSPLMgmt

SPL ModelingSPL Modeling

ArtifactRepository

ArtifactRepository

TaskRepository

TaskRepository

SPLRepository

SPLRepository

ToolsMgmtToolsMgmt Artifact

ClientArtifactClient

Page 17: Trustie Forge Solutions Linux Ow2

1717 www.trustie.net

Software Production Integration FrameworkSoftware Production Integration Framework

Monitor Requirement

Modeling Tool

Monitor Requirement

Modeling Tool

Monitor ProbeGenerating

Tool

Monitor ProbeGenerating

Tool

Monitor ProbeInserting

Tool

Monitor ProbeInserting

Tool

Code Analysis & exhibiting

Tool

Code Analysis & exhibiting

Tool

Developers

Process Products

An example: monitoring enabled SPLAn example: monitoring enabled SPL

Code Topology

Code Topology

MonitorRequirements

MonitorRequirements

MonitorProbes

Software with Monitoring Capability

Software without Monitoring Capability

Input Software

Assets

Input Software

Assets

OutputSoftware

Assets

OutputSoftware

Assets

Page 18: Trustie Forge Solutions Linux Ow2

1818 www.trustie.net

SPLs and tools developed

9 SPLs from different technical perspectivesComponent-based SPL (PKU)Service oriented SPL (Beihang)Monitoring enabled SPL (NUDT)Heterogeneous Integration oriented SPL (ISCAS)

32 new software tools developed5 from NUDT8 from PKU13 from Beihang12 from ISCAS

Page 19: Trustie Forge Solutions Linux Ow2

1919 www.trustie.net

A tool example: BPIDE-Business Process IDE

Collaboration between multi-rolesDomain expertsApp. analystsService developers

A suite of toolsModeling toolService encapsulationService choreographyTesting tools

Page 20: Trustie Forge Solutions Linux Ow2

2020 www.trustie.net

Assessment of Software

Trustworthiness Ranks

Assessment of Software

Trustworthiness Ranks

Evidence of Software Trustworthiness

Evidence of Software Trustworthiness

4. Software Trustworthiness Assessment Model4. Software Trustworthiness Assessment Model

Guide

Justify

Justify

GuideGuideJustify

Ranking of Software Trustworthiness

Ranking of Software Trustworthiness

AnalogyAnalogy: Title of Teachers

Tutor、LecturerAssociate professor、Professor

AnalogyAnalogy: Title Assessment CertificationsEducation ExperienceTeach and Research AchievementAcademy Impact and Social Service

AnalogyAnalogy: Assessment of TitleQuantitative criteria Committee evaluating

Page 21: Trustie Forge Solutions Linux Ow2

2121 www.trustie.net

Meaning of Rank Definition

Ranking of Software TrustworthinessRanking of Software Trustworthiness

UsableUsable

UsableUsable

UsableUsable

UsableUsable

Has Verifiable Trustworthiness Attributes

Has Verifiable Trustworthiness Attributes

Has Verifiable Trustworthiness Attributes

Has Verifiable Trustworthiness Attributes

Has Verifiable Trustworthiness Attributes

Has Verifiable Trustworthiness Attributes

Has Verifiable Trustworthiness Attributes

Has Verifiable Trustworthiness Attributes

Has Verifiable Successful CasesHas Verifiable Successful Cases

UsableUsable

Has Verifiable Successful CasesHas Verifiable Successful Cases

Has Verifiable Successful CasesHas Verifiable Successful Cases

Passed verification & analysis of independent Authorities

Passed verification & analysis of independent Authorities

Passed verification & analysis of independent Authorities

Passed verification & analysis of independent Authorities

With Provable TrustworthinessWith Provable Trustworthiness

SoftwareProduct

SoftwareProduct

SoftwareProduct

SoftwareProduct

SoftwareProduct

SoftwareProduct

SoftwareProduct

SoftwareProduct

SoftwareProduct

SoftwareProduct

SoftwareProduct

SoftwareProduct

Rank 0Unknown

Rank 0Unknown

Rank 1Usable

Rank 1Usable

Rank 2Verifiable

Rank 2Verifiable

Rank 3Applicable

Rank 3Applicable

Rank 4Authorizable

Rank 4Authorizable

Rank 5Provable

Rank 5Provable

Rank of Trust(LoT)

Page 22: Trustie Forge Solutions Linux Ow2

2222 www.trustie.net

TW evaluation

R B

A A1A2

B1B2

A3

A4

Trusted SRLTrusted SRL

developer

developer

developer

developer

Code

EJB

Web Service

publisher

Application Composition(End user)

TestingTesting

QoSQoS

User feedbackUser feedback

Describe Retrieve

Evidence space

Trustworthiness implementation in SRL

Page 23: Trustie Forge Solutions Linux Ow2

2323 www.trustie.net

Selected applications

Trustie-FC

TRustie-AE

China UniCOM

CNOOC

Medical App

Page 24: Trustie Forge Solutions Linux Ow2

2424 www.trustie.net

Industry collaboration

12 software incubation centers across ChinaBeijing, Sichuan, Shenzhen, Kunming, Changsha, Tianjin, Xian, Henan, Fujian, Shanghai, Guangzhou, Dalian

ObjectivesDomain specific software resource libraryAdoptation of TrustieForge

Page 25: Trustie Forge Solutions Linux Ow2

2525 www.trustie.net

Trustie-Phase II

Applications of Trustie- funded by 863Large-scale enterprise applications

• Digital China

• Wonders Group

• Neusoft

• Shenzhen Careland

Critical government applications• Embedded software• Aeronautics• Electricity generation • National defense

Page 26: Trustie Forge Solutions Linux Ow2

2626 www.trustie.netwww.trustie.net

Academic achievements

Academic Academic achievementsachievements

Conf. &Workshops

Papers,Books,Patents

System

Page 27: Trustie Forge Solutions Linux Ow2

2727 www.trustie.net

Academic achievements

Organized conference and workshops2007: SRDS2008: WWW, ICSR, ICSM2009: Internetware, ICSS2010: ATC

Books: 3Journal and conference papers: 114Filed patents: 35Filed software copyright: 59

Page 28: Trustie Forge Solutions Linux Ow2

2828 www.trustie.net

Contents

Overview of Trustie Project1

Trustie: State of the Art2

International Collaboration3

Page 29: Trustie Forge Solutions Linux Ow2

2929 www.trustie.net

International collaboration-ThalesTrustie-F

the first 863 program involving a foreign company2008.12~2010.12Overall work scope of TruSTIE-F

• Use TruSTIE platform to manage one of the BaiMaiProjects

• To test the functionalities of TruSTIE platform• Publish and evaluate the chosen components with the

platform

Page 30: Trustie Forge Solutions Linux Ow2

3030 www.trustie.net

Homepage of Trustie-F project

Developed on Trustied CDE

Page 31: Trustie Forge Solutions Linux Ow2

3131 www.trustie.net

International collaboration-Thales

BaiMai projectA Thales R&D program with some partners on Web SOA and middleware technologies

• BUAA• CVICSE• NUDT

4 projects are runningMore will be selected in the next couple of months

Our collaborative and management environment is Trustie

Page 32: Trustie Forge Solutions Linux Ow2

3232 www.trustie.net

Snapshots of Baimai project

Page 33: Trustie Forge Solutions Linux Ow2

3333 www.trustie.net

International collaboration-EU

FP863Collaboration between EU and 863 program

• Trustie team is involvedMain objective: contribute to a better articulation of funding instruments between EU and China to lay down the conditions for bilateral calls on common ICT research prioritiesCo-funded by EU FP7 and the 863 program

Page 34: Trustie Forge Solutions Linux Ow2

3434 www.trustie.net2010-3-26

International collaboration with OW2International collaboration with OW2

Trustie : Trusted National Software ResourceSharing and Cooperating Environment

Trustie : Trusted National Software ResourceSharing and Cooperating Environment

2004-2006

+

Page 35: Trustie Forge Solutions Linux Ow2

3535 www.trustie.net

Deeply involved in OW2

Page 36: Trustie Forge Solutions Linux Ow2

3636 www.trustie.net

International collaboration-OW2

General collaboration activitiesMeetings: Board meetings, TC meetings, General Assembly…Open source contribution

• Some Trustie work has been open sourced to OW2• We are considering to contribute more…

Platform integrationYearly open source contests

Page 37: Trustie Forge Solutions Linux Ow2

3737 www.trustie.net

OW2 programming contest 2009

Page 38: Trustie Forge Solutions Linux Ow2

3838 www.trustie.net

J2WS (contributed by Beihang University)Wrapping Java source to Web servicesJava legacy (class files) to Web services

• Analysis of class files• Split of class files• Wrapping to services

Implemented as anEclipse plug-in

Selected open source contributions to OW2 (1)

J2WS@Trustie: http://www.trustie.net/projects/project/show/J2WS

J2WS@OW2: http://forge.ow2.org/projects/j2ws

Page 39: Trustie Forge Solutions Linux Ow2

3939 www.trustie.net

Selected open source contributions to OW2 (2)

Main feature of OnceSSBased on Integer Linear Programming, Selecting the component services, such that the QoS of composite service is optimalMoreover, considering the correlations of component services, such that the QoS of the composite service is further improved

OnceSS: QoS-driven Service SelectionOW2:http://forge.ow2.org/projects/oncess/ Trustie:http://www.trustie.net/projects/project/show/OnceSSDeveloped by ISCAS

Page 40: Trustie Forge Solutions Linux Ow2

4040 www.trustie.net

TPC-W Bench4Q

Load Simulation

simulation mode

CloseRequest-based

OpenSession-based

Load Fluctuation

Control

UncontrolledMuti–agent distributedtypical load fluctuations simulated

Userbehavior Think time Think time & tolerance

Metrics Analysis

performance metrics

WIPSWIRT

WIPSWIRT

QoS metrics none SPS(Session per second)Profit session

Break session dependencyBreak session dependency

More realisticworkload

More realisticworkload

More flexible workload simulation

More flexible workload simulation

More effectivemetrics

More effectivemetrics

Bench4Q: A QoS Oriented E-commerce BenchmarkOW2:http://forge.ow2.org/projects/jaspte/ Trustie:http://www.trustie.net/projects/project/show/Bench4QDeveloped by ISCAS

Selected open source contributions to OW2 (3)

Page 41: Trustie Forge Solutions Linux Ow2

4141 www.trustie.net

Page 42: Trustie Forge Solutions Linux Ow2

Nesting for Software Innovation