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

Method for communication with client side and server

A client-server technology, applied in the field of communication, can solve the problems that are not conducive to the communication between the client and the server, cannot know the failure of the long connection, and the client does not know the long connection and the long connection.

Inactive Publication Date: 2016-02-17
BEIJING QIHOO TECH CO LTD +1
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, at present, the establishment of a long connection is only the behavior of the server side. The client does not know whether the long connection has been established and how many long connections have been established, and even cannot know whether the long connection has expired.
Therefore, the client cannot know the establishment of the long connection, which is not conducive to the communication between the client and the server

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 communication with client side and server
  • Method for communication with client side and server
  • Method for communication with client side and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0025] figure 1 A method for communicating with a client at a server provided by an embodiment of the present invention is shown. figure 1 The shown method mainly shows the steps executed by the server side, and before the server executes step S110, the client first needs to construct and send a request message.

[0026] Specifically, when constructing the request message, the client obtains the application identifier of the appli...

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 communication with a client side at a server and the server. The client side is enabled to timely know the establishing situation of long connection so as to communicate with the server. The method comprises the steps that a request message transmitted by the client side is received, and client side identification of the client side included in the request message is acquired; storage of long connection channel identification corresponding to the client side identification in a client side information list is determined, and if the long connection channel identification is stored, a first response message used for indicating establishment of long connection is returned to the client side; if the long connection channel identification is not stored, a long connection channel is allocated for the client side, the long connection channel identification of the long connection channel and the client side identification are stored in the client side information list, and a second response message used for indicating that long connection is not established is returned to the client side; and messages are transmitted between the server and the client side according to the established long connection with the client side.

Description

[0001] This application is a divisional application of an invention patent application with a filing date of November 2, 2012, an application number of 201210433894.4, and a title of "a method for communicating with a client and a server". technical field [0002] The invention relates to the communication field, in particular to a method for communicating with a client and a server. Background technique [0003] With the rapid development of the network, many applications based on the network have appeared, and these network applications include online video, online dating, and online games. Users of network applications need to communicate with the server through the client to obtain the services provided by the server. [0004] In order to realize the communication between the client and the server, it is first necessary to establish a connection between the client and the server. There are two commonly used connection methods, one is the long connection communication met...

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): H04L29/06H04L29/08
CPCH04L65/1066H04L67/14
Inventor 左文建黄欢王晓峰杨涛吕本伟
Owner BEIJING QIHOO TECH CO LTD