Supercharge Your Innovation With Domain-Expert AI Agents!

Service calling method and device for micro-service architecture and computer storage medium

A technology of service invocation and micro-service, which is applied in the field of devices and computer storage media, and the service invocation method of micro-service architecture, to achieve the effect of easy implementation and efficient maintenance process

Pending Publication Date: 2021-04-23
BEIJING SUREKAM CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to overcome the disadvantages of the traditional service invocation process under the microservice architecture, the present invention can provide a service invocation method, device and computer storage medium for the microservice architecture, thereby solving at least one problem existing in the prior art

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
  • Service calling method and device for micro-service architecture and computer storage medium
  • Service calling method and device for micro-service architecture and computer storage medium
  • Service calling method and device for micro-service architecture and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The service invocation method, device and computer storage medium for the microservice architecture provided by the present invention will be explained and illustrated in detail below in conjunction with the accompanying drawings.

[0049] Such as figure 1 As shown, the present invention provides a service invocation method for microservice architecture, which can be used to "open up" the network inside and outside the container. Specifically, the service invocation method provided by the present invention may include but not limited to at least one of the following steps.

[0050] Such as figure 2 As shown, the service registration is performed first. This step may include: judging whether the service to be registered is started in the container; specifically, according to the service to be registered is started in the container, then write the first parameter into the metadata for registration; or according to the service to be registered is started in the containe...

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 service calling method and a device for a micro-service architecture and a computer storage medium. The service calling method comprises but is not limited to at least one of the following steps: selecting a target service corresponding to the service, and obtaining an entry address list of the container according to the condition that the service is an out-of-container service and the target service is an in-container service; and screening out a target address from the entry address list, and modifying a remote procedure call address of the target service based on the target address; and calling the target service by using the modified remote procedure call address. The invention can provide a brand-new service calling solution under the micro-service architecture, can modify the remote procedure calling address of the target service according to the actual calling condition, realizes the calling of the service outside the container to the service inside the container, and has the outstanding advantages of easiness in implementation, easiness in management, high maintenance efficiency and the like.

Description

technical field [0001] The present invention relates to the technical field of microservices, and more specifically, the present invention can provide a service invocation method, device and computer storage medium for microservice architecture. Background technique [0002] At present, the service invocation process in the traditional microservice architecture environment is relatively complicated. Especially for the situation where the service outside the container based on the Kubernetes environment communicates with the service inside the container, but the service IP address (Internet Protocol Address) inside the container cannot be directly accessed by the outside. [0003] A conventional solution is to implement access to the service IP address in the container through IP address mapping, so as to call the service in the container. However, this solution needs to manage and configure a large number of IP addresses during the application process, and the development, ...

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): G06F9/54G06F9/455G06F9/50
Inventor 王文超黄国仲杨江波夏曙东
Owner BEIJING SUREKAM CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More