Movatterモバイル変換


[0]ホーム

URL:


CN117319689A - Service resource distribution method and video service system for non-contracted content providers - Google Patents

Service resource distribution method and video service system for non-contracted content providers
Download PDF

Info

Publication number
CN117319689A
CN117319689ACN202210712657.5ACN202210712657ACN117319689ACN 117319689 ACN117319689 ACN 117319689ACN 202210712657 ACN202210712657 ACN 202210712657ACN 117319689 ACN117319689 ACN 117319689A
Authority
CN
China
Prior art keywords
multicast
service
terminal
information
management platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210712657.5A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE CorpfiledCriticalZTE Corp
Priority to CN202210712657.5ApriorityCriticalpatent/CN117319689A/en
Priority to PCT/CN2023/100238prioritypatent/WO2023246599A1/en
Publication of CN117319689ApublicationCriticalpatent/CN117319689A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种非签约内容提供商的服务资源分发方法和视频服务系统,视频服务系统包括部署于服务层的组播业务管理平台和组播服务器以及部署于终端的组播代理,方法包括:响应于来自终端的服务请求,CDN服务节点提供单播服务;组播业务管理平台通过DPI设备劫持服务请求,并根据预设过滤策略对服务请求进行业务分析,得到服务信息;当服务信息满足预设切换条件,组播业务管理平台发送组播切换信息至组播服务器,以使组播服务器创建组播频道;组播业务管理平台获取组播频道信息并发送组播切换指令和组播频道信息至终端,以使终端启动组播代理;组播代理加入组播频道的组播组。能够降低流量潮汐冲击效应,为不同用户提供差异化的业务服务。

The invention discloses a service resource distribution method and a video service system for non-contracted content providers. The video service system includes a multicast service management platform and a multicast server deployed at the service layer and a multicast agent deployed at the terminal. The method includes : In response to the service request from the terminal, the CDN service node provides unicast service; the multicast service management platform hijacks the service request through the DPI device, and performs business analysis on the service request according to the preset filtering policy to obtain service information; when the service information satisfies Preset switching conditions, the multicast service management platform sends multicast switching information to the multicast server, so that the multicast server creates a multicast channel; the multicast service management platform obtains the multicast channel information and sends the multicast switching instruction and multicast channel Information is sent to the terminal so that the terminal starts the multicast agent; the multicast agent joins the multicast group of the multicast channel. It can reduce the impact effect of traffic tides and provide differentiated business services for different users.

Description

Translated fromChinese
非签约内容提供商的服务资源分发方法和视频服务系统Service resource distribution method and video service system for non-contracted content providers

技术领域Technical field

本发明涉及通信技术领域,尤其涉及一种非签约内容提供商的服务资源分发方法和视频服务系统。The present invention relates to the field of communication technology, and in particular to a service resource distribution method and video service system of a non-contracted content provider.

背景技术Background technique

随着互联网和智能移动设备的迅速发展,OTT(Over The Top)技术在运营商市场得到了迅速而广泛的应用。目前,在运营商市场上,OTT技术面临着重要的问题:大量的用户使用OTT直播服务,但是都采用单播提供服务,消耗了大量的CDN(Content DeliveryNetwork内容分发网络)资源和网络带宽,引起潮汐现象,严重影响运营商的日常运营及成本。With the rapid development of the Internet and smart mobile devices, OTT (Over The Top) technology has been rapidly and widely used in the operator market. Currently, in the operator market, OTT technology is facing important problems: a large number of users use OTT live broadcast services, but they all use unicast to provide services, which consumes a large amount of CDN (Content Delivery Network) resources and network bandwidth, causing Tidal phenomena seriously affect operators' daily operations and costs.

发明内容Contents of the invention

本发明的目的在于至少解决现有技术中存在的技术问题之一,提供一种非签约内容提供商的服务资源分发方法和视频服务系统,能够降低运营商的流量潮汐冲击效应,减少运维成本,为不同用户提供差异化的业务服务。The purpose of the present invention is to solve at least one of the technical problems existing in the prior art and provide a service resource distribution method and video service system for non-contracted content providers, which can reduce the operator's traffic tidal impact effect and reduce operation and maintenance costs. , providing differentiated business services for different users.

第一方面,本发明实施例提供一种非签约内容提供商的服务资源分发方法,应用于视频服务系统,所述视频服务系统包括部署于服务层的组播业务管理平台和组播服务器以及部署于终端的组播代理,所述方法包括:In a first aspect, embodiments of the present invention provide a service resource distribution method for non-contracted content providers, which is applied to a video service system. The video service system includes a multicast service management platform and a multicast server deployed at the service layer. For the multicast agent of the terminal, the method includes:

响应于来自终端的服务请求,CDN服务节点提供单播服务;In response to service requests from terminals, CDN service nodes provide unicast services;

所述组播业务管理平台通过DPI(Deep Packet Inspection,深度报文检测)设备劫持所述服务请求,并根据预设过滤策略对所述服务请求进行业务分析,得到服务信息;The multicast service management platform hijacks the service request through DPI (Deep Packet Inspection) equipment, and performs business analysis on the service request according to the preset filtering policy to obtain service information;

当所述服务信息满足预设切换条件,所述组播业务管理平台发送组播切换信息至所述组播服务器,以使所述组播服务器创建组播频道;When the service information meets the preset switching conditions, the multicast service management platform sends multicast switching information to the multicast server, so that the multicast server creates a multicast channel;

所述组播业务管理平台从所述组播服务器获取组播频道信息并发送组播切换指令和所述组播频道信息至所述终端,以使所述终端启动所述组播代理;The multicast service management platform obtains multicast channel information from the multicast server and sends a multicast switching instruction and the multicast channel information to the terminal, so that the terminal starts the multicast agent;

所述组播代理加入所述组播频道的组播组。The multicast agent joins the multicast group of the multicast channel.

第二方面,本发明实施例提供一种视频服务系统,包括部署于服务层的组播业务管理平台和组播服务器以及部署于终端的组播代理,其中:In a second aspect, embodiments of the present invention provide a video service system, including a multicast service management platform and a multicast server deployed at the service layer, and a multicast agent deployed at the terminal, wherein:

所述组播业务管理平台用于:通过DPI设备劫持终端发送给调度中心的服务请求,并根据预设过滤策略对所述CDN服务节点向终端提供的单播服务进行业务分析,得到服务信息;当所述服务信息满足预设切换条件,发送组播切换信息至所述组播服务器,以使所述组播服务器创建组播频道;从所述组播服务器获取组播频道信息并发送组播切换指令和所述组播频道信息至所述终端,以使所述终端启动所述组播代理;The multicast service management platform is used to: hijack the service request sent by the terminal to the dispatch center through the DPI device, and conduct business analysis on the unicast service provided by the CDN service node to the terminal according to the preset filtering policy to obtain service information; When the service information meets the preset switching conditions, multicast switching information is sent to the multicast server so that the multicast server creates a multicast channel; multicast channel information is obtained from the multicast server and multicast Switch the instruction and the multicast channel information to the terminal, so that the terminal starts the multicast agent;

所述组播服务器用于创建组播频道并发送组播频道信息至所述组播业务管理平台;The multicast server is used to create a multicast channel and send multicast channel information to the multicast service management platform;

所述组播代理用于向所述组播业务管理平台进行认证注册,在注册成功后加入所述组播频道的组播组与所述组播业务管理平台间通过心跳消息保持热活处理。The multicast agent is used to authenticate and register with the multicast service management platform. After successful registration, the multicast group that joins the multicast channel and the multicast service management platform are kept hot-active through heartbeat messages.

第三方面,本发明实施例提供一种视频服务方法,应用于视频服务系统中的组播业务管理平台,所述方法包括:In a third aspect, embodiments of the present invention provide a video service method applied to a multicast service management platform in a video service system. The method includes:

通过DPI设备劫持终端发送给调度中心的服务请求,并根据预设过滤策略对所述服务请求进行业务分析,得到服务信息;Hijack the service request sent by the terminal to the dispatch center through the DPI device, and conduct business analysis on the service request according to the preset filtering policy to obtain service information;

当所述服务信息满足预设切换条件,发送组播切换信息至组播服务器,以使所述组播服务器创建组播频道;When the service information meets the preset switching conditions, send the multicast switching information to the multicast server so that the multicast server creates a multicast channel;

从所述组播服务器获取组播频道信息并发送组播切换指令和所述组播频道信息至所述终端,以使所述终端启动组播代理。Obtain multicast channel information from the multicast server and send a multicast switching instruction and the multicast channel information to the terminal, so that the terminal starts the multicast agent.

