| Literature DB >> 25928358 |
Arafat Abdulgader Mohammed Elhag1, Radziah Mohamad2, Muhammad Waqar Aziz3, Furkh Zeshan2.
Abstract
The composite service design modeling is an essential process of the service-oriented software development life cycle, where the candidate services, composite services, operations and their dependencies are required to be identified and specified before their design. However, a systematic service-oriented design modeling method for composite services is still in its infancy as most of the existing approaches provide the modeling of atomic services only. For these reasons, a new method (ComSDM) is proposed in this work for modeling the concept of service-oriented design to increase the reusability and decrease the complexity of system while keeping the service composition considerations in mind. Furthermore, the ComSDM method provides the mathematical representation of the components of service-oriented design using the graph-based theoryto facilitate the design quality measurement. To demonstrate that the ComSDM method is also suitable for composite service design modeling of distributed embedded real-time systems along with enterprise software development, it is implemented in the case study of a smart home. The results of the case study not only check the applicability of ComSDM, but can also be used to validate the complexity and reusability of ComSDM. This also guides the future research towards the design quality measurement such as using the ComSDM method to measure the quality of composite service design in service-oriented software system.Entities:
Mesh:
Year: 2015 PMID: 25928358 PMCID: PMC4415800 DOI: 10.1371/journal.pone.0123086
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Fig 1Methodology for deriving the ComSDM method.
Fig 2Composite service structure.
Fig 3The relationship types.
Fig 4Example for service-oriented system components.
Candidate operations in smart home system.
| # | Candidate Operations | Operations Interfaces |
|---|---|---|
| 1 | Low/High Volume | Volume |
| 2 | Low/High Light | Light |
| 3 | Low/High AC | AC |
| 4 | Check the expiry date on the food item | Check food |
| 5 | Read expiry date on the food item | Read expiry |
| 6 | Read Cooking Instructions on the food item | Read cooking |
| 7 | Send SMS to user’s cell phone—Food ready | Food ready |
| 8 | Send SMS to user’s cell phone—Food expire | Food expire |
| 9 | Send message to user email account—Food empty | Send email |
| 10 | Display message to TV—Food ready | Display |
| 11 | Check the weight food item | Weight food item |
| 12 | Check the temperature | Check temp |
| 13 | Order the food item from the retail store | Place order |
Fig 5Candidate operations in smart home system.
Candidate services in smart home system.
| # | Services Names | Services Interface | Operations Interfaces |
|---|---|---|---|
| 1 | Volume | VolumeI | Volume |
| 2 | Light | LightI | Light |
| 3 | AC | AcI | AC |
| 4 | Food | FoodI | Check food, Read expiry |
| 5 | Read | ReadI | Read cooking |
| 6 | Send | SendI | Food ready, Food expire |
| 7 | EmailI | Send email | |
| 8 | Display | DisplayI | Display |
| 9 | Weight food item | WeieghtI | Weight food item |
| 10 | Check | CheckI | Check temp |
| 11 | Place | PlaceI | Place order |
Composite services in smart home system.
| # | Candidate Services | Services Interface | Composite Services |
|---|---|---|---|
| 1 | Volume | - | |
| 2 | Light | - | |
| 3 | Cooking | CookI | Coordinate, Display. |
| 4 | Order | OrderI | Coordinate, Weight food item, Email, Place |
| 5 | Food | - | |
| 6 | Control | ControlI | Coordinate, AC, Check |
| 7 | Send | - |
Fig 6Candidate services in smart home system.
Relationship types in smart home system.
| # | Relationship types | Service Interface | Service Interface | Operation Interface | Operation Interface |
|---|---|---|---|---|---|
| 1 | ISR | OrderI | Coordinate | ||
| 2 | ISR | OrderI | WeightI | ||
| 3 | ISR | OrderI | EmailI | ||
| 4 | ISR | OrderI | PlaceI | ||
| 5 | ISR | CookI | Coordinate | ||
| 6 | ISR | CookI | DisplayI | ||
| 7 | ISR | ControlI | Coordinate | ||
| 8 | ISR | ControlI | AcI | ||
| 9 | ISR | ControlI | CheckI | ||
| 10 | ISOR | WeightI | Weight food item | ||
| 11 | ISOR | EmailI | Send email | ||
| 12 | ISOR | PlaceI | Place order | ||
| 13 | ISOR | DisplayI | Display | ||
| 14 | ISOR | AcI | Ac | ||
| 15 | ISOR | CheckI | Check temp | ||
| 16 | ISOR | VolumeI | Volume | ||
| 17 | ISOR | ReadI | Read cooking | ||
| 18 | ISOR | SendI | Food ready | ||
| 19 | ISOR | SendI | Food expire | ||
| 20 | ISOR | FoodI | Check Food | ||
| 21 | ISOR | LightI | light | ||
| 22 | IOR | Check food | Read expiry | ||
| 23 | ESR | DisplayI | LightI | ||
| 24 | ESR | CookI | ReadI | ||
| 25 | ESR | EmailI | PlaceI | ||
| 26 | ESOR | PlaceI | Send email | ||
|
|
|
|
| ||
| 28 | ESOR | FoodI | Food expire | ||
| 29 | EOR | Check Food | Read cooking |
Fig 7Complete graph of applying the ComSDM method for smart homes.
Fig 8Application of FMSOD to smart home case study.
NS and NO for the proposed method and FMSOD.
| Description | Metrics | Proposed method | FMSOD |
|---|---|---|---|
| Number of services |
| 8 | 13 |
| Number of operations |
| 13 | 13 |
| Total |
| 21 | 26 |
Number of providers and consumers for the proposed method and FMSOD.
| Description | Metrics | Proposed method | FMSOD |
|---|---|---|---|
| Number of providers |
| 27 | 26 |
| Number of consumers |
| 26 | 25 |
Fig 9Direct and indirect coupling of smart home in the ComSDM method.
Fig 10Direct and indirect coupling of smart home in FMSOD.
Coupling metrics for the proposed method and FMSOD.
| Description | Metrics | Proposed method | FMSOD |
|---|---|---|---|
| Direct coupling | DC( | 5 | 12 |
| Indirect coupling |
| 2 | 24 |
| Total coupling | DC( | 7 | 36 |
| Coupling factor |
| 0.02 | 0.06 |
Cohesion metrics for the proposed method and FMSOD.
| Description | Metrics | Proposed method | FMSOD |
|---|---|---|---|
| Total cohesion |
| 21 | 13 |
| Cohesion factor |
| 0.95 | 0.04 |
The result in Table 8 shows the ComSDMmethod is more coherent than the FMSOD.
Complexity metrics for the proposed method and FMOSD.
| Description | Metrics | Proposed method | FMSOD |
|---|---|---|---|
| Complexity |
| 10.25 | 25 |
| Complexity factor |
| 0.02 | 1.5 |
| Total complexity |
| 2.2 | 37.5 |
The results clearly show that the ComSDMmethod reduces the complexity of service-oriented designas compared with FMSOD.
Reusability metrics for the proposed method and FMOSD.
| Description | Metrics | Proposed method | FMSOD |
|---|---|---|---|
| Reusability | DC(p) = C(p) | 5 | 12 |
| Reusability factor |
| 4.2 | 1.08 |
The results show that the ComSDMmethod has less direct consumers and more coherent than the FMSOD. Therefore, the proposed method is more reusable than FMSOD.