Micro-service construction method based on database

A construction method and micro-service technology, applied in the field of program control, can solve the problems of high low-level defect rate, unreachable enterprise, and high business change rate, and achieve the goal of reducing non-business defect rate, reducing architectural risk, and improving development efficiency. Effect

Pending Publication Date: 2019-11-08
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the necessary process of software development, although agile development has solved some problems to a certain extent, it has not yet met the company's expectations; at the same time, there are many repetitive development tasks in the process of software development and construction, and non-business bugs in software testing have resulted in The efficiency of software development is not high, and the rate of low-level defects remains high; the market changes rapidly, and the needs of enterprises are unclear, resulting in a high rate of business changes and insufficient software response capabilities
Various reasons have hindered the business development of enterprises to varying degrees.

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 construction method based on database
  • Micro-service construction method based on database
  • Micro-service construction method based on database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] This embodiment proposes a database-based microservice construction method. The construction method uses SpringCloud as the microservice architecture, Mysql or Oracle as the database, OAuth2 as the security guarantee, Vue as the front-end display, and bootstrap4 as the front-end display style. ;

[0052] The implementation process of this construction method includes:

[0053] 1) Create EurekaServer and define it by @EnableEurekaServer annotation;

[0054] 2) Register the business service to the service center, and register through the @EnableEurekaClient annotation;

[0055] 3) Open the Zull gateway, register and open it through @EnableEurekaClient and @EnableZuulProxy annotations;

[0056] 4) Enable Ribbon load balancing, register and enable load balancing through @EnableEurekaClient, @EnableHystrix, @LoadBalanced annotations;

[0057] 5) Monitor according to Dashbord, register through @EnableHystrixDashboard and enable monitoring.

[0058] In step 1), before crea...

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 construction method based on a database, and relates to the technical field of program control. A plurality of defects existing in the existing software development and construction process are overcome. According to the method provided by the invention, SpringCloud is used as a framework of the micro-service; mysql or Oracle is used as a database; oAuth2 isused as a safety guarantee; vue is used as front-end display. A bootstrap 4 is used as a front-end display style; on this basis, the method comprises the following steps: creating an EurekaServer toautomatically generate a business code and store the business code in a business service; establishing the architecture of the micro-service, and then registering the business service to the service center, starting a Zull gateway, starting Ribson load balancing, performing monitoring according to Dashboard, and performing other operations in sequence to complete the overall construction of the micro-service, so that the development efficiency is improved, and the non-business defect rate is reduced; in addition, by reusing the microservice architecture which is tested for a long time, the risk of the architecture can be reduced, and the security of the microservice architecture is improved.

Description

technical field [0001] The invention relates to the technical field of program control, in particular to a database-based microservice construction method. Background technique [0002] In the era of traditional WEB development, it was once all the rage with Spring as the core, combined with the ORM framework, plus a changeable front-end framework, to build the enterprise's own service platform. [0003] In today's era, being agile and fast is a necessary condition for the survival of small and micro enterprises. However, due to the necessary process of software development, although agile development has solved some problems to a certain extent, it has not yet met the company's expectations; at the same time, there are many repetitive development tasks in the process of software development and construction, and non-business bugs in software testing have resulted in The efficiency of software development is not high, and the rate of low-level defects remains high; the mark...

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): G06F8/20G06F16/21G06F16/242G06F16/28
CPCG06F8/20G06F16/211G06F16/242G06F16/284
Inventor 赵美如杨继伟魏金雷
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
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