Method for establishing long connection between client and server, communication method and communication system

A communication method and long connection technology, applied in the field of communication systems, can solve the problems of TCP connection loss, low efficiency, time and resource loss, etc.

CN109660584AInactive Publication Date: 2019-04-19ALIBABA GRP HLDG LTD
7 Cites 33 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2019-04-19
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

Embodiments of the invention provide a method for establishing long connection between a client and a server, a communication method and a communication system. When the method is applied to the mobile client, the mobile client comprises a long connection service module and one or more service processing modules; and the long connection service module communicates with the long connection server through a long connection communication link. The method comprises the following steps: the long connection service module receives service data sent by the long connection server through the long connection communication link, wherein the service data carries synchronization point information; notification information is generated according to the service data and the corresponding synchronizationpoint information; and the notification information is sent to the one or more service processing modules. Based on the robust long connection communication link, the mobile client can receive the service data pushed by the server at any time, so that the availability of a long connection service is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the field of communication technologies, in particular to a communication method, a method for establishing a long connection between a client and a server, a mobile client, a server, a device for establishing a long connection between a client and a server, and a method for establishing a long connection between a client and a server. a communication system. Background technique

[0002] With the popularization of mobile terminals, mobile Internet technology has also developed. Mobile Internet refers to the general term for activities that combine and practice Internet technologies, platforms, business models and applications with mobile communication technologies.

[0003] In the current mobile Internet solutions, in most cases, the client and server of the mobile Internet application communicate through HTTP / HTTPS. Specifically, the client initiates an HTTP / HTTPS request and the server returns data. The traditiona...

Examples

Embodiment Construction

[0151] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0152] refer to figure 1 , shows a structural block diagram of an embodiment of a communication system of the present application, and the communication system may at least include a mobile client, a service server, and a persistent connection server. Wherein, the mobile client includes a persistent connection service module and one or more business processing modules, and the persistent connection service module communicates with the persistent connection server through a persistent connection communication link.

[0153] The service server is used to send service data to the persistent connection server;

[0154] The persistent connection server is configured to generate synchronization point informat...