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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com