[go: up one dir, main page]

CN110087105B - Method and device for switching IPTV multicast to unicast - Google Patents

Method and device for switching IPTV multicast to unicast Download PDF

Info

Publication number
CN110087105B
CN110087105B CN201810071725.8A CN201810071725A CN110087105B CN 110087105 B CN110087105 B CN 110087105B CN 201810071725 A CN201810071725 A CN 201810071725A CN 110087105 B CN110087105 B CN 110087105B
Authority
CN
China
Prior art keywords
program
top box
unicast
set top
server
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
Application number
CN201810071725.8A
Other languages
Chinese (zh)
Other versions
CN110087105A (en
Inventor
吴平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810071725.8A priority Critical patent/CN110087105B/en
Publication of CN110087105A publication Critical patent/CN110087105A/en
Application granted granted Critical
Publication of CN110087105B publication Critical patent/CN110087105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/64Addressing
    • H04N21/6405Multicasting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/64Addressing
    • H04N21/6408Unicasting

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Graphics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请实施例公开了一种IPTV组播转单播的切换方法及装置,涉及网络通信技术领域,解决了海量用户同时申请组播转单播,导致网络负载瞬间增大,甚至导致系统崩溃的问题。具体方案为:首先,管理服务器收集N个用户的用户信息,根据N个用户的用户信息生成用户列表,将用于列表配置到电子节目导航服务器;在电子节目导航服务器接收到机顶盒发送的节目信息请求后,确定用户列表包括机顶盒标识,发送节目信息响应,节目信息响应包括节目标识对应的节目的组播地址和节目的单播地址,使得机顶盒请求节目的组播流或节目的单播流。本申请实施例用于请求单播流的过程。

Figure 201810071725

The embodiments of the present application disclose a method and device for switching IPTV multicast to unicast, relate to the technical field of network communication, and solve the problem that a large number of users apply for multicast to unicast at the same time, resulting in an instantaneous increase in network load and even system collapse. question. The specific scheme is: first, the management server collects the user information of N users, generates a user list according to the user information of the N users, and configures the user list to the electronic program navigation server; the electronic program navigation server receives the program information sent by the set-top box. After the request, it is determined that the user list includes the set-top box identifier, and a program information response is sent, and the program information response includes the multicast address of the program corresponding to the program identifier and the unicast address of the program, so that the set-top box requests the multicast stream of the program or the unicast stream of the program. This embodiment of the present application is used for a process of requesting a unicast stream.

Figure 201810071725

Description

一种IPTV组播转单播的切换方法及装置Method and device for switching IPTV multicast to unicast

技术领域technical field

本申请实施例涉及网络通信技术领域,尤其涉及一种IPTV组播转单播的切换方法及装置。The embodiments of the present application relate to the technical field of network communications, and in particular, to a method and device for switching IPTV multicast to unicast.

背景技术Background technique

随着网络技术的日益发展,流媒体以其直观性、实时性、互动性等特点广泛地应用于视频点播、网络教学、网络直播等诸多业务上。交互式网络电视(Internet ProtocolTelevision,IPTV)是基于电信网络技术、互联网技术、广播电视网络技术和媒体传输技术建立起来的一种新型的媒体信息服务技术,实现了用户在任何时间、任何地点、任何终端上都可以观看直播和点播视频节目。With the increasing development of network technology, streaming media is widely used in video-on-demand, online teaching, online live broadcast and many other services due to its intuitive, real-time, interactive and other characteristics. Internet Protocol Television (IPTV) is a new type of media information service technology based on telecommunication network technology, Internet technology, radio and television network technology and media transmission technology. Both live and on-demand video programs can be watched on the terminal.

在现有技术中,IPTV的部分直播节目是通过IP组播方式将流媒体传送到用户接入网络(内容分发网络(Content Delivery Network,CDN)),在实现单点传送多点接收的同时,不仅降低了网络带宽的占用,又降低了网络负载。在组播数据转发过程中,如果链路或者节点故障,导致组播数据传输失败,终端设备可以再从电子节目导航(ElectronicProgram Guide,EPG)服务器中获取的备用单播地址,根据单播地址向调度服务器发送单播业务请求。但是,在组播路由器故障或内容源注入失败的情况下,会出现海量的用户出现组播业务申请失败,此时如果所有的用户同时申请组播转单播,会导致网络负载瞬间增大,甚至导致系统崩溃。In the prior art, some live IPTV programs transmit streaming media to the user access network (Content Delivery Network (CDN)) through IP multicast. Not only reduces the occupation of network bandwidth, but also reduces the network load. In the process of multicast data forwarding, if the link or node fails and the multicast data transmission fails, the terminal device can obtain the backup unicast address from the Electronic Program Guide (EPG) server, and send the The scheduling server sends a unicast service request. However, when the multicast router fails or the content source injection fails, a large number of users will fail to apply for multicast services. At this time, if all users apply for multicast to unicast at the same time, the network load will increase instantaneously. even cause the system to crash.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种IPTV组播转单播的切换方法及装置,解决了海量用户同时申请组播转单播,导致网络负载瞬间增大,甚至导致系统崩溃的问题。The embodiments of the present application provide a method and device for switching IPTV multicast to unicast, which solves the problem that a large number of users apply for multicast to unicast at the same time, resulting in an instantaneous increase in network load and even system collapse.

为达到上述目的,本申请实施例采用如下技术方案:In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:

本申请实施例的第一方面,提供一种IPTV组播转单播的切换方法,应用于管理服务器,方法包括:首先,收集N个用户的用户信息,用户信息包括机顶盒标识、用户账号、用户业务账号、机顶盒组播失败率、用户家庭设备型号、用户优先级和用户组网信息中至少一个;然后,根据N个用户信息生成用户列表,用户列表包括M个机顶盒标识;向电子节目导航服务器发送用户列表,N表示开通IPTV的用户个数,M大于等于1且小于等于N。本申请实施例提供的IPTV组播转单播的切换方法,管理服务器对N个用户的用户信息进行收集分析,生成用户列表,配置到电子节目导航服务器,以便于电子节目导航服务器只对用户列表包括的机顶盒标识对应的机顶盒提供节目的组播地址和节目的单播地址,从而,有效地避免了海量用户同时申请组播转单播,导致的网络负载瞬间增大,甚至导致的系统崩溃的问题。A first aspect of the embodiments of the present application provides a method for switching IPTV multicast to unicast, which is applied to a management server. The method includes: first, collecting user information of N users, where the user information includes set-top box identification, user account, user at least one of the service account number, set-top box multicast failure rate, user's home equipment model, user priority and user networking information; then, a user list is generated according to N user information, and the user list includes M set-top box identifiers; to the electronic program navigation server Send the user list, where N represents the number of users who have activated IPTV, and M is greater than or equal to 1 and less than or equal to N. In the method for switching IPTV multicast to unicast provided by the embodiment of the present application, the management server collects and analyzes the user information of N users, generates a user list, and configures it to the electronic program navigation server, so that the electronic program navigation server only records the user list. The included set-top box identifier corresponding to the set-top box provides the multicast address of the program and the unicast address of the program, thereby effectively preventing a large number of users from applying for multicast to unicast at the same time, resulting in an instantaneous increase in network load and even system crashes. question.

结合第一方面,在一种可能的实现方式中,在根据用户信息生成用户列表之后,方法还包括:向M个机顶盒标识中每个机顶盒标识对应的机顶盒发送配置信息,配置信息用于指示允许机顶盒请求单播业务。在管理服务器控制组播转单播的用户数的前提下,配置机顶盒请求单播业务的权限,进一步控制同时申请组播转单播的用户数,降低网络负载。With reference to the first aspect, in a possible implementation manner, after generating the user list according to the user information, the method further includes: sending configuration information to the set-top box corresponding to each set-top box identification in the M set-top box identifications, where the configuration information is used to indicate permission The set-top box requests a unicast service. On the premise that the management server controls the number of users who can convert multicast to unicast, configure the set-top box to request the unicast service authority, and further control the number of users who apply for multicast to unicast at the same time, reducing network load.

本申请实施例的第二方面,提供一种IPTV组播转单播的切换方法,应用于电子节目导航服务器,方法包括:接收管理服务器发送的用户列表,用户列表包括M个机顶盒标识;接收机顶盒发送的节目信息请求,节目信息请求包括机顶盒标识和节目标识,机顶盒标识为用户列表包括的M个机顶盒标识中任意一个;根据机顶盒标识查询用户列表;确定用户列表包括机顶盒标识,向机顶盒发送节目信息响应,节目信息响应包括节目标识对应的节目的组播地址和节目的单播地址。本申请实施例提供的IPTV组播转单播的切换方法,通过管理服务器对N个用户的用户信息进行收集分析,生成用户列表,配置到电子节目导航服务器,使得电子节目导航服务器只对用户列表包括的机顶盒标识对应的机顶盒提供节目的组播地址和节目的单播地址,从而,有效地避免了海量用户同时申请组播转单播,导致的网络负载瞬间增大,甚至导致的系统崩溃的问题。In a second aspect of the embodiments of the present application, a method for switching IPTV multicast to unicast is provided, which is applied to an electronic program navigation server. The method includes: receiving a user list sent by a management server, where the user list includes M set-top box identifiers; the receiver set-top box The program information request sent, the program information request includes a set-top box identification and a program identification, and the set-top box identification is any one of the M set-top box identifications included in the user list; query the user list according to the set-top box identification; determine that the user list includes the set-top box identification, and send program information to the set-top box In response, the program information response includes the multicast address of the program corresponding to the program identifier and the unicast address of the program. The method for switching IPTV multicast to unicast provided by the embodiment of the present application collects and analyzes the user information of N users through the management server, generates a user list, and configures it to the electronic program navigation server, so that the electronic program navigation server only records the user list. The included set-top box identifier corresponding to the set-top box provides the multicast address of the program and the unicast address of the program, thereby effectively preventing a large number of users from applying for multicast to unicast at the same time, resulting in an instantaneous increase in network load and even system crashes. question.

本申请实施例的第三方面,提供一种IPTV组播转单播的切换方法,应用于机顶盒,方法包括:向电子节目导航服务器发送节目信息请求,节目信息请求包括机顶盒标识和节目标识;接收电子节目导航服务器发送的节目信息响应,节目信息响应包括节目标识对应的节目的组播地址和节目的单播地址;根据节目的组播地址请求节目的组播流;在预设时长内未接收到节目的组播流,确定组播业务请求失败;向调度服务器发送第一单播业务请求,第一单播业务请求包括调度服务器的地址和节目的单播地址;接收调度服务器发送的业务重定向消息,业务重定向消息包括机顶盒请求节目的单播流的单播服务器地址;向单播服务器发送第二单播业务请求,第二单播业务请求包括单播服务器地址和节目的单播地址。本申请实施例提供的IPTV组播转单播的切换方法,通过管理服务器对N个用户的用户信息进行收集分析,生成用户列表,配置到电子节目导航服务器,以便于电子节目导航服务器只对用户列表包括的机顶盒标识对应的机顶盒提供节目的组播地址和节目的单播地址,使得机顶盒根据节目的组播地址请求节目的组播流,在机顶盒未请求到组播流的情况下根据节目的单播地址请求节目的单播流,从而,有效地避免了海量用户同时申请组播转单播,导致的网络负载瞬间增大,甚至导致的系统崩溃的问题。A third aspect of the embodiments of the present application provides a method for switching IPTV multicast to unicast, which is applied to a set-top box. The method includes: sending a program information request to an electronic program navigation server, where the program information request includes a set-top box identifier and a program identifier; receiving; The program information response sent by the electronic program navigation server, the program information response includes the multicast address of the program corresponding to the program ID and the unicast address of the program; the multicast stream of the program is requested according to the multicast address of the program; it is not received within the preset duration To the multicast stream of the program, determine that the multicast service request fails; send the first unicast service request to the scheduling server, where the first unicast service request includes the address of the scheduling server and the unicast address of the program; receive the service repeat sent by the scheduling server. Directional message, the service redirection message includes the unicast server address of the set-top box requesting the unicast stream of the program; send a second unicast service request to the unicast server, and the second unicast service request includes the unicast server address and the unicast address of the program . The IPTV multicast-to-unicast switching method provided by the embodiment of the present application collects and analyzes the user information of N users through the management server, generates a user list, and configures it in the electronic program navigation server, so that the electronic program navigation server only monitors users The set-top box corresponding to the set-top box identification included in the list provides the multicast address of the program and the unicast address of the program, so that the set-top box requests the multicast stream of the program according to the multicast address of the program. The unicast address requests the unicast stream of the program, thus effectively avoiding the problem that a large number of users apply for multicast to unicast at the same time, resulting in an instantaneous increase in network load and even system collapse.

结合第三方面,在一种可能的实现方式中,在向调度服务器发送第一单播业务请求之前,方法还包括:根据配置信息确定允许机顶盒请求单播业务,配置信息用于指示允许机顶盒请求单播业务。在管理服务器控制组播转单播的用户数的前提下,机顶盒根据配置的机顶盒请求单播业务的权限请求单播业务,进一步控制同时申请组播转单播的用户数,降低网络负载。With reference to the third aspect, in a possible implementation manner, before sending the first unicast service request to the scheduling server, the method further includes: determining, according to configuration information, that the set-top box is allowed to request the unicast service, and the configuration information is used to indicate that the set-top box is allowed to request the unicast service. Unicast service. On the premise that the management server controls the number of users who can switch from multicast to unicast, the set-top box requests unicast services according to the configured set-top box's permission to request unicast services, and further controls the number of users who apply for multicast to unicast at the same time, reducing network load.

结合上述可能的实现方式,在另一种可能的实现方式中,在根据配置信息确定允许机顶盒请求单播业务之前,方法还包括:接收管理服务器发送的配置信息。In combination with the above possible implementation manners, in another possible implementation manner, before it is determined according to the configuration information that the set-top box is allowed to request the unicast service, the method further includes: receiving configuration information sent by the management server.

结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,在向调度服务器发送第一单播业务请求之后,方法还包括:接收调度服务器发送的业务拒绝消息,业务拒绝消息用于指示不允许机顶盒请求节目的单播流。Combining the first aspect and the above possible implementation manner, in another possible implementation manner, after sending the first unicast service request to the scheduling server, the method further includes: receiving a service rejection message sent by the scheduling server, the service rejection message Used to indicate that the set-top box is not allowed to request a unicast stream of the program.

本申请实施例的第四方面,提供一种IPTV组播转单播的切换方法,应用于调度服务器,方法包括:接收机顶盒发送的第一单播业务请求,第一单播业务请求包括调度服务器的地址和节目的单播地址;根据网络状态判断允许机顶盒请求节目的单播流,网络状态包括当前单播的用户数和用户接入网的资源消耗情况;向机顶盒发送业务重定向消息,业务重定向消息包括机顶盒请求节目的单播流的单播服务器地址。本申请实施例提供的IPTV组播转单播的切换方法,通过管理服务器对N个用户的用户信息进行收集分析,生成用户列表,配置到电子节目导航服务器,以便于电子节目导航服务器只对用户列表包括的机顶盒标识对应的机顶盒提供节目的组播地址和节目的单播地址,机顶盒根据节目的组播地址请求节目的组播流,在机顶盒未请求到组播流的情况下根据节目的单播地址请求节目的单播流,调度服务器再根据网络状态控制机顶盒申请单播业务,从而,有效地避免了海量用户同时申请组播转单播,导致的网络负载瞬间增大,甚至导致的系统崩溃的问题。In a fourth aspect of the embodiments of the present application, a method for switching IPTV multicast to unicast is provided, which is applied to a scheduling server. The method includes: a first unicast service request sent by a receiver top box, and the first unicast service request includes the scheduling server. address and the unicast address of the program; judge the unicast stream that allows the set-top box to request the program according to the network status, the network status includes the current number of unicast users and the resource consumption of the user's access network; send a service redirection message to the set-top box, the service The redirect message includes the unicast server address of the set-top box requesting the unicast stream of the program. The IPTV multicast-to-unicast switching method provided by the embodiment of the present application collects and analyzes the user information of N users through the management server, generates a user list, and configures it in the electronic program navigation server, so that the electronic program navigation server only monitors users The set-top box corresponding to the set-top box identification included in the list provides the multicast address of the program and the unicast address of the program, and the set-top box requests the multicast stream of the program according to the multicast address of the program. The scheduling server then controls the set-top box to apply for the unicast service according to the network status, thus effectively preventing a large number of users from applying for multicast to unicast at the same time, resulting in an instantaneous increase in network load and even system crash problem.

结合第四方面,在一种可能的实现方式中,在根据网络状态判断是否允许机顶盒请求节目的单播业务之后,方法还包括:判断不允许机顶盒请求节目的单播流,向机顶盒发送业务拒绝消息,业务拒绝消息用于指示不允许机顶盒请求节目的单播流。With reference to the fourth aspect, in a possible implementation manner, after judging whether the set-top box is allowed to request the unicast service of the program according to the network state, the method further includes: judging that the set-top box is not allowed to request the unicast stream of the program, and sending the service rejection to the set-top box message, the Service Reject message is used to indicate that the set-top box is not allowed to request the unicast stream of the program.

本申请实施例的第五方面,提供一种管理服务器,包括:处理单元,用于收集N个用户的用户信息,用户信息包括机顶盒标识、用户账号、用户业务账号、机顶盒组播失败率、用户家庭设备型号、用户优先级和用户组网信息中至少一个,N表示开通IPTV的用户个数;处理单元,还用于根据N个用户信息生成用户列表,用户列表包括M个机顶盒标识,M大于等于1且小于等于N;发送单元,用于向电子节目导航服务器发送用户列表。A fifth aspect of the embodiments of the present application provides a management server, including: a processing unit configured to collect user information of N users, where the user information includes set-top box identification, user account, user service account, set-top box multicast failure rate, user At least one of the family equipment model, user priority and user networking information, N represents the number of users who have opened IPTV; the processing unit is also used to generate a user list according to the N user information, and the user list includes M set-top box identifiers, and M is greater than equal to 1 and less than or equal to N; a sending unit, configured to send the user list to the electronic program guide server.

本申请实施例的第六方面,提供一种电子节目导航服务器,包括:接收单元,用于接收管理服务器发送的用户列表,用户列表包括M个机顶盒标识;接收单元,还用于接收机顶盒发送的节目信息请求,节目信息请求包括机顶盒标识和节目标识,机顶盒标识为用户列表包括的M个机顶盒标识中任意一个;处理单元,用于根据机顶盒标识查询用户列表;处理单元,还用于确定用户列表包括机顶盒标识;发送单元,用于向机顶盒发送节目信息响应,节目信息响应包括节目标识对应的节目的组播地址和节目的单播地址。A sixth aspect of the embodiments of the present application provides an electronic program navigation server, including: a receiving unit, configured to receive a user list sent by the management server, where the user list includes M set-top box identifiers; Program information request, the program information request includes a set-top box identification and a program identification, and the set-top box identification is any one of the M set-top box identifications included in the user list; the processing unit is used for querying the user list according to the set-top box identification; The processing unit is also used to determine the user list It includes a set-top box identifier; a sending unit is used to send a program information response to the set-top box, where the program information response includes the multicast address of the program corresponding to the program identifier and the unicast address of the program.

本申请实施例的第七方面,提供一种机顶盒,包括:发送单元,用于向电子节目导航服务器发送节目信息请求,节目信息请求包括机顶盒标识和节目标识;接收单元,用于接收电子节目导航服务器发送的节目信息响应,节目信息响应包括节目标识对应的节目的组播地址和节目的单播地址;处理单元,还用于根据节目的组播地址请求节目的组播流;处理单元,用于在预设时长内未接收到节目的组播流,确定组播业务请求失败;发送单元,还用于向调度服务器发送第一单播业务请求,第一单播业务请求包括调度服务器的地址和节目的单播地址;接收单元,还用于接收调度服务器发送的业务重定向消息,业务重定向消息包括机顶盒请求节目的单播流的单播服务器地址;发送单元,还用于向单播服务器发送第二单播业务请求,第二单播业务请求包括单播服务器地址和节目的单播地址。A seventh aspect of the embodiments of the present application provides a set-top box, comprising: a sending unit for sending a program information request to an electronic program guide server, where the program information request includes a set-top box identifier and a program identifier; a receiving unit for receiving the electronic program guide The program information response sent by the server, the program information response includes the multicast address of the program corresponding to the program identifier and the unicast address of the program; the processing unit is also used to request the multicast stream of the program according to the multicast address of the program; If the multicast stream of the program is not received within the preset duration, it is determined that the multicast service request fails; the sending unit is further configured to send a first unicast service request to the scheduling server, where the first unicast service request includes the address of the scheduling server and the unicast address of the program; the receiving unit is also used to receive the service redirection message sent by the scheduling server, and the service redirection message includes the unicast server address of the unicast stream of the set-top box requesting the program; the sending unit is also used to send the unicast The server sends a second unicast service request, where the second unicast service request includes the unicast server address and the unicast address of the program.

本申请实施例的第八方面,提供一种调度服务器,包括:接收单元,用于接收机顶盒发送的第一单播业务请求,第一单播业务请求包括调度服务器的地址和节目的单播地址;处理单元,用于根据网络状态判断是否允许机顶盒请求节目的单播流,网络状态包括当前单播的用户数和用户接入网的资源消耗情况;处理单元,还用于确定允许机顶盒请求节目的单播流;发送单元,用于向机顶盒发送业务重定向消息,业务重定向消息包括机顶盒请求节目的单播流的单播服务器地址。An eighth aspect of the embodiments of the present application provides a scheduling server, including: a receiving unit configured to receive a first unicast service request sent by a top box, where the first unicast service request includes an address of the scheduling server and a unicast address of a program Processing unit, for judging whether to allow the set-top box to request the unicast flow of the program according to the network state, the network state includes the number of users of current unicast and the resource consumption situation of the user access network; The processing unit is also used for determining that the set-top box is allowed to request the program The sending unit is configured to send a service redirection message to the set-top box, where the service redirection message includes the unicast server address of the unicast stream of the program requested by the set-top box.

需要说明的是,上述第五方面至第八方面的功能模块可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块。例如,收发器,用于完成接收单元和发送单元的功能,处理器,用于完成处理单元的功能,存储器,用于处理器处理本申请实施例的IPTV组播转单播的切换方法的程序指令。处理器、收发器和存储器通过总线连接并完成相互间的通信。具体的,可以参考第一方面提供的IPTV组播转单播的切换方法中管理服务器的行为的功能,第二方面提供的IPTV组播转单播的切换方法中电子节目导航服务器的行为的功能,第三方面提供的IPTV组播转单播的切换方法中机顶盒的行为的功能,第四方面提供的IPTV组播转单播的切换方法中调度服务器的行为的功能。It should be noted that, the functional modules of the fifth aspect to the eighth aspect may be implemented by hardware, and may also be implemented by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions. For example, a transceiver, used to complete the functions of a receiving unit and a sending unit, a processor, used to complete the functions of a processing unit, and a memory, used by the processor to process the program of the IPTV multicast-to-unicast switching method according to the embodiment of the present application instruction. The processor, transceiver and memory are connected and communicate with each other through the bus. Specifically, reference may be made to the function of managing the server's behavior in the IPTV multicast-to-unicast switching method provided in the first aspect, and the electronic program navigation server's behavioral function in the IPTV multicast-to-unicast switching method provided by the second aspect. , the function of the behavior of the set-top box in the method for switching IPTV multicast to unicast provided by the third aspect, and the function of scheduling the behavior of the server in the method for switching IPTV multicast to unicast provided by the fourth aspect.

本申请实施例的第九方面,提供一种管理服务器,包括:处理器、存储器、总线和通信接口;该存储器用于存储计算机执行指令,该处理器与该存储器通过该总线连接,当该处理器运行时,该处理器执行该存储器存储的该计算机执行指令,以使该管理服务器执行如上述任意方面的方法。In a ninth aspect of the embodiments of the present application, a management server is provided, including: a processor, a memory, a bus, and a communication interface; the memory is used to store computer execution instructions, the processor and the memory are connected through the bus, and when the processing When the server is running, the processor executes the computer-implemented instructions stored in the memory to cause the management server to perform a method as in any of the above-described aspects.

本申请实施例的第十方面,提供一种计算机可读存储介质,包括:计算机软件指令;当计算机软件指令在管理服务器或内置在管理服务器的芯片中运行时,使得管理服务器执行上述的IPTV组播转单播的切换方法。In a tenth aspect of the embodiments of the present application, a computer-readable storage medium is provided, including: computer software instructions; when the computer software instructions are run in the management server or a chip built in the management server, the management server executes the above IPTV group Switching method of broadcast to unicast.

本申请实施例的第十一方面,提供一种包含指令的计算机程序产品,当计算机程序产品在管理服务器或内置在管理服务器的芯片中运行时,使得管理服务器执行上述的IPTV组播转单播的切换方法。An eleventh aspect of the embodiments of the present application provides a computer program product containing an instruction, when the computer program product is run in a management server or a chip built in the management server, the management server executes the above-mentioned IPTV multicast-to-unicast conversion switching method.

本申请实施例的第十二方面,提供一种电子节目导航服务器,包括:处理器、存储器、总线和通信接口;该存储器用于存储计算机执行指令,该处理器与该存储器通过该总线连接,当该处理器运行时,该处理器执行该存储器存储的该计算机执行指令,以使该电子节目导航服务器执行如上述任意方面的方法。A twelfth aspect of the embodiments of the present application provides an electronic program navigation server, including: a processor, a memory, a bus, and a communication interface; the memory is used to store computer execution instructions, and the processor and the memory are connected through the bus, When the processor is running, the processor executes the computer-implemented instructions stored in the memory to cause the electronic program guide server to perform a method as in any of the above-described aspects.

本申请实施例的第十三方面,提供一种计算机可读存储介质,包括:计算机软件指令;当计算机软件指令在电子节目导航服务器或内置在电子节目导航服务器的芯片中运行时,使得电子节目导航服务器执行上述的IPTV组播转单播的切换方法。A thirteenth aspect of the embodiments of the present application provides a computer-readable storage medium, comprising: computer software instructions; when the computer software instructions are executed in an electronic program guide server or a chip built into the electronic program guide server, the electronic program The navigation server executes the above-mentioned switching method from IPTV multicast to unicast.

本申请实施例的第十四方面,提供一种包含指令的计算机程序产品,当计算机程序产品在电子节目导航服务器或内置在电子节目导航服务器的芯片中运行时,使得电子节目导航服务器执行上述的IPTV组播转单播的切换方法。A fourteenth aspect of the embodiments of the present application provides a computer program product containing instructions, when the computer program product is run in an electronic program navigation server or a chip built in the electronic program navigation server, the electronic program navigation server is made to execute the above-mentioned Switching method of IPTV multicast to unicast.

本申请实施例的第十五方面,提供一种机顶盒,包括:处理器、存储器、总线和通信接口;该存储器用于存储计算机执行指令,该处理器与该存储器通过该总线连接,当该处理器运行时,该处理器执行该存储器存储的该计算机执行指令,以使该机顶盒执行如上述任意方面的方法。A fifteenth aspect of the embodiments of the present application provides a set-top box, including: a processor, a memory, a bus, and a communication interface; the memory is used to store computer execution instructions, the processor and the memory are connected through the bus, and when the processing When the processor is running, the processor executes the computer-executable instructions stored in the memory to cause the set-top box to perform the method of any of the above-described aspects.

本申请实施例的第十六方面,提供一种计算机可读存储介质,包括:计算机软件指令;当计算机软件指令在机顶盒或内置在机顶盒的芯片中运行时,使得机顶盒执行上述的IPTV组播转单播的切换方法。A sixteenth aspect of the embodiments of the present application provides a computer-readable storage medium, comprising: computer software instructions; when the computer software instructions are executed in a set-top box or a chip built in the set-top box, the set-top box is made to perform the above-mentioned IPTV multicast relay. Unicast switching method.

本申请实施例的第十七方面,提供一种包含指令的计算机程序产品,当计算机程序产品在机顶盒或内置在机顶盒的芯片中运行时,使得机顶盒执行上述的IPTV组播转单播的切换方法。A seventeenth aspect of the embodiments of the present application provides a computer program product containing an instruction, when the computer program product is run in a set-top box or a chip built in the set-top box, the set-top box is made to execute the above-mentioned IPTV multicast-to-unicast switching method .

本申请实施例的第十八方面,提供一种调度服务器,包括:处理器、存储器、总线和通信接口;该存储器用于存储计算机执行指令,该处理器与该存储器通过该总线连接,当该处理器运行时,该处理器执行该存储器存储的该计算机执行指令,以使该调度服务器执行如上述任意方面的方法。An eighteenth aspect of the embodiments of the present application provides a scheduling server, including: a processor, a memory, a bus, and a communication interface; the memory is used to store computer execution instructions, the processor and the memory are connected through the bus, and when the memory is When the processor is running, the processor executes the computer-executable instructions stored in the memory to cause the scheduling server to perform a method as in any of the above-described aspects.

本申请实施例的第十九方面,提供一种计算机可读存储介质,包括:计算机软件指令;当计算机软件指令在调度服务器或内置在调度服务器的芯片中运行时,使得调度服务器执行上述的IPTV组播转单播的切换方法。A nineteenth aspect of the embodiments of the present application provides a computer-readable storage medium, comprising: computer software instructions; when the computer software instructions are run in the dispatch server or a chip built in the dispatch server, the dispatch server is made to execute the above IPTV Switching method from multicast to unicast.

本申请实施例的第二十方面,提供一种包含指令的计算机程序产品,当计算机程序产品在调度服务器或内置在调度服务器的芯片中运行时,使得调度服务器执行上述的IPTV组播转单播的切换方法。A twentieth aspect of the embodiments of the present application provides a computer program product containing instructions, when the computer program product runs in a scheduling server or a chip built into the scheduling server, the scheduling server enables the scheduling server to perform the above-mentioned IPTV multicast-to-unicast conversion switching method.

另外,上述任意方面的设计方式所带来的技术效果可参见第一方面至第四方面中不同设计方式所带来的技术效果,此处不再赘述。In addition, for the technical effects brought by the design methods of any of the above aspects, reference may be made to the technical effects brought by different design methods in the first aspect to the fourth aspect, which will not be repeated here.

本申请实施例中,管理服务器、电子节目导航服务器、机顶盒和调度服务器的名字对设备本身不构成限定,在实际实现中,这些设备可以以其他名称出现。只要各个设备的功能和本申请实施例类似,属于本申请权利要求及其等同技术的范围之内。In the embodiments of the present application, the names of the management server, the electronic program guide server, the set-top box, and the scheduling server do not limit the devices themselves. In actual implementation, these devices may appear with other names. As long as the functions of each device are similar to the embodiments of the present application, they fall within the scope of the claims of the present application and their equivalents.

附图说明Description of drawings

图1为本申请实施例提供的应用本申请实施例的IPTV系统架构的简化示意图;1 is a simplified schematic diagram of an IPTV system architecture applying an embodiment of the present application provided by an embodiment of the present application;

图2为本申请实施例提供的一种IPTV组播转单播的切换方法的流程图;2 is a flowchart of a method for switching from IPTV multicast to unicast according to an embodiment of the present application;

图3为本申请实施例提供的另一种IPTV组播转单播的切换方法的流程图;3 is a flowchart of another IPTV multicast-to-unicast switching method provided by an embodiment of the present application;

图4为本申请实施例提供的一种管理服务器的组成示意图;FIG. 4 is a schematic diagram of the composition of a management server according to an embodiment of the present application;

图5为本申请实施例提供的一种电子节目导航服务器的组成示意图;5 is a schematic diagram of the composition of an electronic program navigation server according to an embodiment of the present application;

图6为本申请实施例提供的一种机顶盒的组成示意图;6 is a schematic diagram of the composition of a set-top box provided by an embodiment of the present application;

图7为本申请实施例提供的一种调度服务器的组成示意图;FIG. 7 is a schematic diagram of the composition of a scheduling server according to an embodiment of the present application;

图8为本申请实施例提供的一种计算机设备的组成示意图;8 is a schematic diagram of the composition of a computer device according to an embodiment of the present application;

图9为本申请实施例提供的另一种管理服务器的组成示意图;FIG. 9 is a schematic diagram of the composition of another management server provided by an embodiment of the present application;

图10为本申请实施例提供的另一种电子节目导航服务器的组成示意图;10 is a schematic diagram of the composition of another electronic program navigation server provided by an embodiment of the present application;

图11为本申请实施例提供的另一种机顶盒的组成示意图;11 is a schematic diagram of the composition of another set-top box provided by an embodiment of the application;

图12为本申请实施例提供的另一种调度服务器的组成示意图。FIG. 12 is a schematic diagram of the composition of another scheduling server provided by an embodiment of the present application.

具体实施方式Detailed ways

为了解决海量用户同时申请组播转单播,导致的网络负载瞬间增大,甚至导致的系统崩溃的问题,本申请实施例提供一种IPTV组播转单播的切换方法,其基本原理是:首先,管理服务器收集N个用户的用户信息,根据N个用户的用户信息生成用户列表,将用户列表配置到电子节目导航服务器;在电子节目导航服务器接收到机顶盒发送的节目信息请求后,根据节目信息请求包括的机顶盒标识查询用户列表,若确定用户列表包括机顶盒标识,向机顶盒发送节目信息响应,节目信息响应包括节目标识对应的节目的组播地址和节目的单播地址,使得机顶盒根据节目的组播地址向组播服务器请求节目的组播流或根据节目的单播地址向单播服务器请求节目的单播流。本申请实施例提供的IPTV组播转单播的切换方法,通过管理服务器对N个用户的用户信息进行收集分析,生成用户列表,配置到电子节目导航服务器,电子节目导航服务器只对用户列表包括的机顶盒标识对应的机顶盒提供节目的组播地址和节目的单播地址,从而,有效地避免了海量用户同时申请组播转单播,导致的网络负载瞬间增大,甚至导致的系统崩溃的问题。In order to solve the problem that a large number of users apply for multicast to unicast at the same time, the network load increases instantaneously, and even the system crashes, the embodiment of the present application provides a switching method for IPTV multicast to unicast, the basic principle of which is: First, the management server collects the user information of the N users, generates a user list according to the user information of the N users, and configures the user list to the electronic program navigation server; The set-top box identification included in the information request queries the user list. If it is determined that the user list includes the set-top box identification, a program information response is sent to the set-top box. The multicast address requests the multicast stream of the program from the multicast server or requests the unicast stream of the program from the unicast server according to the unicast address of the program. The method for switching IPTV multicast to unicast provided by the embodiment of the present application collects and analyzes the user information of N users through the management server, generates a user list, and configures it to the electronic program navigation server. The electronic program navigation server only includes the user list including The set-top box corresponding to the set-top box identification provides the multicast address of the program and the unicast address of the program, thereby effectively avoiding the problem of a large number of users applying for multicast to unicast at the same time, resulting in an instantaneous increase in network load and even system collapse. .

下面将结合附图对本申请实施例的实施方式进行详细描述。The implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

IPTV是一种利用宽带有线电视网,集互联网、多媒体、通讯等多种技术于一体,向家庭用户提供包括数字电视在内的多种交互式服务的崭新技术。图1示出的是可以应用本申请实施例的IPTV系统架构的简化示意图。如图1所示,该系统架构可以分为客户端、接入网、城域网,以及骨干网和业务中心。IPTV is a brand-new technology that utilizes broadband cable network and integrates various technologies such as the Internet, multimedia, and communication to provide home users with a variety of interactive services, including digital TV. FIG. 1 shows a simplified schematic diagram of an IPTV system architecture to which embodiments of the present application can be applied. As shown in Figure 1, the system architecture can be divided into client, access network, metropolitan area network, as well as the backbone network and business center.

骨干网和业务中心包括管理服务器、电子节目导航服务器、调度服务器、单播服务器、组播路由器和直播源。管理服务器用于获取网络中开通IPTV的用户的用户信息,生成用户列表,以便于控制组播转单播的用户数。电子节目导航服务器用于为用户提供各种业务的索引及导航,即IPTV的界面,与机顶盒进行业务信令交互。调度服务器用于对单播业务的通用资源定位符(Uniform Resource Locator,URL)进行解析,通过URL解析,实现到单播服务器的调度。组播路由器用于接收外部组播源的内容注入。单播服务器用于从组播路由器中获取组播业务流,并转成单播业务流供用户使用。直播源用于提供直播节目。骨干网和业务中心还可以包括其它路由器,其它路由器可以通过协议无关组播(ProtocolIndependent Multicast,PIM)协议从组播路由器中获取组播流传输给客户端。The backbone network and business center include management servers, electronic program navigation servers, scheduling servers, unicast servers, multicast routers and live broadcast sources. The management server is used to obtain user information of users who have activated IPTV in the network, and generate a user list, so as to control the number of users who convert multicast to unicast. The electronic program navigation server is used to provide users with indexes and navigation of various services, that is, the interface of IPTV, and perform service signaling interaction with the set-top box. The scheduling server is used for parsing a universal resource locator (Uniform Resource Locator, URL) of the unicast service, and implements scheduling to the unicast server through the URL parsing. Multicast routers are used to receive content injections from external multicast sources. The unicast server is used to obtain the multicast service flow from the multicast router and convert it into a unicast service flow for users to use. Live feeds are used to provide live programming. The backbone network and the service center may also include other routers, and the other routers may obtain the multicast stream from the multicast router through a protocol independent multicast (Protocol Independent Multicast, PIM) protocol and transmit it to the client.

城域网包括靠近用户侧的提供商的边缘设备(Ultimate Provider Edge,UPE)路由器。UPE路由器用于通过PIM协议从组播路由器中获取组播流。同时,终结从客户端过来的网际成组多路广播协议(Internet Group Multicast Protocol,IGMP)请求,复制组播流给客户端。The metropolitan area network includes a provider's edge equipment (Ultimate Provider Edge, UPE) router close to the user side. UPE routers are used to obtain multicast streams from multicast routers through the PIM protocol. At the same time, the Internet Group Multicast Protocol (IGMP) request from the client is terminated, and the multicast stream is copied to the client.

接入网包括光线路终端(Optical Line Terminal,OLT)。OLT用于转发客户端的IGMP请求到UPE上。The access network includes an optical line terminal (Optical Line Terminal, OLT). The OLT is used to forward the client's IGMP request to the UPE.

客户端包括光网络终端(Optical Network Terminal,ONT)和机顶盒(Set TopBox,STB)。ONT用于接入机顶盒和接入OLT。机顶盒即业务终端,通过和电子节目导航服务器进行业务交换,获取组播地址或单播地址,以及申请组播业务或单播业务。The client includes an optical network terminal (Optical Network Terminal, ONT) and a set-top box (Set TopBox, STB). The ONT is used to access the set-top box and access the OLT. A set-top box is a service terminal, and through service exchange with an electronic program navigation server, it obtains a multicast address or a unicast address, and applies for a multicast service or a unicast service.

图2为本申请实施例提供的一种IPTV组播转单播的切换方法的流程图,如图2所示,该方法可以包括:2 is a flowchart of a method for switching IPTV multicast to unicast provided by an embodiment of the present application. As shown in FIG. 2 , the method may include:

S201、管理服务器收集N个用户的用户信息。S201. The management server collects user information of N users.

N表示一个区域范围中开通IPTV的用户个数,管理员可以根据需求自行设定区域范围,可以是一个城市,或一个城市的部分区域等。管理服务器收集用户信息,用户信息包括机顶盒标识、用户账号、用户业务账号、机顶盒组播失败率、用户家庭设备型号、用户优先级和用户组网信息中至少一个。机顶盒标识为系统分配的用于唯一区别机顶盒的机顶盒账号,或机顶盒网卡的MAC地址。用户账号可以理解为用户名。用户业务账号表示用户购买的套餐业务的账号。机顶盒组播失败率为在本周期内机顶盒申请组播流的失败率。用户家庭设备型号,例如ONT型号、家庭网关型号等。用户优先级为使用机顶盒标识的机顶盒的用户的优先级,例如,用户的级别可以是贵宾(Very Important Person,VIP)用户或普通用户。用户组网信息,例如机顶盒标识对应的机顶盒从属于的OLT或数字用户线路接入复用器(Digital Subscriber Line Access Multiplexer,DSLAM)。可选的,用户信息还可以包括机顶盒所属的地理位置范围、或用户申请的业务等级。N represents the number of users who have opened IPTV in a region. The administrator can set the region according to their needs, which can be a city or a part of a city. The management server collects user information, and the user information includes at least one of set-top box identification, user account, user service account, set-top box multicast failure rate, user home equipment model, user priority and user networking information. The set-top box identifier is the set-top box account assigned by the system to uniquely distinguish the set-top box, or the MAC address of the network card of the set-top box. User accounts can be understood as usernames. The user service account represents the account of the package service purchased by the user. Set-top box multicast failure rate refers to the failure rate of set-top boxes applying for multicast streams in this period. User's home device model, such as ONT model, home gateway model, etc. The user priority is the priority of the user of the set-top box identified by the set-top box, for example, the level of the user may be a VIP (Very Important Person, VIP) user or a common user. User networking information, for example, an OLT or a digital subscriber line access multiplexer (Digital Subscriber Line Access Multiplexer, DSLAM) to which the set top box corresponding to the set top box identifier belongs. Optionally, the user information may further include the geographic location range to which the set-top box belongs, or the service level applied by the user.

S202、管理服务器根据N个用户信息生成用户列表。S202, the management server generates a user list according to the N user information.

管理服务器收集N个用户的用户信息后,根据机顶盒标识、用户账号、用户业务账号、机顶盒组播失败率、用户家庭设备型号、用户优先级和用户组网信息中至少一个因素,从N个用户中筛选出M个用户。例如,首先,可以根据用户账号或用户业务账号对用户进行筛选,再根据机顶盒组播失败率对用户进行排序,获取组播失败率高的L个用户,在L个用户中选取特定的用户家庭设备型号对应的机顶盒和/或特定的用户组网信息中的机顶盒,得到M个机顶盒,生成用户列表,用户列表包括M个机顶盒的机顶盒标识。当然,也可以根据用户优先级对用户进行排序,获取用户优先级高的M个用户,生成用户列表,用户列表包括M个用户的机顶盒的机顶盒标识。L小于或等于N,L可以等于100或200,M小于或等于L。After the management server collects the user information of the N users, according to at least one factor in the set-top box identification, the user account, the user service account, the set-top box multicast failure rate, the model of the user's home equipment, the user priority and the user networking information, from the N users. M users are filtered out. For example, first, users can be screened according to the user account or user service account, and then the users can be sorted according to the multicast failure rate of the set-top box, and L users with a high multicast failure rate are obtained, and a specific user family is selected from the L users. The set-top box corresponding to the device model and/or the set-top box in the specific user networking information, obtains M set-top boxes, and generates a user list, where the user list includes the set-top box identifiers of the M set-top boxes. Of course, users can also be sorted according to their priorities, M users with high user priorities are acquired, and a user list is generated, where the user list includes the set-top box identifiers of the M users' set-top boxes. L is less than or equal to N, L can be equal to 100 or 200, and M is less than or equal to L.

S203、管理服务器向电子节目导航服务器发送用户列表。S203. The management server sends the user list to the electronic program guide server.

管理服务器根据N个用户信息生成用户列表后,向电子节目导航服务器发送用户列表。After generating the user list according to the N user information, the management server sends the user list to the electronic program guide server.

需要说明的是,管理服务器可以周期性地收集N个用户的用户信息,周期可以是一个月或一周,则管理服务器可以每个月或每周对N个用户的用户信息进行收集,每次收集完成后,根据N个用户信息生成用户列表,并向电子节目导航服务器发送用户列表。It should be noted that the management server can periodically collect the user information of N users, and the period can be one month or one week. After completion, a user list is generated according to the N user information, and the user list is sent to the electronic program guide server.

S204、电子节目导航服务器接收管理服务器发送的用户列表。S204: The electronic program navigation server receives the user list sent by the management server.

管理服务器向电子节目导航服务器发送用户列表后,电子节目导航服务器接收到管理服务器发送的用户列表。After the management server sends the user list to the electronic program guide server, the electronic program guide server receives the user list sent by the management server.

S205、机顶盒向电子节目导航服务器发送节目信息请求。S205, the set-top box sends a program information request to the electronic program navigation server.

节目信息请求包括机顶盒标识和节目标识。节目标识可以用户需要收看的频道标识,例如,央视1,央视2或央视3等央视频道,东方卫视、湖南卫视、北京卫视等地方卫视。The program information request includes the set-top box identification and the program identification. The program identifier can be the identifier of the channel that the user needs to watch, for example, CCTV 1, CCTV 2 or CCTV 3 and other CCTV channels, and local satellite TVs such as Dragon TV, Hunan Satellite TV, and Beijing Satellite TV.

S206、电子节目导航服务器接收机顶盒发送的节目信息请求。S206, the electronic program navigation server receives the program information request sent by the top box.

机顶盒向电子节目导航服务器发送节目信息请求后,电子节目导航服务器接收机顶盒发送的节目信息请求,节目信息请求包括机顶盒标识和节目标识。After the set-top box sends the program information request to the electronic program guide server, the electronic program guide server receives the program information request sent by the top box, and the program information request includes the set-top box identification and the program identification.

S207、电子节目导航服务器根据机顶盒标识查询用户列表。S207, the electronic program navigation server queries the user list according to the set-top box identifier.

电子节目导航服务器接收机顶盒发送的节目信息请求后,根据机顶盒标识查询用户列表。用户列表包括M个机顶盒标识,机顶盒标识为用户列表包括的M个机顶盒标识中任意一个。After receiving the program information request sent by the set-top box, the electronic program navigation server queries the user list according to the set-top box identification. The user list includes M set-top box identifiers, and the set-top box identifier is any one of the M set-top box identifiers included in the user list.

S208、电子节目导航服务器确定用户列表包括机顶盒标识。执行S209。S208. The electronic program navigation server determines that the user list includes the set-top box identifier. S209 is executed.

S209、电子节目导航服务器向机顶盒发送节目信息响应。S209, the electronic program navigation server sends a program information response to the set-top box.

节目信息响应包括节目标识对应的节目的组播地址和节目的单播地址。The program information response includes the multicast address of the program corresponding to the program identifier and the unicast address of the program.

流媒体的传输技术主要有三种方式:点对点(Unicast)、多址广播(Multicast)和广播(Broadcast)。点对点方式的特点是:传送流媒体的流媒体服务器端应用和接收流媒体的客户端应用一一对应。多址广播又称为组播,在组播方式下,传送流媒体的流媒体服务器端应用和接收流媒体的客户端应用是一对多的关系,这种一对多的关系只能在同一个组内建立,即属于某一个组内的所有客户端应用均可以接收到流媒体服务器端应用传送的流媒体,而不属于该组的客户端应用则接收不到。广播方式下,传送流媒体的流媒体服务器端应用和接收流媒体的客户端应用也是一对多的关系,但这种一对多的关系并不像组播方式那样局限于组,同一网段上的所有客户端应用均可以接收到流媒体服务器端应用传送的流媒体。There are three main ways of streaming media transmission technology: point-to-point (Unicast), multicast (Multicast) and broadcast (Broadcast). The point-to-point mode is characterized in that there is a one-to-one correspondence between the streaming media server-side application that transmits the streaming media and the client-side application that receives the streaming media. Multicast is also known as multicast. In multicast mode, the streaming media server-side application that transmits streaming media and the client-side application that receives streaming media have a one-to-many relationship. This one-to-many relationship can only be used in the same Established within a group, that is, all client applications belonging to a certain group can receive the streaming media transmitted by the streaming media server-side application, while client applications that do not belong to the group cannot receive the streaming media. In broadcast mode, the streaming media server-side application that transmits streaming media and the client-side application that receives streaming media also have a one-to-many relationship, but this one-to-many relationship is not limited to groups like multicast mode, and the same network segment All client applications on the server can receive the streaming media transmitted by the streaming media server-side application.

另外,若电子节目导航服务器确定用户列表不包括机顶盒标识,电子节目导航服务器向机顶盒发送的节目信息响应只包括节目标识对应的节目的组播地址。In addition, if the electronic program guide server determines that the user list does not include the set-top box identifier, the program information response sent by the electronic program guide server to the set-top box only includes the multicast address of the program corresponding to the program identifier.

S210、机顶盒接收电子节目导航服务器发送的节目信息响应。S210. The set-top box receives the program information response sent by the electronic program navigation server.

电子节目导航服务器向机顶盒发送节目信息响应后,机顶盒接收电子节目导航服务器发送的节目信息响应,节目信息响应包括节目标识对应的节目的组播地址和节目的单播地址。After the electronic program guide server sends the program information response to the set-top box, the set-top box receives the program information response sent by the electronic program guide server, and the program information response includes the multicast address of the program corresponding to the program identifier and the unicast address of the program.

S211、机顶盒根据节目的组播地址请求节目的组播流。S211. The set-top box requests the multicast stream of the program according to the multicast address of the program.

机顶盒接收电子节目导航服务器发送的节目信息响应后,机顶盒先请求加入组播组,然后,根据节目的组播地址向组播服务器请求节目的组播流。After the set-top box receives the program information response sent by the electronic program navigation server, the set-top box first requests to join the multicast group, and then requests the multicast stream of the program from the multicast server according to the multicast address of the program.

S212、机顶盒在预设时长内未接收到节目的组播流,确定组播业务请求失败。S212: The set-top box does not receive the multicast stream of the program within a preset time period, and it is determined that the multicast service request fails.

机顶盒根据节目的组播地址请求节目的组播流后,在预设时长内未接收到节目的组播流,确定组播业务请求失败。预设时长可以是1秒到30秒。为了不影响用户体验,可以将预设时长设置为3秒到10秒之间。After the set-top box requests the multicast stream of the program according to the multicast address of the program, but does not receive the multicast stream of the program within a preset time period, it is determined that the multicast service request fails. The preset duration can be from 1 second to 30 seconds. In order not to affect the user experience, the preset duration can be set between 3 seconds and 10 seconds.

S213、机顶盒向调度服务器发送第一单播业务请求。S213: The set-top box sends a first unicast service request to the scheduling server.

机顶盒在预设时长内未接收到节目的组播流,确定组播业务请求失败后,根据节目的单播地址申请节目的单播流。第一单播业务请求包括调度服务器的地址和节目的单播地址。The set-top box does not receive the multicast stream of the program within the preset time period, and after determining that the multicast service request fails, it applies for the unicast stream of the program according to the unicast address of the program. The first unicast service request includes the address of the scheduling server and the unicast address of the program.

S214、调度服务器接收机顶盒发送的第一单播业务请求。S214. The scheduling server receives the first unicast service request sent by the top box.

机顶盒向调度服务器发送第一单播业务请求后,调度服务器接收机顶盒发送的第一单播业务请求。After the set-top box sends the first unicast service request to the scheduling server, the scheduling server receives the first unicast service request sent by the set-top box.

S215、调度服务器根据网络状态判断允许机顶盒请求节目的单播流。执行S216。S215. The scheduling server determines, according to the network state, that the set-top box is allowed to request the unicast stream of the program. Execute S216.

调度服务器接收机顶盒发送的第一单播业务请求后,根据网络状态判断是否允许机顶盒请求节目的单播流。网络状态包括当前单播的用户数和用户接入网的资源消耗情况。After receiving the first unicast service request sent by the set-top box, the scheduling server judges whether the set-top box is allowed to request the unicast stream of the program according to the network state. The network status includes the current number of unicast users and the resource consumption of the user's access network.

S216、调度服务器向机顶盒发送业务重定向消息。S216. The scheduling server sends a service redirection message to the set-top box.

业务重定向消息包括机顶盒请求节目的单播流的单播服务器地址。The service redirection message includes the unicast server address of the unicast stream of the set-top box requesting program.

S217、机顶盒接收调度服务器发送的业务重定向消息。S217: The set-top box receives the service redirection message sent by the scheduling server.

调度服务器向机顶盒发送业务重定向消息后,机顶盒接收调度服务器发送的业务重定向消息。After the scheduling server sends the service redirection message to the set-top box, the set-top box receives the service redirection message sent by the scheduling server.

S218、机顶盒向单播服务器发送第二单播业务请求。S218: The set-top box sends a second unicast service request to the unicast server.

第二单播业务请求包括单播服务器地址和节目的单播地址。The second unicast service request includes the unicast server address and the unicast address of the program.

S219、单播服务器接收机顶盒发送的第二单播业务请求。S219. The unicast server receives the second unicast service request sent by the top box.

S220、单播服务器向机顶盒发送节目的单播流。S220. The unicast server sends the unicast stream of the program to the set-top box.

机顶盒接收到单播服务器发送的节目的单播流后,终端(电视)显示节目,用户就可以观看节目了。After the set-top box receives the unicast stream of the program sent by the unicast server, the terminal (TV) displays the program, and the user can watch the program.

在管理服务器向电子节目导航服务器发送用户列表,即S203之后,为了进一步控制同时申请组播转单播的用户数,降低网络负载,还可以设置机顶盒请求单播业务的权限。如图3所示,还可以包括以下步骤:After the management server sends the user list to the electronic program navigation server, that is, S203, in order to further control the number of users who apply for multicast to unicast at the same time and reduce network load, the set-top box can also be set to request the unicast service authority. As shown in Figure 3, the following steps may also be included:

S221、管理服务器向M个机顶盒标识中每个机顶盒标识对应的机顶盒发送配置信息。S221. The management server sends configuration information to the set-top box corresponding to each set-top box identification in the M set-top box identifications.

配置信息用于指示允许机顶盒请求单播业务。The configuration information is used to indicate that the set-top box is allowed to request unicast services.

S222、机顶盒接收管理服务器发送的配置信息。S222. The set-top box receives the configuration information sent by the management server.

在机顶盒向单播服务器发送第二单播业务请求,S218之前,需要执行S223。Before the set-top box sends the second unicast service request to the unicast server, S223 needs to be performed before S218.

S223、机顶盒根据配置信息确定允许机顶盒请求单播业务。S223. The set-top box determines, according to the configuration information, that the set-top box is allowed to request a unicast service.

配置信息用于指示允许机顶盒请求单播业务。配置信息可以是一个标志位,标志位为1时,机顶盒允许机顶盒请求单播业务,标志位为0时,机顶盒不允许机顶盒请求单播业务。The configuration information is used to indicate that the set-top box is allowed to request unicast services. The configuration information can be a flag bit. When the flag bit is 1, the set-top box allows the set-top box to request unicast services, and when the flag bit is 0, the set-top box does not allow the set-top box to request unicast services.

另外,若调度服务器根据网络状态判断不允许机顶盒请求节目的单播流。执行S224和S225。In addition, if the scheduling server judges according to the network state that the set-top box is not allowed to request the unicast stream of the program. S224 and S225 are performed.

S224、调度服务器向机顶盒发送业务拒绝消息。S224. The scheduling server sends a service rejection message to the set-top box.

业务拒绝消息用于指示不允许机顶盒请求节目的单播流。The Service Reject message is used to indicate that the set-top box is not allowed to request a unicast stream of the program.

S225、机顶盒接收调度服务器发送的业务拒绝消息。S225. The set-top box receives the service rejection message sent by the scheduling server.

本申请实施例提供的IPTV组播转单播的切换方法,通过管理服务器对N个用户的用户信息进行收集分析,生成用户列表,配置到电子节目导航服务器,电子节目导航服务器只对用户列表包括的机顶盒标识对应的机顶盒提供节目的组播地址和节目的单播地址,从而,有效地避免了海量用户同时申请组播转单播,导致的网络负载瞬间增大,甚至导致的系统崩溃的问题。The method for switching IPTV multicast to unicast provided by the embodiment of the present application collects and analyzes the user information of N users through the management server, generates a user list, and configures it to the electronic program navigation server. The electronic program navigation server only includes the user list including The set-top box corresponding to the set-top box identification provides the multicast address of the program and the unicast address of the program, thereby effectively avoiding the problem of a large number of users applying for multicast to unicast at the same time, resulting in an instantaneous increase in network load and even system collapse. .

上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,各个网元,例如管理服务器、电子节目导航服务器、机顶盒和调度服务器为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present application from the perspective of interaction between various network elements. It can be understood that each network element, such as a management server, an electronic program guide server, a set-top box, and a scheduling server, includes corresponding hardware structures and/or software modules for performing each function in order to implement the above functions. Those skilled in the art should easily realize that the present application can be implemented in hardware or in the form of a combination of hardware and computer software, in conjunction with the algorithm steps of the examples described in the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

本申请实施例可以根据上述方法示例对管理服务器、电子节目导航服务器、机顶盒和调度服务器进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the management server, the electronic program navigation server, the set-top box, and the scheduling server may be divided into functional modules according to the above-mentioned method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be divided integrated in a processing module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation.

在采用对应各个功能划分各个功能模块的情况下,图4示出了上述和实施例中涉及的管理服务器的一种可能的组成示意图,如图4所示,该管理服务器可以包括:处理单元41和发送单元42。In the case where each functional module is divided according to each function, FIG. 4 shows a possible schematic composition diagram of the management server involved in the above and the embodiment. As shown in FIG. 4 , the management server may include: a processing unit 41 and the sending unit 42.

其中,处理单元41,用于支持管理服务器执行图2所示的方法中的S201和S202,图3所示的方法中的S201和S202。The processing unit 41 is configured to support the management server to perform S201 and S202 in the method shown in FIG. 2 and S201 and S202 in the method shown in FIG. 3 .

发送单元42,用于支持管理服务器执行图2所示的方法中的S203,图3所示的方法中的S203和S221。The sending unit 42 is configured to support the management server to perform S203 in the method shown in FIG. 2 , and S203 and S221 in the method shown in FIG. 3 .

需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional descriptions of the corresponding functional modules, which will not be repeated here.

本申请实施例提供的管理服务器,用于执行上述方法,因此可以达到与上述方法相同的效果。The management server provided by the embodiment of the present application is used to execute the above method, so the same effect as the above method can be achieved.

在采用对应各个功能划分各个功能模块的情况下,图5示出了上述和实施例中涉及的电子节目导航服务器的一种可能的组成示意图,如图5所示,该电子节目导航服务器可以包括:接收单元51、处理单元52和发送单元53。In the case where each functional module is divided according to each function, FIG. 5 shows a possible composition diagram of the electronic program navigation server involved in the above and the embodiment. As shown in FIG. 5 , the electronic program navigation server may include: : receiving unit 51 , processing unit 52 and sending unit 53 .

其中,接收单元51,用于支持电子节目导航服务器执行图2所示的方法中的S204和S206,图3所示的方法中的S204和S206。The receiving unit 51 is configured to support the electronic program guide server to perform S204 and S206 in the method shown in FIG. 2 and S204 and S206 in the method shown in FIG. 3 .

处理单元52,用于支持电子节目导航服务器执行图2所示的方法中的S207和S208,图3所示的方法中的S207和S208。The processing unit 52 is configured to support the electronic program guide server to execute S207 and S208 in the method shown in FIG. 2 and S207 and S208 in the method shown in FIG. 3 .

发送单元53,用于支持电子节目导航服务器执行图2所示的方法中的S209,图3所示的方法中的S209。The sending unit 53 is configured to support the electronic program guide server to perform S209 in the method shown in FIG. 2 and S209 in the method shown in FIG. 3 .

需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional descriptions of the corresponding functional modules, which will not be repeated here.

本申请实施例提供的电子节目导航服务器,用于执行上述方法,因此可以达到与上述方法相同的效果。The electronic program navigation server provided by the embodiment of the present application is used to execute the above method, so the same effect as the above method can be achieved.

在采用对应各个功能划分各个功能模块的情况下,图6示出了上述和实施例中涉及的机顶盒的一种可能的组成示意图,如图6所示,该机顶盒可以包括:发送单元61、处理单元62和接收单元63。In the case where each functional module is divided according to each function, FIG. 6 shows a possible schematic diagram of the composition of the set-top box involved in the above and the embodiments. As shown in FIG. 6 , the set-top box may include: a sending unit 61, a processing unit 62 and receiving unit 63.

其中,发送单元61,用于支持机顶盒执行图2所示的方法中的S205、S213和S218,图3所示的方法中的S205、S213和S218。The sending unit 61 is configured to support the set-top box to perform S205, S213 and S218 in the method shown in FIG. 2 , and S205, S213 and S218 in the method shown in FIG. 3 .

处理单元62,用于支持机顶盒执行图2所示的方法中的S211和S212,图3所示的方法中的S211、S212和S223。The processing unit 62 is configured to support the set-top box to perform S211 and S212 in the method shown in FIG. 2 , and S211 , S212 and S223 in the method shown in FIG. 3 .

接收单元63,用于支持机顶盒执行图2所示的方法中的S210和S217,图3所示的方法中的S210、S217、S222和S225。The receiving unit 63 is configured to support the set-top box to perform S210 and S217 in the method shown in FIG. 2 , and S210 , S217 , S222 and S225 in the method shown in FIG. 3 .

需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional descriptions of the corresponding functional modules, which will not be repeated here.

本申请实施例提供的机顶盒,用于执行上述方法,因此可以达到与上述方法相同的效果。The set-top box provided by the embodiment of the present application is used to execute the above method, and thus can achieve the same effect as the above method.

在采用对应各个功能划分各个功能模块的情况下,图7示出了上述和实施例中涉及的调度服务器的一种可能的组成示意图,如图7所示,该调度服务器可以包括:接收单元71、处理单元72和发送单元73。In the case where each functional module is divided according to each function, FIG. 7 shows a possible schematic diagram of the composition of the scheduling server involved in the above and the embodiment. As shown in FIG. 7 , the scheduling server may include: a receiving unit 71 , a processing unit 72 and a sending unit 73 .

其中,接收单元71,用于支持调度服务器执行图2所示的方法中的S214,图3所示的方法中的S214。The receiving unit 71 is configured to support the scheduling server to perform S214 in the method shown in FIG. 2 and S214 in the method shown in FIG. 3 .

处理单元72,用于支持调度服务器执行图2所示的方法中的S215,图3所示的方法中的S215。The processing unit 72 is configured to support the scheduling server to perform S215 in the method shown in FIG. 2 and S215 in the method shown in FIG. 3 .

发送单元73,用于支持调度服务器执行图2所示的方法中的S216,图3所示的方法中的S216和S224。The sending unit 73 is configured to support the scheduling server to perform S216 in the method shown in FIG. 2 , and S216 and S224 in the method shown in FIG. 3 .

需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional descriptions of the corresponding functional modules, which will not be repeated here.

本申请实施例提供的调度服务器,用于执行上述方法,因此可以达到与上述方法相同的效果。The scheduling server provided by the embodiment of the present application is used to execute the above method, so the same effect as the above method can be achieved.

图8为本申请实施例提供的一种计算机设备的组成示意图,如图8所示,计算机设备可以包括至少一个处理器81,存储器82、通信接口83、通信总线84。FIG. 8 is a schematic diagram of the composition of a computer device provided by an embodiment of the present application. As shown in FIG. 8 , the computer device may include at least one processor 81 , a memory 82 , a communication interface 83 , and a communication bus 84 .

下面结合图8对计算机设备的各个构成部件进行具体的介绍:Below in conjunction with Fig. 8, each constituent part of the computer equipment is specifically introduced:

处理器81是计算机设备的控制中心,可以是一个处理器,也可以是多个处理元件的统称。在具体的实现中,作为一种实施例,处理器81可以包括一个中央处理器(CentralProcessing Unit,CPU)或多个CPU,例如图8中所示的CPU0和CPU1。处理器81也可以是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(Digital SignalProcessor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)。The processor 81 is the control center of the computer equipment, and may be a processor or a general term for multiple processing elements. In a specific implementation, as an embodiment, the processor 81 may include a central processing unit (Central Processing Unit, CPU) or multiple CPUs, such as CPU0 and CPU1 shown in FIG. 8 . The processor 81 may also be a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, for example: one or more microprocessors (Digital SignalProcessor, DSP) ), or, one or more Field Programmable Gate Arrays (FPGA).

