Service addressing method and device in cluster environment

An environment and addressing technology, applied in the network field, can solve problems such as difficulty in guaranteeing the success rate of service invocation, and achieve the effect of ensuring the success rate and realizing convenience

Active Publication Date: 2013-06-05
ALIBABA GRP HLDG LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the purpose of the present invention is to provide a service addressing method and device in a cluster environment, so as to solve the problem in the prior art that it is difficult to guarantee the success rate of service invocation in a cluster environment

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 addressing method and device in cluster environment
  • Service addressing method and device in cluster environment
  • Service addressing method and device in cluster environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the above objectives, features and advantages of the present invention more obvious and understandable, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0042] See figure 1 , The present invention provides a service addressing method in a cluster environment. The method includes the following steps:

[0043] S101: Send a call request to the target service address in the current service information list, if an exception occurs, go to step S102;

[0044] S102: Delete the target service address from the current service information list;

[0045] S103: Repeat step S101 until the target service address is successfully called.

[0046] Since service consumers need to obtain the service information list from the service registration center, in a cluster environment, it is difficult to determine which target service address is healthy before invoking, so it is impossible to know whic...

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 service addressing method in cluster environment, which comprises the following steps: A, sending a call request to a destination service address in a current service information list, and entering a step B if exception occurs; B, deleting the destination service address from the current service information list; and C, repeatedly executing the step A until successfully calling the destination service address. The invention also discloses a service addressing device in cluster environment. The service addressing method and the service addressing device can freely select the destination service address in the current service information list, and avoid unreasonable failure of a call service through retry in the calling process, so the success rate of the call service can be ensured without judging which addresses exist healthily, and the implementation is more convenient.

Description

Technical field [0001] The present invention relates to the field of network technology, in particular to a service addressing method and device in a cluster environment. Background technique [0002] In large-scale enterprise networks or the Internet, SOA (Service-Oriented Architecture) technology is widely used. SOA is a component model that passes different functional units (called services) of applications through these services. The defined interface is linked to the contract. Among them, applications that provide services to the outside world are called service providers, and applications that use services provided by other applications are called service consumers. The distributed network system makes a large number of service consumers and service providers. For example, some customer-centric online shopping malls currently have thousands of service providers, and the number of service consumers is even greater. In this case, a cluster environment is formed. [0003] Wit...

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 Patents(China)
IPC IPC(8): H04L29/08H04L29/06
Inventor 林昊
Owner ALIBABA GRP HLDG 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