第四方面,本发明实施例提供一种计算可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行如上第三方面实施例所述的视频服务方法。In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium that stores computer-executable instructions, and the computer-executable instructions are used to cause a computer to execute as described in the third embodiment. video service method.

本发明实施例包括非签约内容提供商的服务资源分发方法、视频服务系统、视频服务方法和计算可读存储介质。根据本发明实施例提供的方案,通过对终端的服务请求进行业务分析,并根据得到服务信息判断是否预设切换条件,若是满足则由组播服务器创建组播频道,并通知终端启动组播代理,组播代理加入组播频道的组播组,提供集中式组播能力,能够降低运营商的流量潮汐冲击效应,减少运维成本,为不同用户提供差异化的业务服务,还可以节省大流量用户的运营成本,提升用户的满意度。Embodiments of the present invention include a service resource distribution method, a video service system, a video service method and a computer-readable storage medium of a non-contracted content provider. According to the solution provided by the embodiment of the present invention, the service request of the terminal is analyzed, and whether the switching condition is preset is determined based on the obtained service information. If it is met, the multicast server creates a multicast channel and notifies the terminal to start the multicast agent. , the multicast agent joins the multicast group of the multicast channel to provide centralized multicast capabilities, which can reduce the operator's traffic tidal impact effect, reduce operation and maintenance costs, provide differentiated business services for different users, and can also save large traffic operating costs for users and improve user satisfaction.

附图说明Description of drawings

图1是本发明实施例提供的一种视频服务系统的架构框图;Figure 1 is an architectural block diagram of a video service system provided by an embodiment of the present invention;

图2是本发明实施例一提供的一种非签约内容提供商的服务资源分发方法的流程图;Figure 2 is a flow chart of a service resource distribution method for a non-contracted content provider provided by Embodiment 1 of the present invention;

图3是本发明实施例二提供的一种非签约内容提供商的服务资源分发方法的流程图;Figure 3 is a flow chart of a service resource distribution method for a non-contracted content provider provided in Embodiment 2 of the present invention;

图4是本发明实施例三提供的一种非签约内容提供商的服务资源分发方法的流程图;Figure 4 is a flow chart of a service resource distribution method for a non-contracted content provider provided in Embodiment 3 of the present invention;

图5是本发明实施例四提供的一种非签约内容提供商的服务资源分发方法的流程图;Figure 5 is a flow chart of a service resource distribution method for a non-contracted content provider provided in Embodiment 4 of the present invention;

图6是本发明实施例五提供的一种非签约内容提供商的服务资源分发方法的流程图;Figure 6 is a flow chart of a service resource distribution method for a non-contracted content provider provided in Embodiment 5 of the present invention;

图7是本发明实施例六提供的一种非签约内容提供商的服务资源分发方法的流程图;Figure 7 is a flow chart of a service resource distribution method for a non-contracted content provider provided in Embodiment 6 of the present invention;

图8是本发明实施例提供的非签约CP直播业务单组播切换的流程图;Figure 8 is a flow chart of single-multicast switching of non-contracted CP live broadcast services provided by an embodiment of the present invention;

图9是本发明实施例提供的非签约CP的组播分发流程图;Figure 9 is a flow chart of multicast distribution of non-subscription CP provided by an embodiment of the present invention;

图10是本发明实施例提供的一种视频服务方法的流程图;Figure 10 is a flow chart of a video service method provided by an embodiment of the present invention;

图11是本发明另一实施例提供的一种视频服务方法的流程图;Figure 11 is a flow chart of a video service method provided by another embodiment of the present invention;

图12是本发明又一实施例提供的一种视频服务方法的流程图。Figure 12 is a flow chart of a video service method provided by yet another embodiment of the present invention.

具体实施方式Detailed ways

本部分将详细描述本发明的具体实施例,本发明之较佳实施例在附图中示出,附图的作用在于用图形补充说明书文字部分的描述,使人能够直观地、形象地理解本发明的每个技术特征和整体技术方案,但其不能理解为对本发明保护范围的限制。This section will describe the specific embodiments of the present invention in detail. The preferred embodiments of the present invention are shown in the accompanying drawings. The function of the accompanying drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and vividly understand the present invention. Each technical feature and overall technical solution of the invention shall not be construed as limiting the scope of protection of the invention.

在本发明的描述中,如果有描述到第一、第二只是用于区分技术特征为目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量或者隐含指明所指示的技术特征的先后关系。In the description of the present invention, if the first and second words are described, they are only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number or implicit indication of the indicated technical features. The sequence relationship of the indicated technical features.

本发明的描述中,除非另有明确的限定,设置、安装、连接等词语应做广义理解,所属技术领域技术人员可以结合技术方案的具体内容合理确定上述词语在本发明中的具体含义。In the description of the present invention, unless otherwise explicitly limited, words such as setting, installation, and connection should be understood in a broad sense. Those skilled in the art can reasonably determine the specific meaning of the above words in the present invention in combination with the specific content of the technical solution.

在IPTV(Internet Protocol Television or Interactive Personal TV)系统中,IPTV直播组播节省了大量的CDN资源和带宽,而OTT直播业务中,目前都以单播形式提供服务。因此,运营商希望将OTT直播与新型组播技术相结合,提供OTT组播能力,以应对OTT直播高并发,大流量的要求,特别是用来应对各种实时直播、网红直播的流量潮汐是非常有效的OTT业务相对于传统IPTV业务来说,有一个不同的特点:OTT内容提供商除了传统的CP(Content Provider内容提供商)外,还存在大量的互联网CP,这些互联网CP对于运营商来说,基本都是非签约的内容提供商用户,他们需要的是运营商的内容分发通道,能随时给最终观众提供服务。对于非签约用户,运营商无法按传统视频业务方式,预先给此类用户分配服务资源及配置调度策略。In IPTV (Internet Protocol Television or Interactive Personal TV) systems, IPTV live broadcast multicast saves a lot of CDN resources and bandwidth, while in OTT live broadcast services, services are currently provided in the form of unicast. Therefore, operators hope to combine OTT live broadcast with new multicast technology to provide OTT multicast capabilities to cope with the high concurrency and large traffic requirements of OTT live broadcast, especially to cope with the traffic tide of various real-time live broadcasts and Internet celebrity live broadcasts. It is a very effective OTT service. Compared with the traditional IPTV service, it has a different characteristic: in addition to the traditional CP (Content Provider content provider), OTT content providers also have a large number of Internet CPs. These Internet CPs are very important to operators. Generally speaking, they are basically non-contracted content provider users. What they need is the operator's content distribution channel, which can provide services to the final audience at any time. For non-subscriber users, operators cannot pre-allocate service resources and configure scheduling strategies to such users according to traditional video service methods.

本发明实施例提供一种非签约内容提供商的服务资源分发方法和视频服务系统,能够降低运营商的流量潮汐冲击效应,减少运维成本,为不同用户提供差异化的业务服务。Embodiments of the present invention provide a service resource distribution method and a video service system for non-contracted content providers, which can reduce the traffic tidal impact effect of operators, reduce operation and maintenance costs, and provide differentiated business services for different users.

下面结合附图,对本发明实施例作进一步阐述。The embodiments of the present invention will be further described below with reference to the accompanying drawings.

参照图1,图1是本发明实施例提供的视频服务系统的架构框图。视频服务系统主要包括部署于服务层的组播业务系统、部署于网络层的BIER网络系统以及部署于终端的组播代理,组播业务系统包括DPI设备、组播业务管理平台和组播服务器,全网在系统侧部署一套,对组播业务进行集中管理;Bier网络系统包括BFIR(Bit-Forward Ingress Router,入口路由器)、BFER(Bit-Forward Egress Router,出口路由器)和BIER控制器,其中:Referring to Figure 1, Figure 1 is an architectural block diagram of a video service system provided by an embodiment of the present invention. The video service system mainly includes the multicast service system deployed at the service layer, the BIER network system deployed at the network layer, and the multicast agent deployed at the terminal. The multicast service system includes DPI equipment, multicast service management platform and multicast server. The entire network deploys one set on the system side to centrally manage multicast services; the Bier network system includes BFIR (Bit-Forward Ingress Router, ingress router), BFER (Bit-Forward Egress Router, egress router) and BIER controller. :

组播业务管理平台:主要功能包括配置和管理单播切换组的预设切换条件;管理组播代理,包括登录、心跳等;维护组播频道列表;给组播服务器和组播代理发送组播切换指令;与BIER控制器交互,以管理组播频道、BFER、BFIR对应关系等;Multicast service management platform: main functions include configuring and managing preset switching conditions of unicast switching groups; managing multicast agents, including login, heartbeat, etc.; maintaining multicast channel lists; sending multicasts to multicast servers and multicast agents Switching instructions; interact with the BIER controller to manage multicast channels, BFER, BFIR correspondence, etc.;

