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

Routing method and device of cluster-cross service

A cross-cluster, routing technology, applied in the field of cross-cluster service routing methods and devices, can solve problems such as no way to route

Active Publication Date: 2017-06-27
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

That is to say, in the existing routing methods and devices, there are the following problems: (1) if the interface needs to be published to the outside, there is no way to implement routing; (2) if the published WEBSERVICE service is also unable to implement routing
At this time, the existing technical solutions cannot solve the above problems, and a solution needs to be reconsidered to solve the above problems

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
  • Routing method and device of cluster-cross service
  • Routing method and device of cluster-cross service
  • Routing method and device of cluster-cross service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Embodiments of the present invention will be described below with reference to the drawings.

[0026] figure 1 is an overall schematic diagram showing the cross-cluster routing method invented by the present application. For ease of description, take two cluster groups, two applications, and two application servers (such as TOMCAT, which should be widely used at present) as an example. Of course, the invention of the present application can also be applied to more than two cluster groups, applications, and The case of the application server.

[0027] Such as figure 1 As shown, firstly, a command to call the service of the system is issued from the external system that needs to call the service of the system from the outside. The service here can be an interface service, or a WEBSERVICE service, or a service that combines both. This system receives a command from an external system to invoke the service of this system.

[0028] Then, respond to the command to call ...

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 provides a routing method and device of a cluster-cross service. The method comprises the following steps: receiving a command of calling the service of this system sent from an external system; configuring a routing table and writing in a database routing table, and saving the database routing table in a cache; defining an interface needing to be routed, and providing a routing method, deciding a parameter of the interface needing to be routed, and a parameter of the data needing to be routed; establishing a routing center service according to the decided parameter of the interface needing to be routed and the parameter of the data needing to be routed, and registering all interfaces needing to be routed; calling a routing method in a routing center service, and finding a corresponding cluster group needing to be called from the database routing table; and obtaining an another name of the service of the corresponding cluster group according to the found corresponding cluster group needing to be called, and calling the internal service of the related cluster group to realize the routing.

Description

technical field [0001] The present invention relates to a routing method and device, in particular to a routing method and device for cross-cluster services. Background technique [0002] In the existing service-oriented architecture (SOA) service governance solution, in order to continuously improve the amount of data in the distributed call framework, the cluster deployment method will be used to expand the system. The current technology for cluster expansion is mainly to configure and process requests to different TOMCAT (a free and open source application server) at the layer of NGINX (a high-performance server) to achieve routing functions. [0003] In the face of websites with high concurrency and a large amount of data and large-scale enterprise-level application systems, it is a better solution to share traffic and increase data storage by building a cluster, which is to write routes for the NGINX layer of the cluster The method uses a certain feature to route to di...

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): H04L12/721
CPCH04L45/14
Inventor 江龙飞
Owner BEIJING JINGDONG SHANGKE INFORMATION 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