Semantic Service Matching

Published 2014-10-28 | (Compatible with SDK 5.1 and 2014 models)

The compatible/interoperable matching between the source service selected by the user and the target service will be evaluated, and the matching results and related information is provided.

The Semantic Service Matching function compares target services with the given source service based on the Matching Criteria. It supports the two types of service matching as follows :

  • Compatible Service Matching : Find and match target services that can be replaced with the given source service. This function can be used to find the target service that has similar functions, objectives, and input/output to those of the source.
  • Interoperable Service Matching : Find and match target services can be interoperable with the given source service. This function can be used to find the subsequent (target) service that will be seamlessly connected to the source service.

Matching Criteria

The matching criteria to compare two services are as follows.

  • Functional matching criteria: The service names, categories, descriptions, and objectives of two services are compared and calculated their relatedness lexicographically and semantically.
  • Non-functional matching criteria: The service providers, supported protocols, and authentication mechanisms of two services are compared and calculated their relatedness lexicographically and semantically.
  • Data matching criteria: The input/output parameter names and types of the two services will be compared and calculated semantically and in terms of type compatibility.

Compatible Service Matching

Compatible Service Matching performs to find and match target services that can be replaced with the given source by a user. The matching results are displayed in Matching View, A service API shown in Matching View can be explained in Properties View and be dragged & dropped into the source code editor.

The following section shows how to perform compatible service matching.

  1. Select a service API from Semantic Service Explorer, which is a source service to be matched, right click on the API, and select ‘Compatible Matching’ from the pop-up menu. Then, Compatible Service Matching window pops up.

    Figure 1 : Compatible Matching execution screen

  2. In the ‘Criteria’ view of the Compatible Service Matching window, check any parameters of Functional Properties, Non-function Properties, and Data Properties which a user wants to be criteria of this matching. Or uncheck parameters which a user doesn’t want to be criteria of the matching.
  3. In the ‘Criteria’ view, a user can relatively adjust the weights of the property by moving slide bar from left to right, vice versa. Then, press ‘OK’. Press ‘OK’ to perform interoperable matching based on criteria specified by a user from Step 2 to Step 3. If a user presses ‘Reset’ button, all criteria set in Step 5 will be unchecked. If a user presses ‘Default’ button, all criteria set in Step 5 and weights set in Step 6 will be recovered in default. If a user clicks ‘Cancel’ button, the ‘Criteria’ view is closed.

    Figure 2 : Compatible Matching Criteria setting screen

  4. When matching is successfully performed, the matching results are displayed in the Matching View. The value of overall matching is displayed with a bar graph along with numbers. The value of overall matching is the weighted summation of ‘FunctionValue’, ‘NonFunctionvalue’, and ‘DataValue’. The sample code snippet of the selected service API if it is black-colored can be added to the editor by dragging & dropping into the source code editor.
  5. Click a service API among matching results in the Matching View, the detailed information of the selected service is shown in the Properties View.

    Figure 3 : Compatible Matching result screen

Interoperable Service Matching

Find and match target services can be interoperable with the given source service by a user. The matching results are displayed in the Matching View. A service API shown in the Matching View can be explained in the Properties View and be dragged & dropped into the source code editor.

The following section shows how to perform compatible service matching.

  1. Select a service API from the Semantic Service Explorer, which is a source service to be matched, right click on the API, and select ‘Interoperable Matching’ from the pop-up menu. Then, Interoperable Service Matching window pops up.
  2. In the ‘Criteria’ view of the Interoperable Service Matching window, check only one button of the ‘New Keyword’ and ‘Keyword History’.
  3. If the ‘New Keyword’ radio button is selected in Step 2, input a new keyword for searching the target services.
  4. If the ‘Keyword History’ radio button is selected in Step 2, select a keyword from the keyword history, which was accumulated from semantic service searching in the Semantic Service Explorer.
  5. Then, check any parameters of Functional Properties, Non-function Properties, and Data Properties which a user wants to be criteria of this matching. Or uncheck parameters which a user doesn’t want to be criteria of the matching.
  6. A user can relatively adjust the weights of the property by moving slide bar from left to right, vice versa.
  7. Press ‘OK’ to perform interoperable matching based on criteria specified by a user from Step 2 to Step 6. If a user presses ‘Reset’ button, all criteria set in Step 5 will be unchecked. If a user presses ‘Default’ button, all criteria set in Step 5 and weights set in Step 6 will be recovered in default. If a user clicks ‘Cancel’ button, the ‘Criteria’ view is closed.

    Figure 4 : Interoperable Matching execution screen

  8. When matching is successfully performed, the matching results are displayed in the Matching View. The value of overall matching is displayed with a bar graph along with numbers. The value of overall matching is the weighted summation of ‘FunctionValue’, ‘NonFunctionvalue’, and ‘DataValue’. The sample code snippet of the selected service API if it is black-colored can be added to the editor by dragging & dropping into the source code editor.
  9. Click a service API among matching results in the Matching View, the detailed information of the selected service is shown in the Properties View.

    Figure 5 : Interoperable Matching result screen

Sample Source Code Snippet

A user can drag & drop an API having sample code snippet into any source codes (*html, *.js). It needs for the user to complete the code for his purpose. See more details in the Semantic Service Discovery and Semantic Service Matching.

For more information

  1. How to Use (Video Tutorial) : For a user’s better understanding, video tutorials how to use this tool are found here.