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

Method for maintaining connection of terminal and network server, terminal and network server

A network server and terminal technology, applied in the field of communication and network, can solve the problems of power bottleneck, difficult to uniformly determine the cycle, and real-time data cannot be pushed, so as to reduce energy consumption and save power.

Active Publication Date: 2011-04-27
LENOVO (BEIJING) LTD
View PDF4 Cites 77 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the different data transmission intervals T of different networks, it is difficult to uniformly determine a reasonable cycle for sending and maintaining connection data during development; if the cycle is set too small, the CPU and the entire operating system of the portable device will be frequently woken up, resulting in a portable Excessive energy consumption of the device
Even if the "heartbeat" data is sent from the server to the portable device, the main CPU and the entire operating system of the portable device will be awakened to receive the data, which will also consume more energy of the handheld device, resulting in a shorter continuous use time of the portable device
[0005] If the period is too large and the availability of the connection channel cannot be maintained, some real-time data cannot be pushed from the server to the portable device in time
For battery-powered portable devices, it is easy to cause a power bottleneck when the mobile portable device uses this type of PUSH service.

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 for maintaining connection of terminal and network server, terminal and network server
  • Method for maintaining connection of terminal and network server, terminal and network server
  • Method for maintaining connection of terminal and network server, terminal and network server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] According to a method for maintaining a connection between a terminal and a network server provided by an embodiment of the present invention, the terminal has a first processing unit (such as a main processor), and the first processing unit has a first state and a second state, wherein the second state (e.g., dormant state) consumes less power than the first state (e.g., active state), see figure 1 , the method includes:

[0032] When the first processing unit is in the second state, the terminal periodically sends heartbeat data packets to the network server connected through the network; or the network server periodically sends heartbeat data packets to the terminal connected through the network to maintain the terminal and the network server the connection between.

[0033] The terminal sends a heartbeat packet, specifically including:

[0034] The heartbeat data packet is received by the second processing unit (such as Modem) of the terminal before the first proc...

Embodiment 2

[0043]The terminal accesses the Internet and establishes a network connection (such as TCP or UDP) with the network server. In view of the long intermittent time of data transmission, in order to maintain the connection between the server and the terminal, the main processing unit of the terminal will issue an instruction to construct a heartbeat data packet, and send it to the communication function unit (such as Modem, Bluetooth function unit, etc.) ), and notify the communication function unit of the cycle of sending the heartbeat packet. During the sleep period of the main processing unit, the communication function unit sends a heartbeat packet to the network server at the said period, so as to maintain the connection between the terminal and the server.

[0044] refer to figure 2 , a method for maintaining a network connection of a terminal provided in this embodiment includes:

[0045] S101, the main processing unit of the terminal instructs to construct a heartbeat ...

Embodiment 3

[0081]In order to maintain the connection (TCP or UDP) between the network server and the terminal, in this embodiment, the server sends a special heartbeat packet to the terminal, by setting the relevant parameter values ​​of the special heartbeat packet (IP packet), specifically a Predetermined lifetime (TTL, Time to live) value, so that the heartbeat packet can pass through the NAT gateway, but it is discarded before reaching the terminal, refer to Figure 5 . Since the heartbeat data packet passes through the NAT gateway, the status of the TCP or UDP connection channel on the gateway is refreshed, so the connection between the server and the terminal is maintained.

[0082] The web server sends a special data packet to maintain the connection between the web server and the terminal, so that the dormant terminal can keep connected to the web server without being woken up by the heartbeat packet sent by the web server.

[0083] refer to Figure 6 , a method for maintaining...

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 method for maintaining the connection of a terminal and a network server. The terminal comprises a first processing unit comprising a first state and a second state, wherein the power consumption of the second state is smaller than the power consumption of the first state. When the first processing unit is in the second state, the terminal or the network server is used for periodically transmitting a heartbeat data packet to maintain the connection of the terminal and the network server. According to the invention, when the terminal or the network server is used for periodically transmitting the heartbeat data packet, a main processor of the terminal can not be waked up, thereby the terminal which is in a dormancy state can maintain connection with the network server and can not be waked up for the heartbeat data packet transmitted by the network server, and therefore, the power consumption of the terminal can be reduced.

Description

technical field [0001] The invention relates to the field of communication and network technology, in particular to a method for maintaining a connection between a terminal and a network server, a terminal and a network server. Background technique [0002] Portable devices (such as mobile phones, portable computers and other terminals) access the Internet through wireless networks (such as 3G), because of the lack of addresses, in order to save public IP addresses, usually the IP addresses used on portable devices are private addresses, which need to be transmitted through network proxy devices or gateways. Network Address Translation (NAT) before connecting to the Internet. This causes the host or server on the Internet to be unable to actively initiate a connection to the handheld device. [0003] In order to obtain some application data on the server (for example, the server actively promotes real-time information that some users care about), one of the solutions provid...

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): H04W52/02H04W76/04H04W80/06
CPCH04L43/0811H04L67/145Y02B60/50H04L29/08612H04W76/045H04L43/10H04W76/25Y02D30/70
Inventor 王辉田永振李小丁庄艺唐
Owner LENOVO (BEIJING) LTD
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