Thrift protocol-based remote process calling apparatus, method and system

A remote procedure invocation and remote invocation technology, applied in the field of remote procedure invocation devices, can solve problems such as affecting code readability, bloated business code, inability to develop and use efficiently, etc. cost effect

Active Publication Date: 2017-10-27
搜易居(北京)网络技术有限公司
View PDF5 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to overcome the following technical defects in the existing technology: 1. The cost of getting started is high, and all developers need to be concerned about how to develop the Thrift client, which cannot be developed and used efficiently; 2. Developing with native development methods will make The business code invades a lot of codes about Thrift itself, making the business code very bloated, unclear, difficult to maintain, and affecting the readability of the code; 3. Lack of fle

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
  • Thrift protocol-based remote process calling apparatus, method and system
  • Thrift protocol-based remote process calling apparatus, method and system
  • Thrift protocol-based remote process calling apparatus, method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the technical solution of the present invention easier to understand, a clear and complete description of the technical solution of the present invention will be made by using specific embodiments in conjunction with the accompanying drawings. It should be noted that the embodiments described here are only part of the embodiments of the present invention, rather than all implementations of the present invention. The embodiments are only exemplary, and their function is only to provide examiners and the public with an understanding of the content of the present invention. A more intuitive and clear way, rather than a limitation to the technical solution of the present invention. Without departing from the concept of the present invention, all other implementations that those of ordinary skill in the art can think of without creative work, as well as other simple replacements and various changes to the technical solutions of the present invention, fall with...

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 belongs to the field of communication and internet finance, and particularly relates to a Thrift protocol-based remote process calling apparatus, method and system. The apparatus comprises an API module and a remote calling module, wherein the API module comprises a plurality of preset service appointment interfaces and a plurality of Thrift calling basic classes; the remote calling module comprises a plurality of basic tool classes corresponding to a specific development language, can read the preset service appointment interfaces contained in the API module, generates an agent object in combination with a basic class generated by a Thrift compiler in an API package, and expands spring for injecting the generated agent object into context managed by the spring; and during use by a caller, the agent object can be obtained through a spring annotation mechanism, and the call of remote services is triggered by a thrift protocol through the agent object. The quantity of writing performed by calling handwritten codes by the caller is greatly reduced; and the development threshold and cost of mutual calling of services between business groups are lowered.

Description

Technical field [0001] The invention belongs to the field of communication and Internet finance, and particularly relates to a remote procedure call device, method and system based on the Thrift protocol. Background technique [0002] Thrift is a basic software framework for RPC communication between systems and languages ​​that is open sourced by Facebook. Thrift defines data types and service interfaces through an intermediate description file and Thrift-specific intermediate description language. It can be used by the Thrift compiler. Use intermediate description files to generate basic codes in various languages, so as to realize seamless calls between various languages ​​and systems. The Thrift compiler can provide support between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, OCaml, Delphi. In general, Thrift provides a very complete network communication and intermediate protocol. Reference source: http: / / thrift.apache.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/54H04L29/06H04L29/08
CPCH04L67/02H04L67/34G06F9/548H04L67/133
Inventor 汪浩淼
Owner 搜易居(北京)网络技术有限公司
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