其中,以处理器81是一个或多个CPU为例,处理器81可以通过运行或执行存储在存储器82内的软件程序,以及调用存储在存储器82内的数据,执行计算机设备的各种功能。Wherein, taking the processor 81 as one or more CPUs as an example, the processor 81 can execute various functions of the computer device by running or executing software programs stored in the memory 82 and calling data stored in the memory 82 .

在具体实现中,作为一种实施例,计算机设备可以包括多个处理器,例如图8中所示的处理器81和处理器85。这些处理器中的每一个可以是一个单核处理器(single-CPU),也可以是一个多核处理器(multi-CPU)。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the computer device may include multiple processors, such as the processor 81 and the processor 85 shown in FIG. 8 . Each of these processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).

在本申请实施例的一种可实现的方式中,计算机设备可以是管理服务器,处理器81主要用于收集N个用户的用户信息,并根据N个用户信息生成用户列表。In an implementable manner of the embodiment of the present application, the computer device may be a management server, and the processor 81 is mainly configured to collect user information of N users, and generate a user list according to the N user information.

在本申请实施例的另一种可实现的方式中,计算机设备可以是电子节目导航服务器,处理器81主要用于根据机顶盒标识查询用户列表,确定用户列表包括机顶盒标识。In another implementation manner of the embodiment of the present application, the computer device may be an electronic program navigation server, and the processor 81 is mainly configured to query the user list according to the set-top box identifier, and determine that the user list includes the set-top box identifier.

