Communication channel sharing method and device

A communication channel and data communication technology, applied in the Internet field, can solve the problems of time-consuming, aggravating server bandwidth and IO pressure, and low communication efficiency between client and server, so as to reduce bandwidth and IO pressure and improve communication efficiency.

Active Publication Date: 2016-11-09
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Client and server communication is inefficient due to the time it takes for the client to shake hands with the server
And the server needs to maintain multiple WebSocket connections, increasing the bandwidth and IO pressure of 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
  • Communication channel sharing method and device
  • Communication channel sharing method and device
  • Communication channel sharing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059]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 creative efforts fall within the protection scope of the present invention.

[0060] In order to solve the problems in the prior art, embodiments of the present invention provide a communication channel sharing method and device, which will be described in detail below.

[0061] It should be noted that local storage, as one of the feature APIs of web storage, mainly saves data in the client. The local storage is secure within the domain, that is, the local storage is based on the domain, and any webpage in the domain can access the local stor...

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 channel sharing method and device applied to the field of Internet technology. The method comprises when an object browser is used to open a webpage in an object domain name, whether a communication channel, corresponding to the object domain name, exists for a server at present is determined; if NO, the communication channel for the server is created; when data communication with the server is carried out via the webpage, the communication channel is used for implementing data communication with the server; and if the communication channel exists at present, the existing communication channel is used for implementing data communication with the server when data communication with the server is carried out via the webpage. According to the communication channel sharing method and device, the communication efficiency can be improved, and the bandwidth and IO load of the server are reduced.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a communication channel sharing method and device. Background technique [0002] WebSocket is a technology created to solve real-time communication between client and server. Its essence is to create a TCP connection for exchanging data after handshaking through the HTTP / HTTPS protocol, and then the server and the client communicate in real time through this TCP connection. WebSocket provides a continuous link and a duplex communication mechanism with the server to solve the Http / https request, feedback mode and strict one-way communication from client to server. [0003] At present, every time a webpage is opened with a browser, a corresponding WebSocket link will be created for the webpage. Usually, the WebSocket link is also called a communication channel. [0004] However, every time a WebSocket connection is created, the client needs to perform a handshake with the se...

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/06
CPCH04L69/162
Inventor 朱俊敏
Owner BEIJING QIYI CENTURY SCI & 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