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

Communication interface construction method and device, computer equipment and storage medium

A communication interface and construction method technology, applied in the fields of communication interface construction, storage media, and computer equipment, can solve the problems of poor overall operation and communication performance, long transmission time, and large workload, so as to improve data communication efficiency and reduce communication Delay, effect of reducing overall file size

Pending Publication Date: 2021-10-01
GUANGZHOU HUADUO NETWORK TECH
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be understood that the existing technology requires program developers to carry out programming work according to the message body file during the development process, which is a heavy workload and error-prone, and the program developed by this, when performing data communication, the data obtained by transcoding Large amount, long transmission time, resulting in poor overall operation and communication performance

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
  • Communication interface construction method and device, computer equipment and storage medium
  • Communication interface construction method and device, computer equipment and storage medium
  • Communication interface construction method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] 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.

[0059] 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 communication interface construction method and device, computer equipment and a storage medium. The method comprises the steps that a message body file is acquired, description information of the message body file corresponds to each communication class and comprises a service identifier and a structural body, and the structural body comprises a plurality of function identifiers and a plurality of message bodies associated with the function identifiers, and wherein each message body is used for describing configuration information required by the access interface of the function identifier associated with the message body; constructing a corresponding interface class file according to the message body file; constructing an implementation class file of the access interface according to the interface class file; and adding a protocol adapter to the computer program quoting the access interface, serializing a calling instruction of the computer program to the access interface into binary data during running of the protocol adapter, and transmitting the binary data to a remote server so as to realize remote calling of the corresponding access interface. According to the method and the device, the running and transmission efficiency and security of the computer program called based on the RPC can be improved.

Description

technical field [0001] The embodiments of the present application relate to the field of software engineering, and in particular to a communication interface construction method, device, computer equipment, and storage medium. Background technique [0002] Internet online services are generally supported by deploying distributed systems. In a large and complex distributed system, the boundaries between various services are very small, and there are often cases where services call each other. For example, service A calls service B. Compared with the Restful method, RPC calls have obvious advantages such as high efficiency and simple encapsulation and calls, but they have disadvantages such as poor readability and poor usability. [0003] In the prior art, in order to support RPC calls and realize end-to-end data communication, and for the sake of the security of the distributed system, both the client and the server must have corresponding message body files at the same time....

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/54G06F21/31G06F21/62
CPCG06F9/547G06F21/31G06F21/6218
Inventor 巫金生
Owner GUANGZHOU HUADUO NETWORK TECH
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