Service addressing method and device in cluster environment

An environment and cluster technology, applied in the network field, can solve the problem of difficulty in guaranteeing the success rate of service invocation, and achieve the effect of guaranteeing the success rate and realizing convenience.

Active Publication Date: 2010-03-17
ALIBABA GRP HLDG LTD
View PDF0 Cites 12 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 objects, features and advantages of the present invention more comprehensible, 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 comprising the following steps:

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

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

[0045] S103: Step S101 is repeatedly executed until the target service address is called successfully.

[0046] Since the service consumer needs to obtain the service information list from the service registration center, but in the cluster environment, it is difficult to judge which target service address is healthy before calling, so it is i...

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 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, Service-Oriented Architecture) technology is widely used. SOA is a component model, which connects different functional units (called services) of applications through these services. The defined interface is associated with the contract. Among them, an application that provides services externally is called a service provider, and an application that uses services provided by other applications is called a service consumer. The distributed network system results in a large number of service consumers and service providers. For example, some customer-centric online shopping malls currently have thousands of service providers and even more service consumers. In such a In this case, a cluster enviro...

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/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