Distributed architecture-oriented micro-service contract management method and device, computer equipment and readable storage medium

A management method and technology of distributed structure, which is applied in microservice contract management oriented to distributed structure, computer equipment and readable storage media, can solve the problems of scattered management methods, manual maintenance of contract management, etc., and achieve the effect of improving efficiency

Pending Publication Date: 2020-05-19
CITIC AIBANK CORPORATION LIMITED
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are also some large companies that use a semi-automatic method, that is, put the interface uniformly on the developer center, but the contract management still uses manual maintenance
Others use the traditional automatic method, such as Swagger, SDK and other automatic document generation tools to generate interface documents, but when generating interf

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
  • Distributed architecture-oriented micro-service contract management method and device, computer equipment and readable storage medium
  • Distributed architecture-oriented micro-service contract management method and device, computer equipment and readable storage medium
  • Distributed architecture-oriented micro-service contract management method and device, computer equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] as attached figure 2 As shown, the distributed structure-oriented microservice contract management method disclosed in the present invention includes the following steps:

[0032] 101. Receive a data packet from a code hosting platform.

[0033] 102. Analyze the received data packet, determine whether the data packet is an official release version or a test version, and at the same time analyze the first contract information through the data packet; directly publish the data packet to the private server for the test version.

[0034] 103. According to the parsed first contract information of the officially released version of the data package, traverse and query all other contract information, obtain the dependency relationship between the data package and other packages, and add the dependency relationship to the first contract information Form the second contract information.

[0035] 104. For the official version of the data package, send the signing request to re...

Embodiment 2

[0038]The receiving module is used to receive data packets from the code hosting platform;

[0039] The parsing module is used for parsing the received data packet, judging whether the data packet is an official release version or a test version, and at the same time resolves the first contract information through the data packet; directly publishes the data packet to the test version Private server;

[0040] The dependency addition module is used to traverse and query all other contract information according to the first contract information of the officially released version of the data package parsed, obtain the dependencies between the data package and other packages, and add the dependencies to Enter the first contract information to form the second contract information;

[0041] The counter-signing module is used to send the signing request to the related party according to the second contract information for the official version of the data package, and send the data...

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 distributed architecture-oriented micro-service contract management method and a device, computer equipment and a readable storage medium. The method comprises the steps of receiving a data packet from a code hosting platform; analyzing the received data packet, judging whether the data packet is a formal release version or a test version, and analyzing first contract information of the data packet through the data packet; directly publishing the data packet to a private server for the test version; traversing and querying all other contract information according to the analyzed first contract information of the formally published version of the data packet, obtaining a dependency relationship between the data packet and other packets, and adding the dependency relationship into the first contract information to form second contract information; and for the data packet of the formal version, sending the countersigning request to the associated parties according to the second contract information, and sending the data packet to the private server after receiving the information that all the associated parties agree to change.

Description

technical field [0001] The present invention relates to the technical field of code management, in particular to a distributed structure-oriented microservice contract management method, device, computer equipment and readable storage medium. Background technique [0002] With the development of information technology, a large number of industries popularize informatization. Many industries have adopted open source-based distributed technology to implement the application microservice architecture, aiming to realize rapid innovation and iteration of business, system services can be flexibly expanded on demand, interconnection between microservices through gateways, and various contracts are defined between services , the contract here refers to the definition of the input and output of the interface between the server and the consumer. However, due to the large number of services, contract management is particularly important. If the contract management is not good, it will ...

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/60G06F8/71G06Q40/02H04L29/06
CPCG06F8/60G06F8/71G06Q40/02H04L69/22
Inventor 朱建设贺浩
Owner CITIC AIBANK CORPORATION LIMITED
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