Check patentability & draft patents in minutes with Patsnap Eureka AI!

Service calling method and device and load balancing equipment

A load balancing device and service invocation technology, applied in the computer field, can solve the problems of inability to complete service discovery processing, high coupling, business intrusion, etc., and achieve the effect of ensuring data real-time

Active Publication Date: 2022-02-15
MASHANG CONSUMER FINANCE CO LTD
View PDF10 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For service discovery, the registration center needs to establish a push-pull model with the service (that is, it needs to inject corresponding processing logic (such as implanting the corresponding SDK, etc.)). Through this push-pull model, the service needs to cache the application metadata list locally, and needs to periodically or Re-obtain application metadata when needed, and services registered in different registration centers cannot complete service discovery processing, and the above processing also has a strong intrusion on the corresponding business, and the coupling is high

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 calling method and device and load balancing equipment
  • Service calling method and device and load balancing equipment
  • Service calling method and device and load balancing equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The embodiments of this specification provide a method and device for invoking a service, and a load balancing device.

[0037] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described The embodiments are only some of the embodiments in this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of this specification.

[0038] The inventive idea of ​​this application is as follows: when there is no registration center, the address of the callee or the proxy address is required for inter-service calls. When the service changes the deployment address, t...

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

Embodiments of the invention disclose a service calling method and device and load balancing equipment. The method is applied to the load balancing equipment, and data consistency is kept between different load balancing equipment through data synchronization. The method comprises the steps that when a service calling request submitted by a first service is obtained (wherein the first service and a second service are services registered in different registration centers), based on a link between load balancing equipment corresponding to the first service and load balancing equipment corresponding to the second service to be called, service routing information corresponding to an identifier of the second service is pulled from the registration center corresponding to the second service, and then the service routing information can be provided for the first service so as to allow the first service to access the second service based on the service routing information to obtain data corresponding to the service calling request. Through the service calling method, cross-registration-center and cross-region service calling can be realized, and the scheme of the invention is free of code invasion and relatively high in expandability.

Description

technical field [0001] This document relates to the field of computer technology, in particular to a service invocation method, device and load balancing equipment. Background technique [0002] After having the registration center, each service only needs to know the service identifier (such as the service name, etc.) when invoking other services, and the service call can be made in the registration center through the service identifier. [0003] For service registration, the logic of service registration and service cancellation needs to be written into the code of the business system (such as implanting the corresponding SDK (Software Development Kit, software development kit), etc.), when a service is started, the service's The information is written into the registration center. When a service is offline, the relevant information of the service is canceled. Different business systems usually require different programming languages ​​to implement the same set of logic. O...

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
IPC IPC(8): G06F9/54G06F16/27G06F9/50
CPCG06F9/547G06F16/27G06F9/5083
Inventor 朱洪伟郭剑霓曾琳铖曦吴海英蒋宁
Owner MASHANG CONSUMER FINANCE CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More