CN106878801B - 一种通过机顶盒分享视频的方法 - Google Patents
一种通过机顶盒分享视频的方法 Download PDFInfo
- Publication number
- CN106878801B CN106878801B CN201710090392.9A CN201710090392A CN106878801B CN 106878801 B CN106878801 B CN 106878801B CN 201710090392 A CN201710090392 A CN 201710090392A CN 106878801 B CN106878801 B CN 106878801B
- Authority
- CN
- China
- Prior art keywords
- set top
- top box
- information
- channel
- message
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000004891 communication Methods 0.000 claims abstract description 7
- 238000012544 monitoring process Methods 0.000 claims description 7
- 230000002853 ongoing effect Effects 0.000 claims description 3
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
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/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 stream to a specific local network, e.g. a Bluetooth® network
-
- 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/432—Content retrieval operation from a local storage medium, e.g. hard-disk
-
- 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4335—Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
-
- 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/43615—Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
-
- 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 stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a 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/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/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
- H04N21/4385—Multiplex stream processing, e.g. multiplex stream decrypting
- H04N21/43853—Multiplex stream processing, e.g. multiplex stream decrypting involving multiplex stream decryption
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明公开了一种通过机顶盒分享视频的方法,其实现过程为:首先将若干台机顶盒处于同一局域网内,每台机顶盒通过socket网络通信机制识别到其他机顶盒,每台机顶盒都分配有身份识别信息ID;在分享视频时,通过选择机顶盒信息ID发送频道信息,其他收到频道信息的机顶盒可以进行切台。本发明的一种通过机顶盒分享视频的方法与现有技术相比,可以让其他用户快速进入直播观看视频,省去了用户对相关业务的选择操作时间,提高用户了体验和机顶盒之间关联性,为机顶盒分享数据又提供了更便捷的途径,实用性强,适用范围广泛,具有很好的推广应用价值。
Description
技术领域
本发明涉及网络机顶盒技术领域,具体地说是一种通过机顶盒分享视频的方法。
背景技术
数字电视的最主要功能就是为用户提供视听服务,随着数字电视的不断普及,用户对于直播视频体验性会有越来越高的要求,但是单个机顶盒的直播视频服务关联性不强,无法互相分享信息,如果能够通过机顶盒分享直播频道视频的方法,可以让其他用户快速进入直播观看视频,省去了用户对相关业务的选择操作时间,提高用户了体验和机顶盒之间关联性,为机顶盒分享数据又提供了更便捷的途径。
基于此,本文设计实现了一种通过机顶盒分享视频的方法。
发明内容
本发明的技术任务是针对以上不足之处,提供一种通过机顶盒分享视频的方法。
一种通过机顶盒分享视频的方法,其实现过程为:
首先将若干台机顶盒处于同一局域网内,每台机顶盒通过socket网络通信机制识别到其他机顶盒,每台机顶盒都分配有身份识别信息ID;
在分享视频时,通过选择机顶盒信息ID发送频道信息,其他收到频道信息的机顶盒可以进行切台。
机顶盒的身份识别信息ID用于区分每台机顶盒,通过机顶盒SN序列号作为信息ID,机顶盒ID和IP地址进行绑定,用于消息的接收和传输。
当机顶盒启动后连接到网络中,然后获取到局域网内其他机顶盒的身份识别信息ID:即在机顶盒内部监听开机启动广播和网络连接的广播,当连接网络成功,通过TCP协议进行网络socket通信,获取到局域网内其他机顶盒的IP,并通过发送数据包来确定每台盒子信息ID作为身份的唯一识别,并且动态绑定机顶盒IP和信息ID,将这些数据用Map集合保存下来。
用户在观看直播频道的时候,通过按键分享频道节目,即用户选择需要分享的频道节目,然后通过机顶盒发送相关数据包到选中的机顶盒,该数据包通过特定格式组成,即数据采用JSON格式,其内容包含分享的频道号或者媒资编号,通过resourceCode直接切台。
每台机顶盒均通过线程实现消息监听机制,当指定的网络端口接收到消息时,就对消息处理,用户进行切台操作。
其他机顶盒接收消息并进行切台的过程为:机顶盒通过开启线程实现消息监听机制,当指定的网络端口接收到消息时,首先对数据进行解析,当数据符合协议规定的内容,则在UI界面生成一个对话框,将用户正在进行的活动打断,在新的界面用户进行选择操作,即去观看分享的直播频道节目或者取消。
本发明的一种通过机顶盒分享视频的方法和现有技术相比,具有以下有益效果:
本发明提供的一种通过机顶盒分享视频的方法,方便用户直接切换到想看的节目,不需要通过节目列表或者按数字键来选择切台;当用户在通过机顶盒进行其他娱乐时,可以通过该方式立即切换到直播视频节目中,可以对其他多台机顶盒进行视频分享,增强观看直播视频体验;用户在观看视频直播节目时,可以将所看的节目频道分享给其他用户,而其他用户可以选择观看该节目或者取消;通过该方法,可以让其他用户快速进入直播观看视频,省去了用户对相关业务的选择操作时间,提高用户了体验和机顶盒之间关联性,为机顶盒分享数据又提供了更便捷的途径,实用性强,适用范围广泛,具有很好的推广应用价值。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
附图1为本发明的实现流程图。
附图2为用户分享直播频道节目的流程图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
如附图1所示,本发明提供一种通过机顶盒分享直播视频频道的方法,收到分享后的机顶盒可以通过点击进行切台。该设计便于用户在观看直播节目的时候,通过按键分享节目频道到其他机顶盒,同时其他机顶盒在收到分享后,可以通过点击确定进行切台或者取消。用户在分享视频时,可以选择任意一个或者几个机顶盒作为目标。
其实现过程为:多台机顶盒处于同一局域网内,每台机顶盒通过socket网络通信机制识别到其他几台机顶盒,每台机顶盒都分配有身份识别信息ID,在分享视频的时候,通过选择机顶盒信息ID就可以发送频道信息,其他收到频道信息的机顶盒可以进行切台。
机顶盒身份识别信息ID的内容用于区分每台机顶盒,必须是唯一的,通过机顶盒SN序列号作为信息ID,机顶盒ID和IP地址进行绑定,用于消息的接收和传输。
每台机顶盒都会通过线程实现消息监听机制,当特定的网络端口接收到消息时,就对消息处理,用户进行切台操作。
机顶盒接收的消息内容是通过特定格式组成,类似于协议数据,数据可以采用JSON格式,其内容必须包含分享的频道号或者媒资编号,通过resourceCode可以直接切台。
进一步的,本发明的实现具体过程如下所述:
步骤一,机顶盒启动后连接网络,先获取到局域网内其他盒子的信息ID。
在机顶盒内部需要监听开机启动广播和网络连接的广播,当连接网络成功,通过TCP协议进行网络socket通信,获取到局域网内其他盒子的IP,并通过发送数据包来确定每台盒子信息ID作为身份的唯一识别,并且动态绑定机顶盒IP和信息ID,将这些数据用Map集合保存下来。
步骤二,用户通过在观看直播频道的时候,通过按键分享频道节目,具体操作流程如下:
如附图2所示,用户按下后门键(比如111),那么弹出一个选择界面,将之前保存的机顶盒数据显示出来,用户可以选择任意一个或多个用户进行分享频道节目,点击确认后,机顶盒通过发送特定的数据包到选中的盒子。
数据的格式必须是特定的,采用JSON格式数据能使得数据压缩到最小,且数据包内容大大减小,必须对该JSON格式数据进行约定,类似于协议。可采用如下定义:
{
"Title": "ShareChannel"(作为信息的标识,表示这是标题)
"Info": {
"channel": "CCTV5",(频道)
"program": "新闻联播",(节目)
"resourceCode": "3305"(媒资编号)
},
}
有了这些信息后,其他盒子根据这些数据内容,解析完后进行切台操作。
步骤三,其他机顶盒接收消息,选择进行切台。
其他用户在收到分享信息的时候,机顶盒显示的界面为一对话框,用户也许在进行其他体验性的活动,当收到消息后,需要优先处理该消息,可以选择去播放节目或者选择取消,继续其他活动。
实现随时收到消息并且处理的流程如下:
机顶盒接收消息的关键在于,机顶盒通过开启线程实现消息监听机制,当特定的网络端口接收到消息时,首先对数据进行解析,当数据符合协议规定的内容,那么将在界面弹出一个对话框,用户正在进行的活动将会被打断,在新的界面用户进行选择操作,去观看分享的直播频道节目或者取消。
通过上面具体实施方式,所述技术领域的技术人员可容易的实现本发明。但是应当理解,本发明并不限于上述的具体实施方式。在公开的实施方式的基础上,所述技术领域的技术人员可任意组合不同的技术特征,从而实现不同的技术方案。
除说明书所述的技术特征外,均为本专业技术人员的已知技术。
Claims (1)
1.一种通过机顶盒分享视频的方法,其特征在于,其实现过程为:
首先将若干台机顶盒处于同一局域网内,每台机顶盒通过socket网络通信机制识别到其他机顶盒,每台机顶盒都分配有身份识别信息ID;
在分享视频时,通过选择机顶盒信息ID发送频道信息,其他收到频道信息的机顶盒可以进行切台;
机顶盒的身份识别信息ID用于区分每台机顶盒,通过机顶盒SN序列号作为信息ID,机顶盒ID和IP地址进行绑定,用于消息的接收和传输;
当机顶盒启动后连接到网络中,然后获取到局域网内其他机顶盒的身份识别信息ID:即在机顶盒内部监听开机启动广播和网络连接的广播,当连接网络成功,通过TCP协议进行网络socket通信,获取到局域网内其他机顶盒的IP,并通过发送数据包来确定每台盒子信息ID作为身份的唯一识别,并且动态绑定机顶盒IP和信息ID,将这些数据用Map集合保存下来;
用户在观看直播频道的时候,通过按键分享频道节目,即用户选择需要分享的频道节目,然后通过机顶盒发送相关数据包到选中的机顶盒,该数据包通过特定格式组成,即数据采用JSON格式,其内容包含分享的频道号或者媒资编号,通过resourceCode直接切台;
每台机顶盒均通过线程实现消息监听机制,当指定的网络端口接收到消息时,就对消息处理,用户进行切台操作;
其他机顶盒接收消息并进行切台的过程为:机顶盒通过开启线程实现消息监听机制,当指定的网络端口接收到消息时,首先对数据进行解析,当数据符合协议规定的内容,则在UI界面生成一个对话框,将用户正在进行的活动打断,在新的界面用户进行选择操作,即去观看分享的直播频道节目或者取消。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710090392.9A CN106878801B (zh) | 2017-02-20 | 2017-02-20 | 一种通过机顶盒分享视频的方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710090392.9A CN106878801B (zh) | 2017-02-20 | 2017-02-20 | 一种通过机顶盒分享视频的方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106878801A CN106878801A (zh) | 2017-06-20 |
CN106878801B true CN106878801B (zh) | 2019-12-24 |
Family
ID=59166459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710090392.9A Active CN106878801B (zh) | 2017-02-20 | 2017-02-20 | 一种通过机顶盒分享视频的方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106878801B (zh) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102547443A (zh) * | 2012-01-16 | 2012-07-04 | 广州视源电子科技公司 | 一种多终端系统资源共享及互动实现方法 |
CN102945591A (zh) * | 2012-10-29 | 2013-02-27 | 福建星网视易信息系统有限公司 | 通过wifi实现无线控制机顶盒外围设备的方法 |
CN104469476A (zh) * | 2014-11-19 | 2015-03-25 | 深圳市九洲电器有限公司 | 机顶盒网络待机控制方法及系统 |
CN105187481A (zh) * | 2015-07-11 | 2015-12-23 | 深圳市美贝壳科技有限公司 | 两个终端之间数据分享方法 |
-
2017
- 2017-02-20 CN CN201710090392.9A patent/CN106878801B/zh active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102547443A (zh) * | 2012-01-16 | 2012-07-04 | 广州视源电子科技公司 | 一种多终端系统资源共享及互动实现方法 |
CN102945591A (zh) * | 2012-10-29 | 2013-02-27 | 福建星网视易信息系统有限公司 | 通过wifi实现无线控制机顶盒外围设备的方法 |
CN104469476A (zh) * | 2014-11-19 | 2015-03-25 | 深圳市九洲电器有限公司 | 机顶盒网络待机控制方法及系统 |
CN105187481A (zh) * | 2015-07-11 | 2015-12-23 | 深圳市美贝壳科技有限公司 | 两个终端之间数据分享方法 |
Also Published As
Publication number | Publication date |
---|---|
CN106878801A (zh) | 2017-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9258511B2 (en) | Indicia of contact viewing activity | |
CA2716911C (en) | Service entry device | |
CN102823238B (zh) | 媒体设施 | |
US8885601B2 (en) | Switching user devices in a packet-based network | |
CN105657501B (zh) | 一种数字电视直播系统及方法 | |
US10779045B2 (en) | Multi-option sourcing of content and interactive television | |
CN102833624A (zh) | 数字电视的处理方法和电子设备 | |
CN105120367A (zh) | 智能电视节目的分享方法 | |
CN107547517B (zh) | 音视频节目录制方法和网络设备及计算机装置 | |
CN101867576B (zh) | 一种基于ims实现iptv业务用户推荐节目的方法、装置及系统 | |
CN101252676A (zh) | 多媒体移动终端及自动选择多媒体节目来源的方法 | |
EP3242490B1 (en) | Self-adaptive streaming media processing method and device | |
US6175378B1 (en) | Process for controlling the communication flow within an interactive network | |
CN108289240B (zh) | 数字电视快速换台的方法、终端及计算机可读介质 | |
CN106878801B (zh) | 一种通过机顶盒分享视频的方法 | |
US10757479B2 (en) | Media interface device | |
CN107465946B (zh) | 视频播放方法、装置、系统及终端设备 | |
CN114143616A (zh) | 目标视频的处理方法和系统、存储介质及电子装置 | |
CN103929683A (zh) | 视频点播方法、数据服务器、视频终端及视频点播系统 | |
CN102474590A (zh) | 用于接收广播信号的方法和装置以及使用其的显示设备 | |
KR100864908B1 (ko) | 통신망 기반의 양방향 데이터 방송 서비스 제공 시스템 및방법, 그리고 이에 적용되는 서버 | |
WO2016165521A1 (zh) | 一种视频上线的提醒方法、装置及系统 | |
US20240146999A1 (en) | Methods to Enable User-Defined Content-Aware Operations | |
CN108965948A (zh) | 一种执行网络数据的传输装置 | |
CN105516790A (zh) | 机顶盒处理数字电视数据流的方法及装置 |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210224 Address after: 250100 Inspur science and Technology Park, 1036 Inspur Road, hi tech Zone, Jinan City, Shandong Province Patentee after: Inspur Software Technology Co.,Ltd. Address before: 250100 First Floor of R&D Building 2877 Kehang Road, Sun Village Town, Jinan High-tech Zone, Shandong Province Patentee before: SHANDONG INSPUR BUSINESS SYSTEM Co.,Ltd. |
|
TR01 | Transfer of patent right |