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

Network data transmission method and device and electronic equipment

A network data transmission and network technology, applied in the direction of digital transmission system, transmission system, electrical components, etc., can solve the problems of disconnected network connection, user inconvenience, unable to guarantee the smooth arrival of messages, etc., and achieve the effect of small delay

Inactive Publication Date: 2019-05-03
KINGSOFT
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the user terminal uses UDP (User Datagram Protocol, User Datagram Protocol) for network data transmission, although the network delay will be improved, the smooth arrival of the message cannot be guaranteed
When the user terminal is playing some mobile games that require high timeliness, if the above two network data transmission schemes are used for network data transmission, when network packet loss occurs, the network connection may be disconnected, and the user needs to log in to the network again. Mobile games, causing inconvenience to users

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
  • Network data transmission method and device and electronic equipment
  • Network data transmission method and device and electronic equipment
  • Network data transmission method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0063] 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.

[0064] figure 1 It is a flow chart of Embodiment 1 of the network data transmission method of the present invention, the method is applied to the client, such as figure 1 As shown, the method of this embodiment may include:

[0065] Step S11, obtain the message packet under UDP.

[0066] Step S12, numbering the message packets.

[0067] In this embodiment, each message packet includes a message type, a message number and a message body.

[0068] Step S13, sending the message packet with the number to the server. ...

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 discloses a network data transmission method and device and electronic equipment, and can solve the problem that in the prior art, when network packet loss occurs, network connection maybe disconnected, and inconvenience is brought to a user. At a client side, the method comprises the following steps: obtaining a message packet under a user data packet protocol UDP; Numbering the message packets; Sending the message packet with the number to a server; And receiving a response message returned by the server, wherein the response message comprises the number of the message packet.At a server side, the method comprises: receiving a message packet sent by a client side, wherein the message packet is obtained by the client side under a UDP, and the message packet comprises a serial number; And sending a response message to the client, wherein the response message comprises the number of the message packet. The method and the device are suitable for data transmission betweenthe client and the server.

Description

technical field [0001] The invention relates to the field of computer application technology, in particular to a network data transmission method, device and electronic equipment. Background technique [0002] Currently, when a user terminal transmits network data on a mobile network, network packet loss often occurs in the mobile network environment. If the user terminal adopts TCP (Transmission Control Protocol, Transmission Control Protocol) for network data transmission, the network delay will double as the packet loss rate increases. If the user terminal uses UDP (User Datagram Protocol, User Datagram Protocol) for network data transmission, although the network delay will be improved, the smooth arrival of messages cannot be guaranteed. When the user terminal is playing some mobile games that require high timeliness, if the above two network data transmission schemes are used for network data transmission, when network packet loss occurs, the network connection may be...

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/08H04L1/00
Inventor 金淼
Owner KINGSOFT
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