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

Method and system for automatically deploying go micro-service

A microservice and server technology, applied in the computer field, can solve problems such as difficult expansion, difficult maintenance, and bloated projects, and achieve the effect of alleviating pain points

Pending Publication Date: 2022-04-26
FUJIAN TQ DIGITAL
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] As the monolithic application becomes larger and larger, the disadvantages of the monolithic architecture will become more and more obvious, such as bloated projects, difficult maintenance, and difficult expansion, which will affect the whole body

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
  • Method and system for automatically deploying go micro-service
  • Method and system for automatically deploying go micro-service
  • Method and system for automatically deploying go micro-service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The present invention will be further described below in conjunction with the accompanying drawings.

[0019] see figure 1 As shown, a method for automatic deployment of go microservices of the present invention includes the following steps:

[0020] Step S1, write a batch of processing files, generate executable binary files from the code directory, copy the executable binary files to the packaging directory and copy the configuration file packaging directory;

[0021] Step S2, write the files required for building the image, enter the packaging directory, execute the command to generate the container image, package the container image file, and upload the container image file to the image warehouse;

[0022] Step S3, the server executes the command to pull the image warehouse to determine whether there is a new container image file, if yes, update and execute the automatic arrangement command of the container image file, if not, wait for the next pull image warehouse...

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 provides a go micro-service automatic deployment method, which comprises the following steps of: S1, compiling a batch of processing files, generating an executable binary file from a code catalog, copying the executable binary file to a packaging catalog and copying a configuration file packaging catalog; s2, writing a file required for constructing a mirror image, entering a packaging directory, executing a container mirror image generation command, packaging a container mirror image file, and uploading the container mirror image file to a mirror image warehouse; s3, the server executes the mirror image warehouse pulling command and judges whether a newly-added container mirror image file exists or not, if yes, an automatic arrangement command of the container mirror image file is updated and executed, and if not, the server waits for pulling the mirror image warehouse next time; according to the method and the system, the docker open source container engine and the batch files can be deployed from one-key packaging of the windows system to the linux server.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and system for automatic deployment of go microservices. Background technique [0002] As the monolithic application becomes larger and larger, the disadvantages of the monolithic architecture will become more and more obvious, such as bloated projects, difficult to maintain, and difficult to expand, which will affect the whole body. In a distributed environment, divide according to the business boundary, split the single application into a series of services, and jointly form the whole system. When the microservice architecture solves the pain points of a single application, it also generates some new problems, such as how to quickly deploy, how to arrange and manage, and so on. Contents of the invention [0003] In order to overcome the above-mentioned problems, the purpose of the present invention is to provide a method that can realize the deployment of a batch ...

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/71G06F8/65G06F9/445
CPCG06F8/71G06F8/65G06F9/44505
Inventor 刘德建叶伟李佳
Owner FUJIAN TQ DIGITAL
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