Data transmission method, device and system

A data transmission system and technology for requesting data, applied in the field of communication, can solve the problems of heavy network load and other problems

Active Publication Date: 2017-10-24
UNION MOBILE PAY
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a data transmission method, device and system, which are used to solve the technical problem in the prior art that the client and the server need to negotiate the message serialization mode before data interaction, resulting in a large network load

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, device and system
  • Data transmission method, device and system
  • Data transmission method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] Embodiment 1 of the present invention provides a data transmission method, which is used to solve the technical problem in the prior art that the client and the server need to negotiate a packet serialization mode before data interaction, resulting in a large network load.

[0057] Before introducing the data transmission method, first introduce the data transmission system implementing the data transmission method. The system can include multiple servers and multiple clients, and any client can be connected to any server. Communicate over a network connection. For example, refer to figure 2 As shown, the system includes client 21, client 22, client 23, server 23, server 25 and server 26, client 21, client 22, client 23 and server 23, server 25 1. The server 26 can be connected and communicated with each other through the network, wherein the server 23, the server 25, and the server 26 can all support serialization methods commonly used in this field, and the serializ...

Embodiment 2

[0112] Embodiment 2 of the present invention provides a data transmission method, which is applied to the client for data transmission in Embodiment 1 above, and the method includes:

[0113] The client serializes the request data in a first serialization manner to obtain serialized request data;

[0114] The client generates a first HTTP request message, the first HTTP request message carries the serialized request data and an identifier representing the first serialization mode;

[0115] The client sends the first HTTP request packet to the server.

[0116] Optionally, the identifier representing the first serialization mode is located in the request line of the first HTTP request message, or in the request header of the first HTTP request message, or in the first HTTP request message. In the request body of an HTTP request message.

[0117] Optionally, the identifier characterizing the first serialization mode is located in the URL in the request line of the first HTTP re...

Embodiment 3

[0128] Embodiment 3 of the present invention provides a data transmission method, which is applied to the server for data transmission in Embodiment 1 above, and the method includes:

[0129] The server receives the first HTTP request message sent by the client, the first HTTP request message carries the serialized request data and the first serialization method representing the serialization processing of the request data by the client logo;

[0130] The server obtains the identifier from the first HTTP request message, and judges whether the server supports the first serialization mode represented by the identifier;

[0131] If the server supports the first serialization manner, the server obtains the request data from the first HTTP request message according to the first serialization manner.

[0132] Optionally, the identifier representing the first serialization mode is located in the request line of the first HTTP request message, or in the request header of the first H...

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 present invention provides a data transmission method, device and system. The system comprises a client and a server. The client is configured to perform serialization processing of request data in a first serialization mode, and obtain the serialization request data; a first Hyper Text Transfer Protocol (HTTP) request message is generated, wherein the HTTP request message carries the serialization request data and identification represent a first serialization mode; the first HTTP request message is sent to the server; the server is configured to receive the first HTTP request message sent by the client; the identification is obtained from the first HTTP request message to determine whether the server supports the first serialization mode represented by the identification; and when the server supports the first serialization mode, the request data is obtained from the first HTTP request message according to the first serialization mode.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a data transmission method, device and system. Background technique [0002] With the continuous development of Internet technology, there are more and more packet serialization methods supported by clients and servers, and the serialization methods supported by different clients and servers may be different. However, the client and the server must use the same serialization method to encapsulate and parse the data when interacting with each other. [0003] In order to realize the unification of the serialization method, the technical solution adopted in the prior art is: before the client and the server initiate data interaction, a message exchange is performed first, a message serialization method supported by both parties is negotiated, and the subsequent When performing data interaction, use the negotiated serialization method for data interaction. However, t...

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
CPCH04L67/02H04L67/14H04L69/24H04L67/01
Inventor 殷舒刘胜陈正余兴华汤成山
Owner UNION MOBILE PAY
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