组播服务器:获取组播频道信息,创建组播物理频道;单播转组播并传输组播媒体数据;支持组播代理的单播重传等;Multicast server: obtains multicast channel information, creates multicast physical channels; unicast to multicast and transmits multicast media data; supports unicast retransmission of multicast agents, etc.;

Bier网络系统:基于原BIER网络基础上增加BIER控制器,负责与组播业务系统通信连接,以同步BIER设备的信息;其中,Bier network system: Based on the original BIER network, a BIER controller is added, which is responsible for communicating with the multicast service system to synchronize the information of the BIER equipment; among them,

终端:部署有组播代理,从组播服务器获组播频道描述信息,解析相应的组播信息;支持终端加入组播组;从BFER接收组播数据包;支持组播转单播;支持单播重传请求等。Terminal: Deployed with a multicast agent, it obtains multicast channel description information from the multicast server and parses the corresponding multicast information; supports the terminal to join the multicast group; receives multicast data packets from BFER; supports multicast to unicast; supports unicast Play retransmission requests, etc.

参照图2,本发明的一个实施例提供一种非签约内容提供商的服务资源分发方法,应用于如图1所示的视频服务系统,所述服务资源分发方法可以包括但不限于步骤S210至步骤S250,其中:Referring to Figure 2, one embodiment of the present invention provides a service resource distribution method for a non-contracted content provider, which is applied to the video service system shown in Figure 1. The service resource distribution method may include but is not limited to steps S210 to Step S250, wherein:

步骤S210:响应于来自终端的服务请求,CDN服务节点提供单播服务;Step S210: In response to the service request from the terminal, the CDN service node provides unicast service;

步骤S220:所述组播业务管理平台通过DPI设备劫持所述服务请求,并根据预设过滤策略对所述服务请求进行业务分析,得到服务信息;Step S220: The multicast service management platform hijacks the service request through the DPI device, and performs business analysis on the service request according to the preset filtering policy to obtain service information;

步骤S230:当所述服务信息满足预设切换条件,所述组播业务管理平台发送组播切换信息至所述组播服务器,以使所述组播服务器创建组播频道;Step S230: When the service information meets the preset switching conditions, the multicast service management platform sends multicast switching information to the multicast server, so that the multicast server creates a multicast channel;

步骤S240:所述组播业务管理平台从所述组播服务器获取组播频道信息并发送组播切换指令和所述组播频道信息至所述终端,以使所述终端启动所述组播代理;Step S240: The multicast service management platform obtains multicast channel information from the multicast server and sends a multicast switching instruction and the multicast channel information to the terminal, so that the terminal starts the multicast agent. ;

步骤S250:所述组播代理加入所述组播频道的组播组。Step S250: The multicast agent joins the multicast group of the multicast channel.

通过对终端的服务请求进行业务分析,并根据得到服务信息判断是否预设切换条件,若是满足则由组播服务器创建组播频道,并通知终端启动组播代理,组播代理加入组播频道的组播组,提供集中式组播能力,能够降低运营商的流量潮汐冲击效应,减少运维成本,为不同用户提供差异化的业务服务,还可以节省大流量用户的运营成本,提升用户的满意度。By conducting business analysis on the terminal's service request, and judging whether to preset switching conditions based on the service information obtained, if the conditions are met, the multicast server will create a multicast channel and notify the terminal to start the multicast agent, and the multicast agent will join the multicast channel. Multicast groups provide centralized multicast capabilities, which can reduce the operator's traffic tidal impact effect, reduce operation and maintenance costs, provide differentiated business services for different users, and can also save the operating costs of high-traffic users and improve user satisfaction. Spend.

参照图3,在上述的服务资源分发方法中,步骤S210中的所述响应于来自终端的服务请求,CDN服务节点提供单播服务,可以包括但不限于步骤S310至步骤S320:Referring to Figure 3, in the above service resource distribution method, in step S210, in response to the service request from the terminal, the CDN service node provides unicast service, which may include but is not limited to steps S310 to step S320:

步骤S310:调度中心获取来自终端的服务请求,并根据负载均衡调度策略将所述服务请求调度到CDN服务节点;Step S310: The dispatch center obtains the service request from the terminal and dispatches the service request to the CDN service node according to the load balancing scheduling policy;

步骤S320:所述CDN服务节点提供单播服务。Step S320: The CDN service node provides unicast service.

可以理解的是,在满足预设切换条件之前,视频服务系统还是采用单播的方式来提供服务,避免组播资源的浪费。It is understandable that before the preset switching conditions are met, the video service system still uses unicast to provide services to avoid wasting multicast resources.

在上述的服务资源分发方法中,还包括:当所述终端启动所述组播代理,所述组播代理向所述组播业务管理平台进行认证注册。In the above service resource distribution method, the method further includes: when the terminal starts the multicast agent, the multicast agent performs authentication and registration with the multicast service management platform.

需要说明的是,组播代理向组播业务管理平台进行认证注册,以保证组播代理的合法性,注册成功后,组播代理再加入组播频道的组播组。It should be noted that the multicast agent performs authentication and registration with the multicast service management platform to ensure the legitimacy of the multicast agent. After successful registration, the multicast agent joins the multicast group of the multicast channel.

在上述的服务资源分发方法中,所述组播代理加入所述组播频道的组播组后,所述组播代理与所述组播业务管理平台间通过心跳消息保持热活处理。In the above service resource distribution method, after the multicast agent joins the multicast group of the multicast channel, the hot-active processing between the multicast agent and the multicast service management platform is maintained through heartbeat messages.

参照图4,在上述的服务资源分发方法中,还可以包括步骤S410至步骤S430:Referring to Figure 4, the above service resource distribution method may also include steps S410 to S430:

步骤S410:所述组播业务管理平台获取所述组播代理上报的终端的BFER信息并同步至所述BIER控制器;Step S410: The multicast service management platform obtains the BFER information of the terminal reported by the multicast agent and synchronizes it to the BIER controller;

步骤S420:所述BIER控制器根据所述BFER信息更新BIER网络的分发链路,并分配BFIR入口地址至所述组播业务管理平台;Step S420: The BIER controller updates the distribution link of the BIER network according to the BFER information, and allocates the BFIR entrance address to the multicast service management platform;

步骤S430:所述组播业务管理平台根据所述BFIR入口地址更新所述组播频道、BFIR、BFER的映射关系。Step S430: The multicast service management platform updates the mapping relationship between the multicast channel, BFIR, and BFER according to the BFIR entry address.

可以理解的是,组播代理加入组播组后,会将终端的BFER信息上报给组播业务管理平台,组播业务管理平台给BIER控制器同步该BFER信息,告诉BIER控制器有新的终端用户需要加入BIER网络的分发链路中,从而更新BIER网络的分发链路以及更新组播频道、BFIR、BFER的映射关系,使得新加入BIER网络的终端用户能够正常获取到组播媒体流。It can be understood that after the multicast agent joins the multicast group, it will report the BFER information of the terminal to the multicast service management platform. The multicast service management platform will synchronize the BFER information to the BIER controller and tell the BIER controller that there is a new terminal. Users need to join the distribution link of the BIER network to update the distribution link of the BIER network and update the mapping relationship between multicast channels, BFIR, and BFER, so that terminal users who newly join the BIER network can obtain multicast media streams normally.

参照图5,在上述的服务资源分发方法中,步骤S420中的所述BIER控制器根据所述BFER信息更新BIER网络的分发链路,可以包括但不限于步骤S510至步骤S520:Referring to Figure 5, in the above service resource distribution method, the BIER controller in step S420 updates the distribution link of the BIER network according to the BFER information, which may include but is not limited to steps S510 to step S520:

步骤S510:所述BIER控制器将所述BFER信息同步至对应的BFIR;Step S510: The BIER controller synchronizes the BFER information to the corresponding BFIR;

步骤S520:所述BFIR更新分发BitString串,并泛洪给BIER网络的全网节点,更新分发链路。Step S520: The BFIR updates and distributes the BitString string, floods it to all network nodes of the BIER network, and updates the distribution link.

参照图6,在上述的服务资源分发方法中,还可以包括步骤S610至步骤S640:Referring to Figure 6, the above service resource distribution method may also include steps S610 to S640:

步骤S610:所述组播业务管理平台将所述映射关系同步至所述组播服务器;Step S610: The multicast service management platform synchronizes the mapping relationship to the multicast server;

