WO2023246599A1 - Service resource delivery method of non-contracted content provider, and video service system - Google Patents

Service resource delivery method of non-contracted content provider, and video service system Download PDF

Info

Publication number
WO2023246599A1
WO2023246599A1 PCT/CN2023/100238 CN2023100238W WO2023246599A1 WO 2023246599 A1 WO2023246599 A1 WO 2023246599A1 CN 2023100238 W CN2023100238 W CN 2023100238W WO 2023246599 A1 WO2023246599 A1 WO 2023246599A1
Authority
WO
WIPO (PCT)
Prior art keywords
multicast
service
terminal
information
management platform
Prior art date
Application number
PCT/CN2023/100238
Other languages
French (fr)
Chinese (zh)
Inventor
陶长标
刘群
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2023246599A1 publication Critical patent/WO2023246599A1/en

Links

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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • 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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2181Source of audio or video content, e.g. local disk arrays comprising remotely distributed storage units, e.g. when movies are replicated over a plurality of video servers
    • 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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/21Server components or server architectures
    • H04N21/222Secondary servers, e.g. proxy server, cable television Head-end
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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
    • 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/6402Address allocation for clients
    • 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

Definitions

  • embodiments of the present application 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 and a deployment
  • 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 all the data through DPI (Deep Packet Inspection, deep packet inspection) equipment.
  • DPI Deep Packet Inspection, deep packet inspection
  • embodiments of the present application 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: the multicast service management platform is configured This is: hijacking the service request sent by the terminal to the dispatch center through the DPI device, and performing 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: send 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; the multicast server is configured to create a multicast channel and send multicast channel information to the multicast service management platform; the multicast agent It is configured to perform authentication and registration with the multicast service management platform, and after successful registration, the multicast group that joins the multicast channel and the
  • embodiments of the present application provide a video service method, which is applied to multicast service management in a video service system.
  • Management platform the method includes: hijacking the service request sent by the terminal to the dispatch center through the DPI device, and performing 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 , sending multicast switching information to the multicast server, so that the multicast server creates a multicast channel; obtaining multicast channel information from the multicast server and sending a multicast switching instruction and the multicast channel information to the multicast server. terminal, so that the terminal starts the multicast agent.
  • embodiments of the present application provide a computer-readable storage medium that stores computer-executable instructions, and the computer-executable instructions are used to cause a computer to execute the steps described in the third embodiment. video service method.
  • Figure 1 is an architectural block diagram of a video service system provided by an embodiment of the present application
  • Figure 2 is a flow chart of a service resource distribution method for a non-contracted content provider provided in Embodiment 1 of the present application;
  • 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 application;
  • 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 application;
  • 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 application;
  • 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 application;
  • Figure 8 is a flow chart of single-multicast switching of non-contracted CP live broadcast services provided by the embodiment of the present application.
  • Figure 9 is a flow chart of multicast distribution of non-subscription CP provided by the embodiment of this application.
  • Figure 10 is a flow chart of a video service method provided by an embodiment of the present application.
  • Figure 11 is a flow chart of a video service method provided by another embodiment of the present application.
  • Figure 12 is a flow chart of a video service method provided by yet another embodiment of the present application.
  • IPTV live 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. is very effective
  • OTT services have a different characteristic: in addition to traditional CPs (Content Provider content providers), OTT content providers also have a large number of Internet CPs. These Internet CPs are basically useless to operators. They are all non-contracted content provider users. What they need is the operator’s content distribution channel, which can be provided at any time. Ultimately the audience provides the service. For non-subscriber users, operators cannot pre-allocate service resources and configure scheduling strategies to such users according to traditional video service methods.
  • the embodiments of this application provide a service resource distribution method and 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.
  • FIG. 1 is an architectural block diagram of a video service system provided by an embodiment of the present application.
  • 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. :
  • 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.;
  • one embodiment of the present application 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:
  • Step S210 In response to the service request from the terminal, the CDN service node provides unicast service
  • 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;
  • 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. ;
  • 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.
  • 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:
  • Step S320 The CDN service node provides unicast service.
  • the hot-active processing between the multicast agent and the multicast service management platform is maintained through heartbeat messages.
  • the above service resource distribution method may also include steps S410 to S430:
  • the multicast agent 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.
  • 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.
  • Step S610 The multicast service management platform synchronizes the mapping relationship to the multicast server
  • Step S630 The BFIR distributes the multicast media stream to the corresponding BFER in the BIER network according to the distribution link;
  • Step S640 After receiving the multicast service startup notification, the multicast agent obtains the multicast media stream from the BFER.
  • the above service resource distribution method may also include steps S710 to S720:
  • 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:
  • the CDN service node pushes the unicast media stream to the multicast server.
  • 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 usage is greater than the second preset value
  • the bandwidth occupancy rate continues to increase within a preset time period.
  • the multicast service management platform is set to: hijack the service request sent by the terminal to the dispatch center through the DPI device, and perform 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 ;
  • the service information meets the preset switching conditions, send 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 the multicast Broadcast the switching instruction and the multicast channel information to the terminal, so that the terminal starts the multicast agent;
  • the multicast server is configured to create a multicast channel and send multicast channel information to the multicast service management platform;
  • the multicast agent is configured to perform authentication and registration with the multicast service management platform. After successful registration, the multicast group that joins the multicast channel and the multicast service management platform maintain hot-alive processing through heartbeat messages. .
  • Figure 8 is a flow chart of single-multicast switching of non-contracted CP live broadcast services provided by an embodiment of the present application, including the following steps:
  • S800 Configure unicast and multicast switching strategies uniformly on the multicast service management platform; it can be understood that the switching strategy 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 The bandwidth usage is greater than the second preset value;
  • 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 The terminal's service request is sent to the dispatch center, such as GSLB (Global Server Load Balance, global service load balancing);
  • GSLB Global Server Load Balance, global service load balancing
  • S803 The dispatch center dispatches the service request to the CDN service node according to the load balancing dispatch policy
  • S804-1 The terminal that initiates the service request from the CDN service node first provides the service in unicast mode
  • the multicast service management platform sends multicast switching information to the multicast server
  • S812 The multicast agent performs authentication and registration with the multicast service management platform to ensure its legitimacy
  • Figure 9 is a multicast distribution flow chart of a non-signed CP, including the following steps:
  • the multicast agent joins the multicast group of the multicast channel after receiving the multicast switching instruction from the multicast service management platform;
  • S903 The multicast agent reports the BFER information of the terminal to the multicast service management platform;
  • 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;
  • the BIER controller allocates the BFIR entry address according to the BIER network conditions and policies and returns it to the multicast service management platform;
  • the BIER controller synchronizes the BFER information to the corresponding BFIR
  • S907-1 BFIR updates and distributes the BS string, floods it to all network nodes in the BIER network, and refreshes the distribution link;
  • the multicast service management platform synchronizes the mapping relationship to the multicast server
  • 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;
  • the multicast server converts the unicast media stream into a multicast media stream
  • the multicast server sends the multicast media stream to the corresponding BFIR;
  • the multicast server sends a multicast service startup notification to the multicast service management platform;
  • the multicast service management platform sends a multicast service startup notification to the multicast agent
  • 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;
  • the multicast agent After receiving the multicast service startup notification, the multicast agent obtains the multicast media stream from the BFER;
  • 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;
  • S916 The terminal stops pulling unicast streams from the CDN service node, stops the unicast service, and switches to the multicast service;
  • S917 The terminal requests multicast service through the multicast proxy
  • the multicast agent converts the multicast media stream into a unicast media stream
  • S919 The multicast agent returns the media stream to the terminal for decoding and playback.
  • BFIR Bit Index Explicit Replication
  • Bit Index Explicit Replication Bit Index Explicit Replication
  • the multicast receiver BFER Bit-Forward Egress Router, egress router
  • the multicast flow forwarding status information Group, Ingress, Egress
  • the BIER link status library are generated by the BIER extension flooding of the IGP (ISIS/OSPF) protocol.
  • the embodiments of this application provide video services through centralized multicast in a non-subscription scenario based on Bier technology.
  • the server performs centralized unified management of the timing and strategy of multicast distribution:
  • the multicast service system 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.
  • BFIR After receiving the multicast media stream, BFIR forwards it in the BIER network according to the BS string value;
  • 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.
  • the service resource distribution method provided by the embodiment of this application 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.
  • non-contracted live broadcast CP scenarios such as Internet celebrity live broadcasts, conference live broadcasts, product live broadcasts, etc.
  • it will have a very large impact on the traffic of the operator's network, and the tidal phenomenon is very obvious.
  • existing unicast distribution is optimized to a combination of unicast and multicast.
  • the video service system Based on the real-time situation of user volume, the video service system automatically decides whether to use unicast or multicast.
  • 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 this application 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.
  • 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;
  • 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;
  • 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.
  • 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;
  • 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;
  • Embodiments of the present application 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.
  • Embodiments of the present application 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.
  • 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.

