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

Method and equipment for RPC interface calling failure processing

An interface calling and device technology, applied in the computer field, can solve the problems of judgment and processing, type preservation without call failure, and inability to perform automated business logic, and achieve the effect of rapid positioning and convenient positioning.

Active Publication Date: 2021-03-12
SHANGHAI WANWUXINSHENG ENVIRONMENTAL PROTECTION TECH GRP CO LTD
View PDF14 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] One purpose of this application is to provide a method and device for RPC interface call failure processing, which solves the problems in the prior art that the types of call failures are not saved and distinguished and manual intervention is required, and automatic business logic judgment and processing cannot be performed. question

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 equipment for RPC interface calling failure processing
  • Method and equipment for RPC interface calling failure processing
  • Method and equipment for RPC interface calling failure processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The application will be described in further detail below in conjunction with the accompanying drawings.

[0037] In a typical configuration of this application, the terminal, the device serving the network, and the trusted party all include one or more processors (such as a central processing unit (Central Processing Unit, CPU)), an input / output interface, a network interface, and a memory .

[0038] Memory may include non-permanent memory in computer-readable media, random access memory (Random Access Memory, RAM) and / or non-volatile memory, such as read-only memory (Read Only Memory, ROM) or flash memory (flash RAM). Memory is an example of computer readable media.

[0039] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples o...

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 aims to provide a method and device for RPC interface calling failure processing, and the method comprises the steps: judging whether the RPC interface calling fails or not, and determining a failure type and storing a business order failure record if the RPC interface calling fails; and processing the business order failure record when the RPC interface is called by a timed task, selecting a corresponding business processing mode for processing according to the failure type, and updating the operation state of the business order failure record. The failure logs are recorded according to the service dimensions, so that quick positioning is facilitated, failure types are distinguished, and subsequent retry or next-step service operation in an automatic processing mode is facilitated.

Description

technical field [0001] The present application relates to the field of computers, and in particular to a method and device for RPC interface call failure processing. Background technique [0002] In the scene where the RPC interface between services calls each other, once the interface call fails, there are the following scenarios and processing methods: one is that the interface call fails and the business is processed according to the error code returned by the interface; the other is , the interface call timeout exception, catch the timeout exception and throw the exception outside. However, the above method has the following disadvantages: when judging the error code returned by the interface for business processing, the type of error is often not saved and distinguished, and only manual intervention is required, such as manually querying the failure log, and manually identifying errors and error information , manual processing of failure records; for call failures, in ...

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): G06F11/07G06Q30/06
CPCG06F11/0787G06Q30/0635
Inventor 麦玉燕
Owner SHANGHAI WANWUXINSHENG ENVIRONMENTAL PROTECTION TECH GRP 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