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

Method and system for updating routing address list

An address list update and address list technology, applied in transmission systems, digital transmission systems, electrical components, etc., can solve problems such as inaccessibility of client routing addresses, and achieve the effect of ensuring availability

Inactive Publication Date: 2019-07-05
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the client does not always request the routing server interface to obtain the routing address, but refreshes the routing address at a fixed time, such as re-requesting the routing address every 12 hours or 24 hours. It is unchanged. If there is a problem such as a certain access server downtime, the routing cluster on the server can obtain the message in time according to the heartbeat mechanism and delete the routing address list corresponding to the problem. However, the client does not refresh the routing address At the time of listing, the old routing address list is still in the local cache, and there is a problem that the client cannot access due to the use of an unavailable routing address

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
  • Method and system for updating routing address list
  • Method and system for updating routing address list
  • Method and system for updating routing address list

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] Please refer to figure 1 with image 3 , a method for updating a routing address list, comprising the steps of:

[0063] S0. After the routing cluster is started, the registered routing address list is obtained from the registration center, and the routing address list includes its own domain name or IP address plus port information added when the access cluster server registers with the registration center.

[0064] Wherein, the registration center is a zookeeper registration center cluster;

[0065] Specifically, after all access cluster servers are started, they must register with the zookeeper registration center cluster, and add their own domain name or IP plus port and other information to the routing address list;

[0066] The routing cluster obtains the list of registered routing addresses from the zookeeper registration center cluster;

[0067] The client calls the interface for obtaining the routing address list, and obtains the routing address list from th...

Embodiment 2

[0081] The difference between this embodiment and Embodiment 1 is that the reason for determining that the routing address is unavailable, and judging whether to update the routing address list according to the reason includes:

[0082] If the reason for the unavailability of the routing address is that the server corresponding to the routing address is down or inaccessible, it is determined that the routing address list of the routing cluster needs to be updated, and a broadcast is sent to the client;

[0083] If the reason for the unavailability of the routing address is that the network is unreachable, then it is judged whether the unavailable routing address is available after a preset time, if so, it is not necessary to update the routing address list of the routing cluster, if not, the routing address needs to be updated The routing address list of the cluster;

[0084] Preferably, the preset time is 1 minute;

[0085] Preferably, when the routing address is unavailable...

Embodiment 3

[0087] Please refer to figure 2 , a system for updating a routing address list, including a routing cluster 1 and a client 4, the routing cluster 1 includes a first memory 2, a first processor 3 and stored on the first memory 2 and can be processed on the first processor 3, the client 4 includes a second memory 5, a second processor 6, and a second computer program stored on the second memory 5 and operable on the second processor 6, so When the first processor 3 executes the first computer program, it realizes the various steps executed by the routing cluster in the first embodiment, and when the second processor 6 executes the second computer program, it realizes the steps described in the first embodiment. The individual steps performed by the client.

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 method and system for updating a routing address list, and the method comprises the steps: monitoring the routing address list through a routing cluster, updating the routingaddress list when an unavailable routing address appears, and sending a broadcast for updating the routing address list; allowing the client to receive the broadcast, updating a local routing addresslist in time; the method is different from the prior art that a client refreshes a routing address list regularly. The routing address list can be updated in time, so that the client can still obtainthe latest routing address list in real time under the condition that the routing address list is not refreshed, the problem caused by routing address errors is avoided, the availability of the routing address list is ensured, and a reliable basis is provided for implementation of related services.

Description

technical field [0001] The invention relates to the technical field of routing update, in particular to a method and system for updating a routing address list. Background technique [0002] Many systems or APPs have a message push function. Generally, the number of clients in an APP system will reach tens of millions. When many clients are connected to the same server, it will put a lot of pressure on the server, which may Causes problems such as server unavailability and downtime. [0003] In order to solve the above problems, many systems provide the routing address list through the routing server. The client requests the server to obtain the routing address list, and the server interface returns the result set of the routing address list to the client according to certain business logic. From the returned routing result list, select one of the addresses to establish a long-term connection, thereby reducing server pressure. [0004] In the old system, after the client g...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/12H04L12/741H04L45/74
CPCH04L45/74H04L61/5076
Inventor 刘德建林伟郭玉湖
Owner FUJIAN TIANQUAN EDUCATION TECH 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