步骤S620:所述组播服务器从所述CDN服务节点获取单播媒体流,将所述单播媒体流转成组播媒体流,将所述组播媒体流发送给对应的BFIR以及通过所述组播业务管理平台发送组播服务启动通知至所述组播代理;Step S620: The multicast server obtains the unicast media stream from the CDN service node, converts the unicast media stream into a multicast media stream, sends the multicast media stream to the corresponding BFIR and through the group The broadcast service management platform sends a multicast service activation notification to the multicast agent;

步骤S630:所述BFIR根据所述分发链路将所述组播媒体流在所述BIER网络中分发到对应的BFER;Step S630: The BFIR distributes the multicast media stream to the corresponding BFER in the BIER network according to the distribution link;

步骤S640:所述组播代理接收到所述组播服务启动通知后,从所述BFER获取所述组播媒体流。Step S640: After receiving the multicast service startup notification, the multicast agent obtains the multicast media stream from the BFER.

参照图7,在上述的服务资源分发方法中,还可以包括步骤S710至步骤S720:Referring to Figure 7, the above service resource distribution method may also include steps S710 to S720:

步骤S710:所述组播代理将所述组播媒体流的帧与单播媒体流的帧进行同步处理;Step S710: The multicast agent synchronizes the frames of the multicast media stream and the frames of the unicast media stream;

步骤S720:当所述组播媒体流的帧与所述单播媒体流的帧完全同步,所述组播代理发送停止单播通知至终端,以使所述终端停止从所述CDN服务节点获取单播媒体流。Step S720: When the frames of the multicast media stream are completely synchronized with the frames of the unicast media stream, the multicast agent sends a stop unicast notification to the terminal so that the terminal stops obtaining data from the CDN service node. Unicast media streaming.

在上述的服务资源分发方法中,还可以包括:The above service resource distribution method may also include:

所述组播代理响应于所述终端的组播服务请求,将所述组播媒体流转成单播媒体流并发送给所述终端进行解码播放。In response to the multicast service request of the terminal, the multicast agent converts the multicast media stream into a unicast media stream and sends it to the terminal for decoding and playback.

在上述的服务资源分发方法中,所述组播服务器从所述CDN服务节点获取单播媒体流,包括以下两种方式之一:In the above service resource distribution method, the multicast server obtains the unicast media stream from the CDN service node, including one of the following two methods:

所述组播服务器到所述CDN服务节点进行单播媒体流的拉流;The multicast server pulls the unicast media stream to the CDN service node;

所述CDN服务节点向所述组播服务器进行单播媒体流的推流。The CDN service node pushes the unicast media stream to the multicast server.

在上述的服务资源分发方法中,所述服务信息包括用户量、带宽占用量、带宽变化趋势中的至少之一;所述预设切换条件相应包括以下至少之一:In the above service resource distribution method, the service information includes at least one of the number of users, bandwidth occupancy, and bandwidth change trend; the preset switching condition correspondingly includes at least one of the following:

所述用户量大于第一预设值;The number of users is greater than the first preset value;

所述带宽占用量大于第二预设值;The bandwidth occupancy is greater than the second preset value;

所述带宽占用率在预设时长内持续上升。The bandwidth occupancy rate continues to increase within a preset time period.

可以理解的是,当用户量大于第一预设值,也即具有一定数量的终端通过单播的方式获得服务,消耗了大量的CDN资源的网络带宽,容易引起潮汐现象,严重影响运营商的日常运行及成本;同理,当带宽占用量大于第二预设值,也容易引起潮汐现象,因此需要从单播服务切换成组播服务,降低运营商的流量潮汐冲击效应,减少运维成本,为不同用户提供差异化的业务服务;同理,带宽占用率在预设时长内持续上升,说明可能已经引起潮汐现象,因此需要从单播服务切换成组播服务,降低运营商的流量潮汐冲击效应。It can be understood that when the number of users is greater than the first preset value, that is, a certain number of terminals obtain services through unicast, a large amount of network bandwidth of CDN resources is consumed, which is likely to cause a tidal phenomenon and seriously affect the operator's performance. Daily operation and cost; similarly, when the bandwidth usage is greater than the second preset value, it is easy to cause a tidal phenomenon, so it is necessary to switch from unicast service to multicast service to reduce the operator's traffic tidal impact effect and reduce operation and maintenance costs. , to provide differentiated business services for different users; similarly, the bandwidth occupancy continues to rise within the preset time period, indicating that a tidal phenomenon may have been caused, so it is necessary to switch from unicast service to multicast service to reduce the operator's traffic tide shock effect.

另外,本发明实施例还提供一种视频服务系统,包括部署于服务层的组播业务管理平台和组播服务器以及部署于终端的组播代理,其中:In addition, embodiments of the present invention also provide a video service system, including a multicast service management platform and a multicast server deployed at the service layer, and a multicast agent deployed at the terminal, wherein:

所述组播业务管理平台用于:通过DPI设备劫持终端发送给调度中心的服务请求,并根据预设过滤策略对所述CDN服务节点向终端提供的单播服务进行业务分析,得到服务信息;当所述服务信息满足预设切换条件,发送组播切换信息至所述组播服务器,以使所述组播服务器创建组播频道;从所述组播服务器获取组播频道信息并发送组播切换指令和所述组播频道信息至所述终端,以使所述终端启动所述组播代理;The multicast service management platform is used to: hijack the service request sent by the terminal to the dispatch center through the DPI device, and conduct business analysis on the unicast service provided by the CDN service node to the terminal according to the preset filtering policy to obtain service information; When the service information meets the preset switching conditions, multicast switching information is sent to the multicast server so that the multicast server creates a multicast channel; multicast channel information is obtained from the multicast server and multicast Switch the instruction and the multicast channel information to the terminal, so that the terminal starts the multicast agent;

所述组播服务器用于创建组播频道并发送组播频道信息至所述组播业务管理平台;The multicast server is used to create a multicast channel and send multicast channel information to the multicast service management platform;

所述组播代理用于向所述组播业务管理平台进行认证注册,在注册成功后加入所述组播频道的组播组与所述组播业务管理平台间通过心跳消息保持热活处理。The multicast agent is used to authenticate and register with the multicast service management platform. After successful registration, the multicast group that joins the multicast channel and the multicast service management platform are kept hot-active through heartbeat messages.

可以理解的是,本发明实施例提供的视频服务系统中的各个组件的其他功能和作用,可以参照上述图1至图7提供的各个实施例,本发明实施例提供的视频服务系统与上述实施例提供的服务资源分发方法属于相同的发明沟通,因此视频服务系统中的各个组件的其他功能和作用此处不再赘述。It can be understood that for other functions and functions of each component in the video service system provided by the embodiment of the present invention, reference can be made to the various embodiments provided in FIGS. 1 to 7 above. The video service system provided by the embodiment of the present invention is consistent with the above implementation. The service resource distribution method provided in the example belongs to the same invention, so the other functions and functions of each component in the video service system will not be described again here.

下面,结合图8和图9,对本发明的服务资源分发方法进行具体的解释说明。Next, the service resource distribution method of the present invention will be explained in detail with reference to FIG. 8 and FIG. 9 .

参照图8,图8是本发明实施例提供的非签约CP直播业务单组播切换的流程图,具体包括以下步骤:Referring to Figure 8, Figure 8 is a flow chart of single-multicast switching of non-contracted CP live broadcast services provided by an embodiment of the present invention, which specifically includes the following steps:

S800:在组播业务管理平台上统一配置单播与组播的切换策略;可以理解的是,切换策略具体包括预设切换条件,预设切换条件可以是用户量大于第一预设值和/或带宽占用量大于第二预设值;S800: Configure unicast and multicast switching strategies uniformly on the multicast service management platform; it can be understood that the switching strategy specifically includes preset switching conditions, and the preset switching conditions may be that the number of users is greater than the first preset value and/or Or the bandwidth usage is greater than the second preset value;

S801:用户在终端登录认证成功后,发起服务请求,例如发起直播观看请求;S801: After the user successfully logs in to the terminal and authenticates, the user initiates a service request, such as a live broadcast viewing request;

S802:终端的服务请求发送给调度中心,如GSLB(Global Server Load Balance,全局业务负载均衡);S802: The terminal's service request is sent to the dispatch center, such as GSLB (Global Server Load Balance, global service load balancing);

S803:调度中心根据负载均衡调度策略将服务请求调度到CDN服务节点;S803: The dispatch center dispatches the service request to the CDN service node according to the load balancing dispatch policy;