在本申请实施例的另一种可实现的方式中,计算机设备可以是机顶盒,处理器81主要用于根据节目的组播地址请求节目的组播流,在预设时长内未接收到节目的组播流,确定组播业务请求失败。In another achievable manner of the embodiment of the present application, the computer device may be a set-top box, and the processor 81 is mainly used to request the multicast stream of the program according to the multicast address of the program, and the program has not been received within a preset time period. Multicast stream, determine that the multicast service request failed.

在本申请实施例的另一种可实现的方式中,计算机设备可以是调度服务器,处理器81主要用于根据网络状态判断允许机顶盒请求节目的单播流。In another achievable manner of the embodiment of the present application, the computer device may be a scheduling server, and the processor 81 is mainly configured to determine, according to the network state, that the set-top box is allowed to request the unicast stream of the program.

需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional descriptions of the corresponding functional modules, which will not be repeated here.

本申请实施例提供的管理服务器、电子节目导航服务器、机顶盒和调度服务器,用于执行上述方法,因此可以达到与上述方法相同的效果。The management server, electronic program navigation server, set-top box, and scheduling server provided in the embodiments of the present application are used to execute the above method, and thus can achieve the same effect as the above method.

存储器82可以是只读存储器(Read-Only Memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(Random Access Memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(ElectricallyErasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器82可以是独立存在,通过通信总线84与处理器81相连接。存储器82也可以和处理器81集成在一起。The memory 82 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of storage that can store information and instructions The dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disk storage, optical disk storage ( including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being stored by a computer any other medium taken, but not limited to this. The memory 82 may exist independently and be connected to the processor 81 through a communication bus 84 . The memory 82 may also be integrated with the processor 81 .

其中,所述存储器82用于存储执行本申请方案的软件程序,并由处理器81来控制执行。Wherein, the memory 82 is used for storing the software program for executing the solution of the present application, and the execution is controlled by the processor 81 .

通信接口83,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,无线接入网(Radio Access Network,RAN),无线局域网(Wireless Local AreaNetworks,WLAN)等。通信接口83可以包括接收单元实现接收功能,以及发送单元实现发送功能。The communication interface 83, using any device such as a transceiver, is used to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN) and the like. The communication interface 83 may include a receiving unit to implement a receiving function, and a transmitting unit to implement a transmitting function.

通信总线84,可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component Interconnect,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus 84 may be an Industry Standard Architecture (Industry Standard Architecture, ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 8, but it does not mean that there is only one bus or one type of bus.

图8中示出的设备结构并不构成计算机设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The device structure shown in FIG. 8 does not constitute a limitation of the computer device, and may include more or less components than shown, or combine some components, or arrange different components.

在采用集成的单元的情况下,图9示出了上述实施例中所涉及的管理服务器的另一种可能的组成示意图。如图9所示,该管理服务器包括:处理模块91和通信模块92。In the case of using an integrated unit, FIG. 9 shows another possible composition diagram of the management server involved in the above embodiment. As shown in FIG. 9 , the management server includes: a processing module 91 and a communication module 92 .

处理模块91用于对管理服务器的动作进行控制管理,例如,处理模块91用于支持管服务器执行图2中的S201和S202,图3中的S201和S202、和/或用于本文所描述的技术的其它过程。通信模块92用于支持管理服务器与其他网络实体的通信,例如与图1中示出的功能模块或网络实体之间的通信。管理服务器还可以包括存储模块93,用于存储服务器的程序代码和数据。The processing module 91 is used to control and manage the actions of the management server. For example, the processing module 91 is used to support the management server to perform S201 and S202 in FIG. 2 , S201 and S202 in FIG. other processes of technology. The communication module 92 is used to support the communication between the management server and other network entities, such as the communication with the functional modules or network entities shown in FIG. 1 . The management server may further include a storage module 93 for storing program codes and data of the server.

其中,处理模块91可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块92可以是收发器、收发电路或通信接口等。存储模块93可以是存储器。The processing module 91 may be a processor or a controller. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 92 may be a transceiver, a transceiver circuit, a communication interface, or the like. The storage module 93 may be a memory.

当处理模块91为处理器,通信模块92为通信接口,存储模块93为存储器时,本申请实施例所涉及的管理服务器可以为图8所示的计算机设备。When the processing module 91 is a processor, the communication module 92 is a communication interface, and the storage module 93 is a memory, the management server involved in this embodiment of the present application may be the computer device shown in FIG. 8 .

在采用集成的单元的情况下,图10示出了上述实施例中所涉及的电子节目导航服务器的另一种可能的组成示意图。如图10所示,该电子节目导航服务器包括:处理模块1001和通信模块1002。In the case of using an integrated unit, FIG. 10 shows another possible composition diagram of the electronic program guide server involved in the above embodiment. As shown in FIG. 10 , the electronic program guide server includes: a processing module 1001 and a communication module 1002 .

处理模块1001用于对电子节目导航服务器的动作进行控制管理,例如,处理模块1001用于支持管服务器执行图2中的S207和S208,图3中的S207和S208、和/或用于本文所描述的技术的其它过程。通信模块1002用于支持电子节目导航服务器与其他网络实体的通信,例如与图1中示出的功能模块或网络实体之间的通信。电子节目导航服务器还可以包括存储模块1003,用于存储服务器的程序代码和数据。The processing module 1001 is used to control and manage the actions of the electronic program guide server, for example, the processing module 1001 is used to support the management server to perform S207 and S208 in FIG. 2 , S207 and S208 in FIG. Other procedures of the described techniques. The communication module 1002 is used to support the communication between the electronic program guide server and other network entities, for example, the communication with the functional modules or network entities shown in FIG. 1 . The electronic program guide server may further include a storage module 1003 for storing program codes and data of the server.

其中,处理模块1001可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块1002可以是收发器、收发电路或通信接口等。存储模块1003可以是存储器。The processing module 1001 may be a processor or a controller. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 1002 may be a transceiver, a transceiver circuit, a communication interface, or the like. The storage module 1003 may be a memory.

当处理模块1001为处理器,通信模块1002为通信接口,存储模块1003为存储器时,本申请实施例所涉及的电子节目导航服务器可以为图8所示的计算机设备。When the processing module 1001 is a processor, the communication module 1002 is a communication interface, and the storage module 1003 is a memory, the electronic program navigation server involved in this embodiment of the present application may be the computer device shown in FIG. 8 .

在采用集成的单元的情况下,图11示出了上述实施例中所涉及的机顶盒的另一种可能的组成示意图。如图11所示,该机顶盒包括:处理模块1101和通信模块1102。In the case of using an integrated unit, FIG. 11 shows another possible schematic composition diagram of the set-top box involved in the above embodiment. As shown in FIG. 11 , the set-top box includes: a processing module 1101 and a communication module 1102 .

处理模块1101用于对机顶盒的动作进行控制管理,例如,处理模块1101用于支持管服务器执行图2中的S211和S212,图3中的S211、S212和S223、和/或用于本文所描述的技术的其它过程。通信模块1102用于支持机顶盒与其他网络实体的通信,例如与图1中示出的功能模块或网络实体之间的通信。机顶盒还可以包括存储模块1103,用于存储服务器的程序代码和数据。The processing module 1101 is used to control and manage the actions of the set-top box. For example, the processing module 1101 is used to support the management server to perform S211 and S212 in FIG. 2 , S211 , S212 and S223 in FIG. other processes of the technology. The communication module 1102 is used to support the communication between the set-top box and other network entities, such as communication with the functional modules or network entities shown in FIG. 1 . The set-top box may further include a storage module 1103 for storing program codes and data of the server.

其中,处理模块1101可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块1102可以是收发器、收发电路或通信接口等。存储模块1103可以是存储器。The processing module 1101 may be a processor or a controller. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 1102 may be a transceiver, a transceiver circuit, a communication interface, or the like. The storage module 1103 may be a memory.

当处理模块1101为处理器,通信模块1102为通信接口,存储模块1103为存储器时,本申请实施例所涉及的机顶盒可以为图8所示的计算机设备。When the processing module 1101 is a processor, the communication module 1102 is a communication interface, and the storage module 1103 is a memory, the set-top box involved in this embodiment of the present application may be the computer device shown in FIG. 8 .

在采用集成的单元的情况下,图12示出了上述实施例中所涉及的调度服务器的另一种可能的组成示意图。如图12所示,该调度服务器包括:处理模块1201和通信模块1202。In the case of using an integrated unit, FIG. 12 shows another possible schematic composition diagram of the scheduling server involved in the above embodiment. As shown in FIG. 12 , the scheduling server includes: a processing module 1201 and a communication module 1202 .

处理模块1201用于对调度服务器的动作进行控制管理,例如,处理模块1201用于支持管服务器执行图2中的S215,图3中的S215、和/或用于本文所描述的技术的其它过程。通信模块1202用于支持调度服务器与其他网络实体的通信,例如与图1中示出的功能模块或网络实体之间的通信。调度服务器还可以包括存储模块1203,用于存储服务器的程序代码和数据。The processing module 1201 is used to control and manage the actions of the scheduling server, for example, the processing module 1201 is used to support the management server to perform S215 in FIG. 2 , S215 in FIG. 3 , and/or other processes for the techniques described herein . The communication module 1202 is used to support the communication between the scheduling server and other network entities, for example, the communication with the functional modules or network entities shown in FIG. 1 . The scheduling server may further include a storage module 1203 for storing program codes and data of the server.

其中,处理模块1201可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块1202可以是收发器、收发电路或通信接口等。存储模块1203可以是存储器。The processing module 1201 may be a processor or a controller. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 1202 may be a transceiver, a transceiver circuit, a communication interface, or the like. The storage module 1203 may be a memory.

当处理模块1201为处理器,通信模块1202为通信接口,存储模块1203为存储器时,本申请实施例所涉及的调度服务器可以为图8所示的计算机设备。When the processing module 1201 is a processor, the communication module 1202 is a communication interface, and the storage module 1203 is a memory, the scheduling server involved in this embodiment of the present application may be the computer device shown in FIG. 8 .

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。From the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated as required. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be Incorporation may either be integrated into another device, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place, or may be distributed to multiple different places . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, which are stored in a storage medium , including several instructions to make a device (may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this, and any changes or substitutions within the technical scope disclosed in the present application should be covered within the protection scope of the present application. . Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (25)

1. A method for switching IPTV multicast to unicast is applied to a management server, and the method comprises the following steps:
collecting user information of N users, wherein the user information comprises at least one of a set top box identifier, a user account, a user service account, a set top box multicast failure rate, a user home equipment model, a user priority and user networking information, and N represents the number of users for opening an interactive network television IPTV;
screening and generating a user list according to the N pieces of user information, wherein the user list comprises M set top box identifications, and M is greater than or equal to 1 and less than or equal to N;
sending the user list to an electronic program navigation server;
and sending configuration information to the set top box corresponding to each set top box identifier in the M set top box identifiers, wherein the configuration information is used for indicating that the set top box is allowed to request unicast service.
2. A method for switching IPTV multicast to unicast is characterized in that the method is applied to an electronic program navigation server, and comprises the following steps:
receiving a user list sent by a management server, wherein the user list comprises M set top box identifications;
receiving a program information request sent by a set top box, wherein the program information request comprises a set top box identifier and a program identifier,
inquiring the user list according to the set top box identifier;
determining that the user list includes the set top box identification;
sending a program information response to the set top box, wherein the program information response comprises a multicast address of a program corresponding to the program identifier and a unicast address of the program;
the management server collects user information of N users, wherein N represents the number of users for opening the IPTV; the user list comprises M set top box identifications, wherein M is greater than or equal to 1 and less than or equal to N; receiving the user list configured by the management server.
3. A method for switching IPTV multicast to unicast is characterized in that the method is applied to a set top box and comprises the following steps:
sending a program information request to an electronic program navigation server, wherein the program information request comprises a set top box identifier and a program identifier;
receiving a program information response sent by the electronic program navigation server, wherein the program information response comprises a multicast address of a program corresponding to the program identifier and a unicast address of the program;
requesting a multicast stream of the program according to the multicast address of the program;
receiving no multicast stream of the program within a preset time length, and determining that the multicast service request fails;
sending a first unicast service request to a scheduling server, wherein the first unicast service request comprises an address of the scheduling server and a unicast address of the program;
receiving a service redirection message sent by the scheduling server, wherein the service redirection message comprises a unicast server address of a unicast stream of the program requested by the set top box;
sending a second unicast service request to the unicast server, wherein the second unicast service request comprises the unicast server address and the unicast address of the program;
before sending a program information request to an electronic program navigation server, a management server collects user information of N users, wherein N represents the number of the users for opening an interactive network television IPTV; screening and generating a user list according to the N user information, wherein the user list comprises M set top box identifications, and M is greater than or equal to 1 and less than or equal to N; the management server configures the user list to the electronic program navigation server;
after the program information request is sent to the electronic program navigation server, the electronic program navigation server queries the user list according to a set top box identifier included in the program information request, so that the electronic program navigation server only provides a multicast address of the program and a unicast address of the program for the set top box corresponding to the set top box identifier included in the user list, and the set top box requests a multicast stream of the program from the multicast server according to the multicast address of the program or requests a unicast stream of the program from the unicast server according to the unicast address of the program.
4. The method of claim 3, wherein prior to said sending the first unicast traffic request to the scheduling server, the method further comprises:
determining that the set top box is allowed to request the unicast service according to configuration information, wherein the configuration information is used for indicating that the set top box is allowed to request the unicast service;
the configuration information is sent by the management server to a set top box corresponding to each set top box identifier in the M set top box identifiers, and the configuration information is used for indicating that the set top box is allowed to request unicast service.
5. The method of claim 4, wherein before the determining from the configuration information that the set top box is allowed to request unicast service, the method further comprises:
and receiving the configuration information sent by the management server.
6. The method according to any of claims 3-5, wherein if the scheduling server determines that the set top box is not allowed to request the unicast stream of the program according to the network status, the method further comprises:
and receiving a service rejection message sent by the scheduling server, wherein the service rejection message is used for indicating that the set top box is not allowed to request the unicast stream of the program.
7. A method for switching IPTV multicast to unicast is applied to a scheduling server, and comprises the following steps:
receiving a first unicast service request sent by a set top box, wherein the first unicast service request comprises an address of the scheduling server and a unicast address of a program;
determining a unicast stream allowing the set top box to request the program according to a network state, wherein the network state comprises the number of current unicast users and the resource consumption condition of a user access network;
sending a service redirection message to the set top box, wherein the service redirection message comprises a unicast server address of a unicast stream of the program requested by the set top box;
before receiving a first unicast service request sent by a set top box, a management server collects user information of N users, wherein N represents the number of the users for opening an interactive network television IPTV; screening and generating a user list according to the N user information, wherein the user list comprises M set top box identifications, and M is greater than or equal to 1 and less than or equal to N; the management server configures the user list to an electronic program navigation server;
after the electronic program navigation server receives a program information request sent by a set top box, the electronic program navigation server inquires a user list according to a set top box identifier included in the program information request, so that the electronic program navigation server only provides a multicast address of a program and a unicast address of the program for the set top box corresponding to the set top box identifier included in the user list, and the set top box requests a multicast stream of the program from the multicast server according to the multicast address of the program or requests a unicast stream of the program from the unicast server according to the unicast address of the program.
8. The method of claim 7, wherein after determining whether to allow the set top box to request unicast service of the program according to the network status, the method further comprises:
the judgment result is that the set top box is not allowed to request the unicast stream of the program;
and sending a service rejection message to the set top box, wherein the service rejection message is used for indicating that the set top box is not allowed to request the unicast stream of the program.
9. A management server, comprising:
the system comprises a processing unit, a network processing unit and a network management unit, wherein the processing unit is used for collecting user information of N users, the user information comprises at least one of set top box identification, user account numbers, user service account numbers, set top box multicast failure rate, user home equipment models, user priority and user networking information, and N represents the number of users for opening the IPTV;
the processing unit is further configured to filter and generate a user list according to the N user information, where the user list includes M set top box identifiers, and M is greater than or equal to 1 and less than or equal to N;
a sending unit, configured to send the user list to an electronic program navigation server;
the sending unit is further configured to send configuration information to a set top box corresponding to each set top box identifier in the M set top box identifiers, where the configuration information is used to indicate that the set top box is allowed to request a unicast service.
10. An electronic program guide server, comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a user list sent by a management server, and the user list comprises M set top box identifications;
the receiving unit is further configured to receive a program information request sent by the set top box, where the program information request includes a set top box identifier and a program identifier;
the processing unit is used for inquiring the user list according to the set top box identifier;
the processing unit is further configured to determine that the user list includes the set top box identifier;
a sending unit, configured to send a program information response to the set top box, where the program information response includes a multicast address of a program corresponding to the program identifier and a unicast address of the program;
the management server collects user information of N users, wherein N represents the number of users for opening the IPTV; the user list comprises M set top box identifications, wherein M is greater than or equal to 1 and less than or equal to N; the management server configures a user list to the electronic program guide server.
11. A set top box, comprising:
the sending unit is used for sending a program information request to the electronic program navigation server, wherein the program information request comprises a set top box identifier and a program identifier;
a receiving unit, configured to receive a program information response sent by the electronic program navigation server, where the program information response includes a multicast address of a program corresponding to the program identifier and a unicast address of the program;
the processing unit is also used for requesting the multicast stream of the program according to the multicast address of the program;
the processing unit is used for not receiving the multicast stream of the program within a preset time length and determining that the multicast service request fails;
the sending unit is further configured to send a first unicast service request to a scheduling server, where the first unicast service request includes an address of the scheduling server and a unicast address of the program;
the receiving unit is further configured to receive a service redirection message sent by the scheduling server, where the service redirection message includes a unicast server address of a unicast stream of the program requested by the set top box;
the sending unit is further configured to send a second unicast service request to the unicast server, where the second unicast service request includes the unicast server address and the unicast address of the program;
the management server collects user information of N users, wherein N represents the number of the users for opening the IPTV; screening and generating a user list according to the N user information, wherein the user list comprises M set top box identifications, and M is greater than or equal to 1 and less than or equal to N; the management server configures the user list to the electronic program navigation server;
after receiving a program request sent by a set top box, an electronic program navigation server queries a user list according to a set top box identifier included in the program information request, so that the electronic program navigation server only provides a multicast address of the program and a unicast address of the program for the set top box corresponding to the set top box identifier included in the user list, and the set top box requests a multicast stream of the program from a multicast server according to the multicast address of the program or requests a unicast stream of the program from the unicast server according to the unicast address of the program.
12. The set top box of claim 11,
the processing unit is further configured to determine, according to configuration information, that the set top box is allowed to request a unicast service, where the configuration information is used to indicate that the set top box is allowed to request a unicast service;
the configuration information is sent by the management server to a set top box corresponding to each set top box identifier in the M set top box identifiers, and the configuration information is used for indicating that the set top box is allowed to request unicast service.
13. The set top box of claim 12,
the receiving unit is further configured to receive the configuration information sent by the management server.
14. A set-top box according to any one of claims 11 to 13, wherein, after the scheduling server determines, based on the network status, that the set-top box is not allowed to request a unicast stream of the program,
the receiving unit is further configured to receive a service rejection message sent by the scheduling server, where the service rejection message is used to indicate that the set top box is not allowed to request the unicast stream of the program.
15. A dispatch server, comprising:
a receiving unit, configured to receive a first unicast service request sent by a set top box, where the first unicast service request includes an address of the scheduling server and a unicast address of a program;
the processing unit is used for determining a unicast stream allowing the set top box to request the program according to a network state, wherein the network state comprises the number of current unicast users, the resource consumption condition of a user access network, the number of current unicast users and the resource consumption condition of the user access network;
a sending unit, configured to send a service redirection message to the set top box, where the service redirection message includes a unicast server address of a unicast stream of the program requested by the set top box;
the management server collects user information of N users, wherein N represents the number of the users for opening the IPTV; screening and generating a user list according to the N user information, wherein the user list comprises M set top box identifications, and M is greater than or equal to 1 and less than or equal to N; configuring a user list to an electronic program guide server;
after receiving a program information request sent by a set top box, an electronic program navigation server queries the user list according to a set top box identifier included in the program information request, so that the electronic program navigation server only provides a multicast address of a program and a unicast address of the program for the set top box corresponding to the set top box identifier included in the user list, and the set top box requests a multicast stream of the program from the multicast server according to the multicast address of the program or requests a unicast stream of the program from the unicast server according to the unicast address of the program.
16. The scheduling server of claim 15 wherein,
the processing unit is further configured to determine that the set top box is not allowed to request the unicast stream of the program;
the sending unit is further configured to send a service rejection message to the set top box, where the service rejection message is used to indicate that the set top box is not allowed to request the unicast stream of the program.
17. A management server comprising a processor and a memory, the memory for storing instructions, the processor for executing the instructions to cause the management server to perform the method of any of claims 1-2.
18. A computer-readable storage medium comprising instructions that, when executed on a management server, cause the management server to perform the method of claim 1.
19. A management server, wherein the management server is a product comprising a chip, and the chip structure of the management server comprises a processor and a memory, the memory is coupled to the processor and is used for storing program instructions and data of the management server, and the processor is used for executing the program instructions stored in the memory, so that the management server executes the method of claim 1.
20. An electronic program guide server comprising a processor and a memory, the memory storing instructions, the processor being configured to execute the instructions to cause the electronic program guide server to perform the method of claim 2.
21. A computer readable storage medium comprising instructions which, when executed on an electronic program guide server, cause the electronic program guide server to perform the method of claim 2.
22. An electronic program guide server, wherein the electronic program guide server is a product in a form of a chip, and the electronic program guide server comprises a processor and a memory, the memory is coupled to the processor and is configured to store program instructions and data of the electronic program guide server, and the processor is configured to execute the program instructions stored in the memory, so that the electronic program guide server performs the method according to claim 2.
23. A set-top box comprising a processor and a memory, the memory for storing instructions, the processor for executing the instructions to cause the set-top box to perform the method of any of claims 3-6.
24. A computer-readable storage medium comprising instructions which, when executed on a set-top box, cause the set-top box to perform the method of any one of claims 3-6.
25. A dispatch server, comprising a processor and a memory, the memory to store instructions, the processor to execute the instructions to cause the dispatch server to perform the method of any of claims 7-8.
CN201810071725.8A 2018-01-25 2018-01-25 Method and device for switching IPTV multicast to unicast Active CN110087105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810071725.8A CN110087105B (en) 2018-01-25 2018-01-25 Method and device for switching IPTV multicast to unicast

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810071725.8A CN110087105B (en) 2018-01-25 2018-01-25 Method and device for switching IPTV multicast to unicast

Publications (2)

Publication Number Publication Date
CN110087105A CN110087105A (en) 2019-08-02
CN110087105B true CN110087105B (en) 2020-12-25

Family

ID=67411911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810071725.8A Active CN110087105B (en) 2018-01-25 2018-01-25 Method and device for switching IPTV multicast to unicast

Country Status (1)

Country Link
CN (1) CN110087105B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110708293B (en) * 2019-09-11 2021-11-19 中国联合网络通信集团有限公司 Method and device for distributing multimedia service
CN114079612B (en) * 2020-08-03 2024-06-04 阿里巴巴集团控股有限公司 Disaster recovery system and management and control method, device, equipment and medium thereof
CN115643430B (en) * 2022-10-10 2024-07-23 深圳锋芒信息技术有限公司 Playing method, device, equipment and storage medium of self-adaptive playing source

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1606352A (en) * 2003-10-10 2005-04-13 微软公司 Fast channel change
CN101009825A (en) * 2006-01-27 2007-08-01 中国科学院声学研究所 The method for IPTV STB/unicast seamless switching based on RTP protocol
CN101114900A (en) * 2006-07-27 2008-01-30 上海贝尔阿尔卡特股份有限公司 Multicast service authentication method and device, system
CN101325510A (en) * 2007-09-25 2008-12-17 中兴通讯股份有限公司 Control method and apparatus for active dynamic distribution of unicast and multicast resource
CN101374066A (en) * 2007-08-24 2009-02-25 华为技术有限公司 Method, device and system for multicast/unicast service admission control
CN101583020A (en) * 2009-06-11 2009-11-18 中兴通讯股份有限公司 Program broadcasting system and method
CN101662663A (en) * 2009-09-25 2010-03-03 中国电信股份有限公司 Method and system for sending IPTV system messages
CN101924910A (en) * 2009-06-12 2010-12-22 华为技术有限公司 Data sending method and receiving method and device during channel switching
CN104079956A (en) * 2013-03-28 2014-10-01 日电(中国)有限公司 User terminal access control method and access control equipment
CN105119891A (en) * 2015-07-15 2015-12-02 华数传媒网络有限公司 Data interaction method, set top box and server
CN107360448A (en) * 2017-08-11 2017-11-17 中广热点云科技有限公司 A kind of video data unicast multicast switching method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1606352A (en) * 2003-10-10 2005-04-13 微软公司 Fast channel change
CN101009825A (en) * 2006-01-27 2007-08-01 中国科学院声学研究所 The method for IPTV STB/unicast seamless switching based on RTP protocol
CN101114900A (en) * 2006-07-27 2008-01-30 上海贝尔阿尔卡特股份有限公司 Multicast service authentication method and device, system
CN101374066A (en) * 2007-08-24 2009-02-25 华为技术有限公司 Method, device and system for multicast/unicast service admission control
CN101325510A (en) * 2007-09-25 2008-12-17 中兴通讯股份有限公司 Control method and apparatus for active dynamic distribution of unicast and multicast resource
CN101583020A (en) * 2009-06-11 2009-11-18 中兴通讯股份有限公司 Program broadcasting system and method
CN101924910A (en) * 2009-06-12 2010-12-22 华为技术有限公司 Data sending method and receiving method and device during channel switching
CN101662663A (en) * 2009-09-25 2010-03-03 中国电信股份有限公司 Method and system for sending IPTV system messages
CN104079956A (en) * 2013-03-28 2014-10-01 日电(中国)有限公司 User terminal access control method and access control equipment
CN105119891A (en) * 2015-07-15 2015-12-02 华数传媒网络有限公司 Data interaction method, set top box and server
CN107360448A (en) * 2017-08-11 2017-11-17 中广热点云科技有限公司 A kind of video data unicast multicast switching method

Also Published As

Publication number Publication date
CN110087105A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
US6826612B1 (en) Method and apparatus for an improved internet group management protocol
CN109525854B (en) Live broadcast processing method and device
CN106464680A (en) Bandwidth management in a content distribution network
CN101005434A (en) Polymerizing method for two layer multicast virtual local area network and its convergent exchanger
CN110475090B (en) Conference control method and system
CN109672857B (en) Information processing method and device for monitoring resources
CN110191315B (en) Monitoring and checking method and device based on video network
CN110087105B (en) Method and device for switching IPTV multicast to unicast
CN108668178A (en) Method for implementing multicast and related network equipment
US9621363B2 (en) Method, system, and apparatus for implementing multicast on shared network
CN112511787B (en) Conference implementation method, device, equipment and readable storage medium
CN102227893B (en) Method and system for establishing a digital media stream
CN110049280B (en) Method and device for processing monitoring data
CN109451001B (en) Communication method and system
CN116112696A (en) Live broadcast method, system, BIER controller, router, device and readable medium
US20170187763A1 (en) Streaming service system, streaming service method and controller thereof
CN109787870B (en) Access management method, device, system, initial and target access equipment
CN111669536B (en) Number management method and device based on video networking, electronic equipment and storage medium
CN1921402B (en) Method and system for processing multicast services
US20120124182A1 (en) Method, a terminal, an access node and a media server for providing resource admission control of digital media streams
CN1859272A (en) Group broadcast program repeating processing method and connecting device for multicast repeat
CN109600567B (en) Video conference processing method and system
JP2017175257A (en) Communication channel control device, communication channel control method, and communication channel control program
CN111225241A (en) Communication method and device
CN113114974B (en) Method, device, electronic equipment and storage medium for monitoring video conference

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