CN109361780A - Obtain method, system and the storage medium of Service Instance - Google Patents
Obtain method, system and the storage medium of Service Instance Download PDFInfo
- Publication number
- CN109361780A CN109361780A CN201811237434.8A CN201811237434A CN109361780A CN 109361780 A CN109361780 A CN 109361780A CN 201811237434 A CN201811237434 A CN 201811237434A CN 109361780 A CN109361780 A CN 109361780A
- Authority
- CN
- China
- Prior art keywords
- server
- domain name
- virtual domain
- service instance
- service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of method, system and storage mediums for obtaining Service Instance.Wherein, this method comprises: receiving the virtual Domain Name of input, wherein the virtual Domain Name is used to access the Service Instance of four layers of service;The virtual Domain Name is sent to first server, wherein the first server is for parsing the virtual Domain Name;And the Service Instance is received from the first server.The present invention is solved since current visitor needs to access the Service Instance of four layers of service by IP address and port numbers, it causes in the case where multiple visitors access same Service Instance jointly, server needs go to modification, notice, memory port that multiple visitors could be isolated, and then the technical issues of greatly increase the workload of server.
Description
Technical field
The present invention relates to computer fields, in particular to a kind of method, system and storage for obtaining Service Instance
Medium.
Background technique
It is at present being in leading container layout PaaS solution with kubernetes, the service discovery to business is all
Based on 7 layer protocols, such as: http://paas/tomcat system background can run multiple tomcat containers and be corresponding to it, and lead to
The path crossed in domain name "/tomcat " accesses.But if inside needs one four layers of service of exposure, (IP address adds port
Number), such as mysql or redis, change the port numbers of destination service when especially meeting multi-tenant isolation, uses end
Slogan removes to distinguish the corresponding Service Instance of different tenants, and this port numbers still may meeting when creation service next time
Variation.This makes visitor when accessing the Service Instance of four layers of service, and server needs go to modification, notice, memory port, into
And the workload of server is greatly increased, cause the experience of Accessor Access's Service Instance bad.
For the above-mentioned service for needing to access four layers of service by IP address and port numbers due to current visitor
Example is caused in the case where multiple visitors access same Service Instance jointly, and server needs go modification, notice, memory
Multiple visitors could be isolated in port, and then greatly increase the workload problem of server, not yet propose at present
Effective solution scheme.
Summary of the invention
The embodiment of the invention provides a kind of method, system and storage mediums for obtaining Service Instance, at least to solve
Since current visitor needs to access the Service Instance of four layers of service by IP address and port numbers, cause in multiple access
In the case that person accesses same Service Instance jointly, server needs go modification, notice, memory port could be to multiple visitors
The technical issues of being isolated, and then greatly increasing the workload of server.
First aspect according to an embodiment of the present invention provides a kind of method for obtaining Service Instance, comprising: receive defeated
The virtual Domain Name entered, wherein virtual Domain Name is used to access the Service Instance of four layers of service;Virtual Domain Name is sent to first service
Device, wherein first server is for parsing virtual Domain Name;And Service Instance is received from first server.
The second aspect according to an embodiment of the present invention additionally provides a kind of method for handling Service Instance, comprising: from the
One terminal device receives virtual Domain Name, and wherein virtual Domain Name is used to access the Service Instance of four layers of service;By virtual domain name resolution
For the first IP address, wherein the first IP address is public network IP address;Second server is accessed by the first IP address, wherein the
Two servers are configured with load balancer;Virtual Domain Name is sent to second server;Service Instance is received from second server;
And Service Instance is sent to first terminal equipment.
In terms of third according to an embodiment of the present invention, a kind of method for handling Service Instance is additionally provided, comprising: from the
One server receives virtual Domain Name, and wherein virtual Domain Name is used to access the Service Instance of four layers of service;It is by virtual domain name resolution
Second IP address and port numbers;Third server is accessed by the second IP address and port numbers, wherein third server is configured with
Service Instance;Service Instance is received from third server;And Service Instance is sent to first server.
4th aspect according to an embodiment of the present invention additionally provides a kind of method of offer Service Instance, comprising: response
In the operation that second server is accessed by the second IP address and port numbers, transfer related to the second IP address and port numbers
The Service Instance of connection;And Service Instance is sent to second server.
5th aspect according to an embodiment of the present invention, additionally provides a kind of method of issuing service example, comprising: from the
Two terminal devices receive the posting request of the Service Instance of four layers of service of publication, and wherein Service Instance is set to third server;
In response to posting request, and corresponding second IP address of third server and port numbers corresponding with Service Instance is obtained;Base
In the second IP address and port numbers, corresponding virtual Domain Name is generated, wherein being able to access that on third server by virtual Domain Name
Service Instance;Second IP address and port numbers are registered in the second server with load balancer;By virtual Domain Name
It is associated in first server with the first IP address of second server, enables first server according to virtual Domain Name
Parse the first IP address;And publication virtual Domain Name.
6th aspect according to an embodiment of the present invention, additionally provides a kind of storage medium, and storage medium includes storage
Program, wherein the method as described in processor execution any of the above one in program operation.
7th aspect according to an embodiment of the present invention, additionally provides a kind of system for obtaining Service Instance, comprising: first
Virtual Domain Name receiving module, virtual Domain Name for receiving input, wherein virtual Domain Name is used to access the service reality of four layers of service
Example;First virtual Domain Name sending module, for virtual Domain Name to be sent to first server, wherein first server is used for void
Near-field name is parsed;And first service example receiving module, for receiving Service Instance from first server.
8th aspect according to an embodiment of the present invention, additionally provides a kind of system for handling Service Instance, comprising:
Second virtual Domain Name receiving module, for receiving virtual Domain Name from first terminal equipment, wherein virtual Domain Name is for accessing four layers
The Service Instance of service;First parsing module, for being the first IP address by virtual domain name resolution;First access modules, are used for
Second server is accessed by the first IP address, wherein second server is configured with load balancer;Second virtual Domain Name is sent
Module, for virtual Domain Name to be sent to second server;Second service example receiving module, for being received from second server
Service Instance;And first service example sending module, for Service Instance to be sent to first terminal equipment.
9th aspect according to an embodiment of the present invention, additionally provides a kind of system for handling Service Instance, comprising: third
Virtual Domain Name receiving module, for receiving virtual Domain Name from first server, wherein virtual Domain Name is used to access four layers of service
Service Instance;Second parsing module, for being the second IP address and port numbers by virtual domain name resolution;Second access modules are used
In accessing third server by the second IP address and port numbers, wherein third server is configured with Service Instance;Third service
Example receiving module, for receiving Service Instance from third server;And second service example sending module, for that will service
Example is sent to first server.
According to an embodiment of the present invention ten aspect additionally provides a kind of system of offer Service Instance, comprising: service
Example transfers module, the operation for being accessed in response to second server by the second IP address and port numbers, transfer with
Second IP address and the associated Service Instance of port numbers;And third Service Instance sending module, for Service Instance to be sent out
It send to second server.
According to an embodiment of the present invention tenth on one side, additionally provides a kind of system of issuing service example, comprising: hair
Cloth request receiving module, the posting request of the Service Instance for receiving four layers of service of publication from second terminal equipment, wherein taking
Pragmatic example is set to third server;First obtains module, for obtaining corresponding with third server in response to posting request
Second IP address and port numbers corresponding with Service Instance;Generation module is generated for being based on the second IP address and port numbers
Corresponding virtual Domain Name, wherein being able to access that the Service Instance on third server by virtual Domain Name;Registration module, being used for will
Second IP address and port numbers are registered in the second server with load balancer;Relating module is used for virtual Domain Name
It is associated in first server with the first IP address of second server, enables first server according to virtual Domain Name
Parse the first IP address;And release module, for issuing virtual Domain Name.
12nd aspect according to an embodiment of the present invention, additionally provides a kind of system for obtaining Service Instance, comprising: place
Manage device;And memory, it is connect with processor, for providing the instruction for handling following processing step for processor: receiving input
Virtual Domain Name, wherein virtual Domain Name be used for access four layers service Service Instances;Virtual Domain Name is sent to first server,
Wherein first server is for parsing virtual Domain Name;And Service Instance is received from first server.
13rd aspect according to an embodiment of the present invention, additionally provides a kind of system for handling Service Instance, comprising: place
Manage device;And memory, it is connect with processor, for providing the instruction for handling following processing step for processor: eventually from first
End equipment receives virtual Domain Name, and wherein virtual Domain Name is used to access the Service Instance of four layers of service;It is the by virtual domain name resolution
One IP address;Second server is accessed by the first address IP, wherein second server is configured with load balancer;It will be virtual
Domain name is sent to second server;Service Instance is received from second server;And Service Instance is sent to first terminal and is set
It is standby.
14th aspect according to an embodiment of the present invention, additionally provides a kind of system for handling Service Instance, comprising: place
Manage device;And memory, it is connect with processor, for providing the instruction for handling following processing step for processor: from the first clothes
Business device receives virtual Domain Name, and wherein virtual Domain Name is used to access the Service Instances of four layers of service;It is second by virtual domain name resolution
IP address and port numbers;Third server is accessed by the second IP address and port numbers, wherein third server is configured with service
Example;Service Instance is received from third server;And Service Instance is sent to first server.
15th aspect according to an embodiment of the present invention additionally provides a kind of system of offer Service Instance, comprising: place
Manage device;And memory, it is connect with processor, for providing the instruction for handling following processing step for processor: in response to
The operation that two servers are accessed by the second IP address and port numbers is transferred associated with the second IP address and port numbers
Service Instance;And Service Instance is sent to second server.
16th aspect according to an embodiment of the present invention, additionally provides a kind of system of issuing service example, comprising: place
Manage device;And memory, it is connect with processor, for providing the instruction for handling following processing step for processor: eventually from second
End equipment receives the posting request of the Service Instance of four layers of service of publication, and wherein Service Instance is set to third server;Response
In posting request, and corresponding second IP address of third server and port numbers corresponding with Service Instance is obtained;Based on
Two IP address and port numbers generate corresponding virtual Domain Name, wherein being able to access that the clothes on third server by virtual Domain Name
Pragmatic example;Second IP address and port numbers are registered in the second server with load balancer;By virtual Domain Name and
First IP address of two servers is associated in first server, enables first server according to virtual domain name resolution
First IP address out;And publication virtual Domain Name.
In embodiments of the present invention, by the way of the Service Instances for using virtual Domain Name to access four layers of service, by the
One terminal device receives the virtual Domain Name of visitor's input, and then the virtual Domain Name is sent to first server by terminal device.
At this point, since first server has the function of being parsed to the virtual Domain Name, first server is set from first terminal
Standby to receive the virtual Domain Name, then the virtual domain name resolution is the first IP address by first server, and by parsing
First IP address accesses second server, and the virtual undeserved reputation is then sent to second server.At this point, due to second server
With load balancer, therefore second server receives the virtual Domain Name from first server, then by the virtual domain name resolution
For the second IP address and port numbers, and the second IP address by parsing and port numbers access third server.At this point, by
In on third server be configured with Service Instance, therefore third server in response to second server pass through the second IP address and end
The operation of slogan access, transfers Service Instance corresponding with the second IP address and port numbers.Then third server is by the service
Example is sent to second server, then the Service Instance is sent to first server by second server, finally by the first clothes
The Service Instance is sent to first terminal equipment by business device.
By above-mentioned mode, visitor is allowed to access first server by virtual Domain Name, then first service
Device is by being sent to second server for the virtual Domain Name, and then second server is according to load balancing and the function of reverse proxy
Can, by the Service Instance from the reverse proxy of third server to first server, then by first server the Service Instance is sent out
It send to first terminal equipment.The service in the case where Service Instance of the same four layers of service of multiple Accessor Access is reached
Device no longer needs the purpose that multiple visitors are isolated by way of changing port numbers, so that realizing visitor can
It is accessed with the Service Instance serviced by virtual Domain Name four layers, it is no longer necessary to be visited by way of IP address and port numbers
It asks, thus greatly reduces the technical effect of the workload of server, and then solve since current visitor needs to pass through IP
Address and port numbers could access the Service Instance of four layers of service, cause to access same Service Instance jointly in multiple visitors
In the case of, server needs go to modification, notice, memory port that could be isolated to multiple visitors, and then greatly increase
The technical issues of workload of server.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 shows a kind of hardware block diagram of calculating equipment for realizing the method for obtaining Service Instance;
Fig. 2 shows the schematic diagrames for the system that Service Instance is obtained according to the scheme of the embodiment of the present disclosure 1;
Fig. 3 shows the schematic diagram of the system of issuing service example according to the scheme of the embodiment of the present disclosure 1;
Fig. 4 shows the process that the method for Service Instance is obtained according to the first aspect of the embodiment of the present disclosure 1
Figure;
Fig. 5 shows the process of the method for issuing service example according to the second aspect of the embodiment of the present disclosure 1
Figure;
Fig. 6 shows the structural frames of the system of acquisition Service Instance according to the aspect of the embodiment of the present disclosure 2
Figure;
Fig. 7 shows the structure that the system of Service Instance is handled according to the second aspect of the embodiment of the present disclosure 2
Block diagram;
Fig. 8 shows the structure of the system of processing Service Instance according to the third of the embodiment of the present disclosure 2 aspect
Block diagram;
Fig. 9 shows the structure of the system of offer Service Instance according to the 4th aspect of the embodiment of the present disclosure 2
Block diagram;
Figure 10 shows the structure of the system of the issuing service example according to the 5th aspect of the embodiment of the present disclosure 2
Block diagram;
Figure 11 shows the structure that the system of Service Instance is obtained according to the first aspect of the embodiment of the present disclosure 3
Block diagram;
Figure 12 shows the structure that the system of Service Instance is handled according to the second aspect of the embodiment of the present disclosure 3
Block diagram;
Figure 13 shows the structure of the system of processing Service Instance according to the third of the embodiment of the present disclosure 3 aspect
Block diagram;
Figure 14 shows the structure of the system of offer Service Instance according to the 4th aspect of the embodiment of the present disclosure 3
Block diagram;And
Figure 15 shows the structure of the system of the issuing service example according to the 5th aspect of the embodiment of the present disclosure 3
Block diagram.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the method for obtaining Service Instance is additionally provided, it should be noted that
The step of process of attached drawing illustrates can execute in a computer system such as a set of computer executable instructions, also,
It, in some cases, can be to be different from shown in sequence execution herein although logical order is shown in flow charts
The step of out or describing.
Embodiment of the method provided by the embodiment of the present application one can be in mobile terminal, terminal or similar fortune
It calculates and is executed in device.Fig. 1 shows a kind of terminal (or mobile device) for realizing the method for obtaining Service Instance
Hardware block diagram.As shown in Figure 1, terminal 10 (or mobile device 10) may include one or more (adopts in figure
With 102a, 102b ... ..., 102n is shown) (processor 102 can include but is not limited to Micro-processor MCV to processor 102
Or the processing unit of programmable logic device FPGA etc.), memory 104 for storing data and for communication function
Transmitting device 106.It in addition to this, can also include: display, input/output interface (I/O interface), universal serial bus
(USB) port (a port that can be used as in the port of I/O interface is included), network interface, power supply and/or camera.This
Field those of ordinary skill is appreciated that structure shown in FIG. 1 is only to illustrate, and does not cause to the structure of above-mentioned electronic device
It limits.For example, terminal 10 may also include than shown in Fig. 1 more perhaps less component or have with shown in Fig. 1
Different configurations.
It is to be noted that said one or multiple processors 102 and/or other data processing circuits lead to herein
Can often " data processing circuit " be referred to as.The data processing circuit all or part of can be presented as software, hardware, firmware
Or any other combination.In addition, data processing circuit for single independent processing module or all or part of can be integrated to meter
In any one in other elements in calculation machine terminal 10 (or mobile device).As involved in the embodiment of the present application,
The data processing circuit controls (such as the selection for the variable resistance end path connecting with interface) as a kind of processor.
Memory 104 can be used for storing the software program and module of application software, such as the acquisition in the embodiment of the present invention
Corresponding program instruction/the data storage device of the method for Service Instance, processor 102 are stored in memory 104 by operation
Software program and module realize above-mentioned acquisition Service Instance thereby executing various function application and data processing
Method.Memory 104 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic
Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 104 can further comprise
The memory remotely located relative to processor 102, these remote memories can pass through network connection to terminal 10.
The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of terminal 10 provide.In an example, transmitting device 106 includes that a network is suitable
Orchestration (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to
Internet is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module,
For wirelessly being communicated with internet.
Display can such as touch-screen type liquid crystal display (LCD), the liquid crystal display aloow user with
The user interface of terminal 10 (or mobile device) interacts.
Further, Fig. 2 shows the system diagrams that Service Instance is obtained according to the scheme of the present embodiment.Wherein access
In the case that the Service Instance that person 101 wants to service four layers accesses, visitor 101 is defeated in first terminal equipment 201
Enter virtual Domain Name associated with the Service Instance, then first terminal equipment 201 receives the virtual Domain that visitor 101 inputs
Name, and the virtual Domain Name is sent to the first server 300 with virtual domain name resolution function.At this point, first server 300
The virtual Domain Name that first terminal equipment 201 sends over is received, and is the first address IP by the virtual domain name resolution, is then led to
The second server 400 that first IP address access has load balancing and reverse proxy function is crossed, finally by the virtual Domain Name
It is sent to second server 400.At this point, second server 400 receives the virtual Domain Name from first server 300, then will
The virtual domain name resolution is the second IP address and port numbers, and the second IP address by parsing and port numbers access have
The third server 500 of Service Instance.At this point, since third server 500 has Service Instance corresponding with the virtual Domain Name,
Therefore the operation that third server 500 is accessed in response to second server 400 by the 2nd address IP and port numbers, transfer with
Second IP address and the associated Service Instance of port numbers, are finally sent to second server 400 for the Service Instance.
To, second server 400 by reverse proxy function by the Service Instance from third server 500 act on behalf of to
First server 300, then the Service Instance is sent to first terminal equipment 201 by first server 300.And then visit is reached
The purpose that the person of asking 101 can be accessed by the Service Instance that virtual Domain Name services four layers.Wherein, first terminal equipment
201, first server 300, second server 400 and third server 500 may be applicable to hardware configuration shown in Fig. 1
Figure.Wherein, the first IP address for example can be public network IP address.
Further, Fig. 3 shows the system diagram of the issuing service example according to the scheme of the present embodiment.Wherein issue
For person 102 in the case where needing to issue the Service Instance that four layers service, publisher 102 can pass through second terminal equipment
202 send the request of request issuing service example to delivery system 600.To which, delivery system 600 is from second terminal equipment 202
Receive the posting request of the Service Instance for four layers of service that publication is set on third server 500.Then 600 sound of delivery system
Second IP address corresponding with third server 500 and end corresponding with the Service Instance should be obtained in the posting request
Slogan.Then delivery system 600 is based on second IP address and port numbers, generates corresponding virtual Domain Name.Then, delivery system
Second IP address and port numbers are registered in the second server 400 with load balancer by 600, and by generation this is virtual
Domain name and the first IP address of second server 400 are associated in first server 300.Finally, delivery system 600 is sent out
The cloth virtual Domain Name.And then delivery system 600 sends out the Service Instance for four layers of service that publisher 102 wants publication
Cloth, what then visitor can be issued by delivery system 600 can be to this with the associated virtual Domain Name of the Service Instance
Service Instance accesses.Wherein, first terminal equipment 201, first server 300, second server 400, third server
500 and delivery system 600 may be applicable to hardware structure diagram shown in Fig. 1.
Under above-mentioned running environment, according to the first aspect of the present embodiment, present disclose provides a kind of acquisition service is real
The method of example, Fig. 4 show the flow chart of this method.This method by run on first terminal equipment 201 shown in Fig. 2,
Method flow realization on first server 300, second server 400 and third server 500, and with reference to shown in Fig. 3:
Firstly, first terminal equipment 201 receives the virtual Domain Name that visitor 101 inputs, the virtual Domain Name is for accessing four
The Service Instance (S411) of layer service.
Then the virtual Domain Name is sent to first server 300 by first terminal equipment 201, wherein first server 300
For being parsed (S412) to the virtual Domain Name.
Then, first server 300 receives virtual Domain Name (S421) from first terminal equipment 201.
Since first server 300 has the function of being parsed to virtual Domain Name, so being by the virtual domain name resolution
First IP address (S422).Specifically, such as first server 300 is configured with CoreDNS service framework, then first service
The virtual domain name resolution is the first IP address by the CoreDNS service framework by device 300, and wherein first IP address for example may be used
Think that a public network address, the virtual Domain Name are to bind in advance with the IP address of second server 400 (i.e. the first IP address).From
And in the case that visitor 101 is accessed by the Service Instance that the virtual Domain Name services four layers, first server
300 can be by being the IP address (i.e. the first IP address) of second server 400 by the virtual domain name resolution, and then realizes
With the connection of the second server 400 with load balancer.
Then first server 300 passes through the first IP address access second server 400 (S423) parsed.
Then the virtual Domain Name that visitor 101 inputs is sent to second server 400 (S424) by first server 300.
At this point, second server 400 receives the virtual Domain Name (S431) from first server 300.
Then the virtual domain name resolution is the second IP address and port numbers (S432) by second server 400.
Then second server 400 passes through second IP address and port numbers access third server (S433).Specifically
Ground, such as since second server 400 is configured with load balancer, second server 400 can be according to being pre-set at this time
The routing rule of load balancer, load balancing according to the routing rule and pass through the second IP address for parsing and port
Number access third server 500, i.e., on third server 500 be configured with Service Instance.In this way, second is realized
The access of 400 load balancing of server Service Instance corresponding with the imaginary field name that visitor 101 inputs, and then ensured to work as and deposit
In the case where multiple visitors access the Service Instance of four layers of service simultaneously, second server 400 can also be with load balancing
The effect to access to Service Instance.
At this point, the behaviour that third server 500 is accessed in response to second server 400 by second IP address and port numbers
Make, transfers Service Instance (S441) associated with second IP address and port numbers.
Then, which is sent to second server 400 (S442) by third server 500.
Then second server 400 receives Service Instance (S434) from third server 500.
Then the service is sent to first server 300 (S435) by second server 400 in fact.
Then first server 300 receives the Service Instance (S425) from second server 400.
Then the Service Instance is sent to first terminal equipment 201 (S426) by first server 300.
Last first terminal equipment 201 receives the Service Instance (S413) from first server 300.
To which by the above process, completing will be sent to visitor's 101 with the associated Service Instance of the virtual Domain Name
Operation.
To which by above-mentioned method, the first aspect of the present embodiment, which has reached visitor, can pass through virtual Domain Name
The purpose that the Service Instance serviced four layers accesses.Four layers can be serviced by virtual Domain Name by realizing visitor in turn
Service Instance access, it is no longer necessary to accessed by way of IP address and port numbers, thus greatly reduce server
Workload technical effect.And then it solves since current visitor needs that four layers could be accessed by IP address and port numbers
The Service Instance of service is caused in the case where multiple visitors access same Service Instance jointly, server needs go modification,
Multiple visitors could be isolated in notice, memory port, and then the technology for greatly increasing the workload of server is asked
Topic.
Under above-mentioned running environment, according to the second aspect of the present embodiment, it is real that present disclose provides a kind of issuing services
The method of example, Fig. 5 show the flow chart of this method.This method can run on first terminal equipment 201 shown in Fig. 3,
First server 300, second server 400, third server 500 and delivery system 600, and refering to what is shown in Fig. 5, the party
Method includes:
S501: the posting request of the Service Instance of four layers of service of publication is received from second terminal equipment, wherein Service Instance
It is set to third server;
S502: in response to posting request, obtain the second IP address corresponding with third server and with Service Instance pair
The port numbers answered;
S503: being based on the second IP address and port numbers, generate corresponding virtual Domain Name, wherein can be visited by virtual Domain Name
Ask the Service Instance on third server;
S504: the second IP address and port numbers are registered in the second server with load balancer;
S505: the first IP address of virtual Domain Name and second server is associated in first server, so that the
One server can go out the first IP address according to virtual domain name resolution;And
S506: publication virtual Domain Name.
The present embodiment is needing the case where issuing the Service Instance that four layers service by providing a kind of publisher 102
Under, the request of request issuing service example can be sent to delivery system 600 by second terminal equipment 202.In turn, publication system
System 600 receives the publication of the Service Instance for four layers of service that publication is set on third server 500 from second terminal equipment 202
Request.Then delivery system 600 is in response to the posting request, obtain second IP address corresponding with third server 500 and
Port numbers corresponding with the Service Instance.Then delivery system 600 is based on second IP address and port numbers, generates corresponding
Virtual Domain Name.Then, second IP address and port numbers are registered in the second service with load balancer by delivery system 600
Device 400, and the virtual Domain Name of generation and the first IP address of second server 400 are closed in first server 300
Connection.Finally, the Service Instance and the virtual Domain Name are registered in etcd component by delivery system 600, realizing publication, this is virtual
The operation of domain name.
To in this way, delivery system 600 to publisher 102 want publication four layers of service Service Instances into
Publication is gone, what then visitor can be issued by delivery system 600 can with the associated virtual Domain Name of the Service Instance
To access to the Service Instance.Therefore, the publication of the Service Instance of four layers of service no longer passes through IP address and port numbers
Form, but by way of issuing virtual Domain Name, so that having the case where multiple visitors access to Service Instance
Under, server no longer needs that multiple visitors are isolated by changing port numbers, and then greatly reduces the workload of server.
And then solve since current visitor needs to access the Service Instance of four layers of service by IP address and port numbers, it causes
In the case where multiple visitors access same Service Instance jointly, server needs go modification, notice, memory port ability right
Multiple visitors are isolated, and then the technical issues of greatly increase the workload of server.
In terms of the third of the present embodiment, the disclosure additionally provides a kind of storage medium, and storage medium includes storage
Program, wherein method described in above-mentioned any one executed as processor in program operation.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
First aspect according to embodiments of the present invention, provides a kind of for obtaining the system 6000 of Service Instance, this is
System 6000 is corresponding with the method that the first terminal equipment 201 in embodiment 1 is implemented.As shown in fig. 6, the system includes: first
Virtual Domain Name receiving module 6100, virtual Domain Name for receiving input, wherein the virtual Domain Name is for accessing four layers of service
Service Instance;First virtual Domain Name sending module 6200, for the virtual Domain Name to be sent to first server, wherein institute
First server is stated for parsing to the virtual Domain Name;And first service example receiving module 6300, it is used for from institute
It states first server and receives the Service Instance.
Specifically, as shown in Fig. 2, the Service Instance that visitor 101 services four layers first has to when accessing first
A virtual Domain Name is inputted on terminal device 201, in conjunction with the system 6000 of the acquisition Service Instance of Fig. 6, first terminal equipment 201
In the first virtual Domain Name receiving module 6100 first have to receive visitor input the virtual Domain Name to be accessed;Then by institute
The virtual Domain Name stated is sent in first server 300 as shown in Figure 2 and carries out domain name mapping;When virtual Domain Name passes through Fig. 2 system
It unites after first server 300, second server 400 and the processing of third server 500, the service for having obtained visitor's needs is real
Example.These Service Instances to be accessed need to return by first server 300 to first terminal equipment, so first is whole
It include first service example receiving module 6300 in end equipment 201, for receiving the backhaul service reality of first server 300
Example.
The second aspect according to embodiments of the present invention, additionally provide it is a kind of for handling the system 7000 of Service Instance, should
The method that the first server 300 that system 7000 corresponds in embodiment 1 is implemented, as shown in fig. 7, the system includes: second
Virtual Domain Name receiving module 7100, for receiving virtual Domain Name from first terminal equipment, wherein the virtual Domain Name is for accessing
The Service Instance of four layers of service;First parsing module 7200, for being the first IP address by the virtual domain name resolution;First visits
Module 7300 is asked, for accessing second server by first IP address, wherein the second server is configured with load
Balanced device;Second virtual Domain Name sending module 7400, for the virtual Domain Name to be sent to the second server;Second clothes
Pragmatic example receiving module 7500, for receiving the Service Instance from the second server;And first service example is sent
Module 7600, for the Service Instance to be sent to the first terminal equipment.
As shown in fig. 7, in the system 7000 of processing Service Instance, when visitor 101 sets in first terminal in Fig. 2
After having inputted virtual Domain Name in standby 201, first terminal equipment 201 need to send the virtual Domain Name to first server 300 into
Row parsing, so the second virtual Domain Name receiving module 7100 is used to receive the virtual Domain Name that first terminal equipment is sent;And first
The effect of parsing module 7200 is the virtual Domain Name for parsing the second virtual Domain Name receiving module 7100 and receiving, and parses the virtual Domain Name
Obtain the first IP address;First IP address needs that second server 400 could be accessed by the first access modules 7300,
Load balancer is wherein configured in second server 400;There are also the second virtual Domains in the system 7000 of processing Service Instance
Name sending module 7400, the effect of the module is to send virtual Domain Name to the second server 400;When the clothes to be accessed
When pragmatic example is returned from second server 400 to first server 300, the second service example receiving module is needed
7500 receive the Service Instance;First service example sending module 7600, for the Service Instance to be sent to described
One terminal device.
Optionally, first parsing module 7200 further include: analyzing sub-module, for servicing frame using CoreDNS
The virtual domain name resolution is first IP address by frame.
In terms of third according to embodiments of the present invention, additionally provide it is a kind of for handling the system 8000 of Service Instance, this
System 8000 corresponds to the method that second server 400 described in embodiment 1 is implemented, as shown in figure 8, the system includes:
Third virtual Domain Name receiving module 8100, for receiving virtual Domain Name from first server, wherein the virtual Domain Name is for visiting
Ask the Service Instance of four layers of service;Second parsing module 8200, for being the second IP address and end by the virtual domain name resolution
Slogan;Second access modules 8300 are used to access third server by second IP address and the port numbers, wherein institute
Third server is stated configured with Service Instance;Third Service Instance receiving module 8400, for being received from the third server
The Service Instance;And second service example sending module 8500, for the Service Instance to be sent to first clothes
Business device.
As shown in Fig. 2, Fig. 8 processing service is real when first server 300 sends virtual Domain Name to second server 400
Third virtual Domain Name receiving module 8100 in the system 8000 of example is used to receive the virtual Domain Name;Second parsing module 8200,
For parsing the virtual Domain Name again, what is obtained is the second IP address and port numbers;It further include the second access modules 8300,
For accessing third server 500 by second IP address and the port numbers, wherein the third server is configured with
Service Instance;And third Service Instance receiving module 8400, when third server is by the desired service instance query of visitor
After arriving, need to pass back to the example second server 400, so first service example receiving module 8400 is used to
Receive the example;There are also second service example sending modules 8500, for the Service Instance to be sent to the first service
Device 300.
Optionally, second access modules 8300, comprising: access submodule, for equal according to load is pre-set in
The routing rule of weighing apparatus accesses third server by second IP address and port numbers to load balancing, wherein described negative
Equalizer setting is carried in the third server.It is preferably to distribute resource that it, which is acted on, and server resource is carried out reasonable arrangement,
And then accelerate the efficiency of the system.
4th aspect according to embodiments of the present invention, additionally provide it is a kind of for providing the system 9000 of Service Instance, should
The method that the third server 500 that system 9000 corresponds in embodiment 1 is implemented, as shown in figure 9, the system includes: that service is real
Example transfers module 9100, and the operation for being accessed in response to second server by the second IP address and port numbers is transferred
Service Instance associated with second IP address and the port numbers;And third Service Instance sending module 9200, it uses
In the Service Instance is sent to the second server.
Specifically, as shown in figure 9, the Service Instance provided in the system 9000 of Service Instance transfers module 9100, make
With the operation for being in response to access in second server by the second IP address and port numbers, transfer and second IP address
And the associated Service Instance of port numbers;After third server 500 finds Service Instance, which is passed back to
Second server 400, and the effect of third Service Instance sending module 9200 is exactly by the Service Instance to second server
400 passbacks.Resource allocation preferably is realized, is improved efficiency.
According to the 5th of the present embodiment the aspect, present disclose provides a kind of systems 1000 of issuing service example, this is
It unites corresponding with the method for issuing service example described in 1 the second aspect of embodiment.Figure 10 shows the structural framing of the system
Figure.Refering to what is shown in Fig. 10, the system includes:
Posting request receiving module 1100, the hair of the Service Instance for receiving four layers of service of publication from second terminal equipment
Cloth request, wherein Service Instance is set to third server;
First obtains module 1200, for obtaining the second IP address corresponding with third server in response to posting request
And port numbers corresponding with Service Instance;
Generation module 1300 generates corresponding virtual Domain Name, wherein passing through void for being based on the second IP address and port numbers
Near-field name is able to access that the Service Instance on third server;
Registration module 1400, for the second IP address and port numbers to be registered in the second service with load balancer
Device;
Relating module 1500, for carrying out the first IP address of virtual Domain Name and second server in first server
Association, enables first server to go out the first IP address according to virtual domain name resolution;And
Release module 1600, for issuing virtual Domain Name.
The present embodiment by providing a kind of publisher in the case where needing to issue the Service Instance that four layers service,
The request of request issuing service example can be sent to delivery system 1000 by second terminal equipment.In turn, posting request connects
Receive the publication that module 1100 receives the Service Instance for four layers of service that publication is set on third server from second terminal equipment
Request.Then first obtain module 1200 in response to the posting request, obtain the second IP address corresponding with third server with
And port numbers corresponding with the Service Instance.Then generation module 1300 is based on second IP address and port numbers, generation pair
The virtual Domain Name answered.Then, second IP address and port numbers are registered in load balancer by registration module 1400
Two servers, then relating module 1500 is by the first IP address of the virtual Domain Name of generation and second server in first service
It is associated on device.Finally, the Service Instance and the virtual Domain Name are registered in etcd component by release module 1600, realize
Issue the operation of the virtual Domain Name.
To which in this way, delivery system 1000 carries out the Service Instance for four layers of service that publisher wants publication
Publication, what then visitor can be issued by delivery system can be to this with the associated virtual Domain Name of the Service Instance
Service Instance accesses.Therefore, four layers service Service Instance publication no longer by way of IP address and port numbers, and
It is by way of issuing virtual Domain Name, so that being serviced in the case where accessing with multiple visitors to Service Instance
Device no longer needs that multiple visitors are isolated by changing port numbers, and then greatly reduces the workload of server.And then it solves
It has determined since current visitor needs to access the Service Instance of four layers of service by IP address and port numbers, has caused multiple
In the case that visitor accesses same Service Instance jointly, server needs go modification, notice, memory port could be to multiple visits
The person of asking is isolated, and then the technical issues of greatly increase the workload of server.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not
It is limited to one disclosure of that of above-described embodiment.It should be noted that above-mentioned module may operate in as a part of device
In the terminal 10 that embodiment one provides.
Embodiment 3
According to the first aspect of the present embodiment, present disclose provides a kind of systems 2000 for handling Service Instance, such as scheme
Shown in 11, comprising: processor 2100;And memory 2200, it is connect with processor 2100, for being provided for processor 2100
It handles the instruction of following processing step: receiving virtual Domain Name from first terminal equipment, wherein virtual Domain Name is for accessing four layers of clothes
The Service Instance of business;It is the first IP address by virtual domain name resolution, wherein the first IP address is public network IP address;Pass through the first IP
Address accesses second server, and wherein second server is configured with load balancer;Virtual Domain Name is sent to second server;
Service Instance is received from second server;And Service Instance is sent to first terminal equipment.
According to the second aspect of the present embodiment, present disclose provides a kind of systems 3000 for handling Service Instance, such as scheme
Shown in 12, comprising: processor 3100;And memory 3200, it is connect with processor 3100, for being provided for processor 3100
It handles the instruction of following processing step: receiving virtual Domain Name from first terminal equipment, wherein virtual Domain Name is for accessing four layers of clothes
The Service Instance of business;It is the first IP address by virtual domain name resolution, wherein the first IP address is public network IP address;Pass through the first IP
Address accesses second server, and wherein second server is configured with load balancer;Virtual Domain Name is sent to second server;
Service Instance is received from second server;And Service Instance is sent to first terminal equipment.
It optionally, is the operation of the first IP address by virtual domain name resolution, comprising: will be empty using CoreDNS service framework
Near-field name resolves to the first IP address.
In terms of according to the third of the present embodiment, present disclose provides a kind of systems 4000 for handling Service Instance, such as scheme
Shown in 13, comprising: processor 4100;And memory 4200, it is connect with processor 4100, for being provided for processor 4100
It handles the instruction of following processing step: receiving virtual Domain Name from first server, wherein virtual Domain Name is for accessing four layers of service
Service Instance;It is the second IP address and port numbers by virtual domain name resolution;Third is accessed by the second IP address and port numbers
Server, wherein third server is configured with Service Instance;Service Instance is received from third server;And Service Instance is sent
To first server.
Optionally, pass through the operation that the second IP address and port numbers access third server, comprising: according to being pre-set in
The routing rule of load balancer accesses third server by the second IP address and port numbers to load balancing, wherein loading
Equalizer setting is in third server.
According to the 4th of the present embodiment the aspect, the system 5000 of Service Instance is provided present disclose provides a kind of, is such as schemed
Shown in 14, comprising: processor 5100;And memory 5200, it is connect with processor 5100, for being provided for processor 5100
Handle the instruction of following processing step: the operation to be accessed in response to second server by the second IP address and port numbers,
Transfer Service Instance associated with the second IP address and port numbers;And Service Instance is sent to second server.
According to the 5th of the present embodiment the aspect, present disclose provides a kind of systems 10000 of issuing service example, such as
Shown in Figure 15, comprising: processor 11000;And memory 12000, it is connect with processor 11000, for being processor 12000
There is provided the instruction for handling following processing step: the publication for receiving the Service Instance of four layers of service of publication from second terminal equipment is asked
It asks, wherein Service Instance is set to third server;In response to posting request, with obtaining twoth IP corresponding with third server
Location and port numbers corresponding with Service Instance;Based on the second IP address and port numbers, corresponding virtual Domain Name is generated, wherein leading to
Cross the Service Instance that virtual Domain Name is able to access that on third server;Second IP address and port numbers are registered in have and born
Carry the second server of balanced device;First IP address of virtual Domain Name and second server is closed in first server
Connection, enables first server to go out the first IP address according to virtual domain name resolution;And publication virtual Domain Name.
Optionally, the operation of virtual Domain Name is issued, comprising: Service Instance and virtual Domain Name are registered in etcd component.
To which by above-mentioned method, the visitor that reached of the present embodiment can be by virtual Domain Name to four layers of service
The purpose that accesses of Service Instance.And then realize the Service Instance that visitor can service four layers by virtual Domain Name
It accesses, it is no longer necessary to be accessed by way of IP address and port numbers, thus greatly reduce the workload of server
Technical effect.And then it solves since current visitor needs to access the service of four layers of service by IP address and port numbers
Example is caused in the case where multiple visitors access same Service Instance jointly, and server needs go modification, notice, memory
Multiple visitors could be isolated in port, and then the technical issues of greatly increase the workload of server.
On the other hand, in this way, delivery system to publisher want publication four layers service Service Instances into
Publication is gone, what then visitor can be issued by delivery system can be right with the associated virtual Domain Name of the Service Instance
The Service Instance accesses.Therefore, four layers service Service Instance publication no longer by way of IP address and port numbers,
But by way of issuing virtual Domain Name, so that in the case where accessing with multiple visitors to Service Instance, clothes
Business device no longer needs that multiple visitors are isolated by changing port numbers, and then greatly reduces the workload of server.In turn
It solves since current visitor needs to access the Service Instance of four layers of service by IP address and port numbers, causes more
In the case that a visitor accesses same Service Instance jointly, server needs go modification, notice, memory port could be to multiple
Visitor is isolated, and then the technical issues of greatly increase the workload of server.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access
Memory (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. are various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of method for obtaining Service Instance characterized by comprising
The virtual Domain Name of input is received, wherein the virtual Domain Name is used to access the Service Instance of four layers of service;
The virtual Domain Name is sent to first server, wherein the first server is for solving the virtual Domain Name
Analysis;And
The Service Instance is received from the first server.
2. a kind of method for handling Service Instance characterized by comprising
Virtual Domain Name is received from first terminal equipment, wherein the virtual Domain Name is used to access the Service Instance of four layers of service;
It is the first IP address by the virtual domain name resolution;
Second server is accessed by first IP address, wherein the second server is configured with load balancer;
The virtual Domain Name is sent to the second server;
The Service Instance is received from the second server;And
The Service Instance is sent to the first terminal equipment.
3. according to the method described in claim 2, it is characterized in that, being the behaviour of the first IP address by the virtual domain name resolution
Make, comprising: using CoreDNS service framework by the virtual domain name resolution be first IP address.
4. a kind of method for handling Service Instance characterized by comprising
Virtual Domain Name is received from first server, wherein the virtual Domain Name is used to access the Service Instance of four layers of service;
It is the second IP address and port numbers by the virtual domain name resolution;
Third server is accessed by second IP address and the port numbers, wherein the third server is configured with service
Example;
The Service Instance is received from the third server;And
The Service Instance is sent to the first server.
5. according to the method described in claim 4, it is characterized in that, accessing third clothes by second IP address and port numbers
Be engaged in device operation, comprising: according to the routing rule for being pre-set in load balancer, load balancing by the 2nd IP
Location and port numbers access third server, wherein the load balancer is set to the third server.
6. a kind of provide the method for Service Instance characterized by comprising
In response to the operation that second server is accessed by the second IP address and port numbers, transfer and second IP address
And the associated Service Instance of port numbers;And
The Service Instance is sent to the second server.
7. a kind of method of issuing service example characterized by comprising
The posting request that the Service Instance of four layers of service of publication is received from second terminal equipment, wherein the Service Instance is set to
Third server;
In response to the posting request, obtain the second IP address corresponding with the third server and with the Service Instance
Corresponding port numbers;
Based on second IP address and the port numbers, corresponding virtual Domain Name is generated, wherein passing through the virtual Domain Name energy
Enough access the Service Instance on the third server;
Second IP address and the port numbers are registered in the second server with load balancer;
First IP address of the virtual Domain Name and the second server is associated in first server, so that described
First server can go out first IP address according to the virtual domain name resolution;And
Issue the virtual Domain Name.
8. the method according to the description of claim 7 is characterized in that issuing the operation of the virtual Domain Name, comprising: by the clothes
Pragmatic example and the virtual Domain Name are registered in etcd component.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When as processor perform claim require any one of 1 to 8 described in method.
10. a kind of system for obtaining Service Instance characterized by comprising
First virtual Domain Name receiving module, virtual Domain Name for receiving input, wherein the virtual Domain Name is for accessing four layers
The Service Instance of service;
First virtual Domain Name sending module, for the virtual Domain Name to be sent to first server, wherein the first service
Device is for parsing the virtual Domain Name;And
First service example receiving module, for receiving the Service Instance from the first server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811237434.8A CN109361780A (en) | 2018-10-23 | 2018-10-23 | Obtain method, system and the storage medium of Service Instance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811237434.8A CN109361780A (en) | 2018-10-23 | 2018-10-23 | Obtain method, system and the storage medium of Service Instance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109361780A true CN109361780A (en) | 2019-02-19 |
Family
ID=65346324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811237434.8A Pending CN109361780A (en) | 2018-10-23 | 2018-10-23 | Obtain method, system and the storage medium of Service Instance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109361780A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110445850A (en) * | 2019-07-24 | 2019-11-12 | 深圳壹账通智能科技有限公司 | Block chain node access method and device, storage medium, electronic equipment |
CN110837424A (en) * | 2019-10-15 | 2020-02-25 | 东软集团股份有限公司 | Service instance determining method and device, storage medium and electronic equipment |
CN111475289A (en) * | 2020-03-26 | 2020-07-31 | 北京世纪家天下科技发展有限公司 | Load balancing method and device |
CN113938464A (en) * | 2021-09-24 | 2022-01-14 | 福建天泉教育科技有限公司 | Access request method and terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102891901A (en) * | 2012-09-25 | 2013-01-23 | 中国联合网络通信集团有限公司 | Dynamic domain name resolution method, server and domain name service system |
US20160219013A1 (en) * | 2015-01-27 | 2016-07-28 | Anchorfree Inc. | System and method for suppressing dns requests |
CN105979009A (en) * | 2016-07-06 | 2016-09-28 | 乾云众创(北京)信息科技研究院有限公司 | Method for automatically balancing increased load of cloud application container |
CN107256178A (en) * | 2017-04-27 | 2017-10-17 | 北京数人科技有限公司 | Container management platform |
-
2018
- 2018-10-23 CN CN201811237434.8A patent/CN109361780A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102891901A (en) * | 2012-09-25 | 2013-01-23 | 中国联合网络通信集团有限公司 | Dynamic domain name resolution method, server and domain name service system |
US20160219013A1 (en) * | 2015-01-27 | 2016-07-28 | Anchorfree Inc. | System and method for suppressing dns requests |
CN105979009A (en) * | 2016-07-06 | 2016-09-28 | 乾云众创(北京)信息科技研究院有限公司 | Method for automatically balancing increased load of cloud application container |
CN107256178A (en) * | 2017-04-27 | 2017-10-17 | 北京数人科技有限公司 | Container management platform |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110445850A (en) * | 2019-07-24 | 2019-11-12 | 深圳壹账通智能科技有限公司 | Block chain node access method and device, storage medium, electronic equipment |
CN110837424A (en) * | 2019-10-15 | 2020-02-25 | 东软集团股份有限公司 | Service instance determining method and device, storage medium and electronic equipment |
CN111475289A (en) * | 2020-03-26 | 2020-07-31 | 北京世纪家天下科技发展有限公司 | Load balancing method and device |
CN111475289B (en) * | 2020-03-26 | 2024-04-12 | 北京世纪家天下科技发展有限公司 | Load balancing method and device |
CN113938464A (en) * | 2021-09-24 | 2022-01-14 | 福建天泉教育科技有限公司 | Access request method and terminal |
CN113938464B (en) * | 2021-09-24 | 2023-09-01 | 福建天泉教育科技有限公司 | Access request method and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109361780A (en) | Obtain method, system and the storage medium of Service Instance | |
CN107078969B (en) | Realize computer equipment, the system and method for load balancing | |
CN107615716A (en) | Multi-tenant for cloud networking perceives DHCP(DHCP)Mechanism | |
CN105978781A (en) | Method and system for establishing network connection of Docker container, and client side | |
CN112995247B (en) | Method, device and system for transmitting or processing data | |
CN107078956A (en) | Multilayer distributed router architecture | |
CN105208053A (en) | Method for realizing load balance, device and load balance service system | |
CN108780410A (en) | The network virtualization of container in computing system | |
CN105554015A (en) | Management network and method for multi-tenant container cloud computing system | |
CN103220325A (en) | Acquiring information dynamically regarding a hardware component in the cloud computing system while on the floor of the data center | |
CN105453058B (en) | Directory service is found and/or study | |
CN102523302A (en) | Load balance method for virtual machine cluster, server and system | |
CN109639782A (en) | Message sends platform, method | |
CN109150677A (en) | Processing method, device and the electronic equipment of cross-domain access | |
CN109391502A (en) | A kind of information configuring methods and administrative unit | |
CN109960501A (en) | Application APP framework model, processing method and terminal device | |
CN109120444A (en) | cloud resource management method, processor and storage medium | |
CN107209642A (en) | Store fast path | |
CN109525684A (en) | Message forwarding method and device | |
CN105556929A (en) | Network element and method of running applications in a cloud computing system | |
CN109617932A (en) | Method and apparatus for handling data | |
CN108139936A (en) | The methods, devices and systems of access to the serial port from the virtual machine in the virtual application of deployment are provided | |
CN106161603B (en) | A kind of method of networking, equipment and framework | |
CN109981538A (en) | The register method and system of subscription event, the processing method and system for subscribing to event | |
WO2020209099A1 (en) | Communication system and communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20220311 |
|
AD01 | Patent right deemed abandoned |