Method and device for establishing connection, terminal and storage medium

A technology for establishing connections and terminals, applied in the network field, can solve the problems of consuming terminals, multiple resources, affecting the normal operation of terminals, etc., to reduce resources and ensure normal operation.

Active Publication Date: 2019-04-12
TENCENT TECH (SHENZHEN) CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Every time the connection is disconnected, the terminal must re-establish the connection, which consumes more resources of the terminal and may affect the normal operation of the terminal

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 device for establishing connection, terminal and storage medium
  • Method and device for establishing connection, terminal and storage medium
  • Method and device for establishing connection, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0033] figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present invention, figure 2 It is a schematic diagram of an implementation environment provided by an embodiment of the present invention. see figure 1 and figure 2 , the implementation environment includes: a terminal 101 and a server 102 .

[0034] The terminal 101 can be various types of devices such as mobile phones, computers, tablet computers, smart TVs, etc. The server 102 can be a server, or a functional module in a server, such as a process or program running in the server, or a server. A server cluster composed of several servers, or a cloud computing service center.

[0035] In the first case, see figu...

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 method and device for establishing a connection, a terminal and a storage medium, and belongs to the technical field of networks. The method comprises the following steps: receiving a disconnection notification, wherein the disconnection notification carries a server identifier of a first server disconnected from the terminal; and if determining that thefirst server is a first type server according to the server identifier, reestablishing the connection with the first server when detecting a current preset connection condition meeting the first server. The first type server is a server that needs to establish the connection after the connection between the terminal is disconnected when the preset connection condition is met; the server is divided into the first type server and a second type server; when the connection between the terminal and the first type server is disconnected, the connection does not need to be established immediately, and the connection is re-established when the preset connection condition is met; and under the condition that the normal use of users is not affected, the consumed resources are reduced, and the normal operation of the terminal is guaranteed.

Description

technical field [0001] Embodiments of the present invention relate to the field of network technologies, and in particular, to a method, device, terminal, and storage medium for establishing a connection. Background technique [0002] With the development of Internet technology and the gradual enrichment of business functions, the processing capability of the terminal can no longer meet the business requirements. Usually, the server establishes a connection with the terminal, and exchanges data through the established connection to provide services for the terminal. When the connection between the terminal and the server is disconnected due to unstable network conditions or other reasons, the connection needs to be re-established. [0003] When the connection between the terminal and the server is disconnected, a disconnection notification is triggered. When the terminal receives the disconnection notification, it immediately re-establishes a connection with the server, so a...

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/08
CPCH04L67/141
Inventor 杨旭
Owner TENCENT TECH (SHENZHEN) CO LTD
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