Binary-system-based network data transmission method and system

A binary data and network data technology, applied in transmission systems, electrical components, etc., can solve the problems of increasing data transmission time, large data packets, poor support, etc., to increase complex data structures, increase supportability, reduce The effect of small data transfer volume

Inactive Publication Date: 2016-06-15
CTRIP COMP TECH SHANGHAI
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a binary-based network data transmission method in order to overcome the disadvantages in the prior art that

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
  • Binary-system-based network data transmission method and system
  • Binary-system-based network data transmission method and system
  • Binary-system-based network data transmission method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention is further illustrated below by means of examples, but the present invention is not limited to the scope of the examples.

[0031] Such as figure 1 As shown, the binary-based network data transmission method of the present invention comprises the following steps:

[0032] Step 101, the client establishes the contract model (request) of the transmission field, and the contract model includes each data field and data type;

[0033] Specifically, the client can establish multiple sets of contract models according to different business needs, and save them in excel according to a self-defined data type, that is, the specific contract model can be in excel format.

[0034] Custom data types can be shown in the following table:

[0035]

[0036]

[0037] Step 102, the client uses an automated tool to convert the contract model into a model language of a different platform;

[0038] The different platforms may include an android platform, an IOS ...

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 binary-system-based network data transmission method and system. The method comprises: S1, a client establishes a contract model of a transmission field, wherein the contact model includes a plurality of data fields and data types; S2, a client uses an automatic tool to convert the contact model into model languages of different platforms; S3, the client carries out serialization on the contact model to obtain binary data and then the data are sent to a server side; S4, the server side carries out deserialization on the binary data to obtain a contact model; S5, the server side carries out operation and processing on the contract model and carries out serialization on the processing result to obtain binary data, and then the binary data are sent to the client; and S6, the client carries out deserialization on the binary data sent by the server side to obtain a contract model. According to the invention, network data transmission is carried out based on an extensible binary data transmission protocol with good data type support and the data format can be defined by the user. Therefore, the transmission data volume is reduced; and the data extensibility and supportability are enhanced.

Description

technical field [0001] The invention relates to a binary-based network data transmission method and system. Background technique [0002] In the prior art, network data transmission generally adopts protobuf (a data exchange format), json (a lightweight data exchange format), xml (extensible markup language), etc., and the protobuf format supports complex data structures The performance is not good, such as date, etc. It is relatively difficult for users to add complex types, and there are few supported languages. The data packets in json format and xml format are too large, which increases the time for data transmission. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a binary-based network data transmission method in order to overcome the disadvantages in the prior art that the network data transmission method does not support complex data structures well, and the data message is too large to increase the data ...

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): H04L29/06H04L29/08
CPCH04L69/06H04L67/06
Inventor 赵洁
Owner CTRIP COMP TECH SHANGHAI
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