Landscapes

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

Abstract

The present application discloses a service resource delivery method of a non-contracted content provider, and a video service system. The video service system comprises a multicast service management platform and a multicast server which are deployed on a service layer, and a multicast agent deployed on a terminal. The method comprises: in response to a service request from the terminal, a CDN service node provides a unicast service (S210); the multicast service management platform intercepts the service request by means of a DPI device, and performs service analysis on the service request according to a preset filtering strategy to obtain service information (S220); when the service information satisfies a preset switching condition, the multicast service management platform sends multicast switching information to the multicast server, so that the multicast server creates a multicast channel (S230); the multicast service management platform obtains multicast channel information and sends a multicast switching instruction and the multicast channel information to the terminal, so that the terminal starts the multicast agent (S240); and the multicast agent joins a multicast group of the multicast channel (S250).

Description

非签约内容提供商的服务资源分发方法和视频服务系统Service resource distribution method and video service system for non-contracted content providers
相关申请的交叉引用Cross-references to related applications
本申请基于申请号为202210712657.5、申请日为2022年06月22日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is filed based on a Chinese patent application with application number 202210712657.5 and a filing date of June 22, 2022, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application as a reference.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种非签约内容提供商的服务资源分发方法和视频服务系统。The present application 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 Delivery Network内容分发网络)资源和网络带宽,引起潮汐现象,严重影响运营商的日常运营及成本。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 content distribution network) resources and network bandwidth. Causes tidal phenomena, seriously affecting operators' daily operations and costs.
发明内容Contents of the invention
本申请提供一种非签约内容提供商的服务资源分发方法和视频服务系统。This application provides a service resource distribution method and video service system for non-contracted content providers.
第一方面,本申请实施例提供一种非签约内容提供商的服务资源分发方法,应用于视频服务系统,所述视频服务系统包括部署于服务层的组播业务管理平台和组播服务器以及部署于终端的组播代理,所述方法包括:响应于来自终端的服务请求,CDN服务节点提供单播服务;所述组播业务管理平台通过DPI(Deep Packet Inspection,深度报文检测)设备劫持所述服务请求,并根据预设过滤策略对所述服务请求进行业务分析,得到服务信息;当所述服务信息满足预设切换条件,所述组播业务管理平台发送组播切换信息至所述组播服务器,以使所述组播服务器创建组播频道;所述组播业务管理平台从所述组播服务器获取组播频道信息并发送组播切换指令和所述组播频道信息至所述终端,以使所述终端启动所述组播代理;所述组播代理加入所述组播频道的组播组。In the first aspect, embodiments of the present application 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 and a deployment For the multicast agent of 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 all the data through DPI (Deep Packet Inspection, deep packet inspection) equipment. The service request is processed, and service analysis is performed 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 group 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.
第二方面,本申请实施例提供一种视频服务系统,包括部署于服务层的组播业务管理平台和组播服务器以及部署于终端的组播代理,其中:所述组播业务管理平台被设置为:通过DPI设备劫持终端发送给调度中心的服务请求,并根据预设过滤策略对所述CDN服务节点向终端提供的单播服务进行业务分析,得到服务信息;当所述服务信息满足预设切换条件,发送组播切换信息至所述组播服务器,以使所述组播服务器创建组播频道;从所述组播服务器获取组播频道信息并发送组播切换指令和所述组播频道信息至所述终端,以使所述终端启动所述组播代理;所述组播服务器被设置为创建组播频道并发送组播频道信息至所述组播业务管理平台;所述组播代理被设置为向所述组播业务管理平台进行认证注册,在注册成功后加入所述组播频道的组播组与所述组播业务管理平台间通过心跳消息保持热活处理。In the second aspect, embodiments of the present application 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: the multicast service management platform is configured This is: hijacking the service request sent by the terminal to the dispatch center through the DPI device, and performing 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: send 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; the multicast server is configured to create a multicast channel and send multicast channel information to the multicast service management platform; the multicast agent It is configured to perform authentication and registration with the multicast service management platform, and after successful registration, the multicast group that joins the multicast channel and the multicast service management platform are kept hot-active through heartbeat messages.
第三方面,本申请实施例提供一种视频服务方法,应用于视频服务系统中的组播业务管 理平台,所述方法包括:通过DPI设备劫持终端发送给调度中心的服务请求,并根据预设过滤策略对所述服务请求进行业务分析,得到服务信息;当所述服务信息满足预设切换条件,发送组播切换信息至组播服务器,以使所述组播服务器创建组播频道;从所述组播服务器获取组播频道信息并发送组播切换指令和所述组播频道信息至所述终端,以使所述终端启动组播代理。In the third aspect, embodiments of the present application provide a video service method, which is applied to multicast service management in a video service system. Management platform, the method includes: hijacking the service request sent by the terminal to the dispatch center through the DPI device, and performing 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 , sending multicast switching information to the multicast server, so that the multicast server creates a multicast channel; obtaining multicast channel information from the multicast server and sending a multicast switching instruction and the multicast channel information to the multicast server. terminal, so that the terminal starts the multicast agent.
第四方面,本申请实施例提供一种计算可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行如上第三方面实施例所述的视频服务方法。In a fourth aspect, embodiments of the present application provide a computer-readable storage medium that stores computer-executable instructions, and the computer-executable instructions are used to cause a computer to execute the steps described in the third embodiment. video service method.
附图说明Description of the drawings
图1是本申请实施例提供的一种视频服务系统的架构框图;Figure 1 is an architectural block diagram of a video service system provided by an embodiment of the present application;
图2是本申请实施例一提供的一种非签约内容提供商的服务资源分发方法的流程图;Figure 2 is a flow chart of a service resource distribution method for a non-contracted content provider provided in Embodiment 1 of the present application;
图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 application;
图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 application;
图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 application;
图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 application;
图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 application;
图8是本申请实施例提供的非签约CP直播业务单组播切换的流程图;Figure 8 is a flow chart of single-multicast switching of non-contracted CP live broadcast services provided by the embodiment of the present application;
图9是本申请实施例提供的非签约CP的组播分发流程图;Figure 9 is a flow chart of multicast distribution of non-subscription CP provided by the embodiment of this application;
图10是本申请实施例提供的一种视频服务方法的流程图;Figure 10 is a flow chart of a video service method provided by an embodiment of the present application;
图11是本申请另一实施例提供的一种视频服务方法的流程图;Figure 11 is a flow chart of a video service method provided by another embodiment of the present application;
图12是本申请又一实施例提供的一种视频服务方法的流程图。Figure 12 is a flow chart of a video service method provided by yet another embodiment of the present application.
具体实施方式Detailed ways
本部分将详细描述本申请的实施例,本申请之一些实施例在附图中示出,附图的作用在于用图形补充说明书文字部分的描述,使人能够直观地、形象地理解本申请的每个技术特征和整体技术方案,但其不能理解为对本申请保护范围的限制。This section will describe the embodiments of the present application in detail. Some embodiments of the present application 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 application. Each technical feature and the overall technical solution, however, cannot be understood as limiting the scope of protection of this application.
在本申请的描述中,如果有描述到第一、第二只是用于区分技术特征为目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量或者隐含指明所指示的技术特征的先后关系。In the description of this application, if there is a description of first and second, it is only 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 this application, 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 meaning of the above words in this application based on the content of the technical solution.
在IPTV(Internet Protocol Television or Interactive Personal TV)系统中,IPTV直播组播节省了大量的CDN资源和带宽,而OTT直播业务中,目前都以单播形式提供服务。因此,运营商希望将OTT直播与新型组播技术相结合,提供OTT组播能力,以应对OTT直播高并发,大流量的要求,特别是用来应对各种实时直播、网红直播的流量潮汐是非常有效的In the IPTV (Internet Protocol Television or Interactive Personal TV) system, IPTV live 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. is very effective
OTT业务相对于传统IPTV业务来说,有一个不同的特点:OTT内容提供商除了传统的CP(Content Provider内容提供商)外,还存在大量的互联网CP,这些互联网CP对于运营商来说,基本都是非签约的内容提供商用户,他们需要的是运营商的内容分发通道,能随时给 最终观众提供服务。对于非签约用户,运营商无法按传统视频业务方式,预先给此类用户分配服务资源及配置调度策略。Compared with traditional IPTV services, OTT services have a different characteristic: in addition to traditional CPs (Content Provider content providers), OTT content providers also have a large number of Internet CPs. These Internet CPs are basically useless to operators. They are all non-contracted content provider users. What they need is the operator’s content distribution channel, which can be provided at any time. Ultimately the audience provides the service. For non-subscriber users, operators cannot pre-allocate service resources and configure scheduling strategies to such users according to traditional video service methods.
本申请实施例提供一种非签约内容提供商的服务资源分发方法和视频服务系统,能够降低运营商的流量潮汐冲击效应,减少运维成本,为不同用户提供差异化的业务服务。The embodiments of this application provide a service resource distribution method and 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 application 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 application. 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 application 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:
所述组播代理响应于所述终端的组播服务请求,将所述组播媒体流转成单播媒体流并发 送给所述终端进行解码播放。The multicast agent responds to the multicast service request of the terminal and converts the multicast media stream into a unicast media stream concurrently. Send it to the terminal for decoding and playing.
在上述的服务资源分发方法中,所述组播服务器从所述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; or
所述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; or
所述带宽占用量大于第二预设值;或The bandwidth usage is greater than the second preset value; or
所述带宽占用率在预设时长内持续上升。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 application 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 set to: hijack the service request sent by the terminal to the dispatch center through the DPI device, and perform 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, send 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 the multicast Broadcast the switching instruction and the multicast channel information to the terminal, so that the terminal starts the multicast agent;
所述组播服务器被设置为创建组播频道并发送组播频道信息至所述组播业务管理平台;The multicast server is configured to create a multicast channel and send multicast channel information to the multicast service management platform;
所述组播代理被设置为向所述组播业务管理平台进行认证注册,在注册成功后加入所述组播频道的组播组与所述组播业务管理平台间通过心跳消息保持热活处理。The multicast agent is configured to perform authentication and registration with the multicast service management platform. After successful registration, the multicast group that joins the multicast channel and the multicast service management platform maintain hot-alive processing 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 application, reference can be made to the various embodiments provided in the above-mentioned Figures 1 to 7. The video service system provided by the embodiment of the present application is consistent with the above-mentioned 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 application will be explained with reference to Figures 8 and 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 application, including 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 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 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 below to Figure 9, Figure 9 is a multicast distribution flow chart of a non-signed CP, including 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 BIER network conditions and policies 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下,为了便于统一管理,减少客户端的资源消耗,由服务端对组播分发的时机和策略进行集中式统一管理:The embodiments of this application 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) and mirrored to the multicast service management platform. The multicast service management platform follows 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 this application 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 this application 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 application also provides a video service method, which is applied to the video service system shown in Figure 1 In the multicast service management platform, 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 application 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 application is the same as 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 application 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.
本申请实施例包括非签约内容提供商的服务资源分发方法、视频服务系统、视频服务方法和计算可读存储介质。根据本申请实施例提供的方案,通过对终端的服务请求进行业务分析,并根据得到服务信息判断是否预设切换条件,若是满足则由组播服务器创建组播频道,并通知终端启动组播代理,组播代理加入组播频道的组播组,提供集中式组播能力,能够降低运营商的流量潮汐冲击效应,减少运维成本,为不同用户提供差异化的业务服务,还可以节省大流量用户的运营成本,提升用户的满意度。Embodiments of the present application 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 application, 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.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质或非暂时性介质和通信介质或暂时性介质。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息诸如计算机可读指令、数据结构、程序模块或其他数据的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于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 Storage period any other medium that contains 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)

  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. 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服务节点提供单播服务,包括:The service resource distribution method according to claim 1, wherein 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所述的服务资源分发方法,其中,还包括:当所述终端启动所述组播代理,所述组播代理向所述组播业务管理平台进行认证注册。The service resource distribution method according to claim 1, further comprising: when the terminal starts the multicast agent, the multicast agent performs authentication registration with the multicast service management platform.
  4. 根据权利要求3所述的服务资源分发方法,其中,所述组播代理加入所述组播频道的组播组后,所述组播代理与所述组播业务管理平台间通过心跳消息保持热活处理。The service resource distribution method according to claim 3, wherein after the multicast agent joins the multicast group of the multicast channel, the multicast agent and the multicast service management platform maintain hot communication through heartbeat messages. Live processing.
  5. 根据权利要求1所述的服务资源分发方法,其中,所述视频服务系统还包括部署于网络层的BIER控制器,所述BIER控制器与所述组播业务管理平台通信,所述方法还包括:The service resource distribution method according to claim 1, wherein the video service system further includes a BIER controller deployed at the network layer, the BIER controller communicates with the multicast service management platform, the method further includes :
    所述组播业务管理平台获取所述组播代理上报的终端的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网络的分发链路,包括:The service resource distribution method according to claim 5, wherein 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所述的服务资源分发方法,其中,还包括: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所述的服务资源分发方法,其中,还包括: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所述的服务资源分发方法,其中,还包括: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服务节点获取单播媒体流,包括以下两种方式之一:The service resource distribution method according to claim 1, wherein 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; or
    所述CDN服务节点向所述组播服务器进行单播媒体流的推流。The CDN service node pushes the unicast media stream to the multicast server.
  11. 根据权利要求1所述的服务资源分发方法,其中,所述服务信息包括用户量、带宽占用量、带宽变化趋势中的至少之一;所述预设切换条件相应包括以下至少之一:The service resource distribution method according to claim 1, wherein 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; or
    所述带宽占用量大于第二预设值;或The bandwidth usage is greater than the second preset value; or
    所述带宽占用率在预设时长内持续上升。The bandwidth occupancy rate continues to increase within a preset time period.
  12. 一种视频服务系统,包括部署于服务层的组播业务管理平台和组播服务器以及部署于终端的组播代理,其中: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 set to: hijack the service request sent by the terminal to the dispatch center through the DPI device, and perform 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, send 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 the multicast Broadcast the switching instruction and the multicast channel information to the terminal, so that the terminal starts the multicast agent;
    所述组播服务器被设置为创建组播频并发送组播频道信息至所述组播业务管理平台;The multicast server is configured to create a multicast channel and send multicast channel information to the multicast service management platform;
    所述组播代理被设置为向所述组播业务管理平台进行认证注册,在注册成功后加入所述组播频道的组播组与所述组播业务管理平台间通过心跳消息保持热活处理。The multicast agent is configured to perform authentication and registration with the multicast service management platform. After successful registration, the multicast group that joins the multicast channel and the multicast service management platform maintain hot-alive processing through heartbeat messages. .
  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所述的视频服务方法,其中,所述方法还包括:The video service method according to claim 13, wherein 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 entrance address assigned by the BIER controller, and update the multicast frequency based on the BFIR entrance address. The mapping relationship between Tao, BFIR and BFER.
  15. 根据权利要求14所述的视频服务方法,其中,还包括: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任一项所述的视频服务方法。 A computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause a computer to execute the video service method according to any one of claims 13 to 15.
