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

A method and system for connection multiplexing of Internet TV content requests

An Internet TV and content request technology, applied in the field of network communication, can solve the problems of consuming server memory, long connection time and short server connection establishment, avoiding waste of resources, reducing time, improving the speed of cutting and playing smoothly. sexual effect

Active Publication Date: 2019-05-21
ALLWINNER TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The number of long connections and the time to maintain long connections are bound to have an impact on the server
If the long connection time maintained is too short, the server will frequently establish connections; if the long connection time maintained is too long and the number is too large, it will consume a lot of server memory

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
  • A method and system for connection multiplexing of Internet TV content requests
  • A method and system for connection multiplexing of Internet TV content requests
  • A method and system for connection multiplexing of Internet TV content requests

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0085] figure 1 It is a schematic diagram of a connection multiplexing method for an Internet TV content request in this embodiment, including the following steps:

[0086] Step 1: Assume that the url to be accessed by the client is http: / / ip:port / file_1, establish a TCP connection for the first time, map the connection with ip:port, and mark the usage count as 1;

[0087] Step 2: Send an HTTP request to the server through the TCP connection established in the first step;

[0088] The third step: through the TCP connection established in the first step, receive the HTTP response message from the server, obtain the file size information, and continuously read the media data from the server until the download is completed;

[0089] Step 4: The client wants to access the next url http: / / ip:port / file_2, traverse the connection pool to see if there is a connection matching ip:port, find the connection established in the first step, and construct an HTTP request. Send to the serve...

Embodiment 2

[0119] This embodiment is a specific embodiment of embodiment one, specifically as follows:

[0120] Set the maximum number of the total number of TCP connections, that is, the second preset threshold is M=20, and the maximum number of TCP connections on the same server side is: the first preset threshold N=3, and the link has no data exchange time S=60 Seconds, every time interval I=5 (seconds) to send a detection packet C=3 times to the peer end of the TCP connection, the maximum number of total TCP connections on the server side is: the preset maximum value L=1000. The network set-top box starts to request to play program p_1, according to figure 1 Establish a TCP connection, record the number of uses num_1=1, and then send an HTTP request. After the request is successful, receive the HTTP response message returned by the server, read the media data and play it. The TCP connection corresponding to the server is seq=0. When performing channel switching, assuming that the sw...

Embodiment 3

[0123] A connection multiplexing system for implementing the connection multiplexing method in Embodiment 1 is specifically as follows:

[0124] A connection multiplexing system for Internet TV content requests, including a client and a server, the client is connected to multiple servers through a reusable TCP connection, and the server is connected to multiple clients through a reusable TCP connection ;The client is used to analyze the HTTP url to be connected, and then establish or select the TCP connection corresponding to the target server, and after constructing the HTTP request, send the HTTP request through the TCP connection and receive the response message returned by the server; the server uses After listening to the request information of the client, and selecting or establishing a TCP connection corresponding to the client, responding to the HTTP request of the client through the TCP connection and returning an HTTP response message.

[0125] The client is used to:...

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 connection multiplexing method and system for Internet TV content requests. The method includes: the client parses the HTTP url to be connected, and then establishes or selects a TCP connection corresponding to the target server, and after constructing the HTTP request, Send an HTTP request through the TCP connection and receive the response message returned by the server; the server listens to the client's request information, and after selecting or establishing a TCP connection corresponding to the client, responds to the client's HTTP request through the TCP connection and returns HTTP Respond to the message. The invention greatly reduces the operation of repeatedly establishing and closing TCP connections, avoids unnecessary waste of resources, reduces the number and time of TCP connections, improves the speed of Internet TV switching and the smoothness of playing, and can be widely used in the communication of Internet TV in the technical field.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a connection multiplexing method and system for Internet TV content requests. Background technique [0002] Glossary: [0003] HTTP: full name HyperText Transfer Protocol, hypertext transfer protocol, is the most widely used network protocol on the Internet; [0004] TCP: full name Transmission Control Protocol, Transmission Control Protocol, is a connection-oriented, reliable, byte stream-based transport layer communication protocol; [0005] url: full name Uniform Resource Locator, uniform resource locator, is a concise representation of the location and access method of resources that can be obtained from the Internet, and is the address of standard resources on the Internet; [0006] ip: full name Internet Protocol, the protocol for interconnection between networks, referred to as network protocol, refers to ip address in this application; [0007] port: port...

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 Patents(China)
IPC IPC(8): H04L29/06
CPCH04L65/75H04L65/65
Inventor 林北洪陈保栈
Owner ALLWINNER TECH CO LTD