CN106792032A - 一种wifi遥控电视的方法 - Google Patents
一种wifi遥控电视的方法 Download PDFInfo
- Publication number
- CN106792032A CN106792032A CN201710038280.9A CN201710038280A CN106792032A CN 106792032 A CN106792032 A CN 106792032A CN 201710038280 A CN201710038280 A CN 201710038280A CN 106792032 A CN106792032 A CN 106792032A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- television
- wifi
- carries out
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4126—The peripheral being portable, e.g. PDAs or mobile phones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/4221—Dedicated function buttons, e.g. for the control of an EPG, subtitles, aspect ratio, picture-in-picture or teletext
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
- H04N21/43637—Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/64—Addressing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Human Computer Interaction (AREA)
- Mobile Radio Communication Systems (AREA)
- Selective Calling Equipment (AREA)
Abstract
本发明公开了一种wifi遥控电视的方法,主要步骤如下1)首先定义好移动终端与电视端相互传输的数据格式;2)然后移动终端通过UPD协议对局域网地址进行网络广播,等待所在此网络内的电视端的service程序响应并将电视端的IP地址返回给移动终端,移动终端获取所在网络内的所有可控设备的ip地址;3)用户通过移动终端列表选择可控设备进行TCP连接;4)发送控制指令进行电视端的操控。本发明通过智能终端设备与智能电视在同一个局域网环境下建立wife连接,解决了在没有遥控器的情况下移动终端通过wife对电视的控制,本发明无需实体遥控器,不受方位限制,任意智能终端在安装遥控app后均可以实现远程遥控。
Description
技术领域
本发明涉及物联网技术领域,具体是一种wifi遥控电视的方法。
背景技术
红外遥控器是目前智能电视除的常见遥控方式,红外遥控成本低,结构简单广泛应用在电视机的遥控方面,但是红外遥控由于需要遥控器正对着电视机上的红外接收器所以遥控的灵敏性较差;目前市面上还出现了基于蓝牙和NFC等协议的遥控方案,他们通过移动终端的相关协议与智能电视配对,然后传输对应的控制键值码实现控制功能,采用蓝牙和NFC灯协议控制能够有效的解决红外遥控造成的遥控敏感性差的问题,但是由于蓝牙和FC等协议设备的支持,并不是所以的设置都支撑,所以采用蓝牙和FC等协议的遥控方案会受到移动端设备是否支持的限制。而wifi在所有移动设备上是必备模块,所以如果在wifi环境下实现对电视的操控将会带来很大的便利。
发明内容
本发明的目的在于提供一种wifi遥控电视的方法,以解决上述背景技术中提出的问题。
为实现上述目的,本发明提供如下技术方案:
一种wifi遥控电视的方法,其主要步骤如下:
101:首先定义好移动终端与电视端相互传输的数据格式;
102:然后移动终端通过UPD协议对局域网的255.255.255.255地址进行网络广播,等待所在此网络内的电视端的service程序响应并将电视端的IP地址返回给移动终端,移动终端则可以获取所在网络内的所有可控设备的ip地址;
103:用户通过移动终端列表选择可控设备进行TCP连接;
104:在移动终端与电视间通过tcp协议建立网络连接后,即可发送控制指令进行电视端的操控。
作为本发明进一步的方案:所述移动终端与电视端通过心跳包检测此连接,当移动终端检测出连接断开时,由终端进行5次重试连接,前2次立即重试,第3次延时3秒后重试,第四,五次则延时5秒后重试,当都不能连接时则放弃重试。
作为本发明进一步的方案:所述移动终端与电视端相互传输的数据格式为json数据结构。
作为本发明再进一步的方案:所述json数据结构分为数据头和数据体,所述数据头包括版本号、设备类型和校验码;所述数据体包括控制命令的类型和控制命令。
与现有技术相比,本发明的有益效果是:
本发明通过智能终端设备与智能电视在同一个局域网环境下建立wife连接,解决了在没有遥控器的情况下移动终端通过wife对智能电视的控制,方便了人们的使用。本发明无需实体遥控器,不受方位限制,任意智能终端在安装遥控app后均可以实现远程遥控。
附图说明
图1为一种wifi遥控电视的方法的流程示意图。
具体实施方式
下面结合具体实施方式对本发明的技术方案作进一步详细地说明。
请参阅图1,一种wifi遥控电视的方法,其主要步骤如下:
101:首先定义好移动终端与电视端相互传输的数据格式;
102:然后移动终端通过UPD协议对局域网的255.255.255.255地址进行网络广播,等待所在此网络内的电视端的service程序响应并将电视端的IP地址返回给移动终端,移动终端则可以获取所在网络内的所有可控设备的ip地址;
103:用户通过移动终端列表选择可控设备进行TCP连接;
104:在移动终端与电视间通过tcp协议建立网络连接后,即可发送控制指令进行电视端的操控。
所述移动终端与电视端通过心跳包检测此连接,当移动终端检测出连接断开时,由终端进行5次重试连接,前2次立即重试,第3次延时3秒后重试,第四,五次则延时5秒后重试,当都不能连接时则放弃重试。
所述移动终端与电视端相互传输的数据格式为json数据结构,json数据结构分为数据头和数据体,所述数据头包括版本号、设备类型和校验码;所述数据体包括控制命令的类型和控制命令。
上面对本发明的较佳实施方式作了详细说明,但是本发明并不限于上述实施方式,在本领域的普通技术人员所具备的知识范围内,还可以在不脱离本发明宗旨的前提下作出各种变化。
Claims (4)
1.一种wifi遥控电视的方法,其特征在于,其主要步骤如下:
101:首先定义好移动终端与电视端相互传输的数据格式;
102:然后移动终端通过UPD协议对局域网的255.255.255.255地址进行网络广播,等待所在此网络内的电视端的service程序响应并将电视端的IP地址返回给移动终端,移动终端则可以获取所在网络内的所有可控设备的ip地址;
103:用户通过移动终端列表选择可控设备进行TCP连接;
104:在移动终端与电视间通过tcp协议建立网络连接后,发送控制指令进行电视端的操控。
2.根据权利要求1所述的wifi遥控电视的方法,其特征在于,所述移动终端与电视端通过心跳包检测此连接,当移动终端检测出连接断开时,由终端进行5次重试连接,前2次立即重试,第3次延时3秒后重试,第四,五次则延时5秒后重试,当都不能连接时则放弃重试。
3.根据权利要求1所述的wifi遥控电视的方法,其特征在于,所述移动终端与电视端相互传输的数据格式为json数据结构。
4.根据权利要求1所述的wifi遥控电视的方法,其特征在于,所述json数据结构分为数据头和数据体,所述数据头包括版本号、设备类型和校验码;所述数据体包括控制命令的类型和控制命令。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710038280.9A CN106792032A (zh) | 2017-01-18 | 2017-01-18 | 一种wifi遥控电视的方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710038280.9A CN106792032A (zh) | 2017-01-18 | 2017-01-18 | 一种wifi遥控电视的方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106792032A true CN106792032A (zh) | 2017-05-31 |
Family
ID=58944231
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710038280.9A Pending CN106792032A (zh) | 2017-01-18 | 2017-01-18 | 一种wifi遥控电视的方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106792032A (zh) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107889076A (zh) * | 2017-10-26 | 2018-04-06 | 深圳市元征软件开发有限公司 | 车辆诊断方法及车辆诊断仪 |
CN109600647A (zh) * | 2018-12-25 | 2019-04-09 | 北京潘达互娱科技有限公司 | 一种电视遥控方法、移动终端、电视和系统 |
CN109803161A (zh) * | 2019-01-14 | 2019-05-24 | 深圳市金锐显数码科技有限公司 | 电视遥控方法、装置及终端设备 |
CN113093651A (zh) * | 2021-02-22 | 2021-07-09 | 中国汽车工业工程有限公司 | 一种设备遥控系统 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102595226A (zh) * | 2012-03-16 | 2012-07-18 | 深圳市茁壮网络股份有限公司 | 一种无线控制方法和机顶盒 |
CN104540042A (zh) * | 2014-12-01 | 2015-04-22 | 北京阅视无限科技有限公司 | 基于xmpp通信的机顶盒远程多屏交互控制方法及系统 |
WO2015063181A1 (en) * | 2013-10-29 | 2015-05-07 | Mastercard International Incorporated | A system and method for disseminating functionality to a target device |
CN105100950A (zh) * | 2014-04-30 | 2015-11-25 | 阿里巴巴集团控股有限公司 | 智能电视移动端切换、电视端信息获取方法和装置、系统 |
CN105681878A (zh) * | 2016-01-15 | 2016-06-15 | 南京熊猫电子股份有限公司 | 一种通过智能手机控制智能机顶盒的装置及其方法 |
-
2017
- 2017-01-18 CN CN201710038280.9A patent/CN106792032A/zh active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102595226A (zh) * | 2012-03-16 | 2012-07-18 | 深圳市茁壮网络股份有限公司 | 一种无线控制方法和机顶盒 |
WO2015063181A1 (en) * | 2013-10-29 | 2015-05-07 | Mastercard International Incorporated | A system and method for disseminating functionality to a target device |
CN105100950A (zh) * | 2014-04-30 | 2015-11-25 | 阿里巴巴集团控股有限公司 | 智能电视移动端切换、电视端信息获取方法和装置、系统 |
CN104540042A (zh) * | 2014-12-01 | 2015-04-22 | 北京阅视无限科技有限公司 | 基于xmpp通信的机顶盒远程多屏交互控制方法及系统 |
CN105681878A (zh) * | 2016-01-15 | 2016-06-15 | 南京熊猫电子股份有限公司 | 一种通过智能手机控制智能机顶盒的装置及其方法 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107889076A (zh) * | 2017-10-26 | 2018-04-06 | 深圳市元征软件开发有限公司 | 车辆诊断方法及车辆诊断仪 |
CN109600647A (zh) * | 2018-12-25 | 2019-04-09 | 北京潘达互娱科技有限公司 | 一种电视遥控方法、移动终端、电视和系统 |
CN109803161A (zh) * | 2019-01-14 | 2019-05-24 | 深圳市金锐显数码科技有限公司 | 电视遥控方法、装置及终端设备 |
CN113093651A (zh) * | 2021-02-22 | 2021-07-09 | 中国汽车工业工程有限公司 | 一种设备遥控系统 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106792032A (zh) | 一种wifi遥控电视的方法 | |
CN105578227B (zh) | 多屏投影控制方法、系统及终端设备 | |
CN102945029B (zh) | 智能网关、智能家居系统及家电设备的智能控制方法 | |
CN105187907A (zh) | 智能电视音量控制系统及控制方法 | |
CN103634657B (zh) | 电视同步移动终端wifi连接设置的方法和装置 | |
CN105306264A (zh) | 智能家电设备的网络配置和远程注册绑定的方法及系统 | |
CN107135529B (zh) | 实现ap和sta自动连接并同步ap配置修改的方法 | |
US20210266226A1 (en) | Soft configuration and data exchange for in-home devices | |
CN107231606A (zh) | WiFi入网方法、智能硬件设备及电子终端 | |
RU2676418C2 (ru) | Способ и аппарат для специфичной для устройства связи между программами приложений | |
US9736616B2 (en) | Configuration connection device | |
CN102404413B (zh) | 一种实现数字家庭设备间功能应用自动匹配的方法及系统 | |
CN103491172A (zh) | 云文件分享方法及系统 | |
US20160150057A1 (en) | Internet of things, communication method, bridge device and access device for internet of things | |
CN103476146B (zh) | 兼容Miracast的数据传输方法及系统 | |
US20210075636A1 (en) | Smart refrigerator-based networking and control method and system, and smart refrigerator | |
US20150095956A1 (en) | Electronic device, computer program product, and information control method | |
CN107835445B (zh) | 基于mqtt协议的电视控制方法、移动终端及电视 | |
CN104980994A (zh) | 一种设备控制方法、装置和移动终端 | |
CN107690140A (zh) | 无线接入点认证方法、装置及系统 | |
CN104219311A (zh) | 下载电视应用的方法和系统 | |
CN105208679A (zh) | 实现无线网络互通的设备及方法 | |
CN107231397A (zh) | 信息推送方法及装置 | |
CN102740013A (zh) | 物联网电视机及物联网系统 | |
CN105681480A (zh) | 一种点对点协议ppp按需拨号的方法及设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |