RPC interface calling method and device

An interface calling and interface technology, which is applied in multi-programming devices, program control devices, inter-program communication, etc., can solve the problems of inability to reuse test code, large amount of writing, affecting RPC testing, etc.

Inactive Publication Date: 2019-06-07
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the amount of test code written in this mode is huge, and because the stubs of each interface are different, the supporting stub of the interface ...

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
  • RPC interface calling method and device
  • RPC interface calling method and device
  • RPC interface calling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0023] figure 1 It is a schematic flow diagram of the RPC interface calling method in the embodiment of the present invention, such as figure 1 As shown, the method includes:

[0024] Step 101, receiving an interface calling request from the calling system;

[0025] Step 102, perform an RPC interface call to the called system according to the interface call request and the RPC interface definition information, and the RPC interface definition information is configured according to the RPC interface document;

[0026] Step 103, receiving the interface call return da...

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 provides an RPC interface calling method and device. The method comprises the steps of receiving an interface calling request sent by a calling system is received; according to the interface calling request and RPC interface definition information, carrying out RPC interface calling on the called system, and configuring the RPC interface definition information according to an RPC interface document; receiving interface calling return data returned by the called system; generating an RPC interface calling result according to the RPC interface calling return data; and outputting the RPC interface calling result to a calling system. According to the invention, the RPC interface can be called without a stub, and the calling process is simplified.

Description

technical field [0001] The invention relates to the field of non-functional testing of computer systems, in particular to an RPC interface calling method and device. Background technique [0002] The rapid growth of Internet business requires shorter and shorter product development, iteration, and delivery cycles. At the same time, with the advancement of architecture transformation, more and more application systems have adopted RPC (Remote Procedure Call, Remote Procedure Call) with better efficiency. protocol) calling mode. The RPC architecture must be composed of four basic components: client, client stub, server, and server stub to achieve normal RPC calls, especially in the field of non-functional testing (such as automated testing and basic performance testing), which needs to be based on The stub writes the test code to complete the basic interface call test. However, the amount of test code written in this mode is huge, and because the stubs of each interface are ...

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/54G06F9/448
Inventor 张彦祥黄震人杨敏
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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