PCT/CN2023/100238 2022-06-22 2023-06-14 Service resource delivery method of non-contracted content provider, and video service system WO2023246599A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210712657.5A CN117319689A (en) 2022-06-22 2022-06-22 Service resource distribution method of non-subscription content provider and video service system
CN202210712657.5 2022-06-22

Publications (1)

Publication Number Publication Date
WO2023246599A1 true WO2023246599A1 (en) 2023-12-28

Family

ID=89248615

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/100238 WO2023246599A1 (en) 2022-06-22 2023-06-14 Service resource delivery method of non-contracted content provider, and video service system

Country Status (2)

Country Link
CN (1) CN117319689A (en)
WO (1) WO2023246599A1 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068213A (en) * 2007-07-06 2007-11-07 华为技术有限公司 Switch method, group broadcasting adding method and insertion router in proxy mobile IP
WO2008037218A1 (en) * 2006-09-25 2008-04-03 Huawei Technologies Co., Ltd. Method, system and media server for iptv channel quickly switching
CN101854533A (en) * 2010-06-10 2010-10-06 华为技术有限公司 Frequency channel switching method, device and system
CN104303545A (en) * 2012-05-04 2015-01-21 高通股份有限公司 Smooth transition between multimedia broadcast multicast service (mbms) and unicast service by demand
CN109257275A (en) * 2017-07-13 2019-01-22 中国电信股份有限公司 Method and system for multicast data forwarding
US20200107062A1 (en) * 2018-09-28 2020-04-02 Rovi Guides, Inc. Systems and methods for delivery of content via multicast and unicast
WO2020135562A1 (en) * 2018-12-26 2020-07-02 中兴通讯股份有限公司 Multicast method, device, apparatus, and computer storage medium
CN114339269A (en) * 2020-10-10 2022-04-12 中国电信股份有限公司 Video transmission method, multicast management platform, terminal and storage medium
WO2022095769A1 (en) * 2020-11-03 2022-05-12 中兴通讯股份有限公司 Multicast service design method, server and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008037218A1 (en) * 2006-09-25 2008-04-03 Huawei Technologies Co., Ltd. Method, system and media server for iptv channel quickly switching
CN101068213A (en) * 2007-07-06 2007-11-07 华为技术有限公司 Switch method, group broadcasting adding method and insertion router in proxy mobile IP
CN101854533A (en) * 2010-06-10 2010-10-06 华为技术有限公司 Frequency channel switching method, device and system
CN104303545A (en) * 2012-05-04 2015-01-21 高通股份有限公司 Smooth transition between multimedia broadcast multicast service (mbms) and unicast service by demand
CN109257275A (en) * 2017-07-13 2019-01-22 中国电信股份有限公司 Method and system for multicast data forwarding
US20200107062A1 (en) * 2018-09-28 2020-04-02 Rovi Guides, Inc. Systems and methods for delivery of content via multicast and unicast
WO2020135562A1 (en) * 2018-12-26 2020-07-02 中兴通讯股份有限公司 Multicast method, device, apparatus, and computer storage medium
CN114339269A (en) * 2020-10-10 2022-04-12 中国电信股份有限公司 Video transmission method, multicast management platform, terminal and storage medium
WO2022095769A1 (en) * 2020-11-03 2022-05-12 中兴通讯股份有限公司 Multicast service design method, server and storage medium

