Communication protocol adaptation method and device, computer equipment and storage medium

A communication protocol and protocol technology, applied in the computer field, can solve the problems of cumbersome operation and low efficiency of communication protocol adaptation, and achieve the effect of reducing operation process and improving efficiency

Active Publication Date: 2021-12-24
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the traditional way, since developers are required to perform the above operations each time they request a different task module, the human-computer interaction between the developer and the task scheduling system is required to realize the requested task module, which is cumbersome to operate and has low communication protocol adaptation efficiency The problem

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0039] The communication protocol adaptation method provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the server 102 communicates with the server 104 to be communicated through the network. The server obtains the configuration file of the server to be communicated, obtains the protocol description file and the request address from the configuration file, obtains the initialization protocol request structure according to the protocol description file and the preset reflection mechanism, and obtains it from the co...

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 relates to a communication protocol adaptation method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring a configuration file of a to-be-communicated server, and acquiring a protocol description file and a request address from the configuration file; obtaining an initialized protocol request structural body according to the protocol description file and a preset reflection mechanism; according to the initialized protocol request structural body, acquiring request field values corresponding to all request fields in the initialized protocol request structural body from the configuration file, and obtaining a target protocol request structural body; sending the target protocol request structural body to the to-be-communicated server according to the request address; receiving response information fed back by the to-be-communicated server, and obtaining a required response field value according to the response information. By adopting the method, the communication protocol adaptation efficiency can be improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a communication protocol adaptation method, device, computer equipment and storage medium. Background technique [0002] With the development of computer technology, communication protocol adaptation technology has emerged. Communication protocol adaptation means that the task scheduling system communicates with the task module according to the agreement agreed with it, so as to request different task modules to complete specific processing work. [0003] In the traditional technology, the communication protocol adaptation is realized by agreeing a protocol template in advance, so that the task scheduling system communicates with all of them according to this protocol template. Specifically, when requesting different task modules, developers need to pass the task scheduling The system adds different parameters to the fields of the protocol template. If the parameter v...

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): H04L29/06
CPCH04L69/24Y02D10/00
Inventor 张杰
Owner TENCENT TECH (SHENZHEN) CO LTD
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