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

Network channel maintaining method based on UDP protocol

A network channel and protocol technology, applied in the direction of electrical components, transmission systems, etc., can solve the problems of increasing traffic consumption and consuming too much traffic, and achieve the effect of saving traffic

Active Publication Date: 2019-10-22
四川艾贝斯科技发展有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] This solution uses timing to exchange data with the server, for example, sending a two-way heartbeat packet to the server at a timing of 30 seconds, and the server gives a response at the same time to maintain the network channel, the server can know the network channel corresponding to the terminal device ID, and can send data to the terminal device at any time Sending a message, but this solution will greatly increase the traffic consumption because the two-way heartbeat data packet is invalid data; for example, sending a two-way heartbeat data packet to the server at regular intervals of 30 seconds, the monthly traffic consumption is about 15M, which consumes a lot of traffic

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 channel maintaining method based on UDP protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be further described below in conjunction with accompanying drawing:

[0029] Such as figure 1 As shown, the UDP protocol-based network channel maintenance method of the present invention is used for communication between the terminal device and the server, comprising the following steps:

[0030] Step 1. The terminal device establishes a connection with the server and completes the registration through the server; this step includes the following steps:

[0031] Step 1.1, the terminal device (commonly a smart phone) opens the GPRS service, and opens the UDP protocol service;

[0032] Step 1.2, the terminal device sends a registration packet to the server through the UDP protocol; the server is a known IP and port open server; the registration packet contains the unique ID number of the terminal device and the default heartbeat interval time; the terminal device here The unique ID number is the SIM card number;

[0033] Step 1.3, 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 channel maintaining method based on a UDP (User Datagram Protocol). The network channel maintaining method comprises the following steps: step 1, establishing connection between terminal device and a server and finishing registration through the server; step 2, the terminal device maintains communication with the server through a network channel, which comprises the following steps: the terminal device sends a plurality of one-way heartbeat data packets to the server; the terminal device sends a bidirectional heartbeat data packet to the server, and the sharedtime of sending the unidirectional heartbeat data packet and the bidirectional heartbeat data packet is heartbeat interval time; the server sends a response data packet to the terminal device after receiving the bidirectional heartbeat data packet of the terminal device; and the terminal device receives the response data packet of the server, adjusts or maintains the heartbeat interval time, andincreases the heartbeat interval time if the response data packet is not received continuously for many times. The heartbeat interval time is prolonged as much as possible to save the flow on the premise of ensuring normal maintenance of the network channel, and the method is suitable for different network supplier core network environments.

Description

technical field [0001] The invention relates to a method for maintaining a mobile communication network channel, in particular to a method for maintaining a network channel based on the UDP protocol. Background technique [0002] Mobile communication terminal physical network equipment (such as some remote controllers, remote detection equipment), can connect to the server through the 2G, 3G, 4G network provided by the network operator through the TCP protocol or UDP protocol, and generate data interaction with the server. The TCP (Transmission Control Protocol) protocol here is the Transmission Control Protocol, which is a connection-oriented, reliable, byte-stream-based transport layer communication protocol, defined by RFC 793 of the IETF; the UDP (User Datagram Protocol) protocol is the user data The packet protocol is a protocol that provides applications with the ability to send encapsulated IP packets without establishing a connection. [0003] The server has a fixed...

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 Applications(China)
IPC IPC(8): H04L29/08H04L29/06
CPCH04L67/145H04L67/141H04L65/1073H04L67/54
Inventor 何勇邹小兵
Owner 四川艾贝斯科技发展有限公司