Method and device for service discovery

A service discovery and server-side technology, applied in the transmission system, electrical components, etc., to achieve the effect of improving reliability, compatibility, and accuracy

Active Publication Date: 2019-09-20
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] In view of this, the present invention provides a method and device for service discovery, which can solve the problem of automatic registration of new services when the service system fails, the service is automatically or artificially expanded, and the new service replaces the downtime service; at the same time It can achieve updated registration information at all times, so as to ensure that the correct server information of the service can be obtained, thereby improving the accuracy of system operation; at the same time, it also improves the compatibility of the system and avoids the problems caused by relying on the operating environment. The additional workload that comes, thereby improving the reliability of system operation

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 device for service discovery
  • Method and device for service discovery
  • Method and device for service discovery

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0033] figure 1 It is a schematic diagram of service discovery according to an embodiment of the present invention. Such as figure 1 As shown, the method mainly includes the following steps S10 to S13.

[0034] Step S10: The monitoring system checks the running state of the service according to the set monitoring period, and registers the registration information of the...

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 present invention provides a method and device for service discovery, which solves the problem of service registration management in the process of service system failure, service expansion, and new service replacing the downtime service; at the same time, it can ensure that correct server information is obtained, Improve system operation accuracy and reliability. The service discovery method of the present invention includes: the monitoring system checks the service running state according to the set monitoring cycle, and registers the registration information of the service in the normal running state in the service registration system; the service registration system The registration information received by the system is monitored and updated; the reverse proxy server monitors the changes in the registration information in the service registration system to obtain updated registration information and identify the server information where the service is located; the reverse proxy server Request to provide server information corresponding to the service.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for service discovery. Background technique [0002] Service discovery technology is a core technology of most distributed systems and service-oriented architecture SOA. In simple terms, service discovery is when a service is distributed on multiple hosts, how the client obtains the IP and port of the host where the service is located. [0003] When the service system structure is relatively simple, the service discovery can be done well by statically configuring the IP and port of the service, but when new services are continuously deployed, the situation will become more and more complicated; for example, in In a real-time system, due to automatic or artificial expansion of services, new services replacing outdated services, etc., the IP and port of the service will continue to change. If the static configuration method is still used at this time,...

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/08
CPCH04L67/51
Inventor 王青泽王永亮赵晓平边文星陈标龙王峰
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO 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