Micro-service operation method, device and equipment and readable storage medium

A technology for microservices and configuration information, applied in the computer field, can solve the problems of fragmentation, a large number of basic components, and backward governance methods, and achieve the effect of reducing operating costs, improving governance and control capabilities, and meeting the needs of upgrades and governance.

Pending Publication Date: 2022-05-31
CHINA CITIC BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The number of existing basic components in the current microservice is large and scattered, and it is inconvenient to access the business system
In addition, the functional constraints and management methods of each component are insufficient, the efficiency of component governance and microservice governance is low, the governance method is backward, and there is a lack of a unified operation governance portal

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] Such as figure 1 As shown, this embodiment provides a microservice operation method, and the method includes step S1, step S2, step S3, step S4 and step S5.

[0056] Step S1, generating the consumer secret key according to the secret key generation algorithm, and storing the consumer secret key in the database;

[0057] Step S2, obtaining the calling relationship and whitelist of the microservice, and saving the calling relationship and the whitelist into the database;

[0058] Step S3, receiving the request sent by the API gateway through the security component, the request includes obtaining the call relationship, the consumer secret key and the white list;

[0059] Step S4, sending the consumer key, the calling relationship and the whitelist to the security component;

[0060] Step S5, receiving the authentication result of the security component, judging whether the authentication result is an authentication failure, if the authentication result is an authenticati...

Embodiment 2

[0092] Such as figure 2 As shown, this embodiment provides a microservice operation device, which includes a first generating unit 701 , a first processing unit 702 , a first receiving unit 703 , a first sending unit 704 and a second processing unit 705 .

[0093] The first generating unit 701 is configured to generate a consumer secret key according to a secret key generation algorithm, and store the consumer secret key in a database;

[0094] The first processing unit 702 is configured to obtain the calling relationship and whitelist of the microservice, and store the calling relationship and the whitelist in the database;

[0095] The first receiving unit 703 is configured to receive a request sent by the API gateway through a security component, where the request includes obtaining the call relationship, the consumer secret key, and the white list;

[0096] A first sending unit 704, configured to send the consumer key, the calling relationship and the whitelist to the se...

Embodiment 3

[0115] Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a microservice operation device. The microservice operation device described below and the microservice operation method described above can be referred to in correspondence.

[0116] image 3 It is a block diagram of a microservice operating device 800 shown according to an exemplary embodiment. Such as image 3 As shown, the microservice operation device 800 may include: a processor 801 and a memory 802 . The microservice operating device 800 may also include one or more of a multimedia component 803 , an input / output (I / O) interface 804 , and a communication component 805 .

[0117] Wherein, the processor 801 is used to control the overall operation of the microservice operation device 800, so as to complete all or part of the steps in the above microservice operation method. The memory 802 is used to store various types of data to support operations on the micr...

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 the technical field of computers, in particular to a micro-service operation method, device and equipment and a readable storage medium. Generating a consumer secret key according to a secret key generation algorithm, and storing the consumer secret key in a database; storing the calling relation of the micro-service and the white list in the database; receiving a request sent by the API gateway; sending the consumer secret key, the calling relation and the white list to the security component; and receiving an authentication result of the security component, judging whether the authentication result is authentication failure or not, and if the authentication result is authentication failure, sending the real-time information of the calling relationship in the database, the real-time information of the consumer key and the real-time information of the white list to an API gateway. According to the invention, through the transformation of the assembly and the integrated development of the micro-service related system, the management and control capability of the micro-service is greatly improved, and the operation cost is reduced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a microservice operation method, device, equipment and readable storage medium. Background technique [0002] The existing basic components in the current microservices are numerous and scattered, making it inconvenient to access business systems. In addition, the functional constraints and management methods of each component are insufficient, the efficiency of component governance and microservice governance is low, the governance method is backward, and there is a lack of a unified operation governance portal. Contents of the invention [0003] The purpose of the present invention is to provide a microservice operation method, device, equipment and readable storage medium to improve the above problems. In order to achieve the above object, the technical scheme that the present invention takes is as follows: [0004] On the one hand, the present application 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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30G06Q10/00H04L9/08H04L9/40
CPCG06F11/3006G06F11/3051G06F11/3093G06Q10/20H04L63/10H04L9/0861
Inventor 党安喜蔡中超林健通欧阳颉黄秀涛洪继南
Owner CHINA CITIC BANK
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