Communication method and communication device

The technology of a communication device and a communication method, which is applied in the field of communication, can solve problems such as inability to monitor and identify client status

Inactive Publication Date: 2015-04-29
PEKING UNIV FOUNDER GRP CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a communication method and a communication device, which are used to solve the problem that the server in the prior art cannot realize the state monitoring and identification of the client, which leads to the client needing to adopt the method of timing refresh to ensure the real-time acquisition of data question

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
  • Communication method and communication device
  • Communication method and communication device
  • Communication method and communication device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] In this embodiment of the application, a communication method is proposed.

[0025] See below figure 1 , the method in the embodiment of this application includes:

[0026] S101. The server receives a handshake request sent by the client via a communication channel.

[0027] S102. The server generates a communication address of the client based on the handshake request.

[0028] S103, the server sends the protocol version of the server, the connection type of the server, and the communication address of the client to the client through the communication channel.

[0029] In a specific implementation process, the communication channel is specifically a channel that supports two-way data interaction between the server and the client.

[0030] In this embodiment of the application, the client may be, but not limited to, a browser.

[0031] The embodiment of the present application adds a layer of encapsulation protocol at the application layer, and when the client is a...

Embodiment 2

[0087] In the embodiment of the present application, a communication device is proposed.

[0088] See below figure 2 , the communication device specifically includes:

[0089] The receiving unit 201 is configured to receive the handshake request sent by the client through a communication channel, wherein the communication channel is specifically a channel that supports two-way data interaction between the server and the client.

[0090] The generating unit 202 is configured to generate a communication address of the client based on the handshake request.

[0091] The sending unit 203 is configured to send the protocol version of the server, the connection type of the server, and the communication address of the client to the client through the communication channel.

[0092] Further, the communication channel is composed of a protocol channel, a service channel and a message channel.

[0093] Further, the receiving unit 201 is also configured to receive the connection requ...

Embodiment 3

[0109] In the embodiment of the present application, a communication method is provided.

[0110] See below image 3 , the communication method in the embodiment of this application includes:

[0111] S301, the client sends a handshake request to the server via a communication channel.

[0112] S302, the client receives the protocol version of the server, the connection type of the server, and the communication address of the client assigned by the server to the client through the communication channel.

[0113] In a specific implementation process, the communication channel is specifically a channel that supports two-way data interaction between the server and the client. And, the communication channel is composed of protocol channel, service channel and message channel.

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 communication method and a communication device. The method comprises the following steps: a server receives a handshake request from a client through a communication channel, wherein the communication channel is specifically a channel supporting bidirectional data interaction between the server and the client; the server generates a communication address of the client on the basis of the handshake request; the server transmits a protocol version of the server, a connection type of the server and the communication address of the client to the client through the communication channel.

Description

technical field [0001] The present invention relates to the communication field, in particular to a communication method and a communication device. Background technique [0002] At present, in the system designed and implemented based on the BS (Browser / Server, browser / server mode) structure, when the server and the client (browser) transmit data, generally the client (browser) sends a message to the server. request, and the server responds passively. Therefore, in order to ensure the real-time performance of data received by the client, it is necessary to adopt the method of regularly refreshing the client to ensure the real-time acquisition of data. [0003] The specific reason for adopting the above method is the stateless nature of the http protocol. General Http requests are very short-lived. Therefore, the server cannot realize the status monitoring and identification of the client, which leads to the need for the client to adopt a regular refresh method to ensure ...

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/06H04L29/08
CPCH04L67/145H04L43/10
Inventor 宫丽杰
Owner PEKING UNIV FOUNDER GRP 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