S804-1:CDN服务节点发起服务请求的终端以单播方式先提供服务;S804-1: The terminal that initiates the service request from the CDN service node first provides the service in unicast mode;

S804-2:同时通过GSLB上部署的DPI设备将终端的服务请求进行劫持分光;S804-2: At the same time, the terminal's service request is hijacked and split through the DPI device deployed on the GSLB;

S805:DPI设备将劫持的业务请求发送给组播业务管理平台;S805: The DPI device sends the hijacked service request to the multicast service management platform;

S806:组播业务管理平台对终端的业务请求进行业务分析,获取服务信息;S806: The multicast service management platform performs service analysis on the terminal's service request and obtains service information;

S807:当达到单播与组播的预设切换条件时,组播业务管理平台启动组播切换;S807: When the preset switching conditions between unicast and multicast are reached, the multicast service management platform initiates multicast switching;

S808:组播业务管理平台给组播服务器发送组播切换信息;S808: The multicast service management platform sends multicast switching information to the multicast server;

S809:组播服务器收到组播切换信息后,创建本直播的组播频道,并将组播频道信息返回给组播业务管理平台;S809: After receiving the multicast switching information, the multicast server creates a multicast channel for this live broadcast and returns the multicast channel information to the multicast service management platform;

S810:组播业务管理平台给终端发送组播切换指令,并附带组播频道信息;S810: The multicast service management platform sends a multicast switching instruction to the terminal, along with multicast channel information;

S811:终端收到组播切换指令后,启动组播代理;S811: After receiving the multicast switching instruction, the terminal starts the multicast agent;

S812:组播代理向组播业务管理平台进行认证注册,以保证其合法性;S812: The multicast agent performs authentication and registration with the multicast service management platform to ensure its legitimacy;

S813:注册成功后,根据组播频道信息加入本组播频道的组播组;S813: After successful registration, join the multicast group of this multicast channel according to the multicast channel information;

S814:组播代理与组播业务管理平台间通过心跳消息保持热活处理。S814: The multicast agent and the multicast service management platform maintain hot-active processing through heartbeat messages.

下面参照图9,图9是非签约CP的组播分发流程图,具体包括以下步骤:Referring now to Figure 9, Figure 9 is a multicast distribution flow chart of a non-signed CP, which specifically includes the following steps:

S901:当组播服务器收到组播业务管理平台的组播切换指令后,创建好组播频道;S901: After the multicast server receives the multicast switching instruction from the multicast service management platform, it creates a multicast channel;

S902:组播代理收到组播业务管理平台的组播切换指令后加入组播频道的组播组;S902: The multicast agent joins the multicast group of the multicast channel after receiving the multicast switching instruction from the multicast service management platform;

S903:组播代理给组播业务管理平台上报本终端的BFER信息;S903: The multicast agent reports the BFER information of the terminal to the multicast service management platform;

S904:组播业务管理平台给BIER控制器同步BFER信息,告诉BIER网络有新的终端需要加入BIER网络的分发链路中;S904: The multicast service management platform synchronizes BFER information to the BIER controller and tells the BIER network that there are new terminals that need to be added to the distribution link of the BIER network;

S905:BIER控制器根据BIER网络的情况及策略分配BFIR入口地址并返回给组播业务管理平台;S905: The BIER controller allocates the BFIR entry address according to the conditions and policies of the BIER network and returns it to the multicast service management platform;

S906:BIER控制器将BFER信息同步给对应的BFIR;S906: The BIER controller synchronizes the BFER information to the corresponding BFIR;

S907-1:BFIR更新分发BS串,并泛洪给BIER网络的全网节点,刷新分发链路;S907-1: BFIR updates and distributes the BS string, floods it to all network nodes in the BIER network, and refreshes the distribution link;

S907-2:同时组播业务管理平台收到BIER控制器响应返回的BFIR入口地址后,更新组播频道、BFIR、BFER的映射关系;S907-2: After receiving the BFIR entry address returned by the BIER controller in response, the multicast service management platform updates the mapping relationship between the multicast channel, BFIR, and BFER;

S908:组播业务管理平台将映射关系同步至组播服务器;S908: The multicast service management platform synchronizes the mapping relationship to the multicast server;

S909:组播服务器到CDN服务节点进行单播媒体流的拉流,或者是CDN服务节点给组播服务器主动进行单播媒体流的推流;S909: The multicast server pulls the unicast media stream to the CDN service node, or the CDN service node actively pushes the unicast media stream to the multicast server;

S910:组播服务器将单播媒体流转成组播媒体流;S910: The multicast server converts the unicast media stream into a multicast media stream;

S911:组播服务器将组播媒体流发送给对应的BFIR;S911: The multicast server sends the multicast media stream to the corresponding BFIR;

S911-1:同时,组播服务器给组播业务管理平台发送组播服务启动通知;S911-1: At the same time, the multicast server sends a multicast service startup notification to the multicast service management platform;

S911-2:组播业务管理平台给组播代理发送组播服务启动通知;S911-2: The multicast service management platform sends a multicast service startup notification to the multicast agent;

S912:BFIR将组播媒体流在BIER网络中进行分发,BIER网络根据策略分发到对应的BFER;S912: BFIR distributes the multicast media stream in the BIER network, and the BIER network distributes it to the corresponding BFER according to the policy;

S913:组播代理收到组播服务启动通知后,到BFER获取组播媒体流;S913: After receiving the multicast service startup notification, the multicast agent obtains the multicast media stream from the BFER;

S914:组播代理通过单播补偿等技术保证原单播媒体流的帧与后续组播媒体流的帧的同步,防止用户观看发生帧丢失、黑屏等问题;S914: The multicast agent ensures the synchronization of the frames of the original unicast media stream and the frames of the subsequent multicast media stream through unicast compensation and other technologies to prevent problems such as frame loss and black screen when users watch;

S915:当单播媒体流的帧与组播媒体流的帧完全同步时,发送停止单播通知,以通知终端停止单播服务;S915: When the frames of the unicast media stream are completely synchronized with the frames of the multicast media stream, send a stop unicast notification to notify the terminal to stop the unicast service;

S916:终端停止到CDN服务节点拉取单播流,停止单播服务,切换到组播服务;S916: The terminal stops pulling unicast streams from the CDN service node, stops the unicast service, and switches to the multicast service;

S917:终端通过组播代理请求组播服务;S917: The terminal requests multicast service through the multicast proxy;

S918:组播代理将组播媒体流转成单播媒体流;S918: The multicast agent converts the multicast media stream into a unicast media stream;

S919:组播代理将媒体流返回给终端进行解码播放。S919: The multicast agent returns the media stream to the terminal for decoding and playback.

可以理解的是,BFIR(Bit Index Explicit Replication,位索引显式复制)技术,提供了一种无状态的组播转发机制,在组播首节点BIER(器Bit-Forward Ingress Router,入口路由)根据组播的接收者BFER(Bit-Forward Egress Router,出口路由器)信息生成转发BS(BitString串),根据BS的位运算进行分发,而中间节点BFR(Bit-Forward Router,转发路由器)不需要维护任何组播流转发状态信息(Group、Ingress、Egress),BIER链路状态库则由IGP(ISIS/OSPF)协议的BIER扩展洪泛生成。It can be understood that BFIR (Bit Index Explicit Replication, Bit Index Explicit Replication) technology provides a stateless multicast forwarding mechanism. According to the multicast first node BIER (Bit-Forward Ingress Router, ingress routing) The multicast receiver BFER (Bit-Forward Egress Router, egress router) information generates a forwarding BS (BitString string), which is distributed according to the bit operation of the BS, while the intermediate node BFR (Bit-Forward Router, forwarding router) does not need to maintain any The multicast flow forwarding status information (Group, Ingress, Egress), and the BIER link status library are generated by the BIER extension flooding of the IGP (ISIS/OSPF) protocol.

本发明实施例提供的是基于Bier技术的非签约场景下的通过集中式组播的方式来提供视频服务。在非签约CP下,为了便于统一管理,减少客户端的资源消耗,由服务端对组播分发的时机和策略进行集中式统一管理:Embodiments of the present invention provide video services through centralized multicast in a non-subscription scenario based on Bier technology. Under non-signed CP, in order to facilitate unified management and reduce resource consumption on the client, the server performs centralized unified management of the timing and strategy of multicast distribution:

