Method of establishing long connection of client and server and apparatus thereof

A technology for establishing connection and client, applied in the field of communication, can solve the problem that the server cannot push information to the client, and achieve the effect of high security

Active Publication Date: 2016-02-17
ADVANCED NEW TECH CO LTD
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the connection between the server and the client is usually initiated by the client. If the c

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 of establishing long connection of client and server and apparatus thereof
  • Method of establishing long connection of client and server and apparatus thereof
  • Method of establishing long connection of client and server and apparatus thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0037] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

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 provides a method of establishing long connection of a client and a server and an apparatus thereof. The method comprises the following steps of acquiring a secret key, a connection ID and a connection server address from a secret key server; according to the connection server address, sending a connection request to a connection server, wherein the connection request carries the connection ID so that the connection server acquires a secret key corresponding to the connection ID from a secret key server; carrying out mutual decryption verification with the connection server through the secret key, and after the decryption verification is passed, establishing connection with the connection server; through a preset time period, sending a heartbeat message to the connection server. In the invention, a communication protocol designed autonomously is used; long connection between the client and the server is established; simultaneously, encryption processing is performed on data transmitted by a user and safety is high.

Description

technical field [0001] The present application relates to the field of communication technologies, and in particular to a method and device for establishing a persistent connection between a client and a server. Background technique [0002] With the rapid development of Internet technology, users can establish a connection with a server of the application software through the client of the application software to perform information interaction. For example: Alipay client, Taobao client and so on. [0003] After the server establishes a connection with the client, it can also push various information to the client. However, the connection between the server and the client is usually initiated by the client. If the connection is not established in advance, the server will not be able to push information to the client. Therefore, a solution for establishing a persistent connection between the client and the server is urgently needed. Contents of the invention [0004] In...

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/06H04L9/32
Inventor 孙元博
Owner ADVANCED NEW TECH 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