Service address response method, device and system, equipment and storage medium

A service address and address technology, which is applied in the field of computer networks, can solve problems that affect the stability of the business system, and the business system cannot continue to provide address services, so as to achieve the effect of improving multi-active, high availability and stability

Active Publication Date: 2019-10-29
GUANGZHOU HUYA TECH CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments provided in this application is to at least solve one of the above-mentioned technical defects, especially when the IDC registra

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 address response method, device and system, equipment and storage medium
  • Service address response method, device and system, equipment and storage medium
  • Service address response method, device and system, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0053] Example one

[0054] The service address response method provided in this embodiment is executed on a computer device, such as a service response response device. Further, it may be a physical machine deployed in an IDC computer room. This embodiment takes a physical machine as an example for description. This embodiment is applicable to the situation of multiple activities in different places, that is, two or more IDC computer rooms are used to deploy the services of the business system.

[0055] figure 1 It is the first flowchart of a method for responding to a service address provided by an embodiment, such as figure 1 As shown, the response method of the service address may include the following steps:

[0056] S110. Receive a call request for the service address of the target service.

[0057] In the embodiment, the called service is the target service, and the service issuing the call request is the request service. For example, if the service B requests to call the servi...

Example Embodiment

[0082] Example two

[0083] In order to make the technical solution clearer and easier to understand, the specific implementation process and manner of each step in the technical solution are described in detail below.

[0084] Figure 4 It is the third flowchart of a method for responding to a service address provided by an embodiment. This implementation is a refinement on the basis of the foregoing embodiment, and specifically describes the process of switching the current connection to the second registry when the first registry cannot provide services. Such as Figure 4 As shown, the response method of the service address may include the following steps:

[0085] S101. Receive a call request for the service address of the target service.

[0086] S102. In response to the call request, obtain the running status of the first registration center of the local IDC to which the target service belongs.

[0087] S103: When the first registration center cannot provide services, query and ...

Example Embodiment

[0096] Example three

[0097] Figure 5 It is a flowchart of data synchronization in the service address response method provided by an embodiment. This embodiment is detailed on the basis of the above-mentioned embodiment, and specifically describes the data synchronization process, such as Figure 5 As shown, the response method of the service address may include the following steps:

[0098] S201: When a data change occurs in the first service address of the target service in the first registration center, obtain a source tag pre-configured for the first service address.

[0099] In the embodiment, the service address originally belonging to the registry is the source data, and there is no need to add a source tag. The service address from other registry is pre-configured with the source tag through the synchronization operation, for example, the M service originally belongs to the first registry After synchronizing to the second registration center, the source tag of the M servic...

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 embodiment of the invention provides a service address response method, device and system, equipment and a storage medium, and relates to the technical field of computer networks. The method comprises the steps of receiving a call request for a service address of a target service, obtaining the running state of a first registration center of a local IDC to which the target service belongs, switching the current connection to a second registration center of a remote IDC when the first registration center cannot provide the service, obtaining the service address of the target service from the second registration center, and returning the service address, thereby completing the call of the target service. The first registration center of the local IDC cannot provide the service to automatically switch to the second registration center of the remote IDC; and the service address of the target service is called from the second registration center pre-synchronized with the target servicerelated data, so that the calling of the target service is smoothly completed, the service calling stability of the business system is improved, and the multi-activity high availability of the registration center is realized.

Description

technical field [0001] The embodiments of the present application relate to the technical field of computer networks, and specifically, the embodiments of the present application relate to a service address response method, device, system, equipment, and storage medium. Background technique [0002] At present, with the wide application of Internet technology, most enterprises will deploy IDC (Internet Data Center, Internet Data Center) in different regions. Each IDC computer room is equipped with a registration center, and all services are registered in the registration center. Register the service address to the registration center. After the service is started, it also obtains the service address of other services through the registration center, so as to realize the call of the service. [0003] At present, only the service address of each service to which it belongs is configured mainly through the registration center of IDC. When the registration center is upgraded or...

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): H04L12/24H04L29/08
CPCH04L41/0663H04L67/10
Inventor 周健张波王华夏李志鹏毛茂德
Owner GUANGZHOU HUYA TECH CO LTD
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