Remote interface agent calling method and device, computer equipment and storage medium

A remote interface call and remote interface technology, applied in the field of computer network communication, can solve problems such as inability to continue retry, loss of retry information, failure to satisfy the system, etc., achieve safe and reliable operation effects, reduce pressure, and reduce business codes.

Pending Publication Date: 2021-09-21
GUANGZHOU HUADUO NETWORK TECH
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In many cases, after a network problem occurs, it cannot be recovered in a short time, and it will take a long time
At this time, it is useless to retry 3 times at one time. Since the retry 3 times failed, it can only be treated as a failure in the end.
[0006] (3) They are all retried in the memory. The number of retries and whether to retry are calculated in the memory. Once the system restarts or crashes, the previous retry information will be lost, making it impossible to continue retrying
However, for a system based on the agile development model, it is very common for the system to go online and restart the system every three days, or even once a day. In this case, memory-based retries cannot meet the requirements of the system.

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
  • Remote interface agent calling method and device, computer equipment and storage medium
  • Remote interface agent calling method and device, computer equipment and storage medium
  • Remote interface agent calling method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present application, and are not construed as limiting the present application.

[0062] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or groups thereof. It will be under...

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 remote interface agent calling method and device, computer equipment and a storage medium. The method comprises the steps of responding to a remote interface calling event; storing the parameter information of the remote interface and the execution state of the remote interface in a task database, and initializing the execution state into a to-be-executed state; calling and executing the remote interface according to the parameter information agent, if the remote interface is successfully executed, modifying the execution state of the remote interface into an executed state, and returning and outputting an execution result of the remote interface; and responding to a timed task trigger event to obtain parameter information of the remote interfaces in a to-be-executed state in the task database, and re-executing the step of executing the remote interfaces according to the parameter information agent calling for the remote interfaces. According to the method and the device, queued task scheduling is performed on the remote interface calling event, the remote interface calling is buffered and balanced, and the data communication efficiency of cross-server super remote interface calling in a distributed service cluster can be improved.

Description

technical field [0001] The embodiments of the present application relate to the field of computer network communication, and in particular, to a remote interface proxy calling method, device, computer equipment, and storage medium. Background technique [0002] In the Internet industry, the microservice architecture is very popular. Even if it is just a small business module or product line, the bottom layer is composed of many systems. The interaction between the systems is through remote calls. Many, so the interaction between them is like a network, and the complexity of the interaction relationship can be imagined. At the same time, due to frequent problems such as network delays, network fluctuations, packet loss, and server exceptions, the interactive calls between services become unreliable and prone to failure. At this time, retrying is a relatively common solution. Through continuous retrying, the execution is finally successful. However, given the fact of the mes...

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): G06F9/54G06F9/48
CPCG06F9/547G06F9/4862
Inventor 刘阳
Owner GUANGZHOU HUADUO NETWORK TECH
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