Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A data transmission method, device and system

A technology of a data transmission system and a data transmission method, which is applied in the field of communication and can solve problems such as large network loads

Active Publication Date: 2020-01-07
UNION MOBILE PAY
View PDF9 Cites 0 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
  • A data transmission method, device and system
  • A data transmission method, device and system
  • A 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 24, server 25 and server 26, client 21, client 22, client 23 and server 24, server 25 1. The server 26 can be connected and communicated with each other through the network, wherein the server 24, 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 includes a client and a server; the client is used to: serialize request data in a first serialization manner to obtain serialized request data; generate The first hypertext transfer protocol HTTP request message, the first HTTP request message carries the serialized request data and the identifier that characterizes the first serialization mode; sends the first HTTP request message to the server; the The server is used to: receive the first HTTP request message sent by the client; obtain the identifier from the first HTTP request message, and judge whether the server supports the first serialization mode represented by the identifier; When the server supports the first serialization method, the request data is obtained from the first HTTP request message according to the first serialization method.

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
Patent Type & Authority Patents(China)
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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products