Micro-service development platform, generation method, deployment method and device

A development platform and micro-service technology, applied in the field of communication, can solve problems such as the complex hierarchical structure of the monolithic architecture, and achieve the effects of convenient development, strong flexibility, and short development cycle

Active Publication Date: 2017-03-22
BEIJING CHINA POWER INFORMATION TECH +3
View PDF6 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a microservice development platform, generation method, deplo

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
  • Micro-service development platform, generation method, deployment method and device
  • Micro-service development platform, generation method, deployment method and device
  • Micro-service development platform, generation method, deployment method and device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0043] Example one

[0044] The first embodiment of the present invention discloses a microservice development platform, and the structure diagram is as figure 1 As shown, the microservice development platform includes: a core layer 101, a function layer 102, and a business layer 103;

[0045] The core layer 101 includes at least one pre-generated functional unit;

[0046] The functional layer 102 includes at least one functional component, and the functional component is used to call at least one functional unit from the core layer according to a preset component construction rule to implement a function corresponding to the functional component;

[0047] The business layer 103 includes at least one microservice, and the microservice is used to call at least one functional component from the functional layer according to preset service composition rules to implement the corresponding microservice.

[0048] It should be noted that the functional units include, but are not limited to, an...

Example Embodiment

[0052] Example two

[0053] Based on the microservice development platform disclosed in the first embodiment of the present invention, the second embodiment of the present invention provides a microservice generation method, which is applied to the above microservice development platform. The microservice development platform includes a core layer, a functional layer, and a business. Layer, the specific execution process of the microservice generation method, including the following steps:

[0054] S201: Receive a microservice generation instruction, where the microservice generation instruction includes a function set corresponding to the target microservice;

[0055] S202: Determine the target function component corresponding to the target microservice according to the function set;

[0056] S203: Determine at least one functional component corresponding to the target functional component from the functional layer according to the preset service composition rule;

[0057] S204: Estab...

Example Embodiment

[0061] Example three

[0062] Based on the microservice development platform disclosed in the first embodiment of the present invention and the microservice generation method disclosed in the second embodiment, the third embodiment of the present invention discloses a microservice deployment method, and the service registration / discovery unit is started on each node in the cluster A registration center and monitoring center, the method flow chart such as image 3 As shown, including the following steps:

[0063] S301: When the registration center receives the registration request information sent by the microservice corresponding to the registration center, synchronize the registration request information to other registration centers in the cluster except this registration center;

[0064] In the process of performing step S301, the registration center may periodically communicate with other registration centers in the cluster except the current registration center through the Gossi...

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 micro-service development platform, generation method, deployment method and device. The micro-service development platform comprises a core layer, a function layer and a service layer. The core layer comprises at least one pre-generated function unit. The function layer comprises at least one function component. The function component is used for calling at least one function unit from the core layer according to a preset component establishment rule, thereby realizing a function corresponding to the function component. The service layer comprises at least one micro-service. The micro-service is used for calling at least one function component from the function layer according to a preset service establishment rule, thereby realizing the corresponding micro-service. On the basis of the methods provided by the invention, different micro-services can be developed conveniently by establishing light weight architecture; and due to the fact that each micro-service is single in responsibility, the development cycle is short and the flexibility is high.

Description

technical field [0001] The present invention relates to the field of communication technology, and more specifically, to a microservice development platform, a generation method, a deployment method and a device. Background technique [0002] Microservices, a new term for software architecture, is gaining traction in blogs and social media in recent years. Microservices can provide great help for agile deployment and implementation of complex enterprise applications. Specifically, microservices can be query services, comment services, or ranking services. [0003] The traditional monolithic architecture has the characteristics of complex hierarchical structure. When upgrading certain functions, all functions related to the function need to be stopped. Due to the complex hierarchical structure, too many modules or functions will be involved, which is not conducive to maintenance and upgrading. Contents of the invention [0004] In view of this, the present invention provid...

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
IPC IPC(8): H04L12/58H04L29/06H04L29/08
CPCH04L65/40H04L67/02H04L51/52
Inventor 董爱强冯扬夏元轶石超郭立福王小平王琰洁
Owner BEIJING CHINA POWER INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products