Unlock instant, AI-driven research and patent intelligence for your innovation.

A microservice identification method based on API similarity

A recognition method and similarity technology, applied in the field of microservice recognition, can solve problems such as huge costs

Active Publication Date: 2019-06-28
HANGZHOU DIANZI UNIV
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Although investing a lot of manpower, material resources and time using the domain-driven design method can identify reasonable microservices that conform to business logic, it will cost a considerable amount of money
Moreover, most of the existing academic research results are limited to specific scenarios and cannot be widely used.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A microservice identification method based on API similarity
  • A microservice identification method based on API similarity
  • A microservice identification method based on API similarity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The microservice identification method based on API similarity provided by the present invention will be described in detail below.

[0041] For the convenience of description, the relevant symbols are defined as follows:

[0042] api all : a corpus composed of data-cleaned APIs;

[0043] l: Indicates the total number of APIs in the API corpus;

[0044] m: Indicates the total number of candidate topics in an API;

[0045] n: Indicates the total number of words in the detailed description of an API

[0046] api i : Information of the i-th API in the corpus;

[0047] topics i : the set of candidate topics for the i-th API in the corpus;

[0048] tokens i : the candidate topic of the i-th API in the corpus and the set of words in the detailed description;

[0049] k-th candidate topic for the i-th API in the corpus;

[0050] tvec i : topic similarity vector of the i-th API in the corpus;

[0051] The topic matching degree of the k-th candidate topic in the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a microservice identification method based on API similarity. The method provided by the invention firstly considers the characteristics of a micro-service framework, and thenconsiders the definition of the micro-service: each business micro-service focused on a certain business function is used for providing related business service for the outside through a standardizedinterface, i.e., one micro-service is a set of closely related operations on a resource, wherein each API represents an action on a back-end resource. According to the method, the operation mode of the rear-end resources is expressed by using HTTP verbs through URI identification and addressing of the rear-end resources. Therefore, the micro-service identification method based on the API similarity is provided for the relation between the API and the similarity, an undirected weighted graph with the API as the vertex and the similarity as the weight is constructed, and a clustering algorithm based on the graph theory is used for identifying the recommended candidate micro-service.

Description

technical field [0001] The invention belongs to the technical field of microservice identification for migrating an application program constructed and developed based on a monolithic architecture to a microservice architecture. When migrating the application program based on the monolithic architecture, it is necessary to divide the business and refactor the code of the original system based on the characteristics of the microservice architecture. The REST-style API has the two characteristics of semantics, and a microservice identification method based on API similarity is proposed. Background technique [0002] Software is ubiquitous in today's systems and business operations. In an enterprise, with the rapid development of business, its business requirements become more diverse and complex, and software systems inevitably become cumbersome and complex. With the intensification of market competition, the market's requirements for the development cycle, cost, and developm...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06K9/62G06F16/35
Inventor 俞东进王焕强孙笑笑
Owner HANGZHOU DIANZI UNIV