Unlock instant, AI-driven research and patent intelligence for your innovation.

A data packet transmission method, device, electronic equipment and storage medium

A transmission method and a technology of a transmission device, which are applied in the network field, can solve problems such as large network bandwidth occupation, and achieve the effects of reducing bandwidth costs, reducing data packets, and avoiding information redundancy

Active Publication Date: 2021-06-18
BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing online game servers, most of the network protocols use the http+json protocol for network transmission. During the research process, the inventor found that the json protocol has redundant field name information, and many useless field names will be transmitted in game application scenarios, resulting in Excessive network bandwidth usage

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 packet transmission method, device, electronic equipment and storage medium
  • A data packet transmission method, device, electronic equipment and storage medium
  • A data packet transmission method, device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0047] It should be clear that the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0048] In the prior art, JSON (JavaScript Object Notation, JS Object Notation) is a lightweight data exchange format, which is based on a subset of ECMAScript (the js specification formulated by the European Computer Association), and adopts a completely independent programming language Text format to store and represent data. The simplicity and clear hierarchy make JSON an ideal data interchange language. It is easy for people to read and write, and it is also easy for machines to parse and generate, and it can eff...

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 embodiment of the invention discloses a data packet transmission method, device, electronic equipment and storage medium, relates to the field of network technology, can avoid field name information redundancy, reduce data packets, and reduce server bandwidth costs. The data packet transmission method includes: obtaining data of each field to be sent; generating a data packet with the data of each field to be sent according to a preset protocol format; wherein, the preset protocol format includes a protocol header and a protocol body ; Wherein, the protocol header includes whether the field is assigned a value, and is arranged in a preset order; the protocol body includes the field content corresponding to the assigned field, and is arranged in a preset order; send the generated data to the peer device Bag.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a data packet transmission method, device, electronic equipment and storage medium. Background technique [0002] There are network interaction scenarios between servers and mobile devices in online games. Thousands of mobile device clients interact with the server, resulting in heavy server traffic. Under the same bandwidth and network environment, the larger the data packet, the larger the server load The fewer the number of people, it is necessary to reduce the data packet to increase the number of people that can be served and reduce the bandwidth cost of the server. [0003] In the existing online game servers, most of the network protocols use the http+json protocol for network transmission. During the research process, the inventor found that the json protocol has redundant field name information, and many useless field names will be transmitted in game application scenar...

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/06
CPCH04L69/02H04L69/03H04L69/06H04L69/26H04L67/131
Inventor 金淼
Owner BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD