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

Micro-service publishing method and device, computer equipment and storage medium

A technology of service publishing and microservices, which is applied in software deployment, version control, software maintenance/management, etc., and can solve problems such as file corruption and data loss

Pending Publication Date: 2019-05-28
CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to address the above technical problems and provide a microservice release method, device, computer equipment and storage media, which can avoid problems such as data loss or file corruption as much as possible

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 publishing method and device, computer equipment and storage medium
  • Micro-service publishing method and device, computer equipment and storage medium
  • Micro-service publishing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0059] The microservice publishing method provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the terminal 102 and the server 104 communicate through the network, the terminal 102 can be but not limited to various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server 104 can be an independent server or a plurality of servers Formed server clusters to achieve. Specifically, when the server 104 receives a service publishing request of a new version of a...

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 relates to a micro-service publishing method and device, computer equipment and a storage medium. The method comprises the steps that when a new version service release request of a current micro-service is received, an offline scheme of an old version service of the current micro-service is obtained, identification information of a key service is configured in the offline scheme inadvance, and the key service is a service which is not allowed to be stopped at any time; whether a current task queue of the current micro-service has a key service or not is detected according to the identification information of the key service; if the key service exists in the current task queue, the delayed offline duration of the old version of service is determined according to the currenttask queue; and the old version service offline and the new version service release of the current micro service are controlled according to the delayed offline duration and the offline scheme. By adopting the method, the problems of data loss, file damage and the like can be avoided as much as possible.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a microservice publishing method, device, computer equipment and storage medium. Background technique [0002] An application can be composed of multiple small, mutually independent microservices, and microservices are fine-grained independent services. The microservice architecture pattern is to build large-scale, complex, and long-running applications into a set of cooperating microservices. Each microservice can be deployed independently, and can also be independently expanded and scaled. With the rapid development of Internet technology, the release volume of microservices continues to increase. [0003] In the traditional service publishing method, the script command method is used to publish the service. This method will interrupt the executing request in the service. Especially in the microservice-based architecture, it is very possible to use the above sh...

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/60
Inventor 伍源源朱国胜
Owner CHINA PING AN PROPERTY INSURANCE CO LTD
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