Unlock instant, AI-driven research and patent intelligence for your innovation.

Service instance obtaining method, system and storage medium

A service instance and storage medium technology, applied in the computer field, can solve the problem of increasing the workload of the server, and achieve the effect of increasing the workload and reducing the workload.

Inactive Publication Date: 2019-02-19
杭州能链科技有限公司
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method, system, and storage medium for obtaining service instances, so as to at least solve the problem of common access by multiple visitors because visitors need to use IP addresses and port numbers to access service instances of layer-4 services. In the case of the same service instance, the server needs to modify, notify, and remember the port to isolate multiple visitors, which greatly increases the workload of the server.

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 instance obtaining method, system and storage medium
  • Service instance obtaining method, system and storage medium
  • Service instance obtaining method, system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] According to an embodiment of the present invention, an embodiment of a method for obtaining a service instance is also provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0043] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. figure 1 It shows a hardware structure block diagram of a computer terminal (or mobile device) for realizing the method for acquiring a service instance. Such as figure 1 As shown, the computer terminal 10 (or mobile device 10) may include one or more (shown by 102a, 102b, ..., 102n in the figure) processor 102 (the processor...

Embodiment 2

[0083] According to the first aspect of the embodiments of the present invention, a system 6000 for obtaining a service instance is provided, and the system 6000 corresponds to the method implemented by the first terminal device 201 in Embodiment 1. Such as Image 6As shown, the system includes: a first virtual domain name receiving module 6100, configured to receive an input virtual domain name, wherein the virtual domain name is used to access service instances of layer-4 services; a first virtual domain name sending module 6200, configured to send the The virtual domain name is sent to the first server, wherein the first server is used to resolve the virtual domain name; and the first service instance receiving module 6300 is used to receive the service instance from the first server.

[0084] Specifically, such as figure 2 As shown, when the visitor 101 visits the service instance of the four-layer service, he first needs to input a virtual domain name on the first termi...

Embodiment 3

[0104] According to the first aspect of this embodiment, the present disclosure provides a system 2000 for processing service instances, such as Figure 11 As shown, it includes: a processor 2100; and a memory 2200, connected to the processor 2100, used to provide the processor 2100 with instructions for processing the following processing steps: receiving a virtual domain name from the first terminal device, wherein the virtual domain name is used to access the four-layer Service instance of the service; resolve the virtual domain name to the first IP address, where the first IP address is a public network IP address; access the second server through the first IP address, where the second server is configured with a load balancer; send the virtual domain name to the second server; receiving the service instance from the second server; and sending the service instance to the first terminal device.

[0105] According to the second aspect of this embodiment, the present disclosu...

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 instance obtaining method, a system, and a storage medium. Wherein the method comprises the following steps of: receiving an input virtual domain name, wherein the virtual domain name is used for accessing a service instance of a four layer service; sending the virtual domain name to a first server, wherein the first server is used for analyzing the virtual domainname; and receiving the service instance from the first server. The method solves the technical problem that currently visitors need to access the service instance of the four-layer service through the IP address and port number, in the case that multiple visitors access the same service instance together, the server needs to modify, notify, and the memory port can perform multiple visitors, so that the workload of the server is greatly increased.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a method, system and storage medium for acquiring service instances. Background technique [0002] In the current container orchestration PaaS solution dominated by kubernetes, the service discovery of business is based on the 7-layer protocol, for example: http: / / paas / tomcat The system will run multiple tomcat containers in the background corresponding to it, through the domain name The path " / tomcat" in the access. However, if a layer-4 service (IP address plus port number) needs to be exposed internally, such as mysql or redis, especially when multi-tenant isolation is required, the port number of the target service must be changed, and the port number is used to distinguish services corresponding to different tenants instance, and this port number may still change the next time the service is created. This makes the server need to modify, notify, and remember the port when ...

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): H04L29/12H04L29/08H04L12/803
CPCH04L47/125H04L61/10H04L61/4511H04L67/51
Inventor 王晓轩
Owner 杭州能链科技有限公司