Data transmission method and device, computer readable storage medium and electronic equipment

A data transmission method and computer program technology, applied in the field of communication, can solve the problems of poor readability of transmission content and low data transmission efficiency, etc.

Active Publication Date: 2019-05-31
NEUSOFT CORP
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Formats such as String, Json, and xml can ensure the readability and legibility of the transmitted content, but when the amount of data is large, the data transmission efficiency is low due to lack of necessary compression
Formats such as protobuf can guarantee the compression of the transmission content and ensure the efficiency of data transmission, but the binary compression method leads to poor readability of the transmission content

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 transmission method and device, computer readable storage medium and electronic equipment
  • Data transmission method and device, computer readable storage medium and electronic equipment
  • Data transmission method and device, computer readable storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] Specific embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present disclosure, and are not intended to limit the present disclosure.

[0057] figure 1 It is a flowchart of a data transmission method shown according to an exemplary embodiment. Such as figure 1 As shown, the method may include the following steps 101 to 104.

[0058] In step 101, data to be transmitted is acquired.

[0059] Wherein, the data to be transmitted may include multiple field names and field values ​​corresponding to the multiple field names one-to-one.

[0060] For example, in an e-commerce system, the data to be transmitted includes the following fields: time (time), userid (customer id), price (transaction amount), dese (transaction description), where the field values ​​corresponding to the above field names ...

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 data transmission method and device, a computer readable storage medium and electronic equipment. The method comprises the steps that acquring to-be-transmitted data, and the to-be-transmitted data comprises a plurality of field names and field values in one-to-one correspondence with the field names; compressing the at least one field value; taking the plurality of field names, the at least one compressed field value and the uncompressed field value as a message body, and packaging the message body and a message header to obtain a data message; And sending the datamessage to a target receiver. Compared with the prior art, the method and the device have the advantages that the at least one field value in the to-be-transmitted data is compressed instead of compressing the field name, so that a user can know the main content of the to-be-transmitted data through the field name, the readability and readability of the transmitted content can be guaranteed, and the data transmission efficiency can be guaranteed at the same time.

Description

technical field [0001] The present disclosure relates to the technical field of communications, and in particular, to a data transmission method, device, computer-readable storage medium, and electronic equipment. Background technique [0002] Communications Protocol is a common language for computer communication. Now the most popular computer communication is network communication, so "network transmission protocol" generally refers to the transmission protocol of computer communication, such as TCP / IP, NetBEUI, etc. Moreover, network transmission protocols also exist in other forms of computer communication. For example, communication between objects in object-oriented and message transmission between different programs in the operating system all require network transmission protocols to ensure that both parties can communicate Communication is seamless. To put it simply, the network transmission protocol is the agreed content format when the application program intera...

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
Inventor 孙浩高睿邹存璐
Owner NEUSOFT CORP
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