1)对用户的播放请求,通过分光器DPI(Deep Packet Inspection,深度报文检测)劫持业务请求,镜像至组播业务管理平台,组播业务管理平台根据预设过滤策略(比如根据CPID、业务类型、用户请求协议类型等)进行业务分析以及统计热点内容信息,然后根据预设切换策略(比如用户量、带宽占用量、带宽变化趋势等)进行判断是否进行单组播切换。1) For the user's playback request, the service request is hijacked through the optical splitter DPI (Deep Packet Inspection, Deep Packet Inspection) and mirrored to the multicast service management platform. The multicast service management platform based on the preset filtering policy (for example, based on CPID, service type, user request protocol type, etc.) to conduct business analysis and collect statistics on hot content information, and then determine whether to perform single-multicast switching based on the preset switching strategy (such as user volume, bandwidth usage, bandwidth change trend, etc.).

2)当达到单组播切换的预设切换条件时,组播业务系统一方面通过通知客户端进行单组播拉流切换,另一方面与BIER控制器进行交互,将此用户对应的BFER信息同步给BIER控制器,BIER控制器通知BFIR更新BS(BitString)串并刷新分发链路信息,组播服务器将单播媒体流转成组播媒体流推送给BFIR。2) When the preset switching conditions for single-multicast switching are reached, the multicast service system notifies the client to perform single-multicast streaming switching on the one hand, and interacts with the BIER controller on the other hand to obtain the BFER information corresponding to the user. Synchronized to the BIER controller, the BIER controller notifies the BFIR to update the BS (BitString) series and refresh the distribution link information, and the multicast server converts the unicast media stream into a multicast media stream and pushes it to the BFIR.

3)BFIR收到组播媒体流后,根据BS串值在BIER网络中进行转发;3) After receiving the multicast media stream, BFIR forwards it in the BIER network according to the BS string value;

4)终端加入到本CP的组播频道的组播组,到BFER拉取组播媒体流,并通过组播代理转成单播媒体流,终端进行解码播放。4) The terminal joins the multicast group of the multicast channel of this CP, pulls the multicast media stream from the BFER, and converts it into a unicast media stream through the multicast agent, and the terminal decodes and plays it.

运营商在现有视频服务系统中,只需要将网络中的相关路由器设备进行协议升级以支持Bier技术,服务端新部署组播业务管理平台和组播服务器,终端中安装组播代理即可实现,成本低,易管理。In the existing video service system, operators only need to upgrade the relevant router equipment in the network to support Bier technology, deploy a new multicast service management platform and multicast server on the server, and install a multicast agent in the terminal. , low cost and easy to manage.

本发明实施例提供的服务资源分发方法,可以应用非签约CP场景下的新型的互联网大流量直播业务,如网红直播、会议直播、带货直播等。对大量的互联网的非签约直播CP场景下,因其随时随地的偶发性业务特性及大用户量的并发请求,会对运营商网络的流量带来非常大的冲击,潮汐现象非常明显。为减少新型直播业务对现网业务和网络的影响,将现有单播分发优化为单播和组播相结合的方式,根据用户量的实时情况,视频服务系统自动决策单播还是组播,同时基于Bier技术的组播分发可以让应用与传输完全解耦,做到真正的网络层的组播转发,而不需要关注其业务特性,进一步减少组播维护与管理的成本,提高组播分发效率,所以本发明实施例的方案在非签约CP的场景,提供集中式组播能力,可以获得非常高效稳定的组播分发性能,并保障大运营商引入互联网大流量业务,有效降低运维成本,拓宽运营商的视频业务范围,为不同用户提供差异化的业务服务,增加新的营收,同时又可以节省大流量用户的运营成本,提升用户的满意度。The service resource distribution method provided by the embodiment of the present invention can be applied to new Internet high-traffic live broadcast services in non-contracted CP scenarios, such as Internet celebrity live broadcasts, conference live broadcasts, product live broadcasts, etc. In the scenario of a large number of non-contracted live broadcast CPs on the Internet, due to the sporadic business characteristics anytime and anywhere and the large number of concurrent requests from users, it will have a very large impact on the traffic of the operator's network, and the tidal phenomenon is very obvious. In order to reduce the impact of new live broadcast services on existing network services and networks, existing unicast distribution is optimized to a combination of unicast and multicast. Based on the real-time situation of user volume, the video service system automatically decides whether to use unicast or multicast. At the same time, multicast distribution based on Bier technology can completely decouple applications and transmission, achieving true multicast forwarding at the network layer without paying attention to its business characteristics, further reducing the cost of multicast maintenance and management, and improving multicast distribution. Efficiency, so the solution of the embodiment of the present invention provides centralized multicast capabilities in non-contracted CP scenarios, can obtain very efficient and stable multicast distribution performance, and ensures that large operators can introduce Internet high-traffic services, effectively reducing operation and maintenance costs. , broaden the operator's video business scope, provide differentiated business services for different users, increase new revenue, and at the same time save the operating costs of high-traffic users and improve user satisfaction.

参照图10,本发明实施例还提供一种视频服务方法,应用于如图1所示的视频服务系统中的组播业务管理平台,所述方法包括但不限于步骤S1010至步骤S1030:Referring to Figure 10, an embodiment of the present invention also provides a video service method, which is applied to the multicast service management platform in the video service system shown in Figure 1. The method includes but is not limited to step S1010 to step S1030:

步骤S1010:通过DPI设备劫持终端发送给调度中心的服务请求,并根据预设过滤策略对所述服务请求进行业务分析,得到服务信息;Step S1010: Hijack the service request sent by the terminal to the dispatch center through the DPI device, and conduct business analysis on the service request according to the preset filtering policy to obtain service information;

步骤S1020:当所述服务信息满足预设切换条件,发送组播切换信息至组播服务器,以使所述组播服务器创建组播频道;Step S1020: When the service information meets the preset switching conditions, send the multicast switching information to the multicast server so that the multicast server creates a multicast channel;

步骤S1030:从所述组播服务器获取组播频道信息并发送组播切换指令和所述组播频道信息至所述终端,以使所述终端启动组播代理。Step S1030: Obtain multicast channel information from the multicast server and send a multicast switching instruction and the multicast channel information to the terminal, so that the terminal starts the multicast agent.

参照图11,所述视频服务方法还包括步骤S1110至步骤S1120:Referring to Figure 11, the video service method also includes steps S1110 to S1120:

步骤S1110:获取所述组播代理上报的终端的BFER信息并同步至BIER控制器,以使所述BIER控制器根据所述BFER信息更新BIER网络的分发链路;Step S1110: Obtain the BFER information of the terminal reported by the multicast agent and synchronize it to the BIER controller, so that the BIER controller updates the distribution link of the BIER network according to the BFER information;

步骤S1120:获取所述BIER控制器分配的BFIR入口地址,并根据所述BFIR入口地址更新所述组播频道、BFIR、BFER的映射关系。Step S1120: Obtain the BFIR entry address assigned by the BIER controller, and update the mapping relationship between the multicast channel, BFIR, and BFER according to the BFIR entry address.

参照图12,所述视频服务方法还包括步骤S1210至步骤S1220:Referring to Figure 12, the video service method also includes steps S1210 to S1220:

步骤S1210:将所述映射关系同步至所述组播服务器,以使所述组播服务器从CDN服务节点获取单播媒体流并将所述单播媒体流转成组播媒体流;Step S1210: Synchronize the mapping relationship to the multicast server, so that the multicast server obtains the unicast media stream from the CDN service node and converts the unicast media stream into a multicast media stream;

步骤S1220:获取所述组播服务器发送过来的组播服务启动通知,并转发所述组播服务启动通知至所述组播代理,以使所述组播代理从所述BFER获取所述组播媒体流。Step S1220: Obtain the multicast service startup notification sent by the multicast server, and forward the multicast service startup notification to the multicast agent, so that the multicast agent obtains the multicast service from the BFER. Media streaming.

可以理解的是,本发明实施例提供的视频服务方法的功能和作用,可以参照上述图1至图9提供的各个实施例,本发明实施例提供的视频服务方法与上述实施例提供的服务资源分发方法属于相同的发明沟通,因此视频服务方法的功能和作用此处不再赘述。It can be understood that the functions and effects of the video service method provided by the embodiments of the present invention can be referred to the respective embodiments provided in the above-mentioned Figures 1 to 9. The video service method provided by the embodiments of the present invention and the service resources provided by the above-mentioned embodiments The distribution method belongs to the same invented communication, so the functions and functions of the video service method will not be described again here.

本发明实施例还提供一种计算可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行如上实施例所述的视频服务方法,例如执行图10中的方法步骤S1010至步骤S1030、图11中的方法步骤S1110至步骤S1120、图12中的方法步骤S1210至步骤S1220。Embodiments of the present invention also provide a computer-readable storage medium that stores computer-executable instructions, and the computer-executable instructions are used to cause the computer to execute the video service method described in the above embodiments, for example The method steps S1010 to S1030 in FIG. 10 , the method steps S1110 to S1120 in FIG. 11 , and the method steps S1210 to S1220 in FIG. 12 are executed.

