Data communication method and related equipment

A data communication and data technology, applied in the computer field, can solve the problems of inability to achieve effective communication between the two parties, poor compatibility, etc.

Inactive Publication Date: 2018-09-14
TENCENT TECH CHENGDU
View PDF12 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, with the development and changes of the business, it is inevitable to upgrade the communication protocol, and the two parties may not be able to upgrade the communication protocol simultaneously, so that the communication protocol of one of the two communication parties has been upgraded, while the communication protocol of the other party In the case of no upgrade, at this time, due to the different communication protocols of the two, the two parties in communication will have different understandings of the content of the transmitted data, and effective communication between the two parties in communication cannot be achieved, that is, poor compatibility, which is prone to adverse consequences

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
  • Data communication method and related equipment
  • Data communication method and related equipment
  • Data communication method and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0043] The technical solution provided by the embodiment of the present invention can be applied to the network communication between the local terminal and the remote server, and can also be applied to the inter-process communication between the first client and the second client respectively installed on the local terminal.

[0044] see figure 1 , figure 1 It is a structural diagram of a data communication system provided by an embodiment of the present invention. Such as figure 1 As shown, the system includes:

[0045] local terminal 11;

[0046] and the remote server 12 connected to the local terminal 11 as the opposite end.

[0047] see figure 2 , figure 2 It is a signaling flowchart of a data communication method provided by an embodiment of the present invention, and the method is applied to figure 1 data communication systems such as figure 2 As shown, the method includes:

[0048] Step S11, the remote server converts the first communication protocol file tha...

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 data communication method and related equipment. The method is applied to either end of communication, and comprises the following steps: acquiring binary data transmitted bythe other end, wherein the binary data are generated by serializing a first file of a general programming language by the other end, and the first file of the general programming language is generated by conversion according to a first communication protocol file which records data to be transmitted and is described by a data description language; and deserializing the binary data through a second file of the general programming language to obtain data generated by deserialization, wherein the second file of the general programming language is generated by conversion according to a second communication protocol described by the data description language, and in the first communication protocol file and the second communication protocol file, modifiers are optional field modifiers, and data types are data types that are not limited in size. Through adoption of the technical scheme provided by the invention, the compatibility between different versions of communication protocols can beenhanced by realizing open description of communication protocols with the aid of the data description language.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a data communication method and related equipment. Background technique [0002] The manner of data communication may be network communication between the local terminal and the remote server, or IPC (Inter-Process Communication, inter-process communication) between different processes in the local terminal. Inter-process communication refers to a technique for transmitting data or signals between at least two processes. Among them, a process is the smallest unit of resource allocation in a computer system. Each process has its own part of independent system resources. The system resources corresponding to different processes are isolated from each other. In order to enable different processes to access resources and coordinate work, With inter-process communication. [0003] In the current technology, no matter the network communication between the local terminal and...

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/06H04L29/08
CPCH04L67/06H04L69/08H04L67/01
Inventor 吴广文
Owner TENCENT TECH CHENGDU
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