Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 registration center is upgraded or fails, the business system cannot continue to provide normal address services, which affects the stability of the business system question

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

Embodiment 1

[0054] The service address response method provided in this embodiment is executed on a computer device, such as a service response response device, which may further be a physical machine deployed in an IDC computer room. This embodiment uses a physical machine as an example for illustration. This embodiment is applicable to the multi-active situation in different places, that is, two or more IDCs are used to deploy the services of the service system.

[0055] figure 1 is the first flow chart of a service address response method 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 an invocation request for the service address of the target service.

[0057] In the embodiment, the called service is the target service, and the calling service is the requesting service. If service B requests to call service A, service A is the target service, and service B is the calling service...

Embodiment 2

[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 will be described in detail below.

[0084] Figure 4 It is the third flow chart of a service address response method provided by an embodiment. This implementation is a refinement based on the above embodiments, and specifically describes the process of switching the current connection to the second registration center when the first registration center cannot provide services. Such as Figure 4 As shown, the response method of the service address may include the following steps:

[0085] S101. Receive an invocation request for a service address of a target service.

[0086] S102. In response to the call request, acquire 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 the service, query ...

Embodiment 3

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

[0098] S201. Acquire a source tag pre-configured for the first service address when data changes occur in the first service address of the target service in the first registration center.

[0099] In the embodiment, the service address originally belonging to the registration center is the source data, and there is no need to add a source tag. The service address from other registration centers is pre-configured with the source tag through the synchronization operation. For example, the M service originally belonged to the first registration center , after synchronizing to the second registration center, pre-configure the sou...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products