Also Published As

Publication number Publication date
CN117319689A (en) 2023-12-29

Similar Documents

Publication Publication Date Title
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
US7885286B2 (en) Method and arrangements in an IP network
US20100027560A1 (en) System and method for service mitigation in a communication system
CN109067578B (en) Method and device for multicast fast switching
US20130094367A1 (en) Method, apparatus, and system for carrying out multimedia service in wireless local area
US20090240811A1 (en) Resource management method, system and network equipment
US8203989B2 (en) Distributing content in a communication network
US20090019469A1 (en) Dynamic update of channel filtering information in iptv systems
EP2050007B1 (en) Method and system for transitioning streamed digital video content between stream servers in a digital video network
US20110191404A1 (en) Delivery system, agent server, and delivery method
US20100017828A1 (en) Method, system, and device for improving vod service reliability
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
WO2009015539A1 (en) Multicast control method for service of demanding the media content and the system thereof
WO2015023655A1 (en) Method and system for managing the delivery of over-the-top streams
WO2023246599A1 (en) Service resource delivery method of non-contracted content provider, and video service system
EP1983713A1 (en) Method for operating a network element and according device as well as communication system comprising such device
WO2010025635A1 (en) Method of switching of play, media server, user terminal and system thereof
US10230660B2 (en) Method and system for centralized controller for audio visual broadcasts
WO2009140909A1 (en) Method and system for forcibly transferring multicast message, route apparatus and terminal apparatus
KR102044001B1 (en) multicast and unicast mixed streaming apparatus and method for mobile IPTV service
CN112165416A (en) Networking and communication method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23826248

Country of ref document: EP

Kind code of ref document: A1