Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Television network communication transmission method based on WebSocket

A transmission method and TV network technology, which is applied in the field of TV network communication transmission based on WebSocket, can solve the problems of one-way communication, cumbersome handshake polling, etc., and achieve the effects of saving occupancy, facilitating differentiation, and avoiding waste

Inactive Publication Date: 2019-09-27
四川虹魔方网络科技有限公司
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a TV network communication transmission method based on WebSocket, which is used to solve the problems of cumbersome handshake and polling and one-way communication in the prior art when smart terminals and smart TVs use sockets for network communication

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
  • Television network communication transmission method based on WebSocket

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] combined with figure 1 As shown, a TV network communication transmission method based on WebSocket, including:

[0020] 1. The smart TV starts the app automatically. After listening to the TV broadcast, start the WebSocket service, open the WebSocket and obtain the TV MAC, IP and WebSocket port, generate a QR code, and put it on the app home page for the client to connect;

[0021] 2. Under the unified wifi, the H5 client scans the code to obtain the MAC, compares whether there is a key value corresponding to the user account and MAC in the database, and sends an Http request through the IP and WebSocket port number to shake hands with the server. The server can set the onHandShake event Call back to manually handle the WebSocket handshake. After a successful handshake, the onOpen event is triggered to officially establish two-way communication between the H5 client and the WebSocket server. When the H5 client successfully connects to the TV WebSocket server through the...

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 television network communication transmission method based on WebSocket, which comprises the following steps that: after a WebSocket server monitors a television startup broadcast, a WebSocket service is started, intelligent television information is acquired, and a two-dimensional code is generated; and the H5 client scans the two-dimensional code based on the WeChat to obtain the MAC of the smart television, sends a request to shake hands with the WebSocket server, and establishes long connection after successfully shaking hands and connecting the smart television with the specified IP and the WebSocket port. According to the method the network long connection between the mobile phone client and the television is provided through the WebSocket, real-time information interaction is completed, meanwhile, a remote control function is realized through an H5 page, downloading and installation of an app by a user are avoided, the friendliness is improved, and occupation of television bandwidth is also saved.

Description

technical field [0001] The present invention relates to the technical field of network communication, in particular, it is a TV network communication transmission method based on WebSocket. Background technique [0002] Driven by the rapid development of science and technology and the continuous increase of network transmission speed, mobile clients are becoming more and more important in people's lives. Smart TV accesses various resources such as film and television through wifi. Usually, users control smart TV through remote control, which has the problem of inflexible and inconvenient control. There are also smart terminals such as mobile phones and smart TVs for network communication, using sockets for communication, which has problems such as cumbersome handshaking and polling, serious waste of resources, and single communication items. Contents of the invention [0003] The purpose of the present invention is to provide a TV network communication transmission method...

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): H04N21/4363H04N21/422H04N21/443
CPCH04N21/42221H04N21/43637H04N21/443
Inventor 王晶成
Owner 四川虹魔方网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products