Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Openwhisk service-free framework migration method for micro-service application

A micro-service and no-service technology, applied in special data processing applications, using information identifiers to retrieve web data, instruments, etc., can solve problems such as failure to provide normal services and no more effective solutions

Active Publication Date: 2021-05-18
UNIV OF SCI & TECH OF CHINA
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the next request of the service may need to rely on the data stored in memory and files, the service will not be able to provide normal services after migration
Therefore, for a microservice application composed of multiple microservice submodules, not all microservice submodules are suitable for migrating to a serverless computing architecture. One challenge of automated migration is to detect and identify microservice submodules suitable for migration and complete Migration, for microservice submodules that are not suitable for migration, specific reasons need to be detected for microservice submodules that are not suitable for migration. However, there is currently no more effective solution

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
  • Openwhisk service-free framework migration method for micro-service application
  • Openwhisk service-free framework migration method for micro-service application
  • Openwhisk service-free framework migration method for micro-service application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0023] An embodiment of the present invention provides an openwhisk serverless framework migration method for microservice applications, such as figure 1 As shown, the main steps are as follows:

[0024] 1. Analyze the source code of the microservice application, and generate a corresponding abstract syntax tree for each microservice sub-module.

[0025] In the embodiment of the present invention, for each micro-service sub-module, the storage loc...

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 an openwhisk service-free framework migration method for a micro-service application, which comprises the following steps of: generating abstract syntax tree nodes by utilizing an exprima grammar analysis tool of a Node.js language, extracting key information from the abstract syntax tree nodes to generate a function call graph and a communication graph between micro-service sub-modules, judging the properties of the micro-service sub-modules, trying to divide stateful micro-service modules, and achieving automatic migration to the greatest extent. Project source code files, project package files, configuration files and the like are analyzed from the level of the abstract syntax tree, implementation is easy, and efficiency is high. At present, no similar technical scheme exists, and developers can be helped to improve the efficiency of migrating the application to the server-free computing platform by using the method.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to an openwhisk serverless framework migration method for microservice applications. Background technique [0002] With the rapid development of the Internet, the software architecture has also undergone earth-shaking changes. Microservices (Microservices) is a software architecture pattern developed from domain-driven design, continuous delivery, platform and infrastructure automation, scalable systems, multi-language programming, and persistence. Microservice does not have a clear definition, it is a relative concept. In a traditional monolithic application, all functional modules are concentrated in one service, and the user interface, data access layer, and data storage layer are tightly coupled. In the software architecture of microservices, each functional module is split into loosely coupled components, and tasks are performed through coordination. These function...

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): G06F8/20G06F8/41G06F9/448G06F8/65G06F16/903G06F16/955
CPCG06F8/24G06F8/427G06F9/449G06F8/65G06F16/9566G06F16/90344
Inventor 余东波金泽文李诚许胤龙吕敏
Owner UNIV OF SCI & TECH OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products