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

Micro-service calling method and device

A technology of microservices and service nodes, which is applied in the field of microservice calling methods and devices, and can solve the problems of high complexity of microservices

Pending Publication Date: 2019-07-05
BEIJING QIHOO TECH CO LTD
View PDF10 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Microservice applications are distributed systems, which brings inherent complexity
Developers need to choose between RPC or message passing and complete the inter-process communication mechanism. Therefore, network calls, reasonable deployment, and load balancing are required between microservices, resulting in greater complexity of microservices.

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
  • Micro-service calling method and device
  • Micro-service calling method and device
  • Micro-service calling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0125] Execute step A1: parse the call request from the local microservice through the local call proxy deployed on the local service node, and obtain the result of parsing the call request.

[0126] Specifically, the local invocation proxy deployed on the local service node parses the protocol header of the invocation request, and obtains an analysis result of the protocol header of the invocation request.

[0127] After step A1, step A2 is then performed: detecting whether there is service information of the target microservice in the parsing result through the local call proxy.

[0128]Specifically, whether there is service information of the target microservice to be invoked by the local service node in the detection analysis result, in the specific implementation process, it may be to detect whether there is the service name of the local microservice, the name of the local microservice in the detection analysis result More than one of the set of methods provided. For exa...

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 micro-service calling method, which is applied to a home terminal service node, a local calling agent is deployed on the home terminal service node, and the method comprisesthe following steps of: starting a home terminal micro-service deployed on the home terminal service node; obtaining a calling request initiated by the home terminal micro-service and used for requesting to call a target micro-service through the local calling agent; determining a target service node from opposite-end service nodes which currently provide the target micro-service through the localcalling agent; and sending the calling request to the target service node through the local calling agent, so that the home terminal micro-service calls the target micro-service from the target service node. According to the invention, the technical problem of high complexity of the micro-service is solved.

Description

technical field [0001] The present invention relates to the field of application development, in particular to a microservice calling method and device. Background technique [0002] Using the traditional Monolithic Architecture application development system, such as CRM (Customer Relationship Management, customer relationship management), ERP (Enterprise Resource Planning, enterprise resource planning) and other large applications, with the continuous increase of new needs, enterprises update and fixing large monolithic applications is becoming increasingly difficult. Microservice architecture emerged as the times require, which is a way of developing a single application as a suite of microservices, each of which has its own process and communicates. These microservices are built around business functions and are deployed independently by means of an automated deployment mechanism. The purpose of microservices is to effectively split applications and achieve agile develo...

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): H04L29/08
CPCH04L67/1004H04L67/56H04L67/60
Inventor 郑强
Owner BEIJING QIHOO 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