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

Microservice splitting method, device, device and storage medium

A technology of microservices and subgraphs, applied in the fields of instrumentation, computing, electrical and digital data processing, etc., can solve the problems of low splitting efficiency, inconvenient operation, and high labor costs

Active Publication Date: 2022-07-22
深圳华为云计算技术有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention discloses a method, device, equipment and system for splitting microservices, which can solve the problems of inconvenient operation, high labor cost and low splitting efficiency existing in existing microservice splitting schemes

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
  • Microservice splitting method, device, device and storage medium
  • Microservice splitting method, device, device and storage medium
  • Microservice splitting method, device, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings of the present invention.

[0036] In order to solve the problems of inconvenient operation, high labor cost and low splitting efficiency existing in the existing microservice splitting scheme, the present invention provides a splitting method, related device and equipment for microservices. See figure 1 , is a schematic flowchart of a method for splitting a microservice provided by an embodiment of the present invention. like figure 1 The method shown includes the following implementation steps:

[0037] S102. The computing device performs syntax analysis on the SQL statement of the application, and generates an association relationship diagram between multiple tables queried by the SQL statement.

[0038] The application involved in the present invention may also be referred to as an application program, which may include...

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 embodiment of the present invention discloses a method, device, device and storage medium for splitting a microservice. The method includes: a computing device generates an association relationship diagram between multiple tables queried by the SQL statement based on the SQL statement of the application, The relationship graph is split to obtain multiple relationship subgraphs with stronger internal correlation. For each relational subgraph, find the objective function corresponding to the relational subgraph and the correlation function related to the objective function from the applied program code, and use the objective function corresponding to the relational subgraph and the correlation function related to the objective function as a microservice. By adopting the invention, the problems of inconvenient operation, high labor cost and low splitting efficiency existing in the existing microservice splitting scheme can be solved.

Description

technical field [0001] The present invention relates to the technical field of computer applications, and in particular, to a method, device, device and storage medium for splitting microservices. Background technique [0002] With the development of computer application technology, in order to better utilize the utilization of resources and realize the rapid deployment of applications, a single application can be divided into multiple microservices. Microservices are used to provide external services, and each microservice supports interconnection and access to realize the functional services of the overall application. [0003] In the existing microservice splitting solutions, monolithic application microservices are usually done manually or based on instruction splitting. Taking instruction splitting as an example, the computing device receives the splitting instruction of the target microservice, and in response to the splitting instruction, splits the target code corre...

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 Patents(China)
IPC IPC(8): G06F16/242G06F16/2455
CPCG06F16/2433G06F16/2455
Inventor 何任高王伟力吴继敏
Owner 深圳华为云计算技术有限公司