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

A method and device for establishing a connection

A technology for establishing a connection and connecting a response, applied in the Internet field, can solve the problem of long time for establishing a connection, and achieve the effect of reducing the time

Active Publication Date: 2021-07-20
JOYME PTE LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen from the above that in the prior art, the terminal needs to send a connection request message to each port in turn, and only when the terminal does not receive the connection response message returned by the port within the preset response time, the terminal sends a connection request message to the next port. Connection request messages, which in turn lead to a longer connection establishment time

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 method and device for establishing a connection
  • A method and device for establishing a connection
  • A method and device for establishing a connection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055]The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0056] The present invention provides a method and device for establishing a connection, which can be applied to a terminal in an instant messaging system, and the terminal can be an electronic device such as a smart phone, a tablet computer, or the method can also be applied to an application program in the terminal. see figure 1 , figure 1 A framework diagram of a networking provided by an embodiment of the present invention is a possible application scenari...

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 present invention provides a method and device for establishing a connection, which can be applied to a terminal in an instant messaging system. The instant messaging system also includes a server. Determine the current port to be connected, send a connection request message to the current port to be connected according to the port information of the current port to be connected, if the connection response message is not received within the first preset time length, return to execute according to the preset The connection sequence is a step of determining the current port to be connected from the port list, and the first preset duration is shorter than the preset response duration corresponding to the current port to be connected. Based on the above processing, after sending a connection request message to a certain port, if the connection response message is not received within the first preset time period, the terminal can send a connection request message to the next port without waiting for the preset response time period , which in turn can reduce the time to establish a connection.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for establishing a connection. Background technique [0002] With the rapid development of Internet technologies, the functions of instant messaging (Instant Message, IM) services are also constantly enriched. In the IM service, a connection needs to be established between the terminal and the server, so that the terminal and the server can transmit service data. [0003] In the prior art, the connection between the terminal and the server is established through the following steps: when the terminal needs to establish a connection with the server, the terminal sends a port request message to the server. After receiving the port request message, the server sends the server's port list to the terminal, and the port list generally records port information of multiple ports. After obtaining the port list, the terminal can send a connection request message ...

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/08H04L12/58
CPCH04L51/04H04L67/141
Inventor 王贵喜
Owner JOYME PTE LTD