本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质或非暂时性介质和通信介质或暂时性介质。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息诸如计算机可读指令、数据结构、程序模块或其他数据的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘DVD或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media or non-transitory media and communication media or transitory media. As is known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, Removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk, DVD or other optical disk storage, magnetic cassettes, magnetic tape, disk storage or other magnetic storage devices, or may be used Any other medium that stores the desired information and can be accessed by a computer. Additionally, it is known to those of ordinary skill in the art that communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .

Claims (16)

Translated fromChinese
1.一种非签约内容提供商的服务资源分发方法,应用于视频服务系统,所述视频服务系统包括部署于服务层的组播业务管理平台和组播服务器以及部署于终端的组播代理,所述方法包括:1. A service resource distribution method for non-contracted content providers, applied to a video service system. The video service system includes a multicast service management platform and a multicast server deployed at the service layer and a multicast agent deployed at the terminal. The methods include:响应于来自终端的服务请求,CDN服务节点提供单播服务;In response to service requests from terminals, CDN service nodes provide unicast services;所述组播业务管理平台通过DPI设备劫持所述服务请求,并根据预设过滤策略对所述服务请求进行业务分析,得到服务信息;The multicast service management platform hijacks the service request through the DPI device, and performs business analysis on the service request according to the preset filtering policy to obtain service information;当所述服务信息满足预设切换条件,所述组播业务管理平台发送组播切换信息至所述组播服务器,以使所述组播服务器创建组播频道;When the service information meets the preset switching conditions, the multicast service management platform sends multicast switching information to the multicast server, so that the multicast server creates a multicast channel;所述组播业务管理平台从所述组播服务器获取组播频道信息并发送组播切换指令和所述组播频道信息至所述终端,以使所述终端启动所述组播代理;The multicast service management platform obtains multicast channel information from the multicast server and sends a multicast switching instruction and the multicast channel information to the terminal, so that the terminal starts the multicast agent;所述组播代理加入所述组播频道的组播组。The multicast agent joins the multicast group of the multicast channel.2.根据权利要求1所述的服务资源分发方法,其特征在于,所述响应于来自终端的服务请求,CDN服务节点提供单播服务,包括:2. The service resource distribution method according to claim 1, characterized in that, in response to a service request from a terminal, the CDN service node provides a unicast service, including:调度中心获取来自终端的服务请求,并根据负载均衡调度策略将所述服务请求调度到CDN服务节点;The dispatch center obtains the service request from the terminal and dispatches the service request to the CDN service node according to the load balancing scheduling policy;所述CDN服务节点提供单播服务。The CDN service node provides unicast service.3.根据权利要求1所述的服务资源分发方法,其特征在于,还包括:当所述终端启动所述组播代理,所述组播代理向所述组播业务管理平台进行认证注册。3. The service resource distribution method according to claim 1, further comprising: when the terminal starts the multicast agent, the multicast agent performs authentication and registration with the multicast service management platform.4.根据权利要求3所述的服务资源分发方法,其特征在于,所述组播代理加入所述组播频道的组播组后,所述组播代理与所述组播业务管理平台间通过心跳消息保持热活处理。4. The service resource distribution method according to claim 3, characterized in that, after the multicast agent joins the multicast group of the multicast channel, the multicast agent and the multicast service management platform communicate through Heartbeat messages remain hot for processing.5.根据权利要求1所述的服务资源分发方法,其特征在于,所述视频服务系统还包括部署于网络层的BIER控制器,所述BIER控制器与所述组播业务管理平台通信,所述方法还包括:5. The service resource distribution method according to claim 1, wherein the video service system further includes a BIER controller deployed at the network layer, and the BIER controller communicates with the multicast service management platform, so The above methods also include:所述组播业务管理平台获取所述组播代理上报的终端的BFER信息并同步至所述BIER控制器;The multicast service management platform obtains the BFER information of the terminal reported by the multicast agent and synchronizes it to the BIER controller;所述BIER控制器根据所述BFER信息更新BIER网络的分发链路,并分配BFIR入口地址至所述组播业务管理平台;The BIER controller updates the distribution link of the BIER network according to the BFER information, and allocates the BFIR entrance address to the multicast service management platform;所述组播业务管理平台根据所述BFIR入口地址更新所述组播频道、BFIR、BFER的映射关系。The multicast service management platform updates the mapping relationship between the multicast channel, BFIR, and BFER according to the BFIR entry address.6.根据权利要求5所述的服务资源分发方法,其特征在于,所述BIER控制器根据所述BFER信息更新BIER网络的分发链路,包括:6. The service resource distribution method according to claim 5, characterized in that the BIER controller updates the distribution link of the BIER network according to the BFER information, including:所述BIER控制器将所述BFER信息同步至对应的BFIR;The BIER controller synchronizes the BFER information to the corresponding BFIR;所述BFIR更新分发BitString串,并泛洪给BIER网络的全网节点,更新分发链路。The BFIR updates and distributes the BitString string and floods it to all network nodes in the BIER network to update the distribution link.7.根据权利要求5所述的服务资源分发方法,其特征在于,还包括:7. The service resource distribution method according to claim 5, further comprising:所述组播业务管理平台将所述映射关系同步至所述组播服务器;The multicast service management platform synchronizes the mapping relationship to the multicast server;所述组播服务器从所述CDN服务节点获取单播媒体流,将所述单播媒体流转成组播媒体流,将所述组播媒体流发送给对应的BFIR以及通过所述组播业务管理平台发送组播服务启动通知至所述组播代理;The multicast server obtains the unicast media stream from the CDN service node, converts the unicast media stream into a multicast media stream, sends the multicast media stream to the corresponding BFIR and manages the multicast service through the The platform sends a multicast service activation notification to the multicast agent;所述BFIR根据所述分发链路将所述组播媒体流在所述BIER网络中分发到对应的BFER;The BFIR distributes the multicast media stream to the corresponding BFER in the BIER network according to the distribution link;所述组播代理接收到所述组播服务启动通知后,从所述BFER获取所述组播媒体流。After receiving the multicast service startup notification, the multicast agent obtains the multicast media stream from the BFER.8.根据权利要求7所述的服务资源分发方法,其特征在于,还包括:8. The service resource distribution method according to claim 7, further comprising:所述组播代理将所述组播媒体流的帧与单播媒体流的帧进行同步处理;The multicast agent synchronizes frames of the multicast media stream and frames of the unicast media stream;当所述组播媒体流的帧与所述单播媒体流的帧完全同步,所述组播代理发送停止单播通知至终端,以使所述终端停止从所述CDN服务节点获取单播媒体流。When the frames of the multicast media stream are completely synchronized with the frames of the unicast media stream, the multicast agent sends a stop unicast notification to the terminal, so that the terminal stops obtaining unicast media from the CDN service node flow.9.根据权利要求8所述的服务资源分发方法,其特征在于,还包括:9. The service resource distribution method according to claim 8, further comprising:所述组播代理响应于所述终端的组播服务请求,将所述组播媒体流转成单播媒体流并发送给所述终端进行解码播放。In response to the multicast service request of the terminal, the multicast agent converts the multicast media stream into a unicast media stream and sends it to the terminal for decoding and playback.10.根据权利要求1所述的服务资源分发方法,其特征在于,所述组播服务器从所述CDN服务节点获取单播媒体流,包括以下两种方式之一:10. The service resource distribution method according to claim 1, characterized in that the multicast server obtains the unicast media stream from the CDN service node in one of the following two ways:所述组播服务器到所述CDN服务节点进行单播媒体流的拉流;The multicast server pulls the unicast media stream to the CDN service node;所述CDN服务节点向所述组播服务器进行单播媒体流的推流。The CDN service node pushes the unicast media stream to the multicast server.11.根据权利要求1所述的服务资源分发方法,其特征在于,所述服务信息包括用户量、带宽占用量、带宽变化趋势中的至少之一;所述预设切换条件相应包括以下至少之一:11. The service resource distribution method according to claim 1, characterized in that the service information includes at least one of the number of users, bandwidth occupancy, and bandwidth change trends; the preset switching conditions correspondingly include at least one of the following one:所述用户量大于第一预设值;The number of users is greater than the first preset value;所述带宽占用量大于第二预设值;The bandwidth occupancy is greater than the second preset value;所述带宽占用率在预设时长内持续上升。The bandwidth occupancy rate continues to increase within a preset time period.12.一种视频服务系统,其特征在于,包括部署于服务层的组播业务管理平台和组播服务器以及部署于终端的组播代理,其中:12. A video service system, characterized in that it includes a multicast service management platform and a multicast server deployed at the service layer and a multicast agent deployed at the terminal, wherein:所述组播业务管理平台用于:通过DPI设备劫持终端发送给调度中心的服务请求,并根据预设过滤策略对所述CDN服务节点向终端提供的单播服务进行业务分析,得到服务信息;当所述服务信息满足预设切换条件,发送组播切换信息至所述组播服务器,以使所述组播服务器创建组播频道;从所述组播服务器获取组播频道信息并发送组播切换指令和所述组播频道信息至所述终端,以使所述终端启动所述组播代理;The multicast service management platform is used to: hijack the service request sent by the terminal to the dispatch center through the DPI device, and conduct business analysis on the unicast service provided by the CDN service node to the terminal according to the preset filtering policy to obtain service information; When the service information meets the preset switching conditions, multicast switching information is sent to the multicast server so that the multicast server creates a multicast channel; multicast channel information is obtained from the multicast server and multicast Switch the instruction and the multicast channel information to the terminal, so that the terminal starts the multicast agent;所述组播服务器用于创建组播频并发送组播频道信息至所述组播业务管理平台;The multicast server is used to create a multicast frequency and send multicast channel information to the multicast service management platform;所述组播代理用于向所述组播业务管理平台进行认证注册,在注册成功后加入所述组播频道的组播组与所述组播业务管理平台间通过心跳消息保持热活处理。The multicast agent is used to authenticate and register with the multicast service management platform. After successful registration, the multicast group that joins the multicast channel and the multicast service management platform are kept hot-active through heartbeat messages.13.一种视频服务方法,应用于视频服务系统中的组播业务管理平台,所述方法包括:13. A video service method, applied to a multicast service management platform in a video service system, the method includes:通过DPI设备劫持终端发送给调度中心的服务请求,并根据预设过滤策略对所述服务请求进行业务分析,得到服务信息;Hijack the service request sent by the terminal to the dispatch center through the DPI device, and conduct business analysis on the service request according to the preset filtering policy to obtain service information;当所述服务信息满足预设切换条件,发送组播切换信息至组播服务器,以使所述组播服务器创建组播频道;When the service information meets the preset switching conditions, send the multicast switching information to the multicast server so that the multicast server creates a multicast channel;从所述组播服务器获取组播频道信息并发送组播切换指令和所述组播频道信息至所述终端,以使所述终端启动组播代理。Obtain multicast channel information from the multicast server and send a multicast switching instruction and the multicast channel information to the terminal, so that the terminal starts the multicast agent.14.根据权利要求13所述的视频服务方法,其特征在于,所述方法还包括:14. The video service method according to claim 13, characterized in that the method further includes:获取所述组播代理上报的终端的BFER信息并同步至BIER控制器,以使所述BIER控制器根据所述BFER信息更新BIER网络的分发链路;Obtain the BFER information of the terminal reported by the multicast agent and synchronize it to the BIER controller, so that the BIER controller updates the distribution link of the BIER network according to the BFER information;获取所述BIER控制器分配的BFIR入口地址,并根据所述BFIR入口地址更新所述组播频道、BFIR、BFER的映射关系。Obtain the BFIR entry address assigned by the BIER controller, and update the mapping relationship between the multicast channel, BFIR, and BFER according to the BFIR entry address.15.根据权利要求14所述的视频服务方法,其特征在于,还包括:15. The video service method according to claim 14, further comprising:将所述映射关系同步至所述组播服务器,以使所述组播服务器从CDN服务节点获取单播媒体流并将所述单播媒体流转成组播媒体流;Synchronize the mapping relationship to the multicast server, so that the multicast server obtains the unicast media stream from the CDN service node and converts the unicast media stream into a multicast media stream;获取所述组播服务器发送过来的组播服务启动通知,并转发所述组播服务启动通知至所述组播代理,以使所述组播代理从所述BFER获取所述组播媒体流。Obtain the multicast service startup notification sent by the multicast server, and forward the multicast service startup notification to the multicast agent, so that the multicast agent obtains the multicast media stream from the BFER.16.一种计算可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行如权利要求13至15任一项所述的视频服务方法。16. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause the computer to execute as described in any one of claims 13 to 15 video service method.
CN202210712657.5A2022-06-222022-06-22 Service resource distribution method and video service system for non-contracted content providersPendingCN117319689A (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN202210712657.5ACN117319689A (en)2022-06-222022-06-22 Service resource distribution method and video service system for non-contracted content providers
PCT/CN2023/100238WO2023246599A1 (en)2022-06-222023-06-14Service resource delivery method of non-contracted content provider, and video service system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210712657.5ACN117319689A (en)2022-06-222022-06-22 Service resource distribution method and video service system for non-contracted content providers

Publications (1)

Publication NumberPublication Date
CN117319689Atrue CN117319689A (en)2023-12-29

Family

ID=89248615

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210712657.5APendingCN117319689A (en)2022-06-222022-06-22 Service resource distribution method and video service system for non-contracted content providers

Country Status (2)

CountryLink
CN (1)CN117319689A (en)
WO (1)WO2023246599A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN119341895B (en)*2024-12-182025-03-04中京科信技术有限公司 Method, device and equipment for remote disaster recovery transmission of IPTV multicast services
CN120371654A (en)*2025-06-272025-07-25浪潮软件集团有限公司Test method and device for large model performance cross evaluation

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101155298B (en)*2006-09-252012-07-04华为技术有限公司Method and system for implementing fast switching television channel
CN101068213B (en)*2007-07-062010-09-29华为技术有限公司 Handover method, multicast joining method and access router in proxy mobile IP
CN101854533B (en)*2010-06-102012-05-23华为技术有限公司Frequency channel switching method, device and system
US9820259B2 (en)*2012-05-042017-11-14Qualcomm IncorporatedSmooth transition between multimedia broadcast multicast service (MBMS) and unicast service by demand
CN109257275B (en)*2017-07-132021-03-02中国电信股份有限公司Method and system for forwarding multicast data
US11032595B2 (en)*2018-09-282021-06-08Rovi Guides, Inc.Systems and methods for delivery of content via multicast and unicast
CN111372103B (en)*2018-12-262023-05-26中兴通讯股份有限公司Multicast method, device, equipment and computer storage medium
CN114339269B (en)*2020-10-102024-10-11中国电信股份有限公司Video transmission method, multicast management platform, terminal and storage medium
CN114531392B (en)*2020-11-032024-12-03南京中兴软件有限责任公司 Multicast service design method, server and storage medium

Also Published As

Publication numberPublication date
WO2023246599A1 (en)2023-12-28

Similar Documents

PublicationPublication DateTitle
EP2241078B1 (en)Method and internet protocol television (iptv) content manager server for iptv servicing
US9237179B2 (en)Method and system for synchronizing the output of terminals
JP5442766B2 (en) Multimedia stream access delivery changes supported by the service layer
US8982761B2 (en)Method, apparatus, and system for carrying out multimedia service in wireless local area
US20100027560A1 (en)System and method for service mitigation in a communication system
WO2023246599A1 (en)Service resource delivery method of non-contracted content provider, and video service system
CN109067578B (en)Method and device for multicast fast switching
US20090240811A1 (en)Resource management method, system and network equipment
US20090019469A1 (en)Dynamic update of channel filtering information in iptv systems
US20110191404A1 (en)Delivery system, agent server, and delivery method
WO2015023655A1 (en)Method and system for managing the delivery of over-the-top streams
US8429465B2 (en)Method, device and system for managing resources in networks
US20100046528A1 (en)Intelligent IMS Gateway for Legacy DSLAMs
US9143334B2 (en)Method and apparatus for transmitting group message in unicast network
US10230660B2 (en)Method and system for centralized controller for audio visual broadcasts
WO2009015539A1 (en)Multicast control method for service of demanding the media content and the system thereof
CN116112696A (en)Live broadcast method, system, BIER controller, router, device and readable medium
US20100172367A1 (en)Network based bandwidth control in ims systems
CN114979677A (en) A method and device for live video broadcasting
WO2010025635A1 (en)Method of switching of play, media server, user terminal and system thereof
CN114944861B (en) A multicast baseband configuration system and method
Adeliyi et al.Fast channel navigation of internet protocol television using adaptive hybrid delivery method
CN115334364A (en)Data distribution method and device based on video network
CN109561080B (en)Dynamic network access communication method and device
CN112165416A (en) A method and device for networking and communication

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp