Method and module for saving transmission flow during interaction of client and server

A technology for transmitting traffic and clients, which is applied in the field of a method and modules for transmitting traffic, which can solve the problem of JSON data transmission occupying a large amount of traffic, and achieve the effect of maintaining readability and saving transmission traffic

Inactive Publication Date: 2015-09-16
杭州雾隐美地传媒有限公司
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a method and module for saving the transmission traffic when the client

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
  • Method and module for saving transmission flow during interaction of client and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0029] The present invention synchronizes the mapping dictionary between the client and the server, and compresses and optimizes the transmission data according to the mapping dictionary, thereby saving the transmission traffic while still maintaining the readability and maintainability of the codes of the client and the server.

[0030] Specifically, an abbreviation is defined for the key of JSON data, for example: define key: the abbreviation of message_id is f, the key in JSON data and its corresponding abbreviation constitute a mapping dictionary, which can be defined according to different inte...

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 is applicable to the field of Internet communication, and provides a method and a module for saving transmission flow during interaction of a client and a server. The method and the module provided by the invention saves the transmission flow by mapping a dictionary to a client side and a server side synchronously and transmitting data according to compression optimization of the mapping dictionary, and maintains readability and maintainability of codes of the client side and the server side.

Description

technical field [0001] The invention belongs to the field of Internet communication, and in particular relates to a method and a module for saving transmission flow when a client interacts with a server. Background technique [0002] At present, the interaction between the client and the server on the Internet generally adopts the HTTP protocol. In order to obtain a good user experience, data in JSON format is generally used. The so-called JSON (JavaScript Object Notation) format is a lightweight data exchange format. The data in this format is easy for humans to read and write, and it is also easy for machines to parse and generate. The JSON format is based on a subset of JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. The JSON format adopts a completely language-independent text format, but also uses habits similar to the C language family (including C, C++, C#, Java, JavaScript, Perl, Python, etc.), these features make JSON an ideal 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/08G06F17/30
Inventor 顾建军
Owner 杭州雾隐美地传媒有限公司
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