WO2021032123A1 - Method, apparatus, and system for acheiving policy scheduling - Google Patents

Method, apparatus, and system for acheiving policy scheduling Download PDF

Info

Publication number
WO2021032123A1
WO2021032123A1 PCT/CN2020/110021 CN2020110021W WO2021032123A1 WO 2021032123 A1 WO2021032123 A1 WO 2021032123A1 CN 2020110021 W CN2020110021 W CN 2020110021W WO 2021032123 A1 WO2021032123 A1 WO 2021032123A1
Authority
WO
WIPO (PCT)
Prior art keywords
video playback
service module
cdn service
playback request
module
Prior art date
Application number
PCT/CN2020/110021
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 WO2021032123A1 publication Critical patent/WO2021032123A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/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/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/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream 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/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2405Monitoring of the internal components or processes of the server, e.g. server load
    • 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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/22Adaptations for optical transmission

Definitions

  • the embodiments of the present application relate to, but are not limited to, a content delivery network CDN, for example, relate to a method, device, and system for implementing policy scheduling.
  • CDN Content Delivery Network
  • the basic idea is to avoid bottlenecks and links on the Internet that may affect the speed and stability of data transmission, so that content transmission can be faster and more stable.
  • the CDN system can in real time according to the network traffic and the connection of each node, the load status, and the distance and response to the user Comprehensive information such as time redirects the user's request to the service node closest to the user. Its purpose is to enable users to obtain the required content nearby, solve the congestion of the Internet network, and improve the response speed of users visiting the website.
  • the embodiment of the application provides a method for implementing policy scheduling, which is applied to an optical line terminal OLT, where the OLT is provided with a local content distribution network CDN service module, and the method for implementing policy scheduling includes:
  • the embodiment of the present application also provides a device for implementing policy scheduling, which is applied to an optical line terminal OLT, and the device includes:
  • OLT strategy module and local content distribution network CDN service module
  • the OLT policy module is configured to determine whether the received video playback request complies with a preset policy; in the case that the received video playback request complies with the preset policy, forward the received video playback request to the local CDN Service module.
  • the embodiment of the present application also provides a system for implementing policy scheduling, which includes: an optical line terminal OLT and a global scheduling module; the OLT is provided with a local content distribution network CDN service module;
  • the OLT is configured to determine whether the received video playback request complies with a preset policy; in the case that the video playback request complies with the preset policy, forward the video playback request to the local CDN service module; If the video playback request does not conform to the preset strategy, forward the video playback request to an external global scheduling module.
  • An embodiment of the present application also provides a device for implementing policy scheduling, including a memory, a processor, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor At the time, implement the above-mentioned method of implementing policy scheduling.
  • An embodiment of the present application also provides a computer-readable storage medium having an information processing program stored on the computer-readable storage medium, and when the information processing program is executed by a processor, the foregoing method for implementing policy scheduling is implemented.
  • FIG. 1 is a schematic flowchart of a method for implementing policy scheduling provided by an embodiment of the application
  • FIG. 2 is a schematic structural diagram of a device for implementing policy scheduling provided by an embodiment of this application;
  • FIG. 3 is a schematic structural diagram of a system for implementing policy scheduling provided by an embodiment of the application.
  • FIG. 4 is a schematic structural diagram of another system for implementing policy scheduling provided by an embodiment of this application.
  • FIG. 5 is a schematic flowchart of another method for implementing policy scheduling provided by an embodiment of the application.
  • FIG. 6 is a schematic diagram of a signal flow when the preset strategy is not met according to an embodiment of the application.
  • FIG. 7 is a schematic flowchart of another method for implementing policy scheduling according to an embodiment of the application.
  • FIG. 8 is a schematic diagram of another signal flow when the preset strategy is not met according to an embodiment of the application.
  • FIG. 9 is a schematic diagram of a process of pushing hot content in an embodiment of this application.
  • a CDN is deployed in the OLT, and the video playback request sent by the user side is strategically forwarded to provide video services nearby; thus, it makes full use of the bandwidth potential of the FTTH (Fiber To The Home) network, and greatly The throughput capacity of the entire network is improved, and the value of the optical access network is fully tapped.
  • FTTH Fiber To The Home
  • FIG. 1 is a schematic flowchart of a method for implementing policy scheduling provided by an embodiment of the application. This method is applied to an optical line terminal OLT, which is provided with a local content distribution network CDN service module, as shown in FIG. 1, including steps 101 to 102.
  • step 101 it is determined whether the received video playback request from the user side meets a preset policy
  • step 102 in the case that the video playback request on the user side meets the preset policy, the video playback request on the user side is forwarded to the local CDN service module.
  • the preset policy is that the local CDN service module is normal and the video playback request on the user side complies with the hijacking rule.
  • the forwarding of the user-side video playback request to the local CDN service module includes:
  • the original destination address of the video playback request on the user side is converted to the address of the local CDN service module, and the converted video playback request is forwarded to the local CDN service module.
  • the method further includes:
  • the local CDN service module retrieves local cache resources according to the received converted video playback request
  • the resource corresponding to the converted video playback request does not exist locally, pull the resource corresponding to the converted video playback request to the superior CDN service module, and then send the video playback response to the user side;
  • the video playback response carries the resource corresponding to the converted video playback request, and the original source address of the video playback response is converted to the original destination address of the video playback request on the user side.
  • the method also includes:
  • the video playback request on the user side does not conform to the preset policy
  • the video playback request on the user side is forwarded to an external global scheduling module.
  • the method also includes:
  • the local CDN service module receives a content push-down notification sent by an external intelligent analysis system, and the content push-down notification carries resources that require content push-down;
  • the higher-level CDN service module pulls the resources that need to be pushed-down.
  • the method also includes:
  • Fig. 2 is a schematic structural diagram of a device for implementing policy scheduling provided by an embodiment of the application.
  • the device is applied to an optical line terminal OLT, as shown in Figure 2, the device includes:
  • OLT strategy module and local CDN service module
  • the OLT policy module is configured to determine whether the received video playback request meets the preset policy; in the case that the received video playback request meets the preset policy, forward the received video playback request to the local CDN service module .
  • the OLT strategy module includes: an OLT strategy forwarding module and a CDN strategy processing module;
  • the OLT policy forwarding module is configured to determine whether the received video playback request complies with the preset policy; in the case that the received video playback request complies with the preset policy, forward the received video playback request to the CDN policy processing module;
  • the CDN policy processing module is configured to convert the original destination address of the received video playback request to the address of the local CDN service module, and forward the converted video playback request to the local CDN service module.
  • the local CDN service module is configured to retrieve local cached resources according to the received converted video playback request; in the case where resources corresponding to the converted video playback request exist locally, send the The CDN policy processing module sends a video playback response; when there is no resource corresponding to the converted video playback request locally, the superior CDN service module pulls the resource corresponding to the converted video playback request, and sends it to the The CDN policy processing module sends a video playback response; wherein, the video playback response carries the resource corresponding to the converted video playback request;
  • the CDN policy processing module is further configured to convert the original source address of the video playback response to the original destination address of the received video playback request, and forward the converted video playback response to the user side.
  • the device also includes:
  • the OLT CDN status monitoring module is set to periodically monitor the status of the local CDN service module
  • the OLT policy forwarding module is notified that the local CDN service module is abnormal.
  • Fig. 3 is a schematic structural diagram of a system for implementing policy scheduling provided by an embodiment of the application. As shown in Figure 3, the system includes:
  • the OLT is provided with a local content distribution network CDN service module;
  • the OLT is configured to determine whether the received video playback request complies with the preset policy; in the case that the video playback request complies with the preset policy, forward the video playback request to the local CDN service module; when the video playback request is not If the preset strategy is met, the video playback request is forwarded to an external global scheduling module.
  • the system also includes: a superior CDN service module;
  • the local CDN service module is configured to retrieve the local cache resource according to the received video playback request; when the resource corresponding to the video playback request exists locally, directly send the video playback response to the user side; locally In the case that there is no resource corresponding to the video playback request, pull the resource corresponding to the video playback request to the higher-level CDN service module, and then send a video playback response to the user side; wherein, the video playback response carries the video The resource corresponding to the playback request is played, and the original source address of the video playback response is converted to the original destination address of the video playback request.
  • the system also includes: an intelligent analysis system,
  • the intelligent analysis system is configured to analyze CDN service access logs, filter out a list of popular access files, and generate content push notifications for files that are not pushed down by hotspots in the list of popular access files, and send them to the local CDN service module ;
  • the content push notification carries the resources that need to be pushed down;
  • the local CDN service module is further configured to pull the resources that need to be pushed down to the higher-level CDN service module according to the content push-down notification.
  • the global scheduling module is configured to return the address of the upper-level CDN service module to the user side according to the video play request, so that the user side sends a video play request to the upper-level CDN service module.
  • Fig. 4 is a schematic structural diagram of another system for implementing policy scheduling provided by an embodiment of the application. As shown in Figure 4, the system includes:
  • the global scheduling module is set to be responsible for the global redirection of the user's video playback request, and returns the nearest local CDN service module address according to the user's address ownership.
  • the OLT equipment includes: an OLT policy forwarding module, a CDN policy processing module, a local CDN service module, and an OLT CDN status monitoring module;
  • the OLT policy forwarding module responsible for analyzing and processing the upstream video playback request sent by the user side (user terminal).
  • the local CDN service module When the local CDN service module is normal, it will policy forward the video playback request that meets the hijacking rule and forward the video playback request. Forward to the CDN policy processing module; in the case of abnormal status of the local CDN service module, the request is allowed to pass, that is, forwarded to the global scheduling module;
  • the CDN policy processing module responsible for analyzing and processing the video playback request forwarded by the OLT policy forwarding module, replacing the destination address of the video playback request, converting it to the internal address of the CDN server, and sending the video playback request to the local CDN Service module.
  • the local CDN service module responsible for receiving the video playback request from the user side, retrieving locally cached resource information according to the content of the user request, and directly returning the corresponding data stream to the user when there is a resource corresponding to the video playback request locally; In the case that there is no resource corresponding to the video playback request locally, according to the user's request, pull back to the source from the higher-level CDN service module;
  • the built-in blade of the OLT can be used to deploy a local CDN service module.
  • the OLT CDN status monitoring module responsible for monitoring and detecting the operating status of the local CDN service module, and promptly notify the OLT policy forwarding module when the local CDN service module status is abnormal, so as not to hijack the user service request and let it go .
  • the upper-level CDN service module is the normal home CDN service node of the user.
  • the local CDN service module in the OLT is in abnormal state, the user directly uses the upper-level CDN service module for service; at the same time, the local CDN service module in the OLT requires If the content resource does not exist, the local CDN service module in the OLT will pull the content resource from the higher-level CDN service module.
  • the intelligent analysis system includes: a content popularity statistics module and a content push module;
  • the content popularity statistics module responsible for collecting the access records of users of the CDN system of the entire network, counting the accessed TOP hot resources, ranking the hot resources, and generating a corresponding TOP N hot file list according to the configuration;
  • the content push module triggers the content push task based on the hot files counted by the content heat statistics module, sends the content push task to the local CDN service module of the OLT, and informs it to send the hot files to the local CDN service module in advance.
  • the upper-level CDN service module pulls resources.
  • FIG. 5 is a schematic flowchart of another method for implementing policy scheduling provided by an embodiment of the application.
  • FIG. 6 is a schematic diagram of the signal flow provided in this embodiment when the preset strategy is met.
  • the method includes step 501 to step 511.
  • step 501 the user terminal initiates a video playback request.
  • label 1 the destination address of the video playback request DST (destination) is the address of the global scheduling module: IP2, and the source address SRC (source) is STB-1 (Set Top Box, set-top box) Address: IP1;
  • the video request is first sent to the OLT policy forwarding module in the OLT.
  • the OLT policy forwarding module determines whether the received video playback request complies with a preset policy.
  • the preset policy is that the local CDN service module is normal and the video playback request complies with the hijacking rule.
  • the OLT policy forwarding module sets the policy PBR (Policy Based Routing) and hijacking rules in advance.
  • the hijacking rules are: Hypertext Transfer Protocol (HyperText Transfer Protocol) whose destination request address is IP2 Transfer Protocol, HTTP) request for hijacking.
  • HTTP Hypertext Transfer Protocol
  • the request originally needed to be sent to the global scheduling module is forwarded to the CDN policy processing module At this time, the request destination address remains unchanged, and it is still the global scheduling module address: IP2, for example, as shown in Figure 6: label 2.
  • steps 503-507 are executed, and if the destination address of the request does not meet the hijacking rules, steps 508-511 are executed:
  • step 503 the OLT policy forwarding module forwards the video playback request to the CDN policy processing module.
  • the CDN policy processing module converts the original destination address of the video playback request to the address of the local CDN service module, and forwards the converted video playback request to the local CDN service module.
  • the CDN policy processing module monitors all request protocol packets, and also monitors Transmission Control Protocol (TCP) packets whose destination address is not the local address.
  • TCP Transmission Control Protocol
  • the request packet When the request packet is received, it performs packet processing, and The request destination address of the message is replaced with the service address IP4 of the local CDN service module, and the request message is sent to the local CDN service module, for example, the number 3 shown in FIG. 6.
  • step 505 the local CDN service module retrieves local cache resources according to the received converted video playback request.
  • step 506 is executed, and if the resource corresponding to the converted video playback request does not exist locally, step 507 is executed.
  • step 506 the video playback response is directly sent to the user side.
  • step 507 the higher-level CDN service module pulls the resource corresponding to the converted video playback request, and then sends the video playback response to the user side.
  • the video playback response carries the resource corresponding to the converted video playback request, and the original source address of the video playback response is converted to the original destination address of the video playback request.
  • the local CDN service module receives and processes the user's playback request, first searches for locally cached resources, and directly provides services to the user when there is a resource corresponding to the user's playback request locally.
  • the upper-level CDN service module initiates a return request; after the upper-level CDN service module receives the return request initiated by the local CDN service module, it extracts the data from the local cache and provides the information.
  • Streaming service After receiving the data, the local CDN service module saves the data locally; for example, the numbers 4 and 5 shown in Figure 6. At the same time, the data stream is returned to the relevant user.
  • the process is that the data stream is first sent to the CDN policy processing module.
  • the source address of the data stream is the CDN service module address IP4, and the CDN policy processing module receives the data from the local CDN service module.
  • the OLT policy forwarding module For the user’s spit-out response, modify the response packet header, replace the source address of the data stream with the global scheduling module address IP2, and send the response to the OLT policy forwarding module.
  • the OLT policy forwarding module After receiving the request, the OLT policy forwarding module returns the final result to the user Video playback response, for example, as shown in Figure 6: Numbers 6, 7, 8.
  • step 508 the OLT policy forwarding module forwards the video playback request to an external global scheduling module.
  • step 509 the global scheduling service module receives the video playback request, and returns the corresponding upper-level CDN service module address according to the user's belonging.
  • step 510 the user terminal receives the address given by the global scheduling service module, and initiates a video playback request to the corresponding upper-level CDN service module again.
  • the upper-level CDN service module receives the user's video playback request and returns the corresponding video stream to the user.
  • the technical solution provided in this embodiment deploys a local CDN service module in the OLT, and implements policy forwarding on user service requests through the original OLT built-in policy module (OLT policy forwarding module and CDN policy processing module) to realize user-insensitive Internet video distribution sinking service method. And cooperate with the hotspot statistics and push system to realize the timely push down of hot content, increase the hit rate of user visits, and effectively enhance user service perception.
  • OLT policy forwarding module and CDN policy processing module to realize user-insensitive Internet video distribution sinking service method.
  • FIG. 7 is a schematic flowchart of another method for implementing policy scheduling provided by an embodiment of the application.
  • FIG. 8 is another schematic diagram of signal flow provided in this embodiment when the preset strategy is not met.
  • the method includes step 701 to step 707.
  • step 701 the OLT CDN status monitoring module regularly monitors the status of the local CDN service module.
  • the OLT CDN status monitoring module periodically initiates a status load query request to the local CDN service module.
  • the query content includes the current connection status of the node, the traffic status, the disk, the central processing unit (CPU) usage load and other data.
  • the node load alarm will be returned to the OLT CDN status monitoring module; when the local CDN service module equipment is unavailable, the load query message will fail to be sent and the OLT CDN status Perceived by the monitoring module.
  • step 702 when the status monitoring module determines that the local CDN service module is abnormal, it immediately reports the event to the OLT policy forwarding module to notify the abnormality.
  • the OLT policy forwarding module After the OLT policy forwarding module receives the abnormal alarm, it records the abnormal state of the local CDN service module as a judgment basis for subsequent scheduling.
  • step 703 the user terminal initiates a video playback request.
  • the video playback request is first sent to the OLT policy forwarding module in the OLT.
  • step 704 the OLT policy forwarding module determines that the received video play request does not conform to the preset policy, and forwards the video play request to the external global scheduling module.
  • the OLT policy forwarding module After the OLT policy forwarding module receives the request, it judges that the request can be hijacked, and then queries the status of the local CDN service module. At this time, if the local CDN service module node is found to be abnormal, the request will not be hijacked, and this request will be released. For the second request, the user normally requests the global scheduling service module, such as the number 2 shown in FIG. 8, and sends it to the global scheduling module through the BRAS (Broadband Remote Access Server).
  • BRAS Broadband Remote Access Server
  • step 705 the global scheduling service module receives the user's request, and returns the corresponding upper-level CDN service module address according to the user's belonging.
  • step 706 the user terminal receives the address given by the global scheduling service module, and initiates a play request again to the corresponding upper-level CDN service module.
  • the superior CDN service receives the user's request and returns the corresponding video stream to the user.
  • FIG. 9 is a schematic diagram of a hot content push process in this embodiment.
  • the process of pushing hot content includes steps 901 to 907.
  • step 901 after the upper-level CDN service module completes the access request of the user terminal, it automatically generates a business access log.
  • step 902 the upper-level CDN service module periodically uploads the aggregated access logs to the content popularity statistics module of the intelligent analysis system for processing.
  • the content popularity statistics module analyzes and processes the collected access logs, extracts file information according to the user's request from the Uniform Resource Locator (URL), performs access statistics and rankings on the files, and filters out the most visited files List.
  • URL Uniform Resource Locator
  • step 904 the content popularity statistics module regularly pushes the generated hot file list to the hotspot push module of the intelligent analysis system.
  • the hotspot push module analyzes the hot files, generates a hot push task for the content that has no hot push, and pushes it to a designated local CDN service module.
  • step 906 after the local CDN service module receives the message, it parses the task list, generates a drop-down queue for files that do not exist locally, and then goes to the higher-level CDN service module to drop down the files.
  • step 907 the local CDN service module sequentially pulls down the hot files, saves the files locally, and reports the pull-down result.
  • the technical solution provided in this embodiment cooperates with the hotspot statistics and push system to realize timely push down of hotspot content, improve the hit rate of user access, and effectively improve user service perception.
  • the technical solutions provided by the embodiments of this application make full use of the bandwidth potential of the FTTH network, provide nearby video services, greatly increase the throughput capacity of the entire network, and fully tap the value of the optical access network; at the same time, make full use of the access computer room space and OLT
  • the vacant slots enable it to play the function of a distributed data center and revitalize the large-scale access equipment room resources of operators.
  • An embodiment of the present application also provides a device for implementing policy scheduling, including a memory, a processor, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor When, implement any of the above-mentioned methods for implementing policy scheduling.
  • An embodiment of the present application also provides a computer-readable storage medium having an information processing program stored on the computer-readable storage medium, and when the information processing program is executed by a processor, the implementation strategy scheduling described in any one of the above is implemented Methods.
  • Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium).
  • the term computer storage medium includes volatile and non-volatile memory implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Flexible, removable and non-removable media.
  • Computer storage media include, but are not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), and flash memory Or other memory technologies, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical disk storage, magnetic cassettes, tapes, magnetic disk storage or other magnetic storage devices Or any other medium that can be used to store desired information and can be accessed by a computer.
  • communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed in embodiments of the present application are a method, apparatus, and system for achieving policy scheduling. The method is applied in an optical line terminal (OLT), the OLT is provided with a local content delivery network (CDN) service module, and the method for achieving policy scheduling comprises: determining whether a video playback request on a user side complies with a preset policy; and when the video playback request on the user side complies with the preset policy, forwarding the video playback request on the user side to the local CDN service module.

Description

一种实现策略调度的方法、装置及系统Method, device and system for implementing strategy scheduling
本申请要求在2019年8月19日提交中国专利局、申请号为201910764483.5的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office with application number 201910764483.5 on August 19, 2019. The entire content of this application is incorporated into this application by reference.
技术领域Technical field
本申请实施例涉及但不限于内容分发网络CDN,例如涉及一种实现策略调度的方法、装置及系统。The embodiments of the present application relate to, but are not limited to, a content delivery network CDN, for example, relate to a method, device, and system for implementing policy scheduling.
背景技术Background technique
CDN(Content Delivery Network)即内容分发网络,其基本思路是尽可能避开互联网上有可能影响数据传输速度和稳定性的瓶颈和环节,使内容传输的更快、更稳定。通过在网络各处放置节点服务器所构成的在相关技术中的互联网基础之上的一层智能虚拟网络,CDN系统能够实时地根据网络流量和各节点的连接、负载状况以及到用户的距离和响应时间等综合信息,将用户的请求重新导向离用户最近的服务节点上。其目的是使用户可就近取得所需内容,解决互联Internet网络拥挤的状况,提高用户访问网站的响应速度。CDN (Content Delivery Network) is a content delivery network. The basic idea is to avoid bottlenecks and links on the Internet that may affect the speed and stability of data transmission, so that content transmission can be faster and more stable. By placing node servers everywhere in the network constituted by a layer of intelligent virtual network based on the Internet in related technologies, the CDN system can in real time according to the network traffic and the connection of each node, the load status, and the distance and response to the user Comprehensive information such as time redirects the user's request to the service node closest to the user. Its purpose is to enable users to obtain the required content nearby, solve the congestion of the Internet network, and improve the response speed of users visiting the website.
近年来中国电信运营商固网宽带和IPTV(Internet Protocol Television,网络电视)/OTT TV(Over-The-Top TV,互联网电视)业务发展迅速,加上无限量移动套餐的推广,部分汇聚传输网络和城域传输网络出现传输瓶颈;同时由于采用PPPoE(Point-to-Point Protocol Over Ethernet,以太网上的点对点协议)接入,组播复制点没有下移到OLT(Optical Line Terminal,光线路终端),单播方式支持OTT直播,更加加重了网络拥挤的状况,进而影响了用户扩展和业务质量提升,同时,8K(分辨率)、VR(Virtual Reality,虚拟现实)等直播需求,也需要更大的网络带宽。In recent years, fixed-line broadband and IPTV (Internet Protocol Television)/OTT TV (Over-The-Top TV) services of Chinese telecom operators have developed rapidly. With the promotion of unlimited mobile packages, some convergent transmission networks And metropolitan area transmission network has a transmission bottleneck; at the same time, due to PPPoE (Point-to-Point Protocol Over Ethernet) access, the multicast replication point is not moved down to the OLT (Optical Line Terminal, optical line terminal) , The unicast mode supports OTT live broadcasts, which aggravates the network congestion, which in turn affects user expansion and service quality improvement. At the same time, live broadcast needs such as 8K (resolution) and VR (Virtual Reality) also require greater Network bandwidth.
发明内容Summary of the invention
本申请实施例提供了一种实现策略调度的方法,应用于光线路终端OLT,所述OLT设置有本地内容分发网络CDN服务模块,所述实现策略调度的方法包括:The embodiment of the application provides a method for implementing policy scheduling, which is applied to an optical line terminal OLT, where the OLT is provided with a local content distribution network CDN service module, and the method for implementing policy scheduling includes:
判断用户侧的视频播放请求是否符合预设策略;Determine whether the video playback request on the user side meets the preset strategy;
在所述用户侧的视频播放请求符合预设策略的情况下,将所述用户侧的视频播放请求转发给所述本地CDN服务模块。In the case that the video playback request on the user side meets the preset policy, forward the video playback request on the user side to the local CDN service module.
本申请实施例还提供了一种实现策略调度的装置,应用于光线路终端OLT,该装置包括:The embodiment of the present application also provides a device for implementing policy scheduling, which is applied to an optical line terminal OLT, and the device includes:
OLT策略模块和本地内容分发网络CDN服务模块;OLT strategy module and local content distribution network CDN service module;
所述OLT策略模块,设置为判断接收的视频播放请求是否符合预设策略;在所述接收的视频播放请求符合预设策略的情况下,将所述接收的视频播放请求转发给所述本地CDN服务模块。The OLT policy module is configured to determine whether the received video playback request complies with a preset policy; in the case that the received video playback request complies with the preset policy, forward the received video playback request to the local CDN Service module.
本申请实施例还提供了一种实现策略调度的系统,该系统包括:光线路终端OLT和全局调度模块;所述OLT设置有本地内容分发网络CDN服务模块;The embodiment of the present application also provides a system for implementing policy scheduling, which includes: an optical line terminal OLT and a global scheduling module; the OLT is provided with a local content distribution network CDN service module;
所述OLT,设置为判断接收的视频播放请求是否符合预设策略;在所述视频播放请求符合预设策略的情况下,将所述视频播放请求转发给所述本地CDN服务模块;在所述视频播放请求不符合预设策略的情况下,将所述视频播放请求转发给外部的全局调度模块。The OLT is configured to determine whether the received video playback request complies with a preset policy; in the case that the video playback request complies with the preset policy, forward the video playback request to the local CDN service module; If the video playback request does not conform to the preset strategy, forward the video playback request to an external global scheduling module.
本申请实施例还提供了一种实现策略调度的装置,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时,实现上述实现策略调度的方法。An embodiment of the present application also provides a device for implementing policy scheduling, including a memory, a processor, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor At the time, implement the above-mentioned method of implementing policy scheduling.
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有信息处理程序,所述信息处理程序被处理器执行时,实现上述实现策略调度的方法。An embodiment of the present application also provides a computer-readable storage medium having an information processing program stored on the computer-readable storage medium, and when the information processing program is executed by a processor, the foregoing method for implementing policy scheduling is implemented.
附图说明Description of the drawings
图1为本申请一实施例提供的一种实现策略调度的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for implementing policy scheduling provided by an embodiment of the application;
图2为本申请一实施例提供的一种实现策略调度的装置的结构示意图;2 is a schematic structural diagram of a device for implementing policy scheduling provided by an embodiment of this application;
图3为本申请一实施例提供的一种实现策略调度的系统的结构示意图;3 is a schematic structural diagram of a system for implementing policy scheduling provided by an embodiment of the application;
图4为本申请一实施例提供的另一种实现策略调度的系统的结构示意图;4 is a schematic structural diagram of another system for implementing policy scheduling provided by an embodiment of this application;
图5为本申请一实施例提供的另一种实现策略调度的方法的流程示意图;FIG. 5 is a schematic flowchart of another method for implementing policy scheduling provided by an embodiment of the application;
图6为本申请一实施例中提供的一种不符合预设策略时的信号流向示意图;FIG. 6 is a schematic diagram of a signal flow when the preset strategy is not met according to an embodiment of the application;
图7为本申请一实施例提供的又一种实现策略调度的方法的流程示意图;FIG. 7 is a schematic flowchart of another method for implementing policy scheduling according to an embodiment of the application;
图8为本申请一实施例中提供的另一种不符合预设策略时的信号流向示意图;FIG. 8 is a schematic diagram of another signal flow when the preset strategy is not met according to an embodiment of the application;
图9为本申请一实施例中热点内容推送的流程示意图。FIG. 9 is a schematic diagram of a process of pushing hot content in an embodiment of this application.
具体实施方式detailed description
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer-executable instructions. And, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
本申请实施例,在OLT内部署CDN,通过对用户侧发送的视频播放请求进行策略转发,就近提供视频服务;从而充分利用了FTTH(Fiber To The Home,光纤到户)网络的带宽潜力,大幅提高了全网吞吐流量能力,充分挖掘了光接入网络的价值。In the embodiment of this application, a CDN is deployed in the OLT, and the video playback request sent by the user side is strategically forwarded to provide video services nearby; thus, it makes full use of the bandwidth potential of the FTTH (Fiber To The Home) network, and greatly The throughput capacity of the entire network is improved, and the value of the optical access network is fully tapped.
图1为本申请一实施例提供的一种实现策略调度的方法的流程示意图。该方法应用于光线路终端OLT,所述OLT设置有本地内容分发网络CDN服务模块,如图1所示,包括步骤101至步骤102。FIG. 1 is a schematic flowchart of a method for implementing policy scheduling provided by an embodiment of the application. This method is applied to an optical line terminal OLT, which is provided with a local content distribution network CDN service module, as shown in FIG. 1, including steps 101 to 102.
在步骤101中,判断接收的用户侧的视频播放请求是否符合预设策略;In step 101, it is determined whether the received video playback request from the user side meets a preset policy;
在步骤102中,在用户侧的视频播放请求符合预设策略的情况下,将所述用户侧的视频播放请求转发给所述本地CDN服务模块。In step 102, in the case that the video playback request on the user side meets the preset policy, the video playback request on the user side is forwarded to the local CDN service module.
其中,所述预设策略为所述本地CDN服务模块正常且所述用户侧的视频播放请求符合劫持规则。Wherein, the preset policy is that the local CDN service module is normal and the video playback request on the user side complies with the hijacking rule.
其中,所述将所述用户侧的视频播放请求转发给所述本地CDN服务模块,包括:Wherein, the forwarding of the user-side video playback request to the local CDN service module includes:
将所述用户侧的视频播放请求的原目的地址转换为所述本地CDN服务模块的地址,并将转换后的视频播放请求转发给所述本地CDN服务模块。The original destination address of the video playback request on the user side is converted to the address of the local CDN service module, and the converted video playback request is forwarded to the local CDN service module.
其中,将转换后的视频播放请求转发给所述本地CDN服务模块之后,该方法还包括:Wherein, after forwarding the converted video playback request to the local CDN service module, the method further includes:
所述本地CDN服务模块根据接收的所述转换后的视频播放请求,检索本地的缓存资源;The local CDN service module retrieves local cache resources according to the received converted video playback request;
在本地存在所述转换后的视频播放请求对应的资源的情况下,直接向用户侧发送视频播放响应;When the resource corresponding to the converted video playback request exists locally, directly sending the video playback response to the user side;
在本地不存在所述转换后的视频播放请求对应的资源的情况下,向上级CDN服务模块拉取所述转换后的视频播放请求对应的资源,再向用户侧发送视频播放响应;If the resource corresponding to the converted video playback request does not exist locally, pull the resource corresponding to the converted video playback request to the superior CDN service module, and then send the video playback response to the user side;
其中,所述视频播放响应携带所述转换后的视频播放请求对应的资源,且所述视频播放响应的原源地址被转换为所述用户侧的视频播放请求的原目的地址。Wherein, the video playback response carries the resource corresponding to the converted video playback request, and the original source address of the video playback response is converted to the original destination address of the video playback request on the user side.
其中,该方法还包括:Among them, the method also includes:
在用户侧的视频播放请求不符合预设策略的情况下,将所述用户侧的视频播放请求转发给外部的全局调度模块。In the case that the video playback request on the user side does not conform to the preset policy, the video playback request on the user side is forwarded to an external global scheduling module.
其中,该方法还包括:Among them, the method also includes:
所述本地CDN服务模块接收外部智能分析系统发送的内容下推通知,所述内容下推通知携带需要进行内容下推的资源;The local CDN service module receives a content push-down notification sent by an external intelligent analysis system, and the content push-down notification carries resources that require content push-down;
根据所述内容下推通知向上级CDN服务模块拉取所述需要进行内容下推的资源。According to the content push-down notification, the higher-level CDN service module pulls the resources that need to be pushed-down.
其中,该方法还包括:Among them, the method also includes:
定期监控所述本地CDN服务模块的状态;Regularly monitor the status of the local CDN service module;
在所述本地CDN服务模块的负载过高或者不可用的情况下,判定所述本地CDN服务模块异常。When the load of the local CDN service module is too high or unavailable, it is determined that the local CDN service module is abnormal.
图2为本申请一实施例提供的一种实现策略调度的装置的结构示意图。该装置应用于光线路终端OLT,如图2所示,该装置包括:Fig. 2 is a schematic structural diagram of a device for implementing policy scheduling provided by an embodiment of the application. The device is applied to an optical line terminal OLT, as shown in Figure 2, the device includes:
OLT策略模块和本地CDN服务模块;OLT strategy module and local CDN service module;
所述OLT策略模块,设置为判断接收的视频播放请求是否符合预设策略;在接收的视频播放请求符合预设策略的情况下,将所述接收的视频播放请求转发给所述本地CDN服务模块。The OLT policy module is configured to determine whether the received video playback request meets the preset policy; in the case that the received video playback request meets the preset policy, forward the received video playback request to the local CDN service module .
其中,所述OLT策略模块包括:OLT策略转发模块和CDN策略处理模块;Wherein, the OLT strategy module includes: an OLT strategy forwarding module and a CDN strategy processing module;
所述OLT策略转发模块,设置为判断接收的视频播放请求是否符合预设策略;在接收的视频播放请求符合预设策略的情况下,将所述接收的视频播放请求转发给CDN策略处理模块;The OLT policy forwarding module is configured to determine whether the received video playback request complies with the preset policy; in the case that the received video playback request complies with the preset policy, forward the received video playback request to the CDN policy processing module;
所述CDN策略处理模块,设置为将所述接收的视频播放请求的原目的地址转换为所述本地CDN服务模块的地址,并将转换后的视频播放请求转发给本地CDN服务模块。The CDN policy processing module is configured to convert the original destination address of the received video playback request to the address of the local CDN service module, and forward the converted video playback request to the local CDN service module.
其中,所述本地CDN服务模块,设置为根据接收的所述转换后的视频播放请求,检索本地的缓存资源;在本地存在所述转换后的视频播放请求对应的资源的情况下,向所述CDN策略处理模块发送视频播放响应;在本地不存在所述转换后的视频播放请求对应的资源的情况下,向上级CDN服务模块拉取所述转换后的视频播放请求对应的资源,并向所述CDN策略处理模块发送视频播放响 应;其中,所述视频播放响应携带所述转换后的视频播放请求对应的资源;Wherein, the local CDN service module is configured to retrieve local cached resources according to the received converted video playback request; in the case where resources corresponding to the converted video playback request exist locally, send the The CDN policy processing module sends a video playback response; when there is no resource corresponding to the converted video playback request locally, the superior CDN service module pulls the resource corresponding to the converted video playback request, and sends it to the The CDN policy processing module sends a video playback response; wherein, the video playback response carries the resource corresponding to the converted video playback request;
所述CDN策略处理模块,还设置为将所述视频播放响应的原源地址转换为所述接收的视频播放请求的原目的地址,并向用户侧转发转换后的视频播放响应。The CDN policy processing module is further configured to convert the original source address of the video playback response to the original destination address of the received video playback request, and forward the converted video playback response to the user side.
其中,该装置还包括:Among them, the device also includes:
OLT CDN状态监控模块,设置为定期监控所述本地CDN服务模块的状态;The OLT CDN status monitoring module is set to periodically monitor the status of the local CDN service module;
在所述本地CDN服务模块的负载过高或者不可用的情况下,向所述OLT策略转发模块通知所述本地CDN服务模块异常。In the case that the load of the local CDN service module is too high or unavailable, the OLT policy forwarding module is notified that the local CDN service module is abnormal.
图3为本申请一实施例提供的一种实现策略调度的系统的结构示意图。如图3所示,该系统包括:Fig. 3 is a schematic structural diagram of a system for implementing policy scheduling provided by an embodiment of the application. As shown in Figure 3, the system includes:
光线路终端OLT和全局调度模块;所述OLT设置有本地内容分发网络CDN服务模块;Optical line terminal OLT and global scheduling module; the OLT is provided with a local content distribution network CDN service module;
所述OLT,设置为判断接收的视频播放请求是否符合预设策略;在视频播放请求符合预设策略的情况下,将所述视频播放请求转发给所述本地CDN服务模块;在视频播放请求不符合预设策略的情况下,将所述视频播放请求转发给外部的全局调度模块。The OLT is configured to determine whether the received video playback request complies with the preset policy; in the case that the video playback request complies with the preset policy, forward the video playback request to the local CDN service module; when the video playback request is not If the preset strategy is met, the video playback request is forwarded to an external global scheduling module.
其中,该系统还包括:上级CDN服务模块;Among them, the system also includes: a superior CDN service module;
所述本地CDN服务模块,设置为根据接收的所述视频播放请求,检索本地的缓存资源;在本地存在所述视频播放请求对应的资源的情况下,直接向用户侧发送视频播放响应;在本地不存在所述视频播放请求对应的资源的情况下,向上级CDN服务模块拉取所述视频播放请求对应的资源,再向用户侧发送视频播放响应;其中,所述视频播放响应携带所述视频播放请求对应的资源,且所述视频播放响应的原源地址被转换为所述视频播放请求的原目的地址。The local CDN service module is configured to retrieve the local cache resource according to the received video playback request; when the resource corresponding to the video playback request exists locally, directly send the video playback response to the user side; locally In the case that there is no resource corresponding to the video playback request, pull the resource corresponding to the video playback request to the higher-level CDN service module, and then send a video playback response to the user side; wherein, the video playback response carries the video The resource corresponding to the playback request is played, and the original source address of the video playback response is converted to the original destination address of the video playback request.
其中,该系统还包括:智能分析系统,Among them, the system also includes: an intelligent analysis system,
所述智能分析系统,设置为分析CDN业务访问日志,筛选出热门访问文件清单,并将所述热门访问文件清单中没有热点下推的文件生成内容下推通知,发送给所述本地CDN服务模块;所述内容下推通知携带需要进行内容下推的资源;The intelligent analysis system is configured to analyze CDN service access logs, filter out a list of popular access files, and generate content push notifications for files that are not pushed down by hotspots in the list of popular access files, and send them to the local CDN service module ; The content push notification carries the resources that need to be pushed down;
所述本地CDN服务模块,还设置为根据所述内容下推通知向上级CDN服务模块拉取所述需要进行内容下推的资源。The local CDN service module is further configured to pull the resources that need to be pushed down to the higher-level CDN service module according to the content push-down notification.
其中,所述全局调度模块,设置为根据所述视频播放请求,向用户侧返回上级CDN服务模块地址,以便所述用户侧向所述上级CDN服务模块发送视频播放请求。Wherein, the global scheduling module is configured to return the address of the upper-level CDN service module to the user side according to the video play request, so that the user side sends a video play request to the upper-level CDN service module.
图4为本申请一实施例提供的另一种实现策略调度的系统的结构示意图。如图4所示,该系统包括:Fig. 4 is a schematic structural diagram of another system for implementing policy scheduling provided by an embodiment of the application. As shown in Figure 4, the system includes:
全局调度模块、上级CDN服务模块、OLT设备和智能分析系统;Global dispatch module, superior CDN service module, OLT equipment and intelligent analysis system;
其中,所述全局调度模块,设置为负责对用户的视频播放请求进行全局重定向,根据用户的地址归属,返回最近的本地CDN服务模块地址。Wherein, the global scheduling module is set to be responsible for the global redirection of the user's video playback request, and returns the nearest local CDN service module address according to the user's address ownership.
其中,所述OLT设备包括:OLT策略转发模块、CDN策略处理模块、本地CDN服务模块和OLT CDN状态监控模块;Wherein, the OLT equipment includes: an OLT policy forwarding module, a CDN policy processing module, a local CDN service module, and an OLT CDN status monitoring module;
所述OLT策略转发模块:负责分析并处理用户侧(用户终端)发送的上行视频播放请求,在本地CDN服务模块正常的情况下,对于符合劫持规则的视频播放请求进行策略转发,将视频播放请求转发到CDN策略处理模块;在本地CDN服务模块状态异常的情况下,对请求进行放通处理,即转发到全局调度模块;The OLT policy forwarding module: Responsible for analyzing and processing the upstream video playback request sent by the user side (user terminal). When the local CDN service module is normal, it will policy forward the video playback request that meets the hijacking rule and forward the video playback request. Forward to the CDN policy processing module; in the case of abnormal status of the local CDN service module, the request is allowed to pass, that is, forwarded to the global scheduling module;
所述CDN策略处理模块:负责对OLT策略转发模块转发过来的视频播放请求进行分析处理,进行该视频播放请求的目的地址替换,转换为CDN服务器内部地址,并将该视频播放请求发送给本地CDN服务模块。The CDN policy processing module: responsible for analyzing and processing the video playback request forwarded by the OLT policy forwarding module, replacing the destination address of the video playback request, converting it to the internal address of the CDN server, and sending the video playback request to the local CDN Service module.
所述本地CDN服务模块:负责接收用户侧的视频播放请求,根据用户请求内容,检索本地已缓存的资源信息,在本地存在视频播放请求对应的资源的情况下,直接给用户返回相应数据流;在本地不存在视频播放请求对应的资源的情况下,根据用户请求,向上级CDN服务模块进行回源拉取;The local CDN service module: Responsible for receiving the video playback request from the user side, retrieving locally cached resource information according to the content of the user request, and directly returning the corresponding data stream to the user when there is a resource corresponding to the video playback request locally; In the case that there is no resource corresponding to the video playback request locally, according to the user's request, pull back to the source from the higher-level CDN service module;
示例性的,可以利用OLT内置刀片,部署本地CDN服务模块。Exemplarily, the built-in blade of the OLT can be used to deploy a local CDN service module.
所述OLT CDN状态监控模块:负责对本地CDN服务模块的运行状态进行监控检测,在本地CDN服务模块状态异常的情况下,及时通知OLT策略转发模块,对用户服务请求不做劫持,进行放通。The OLT CDN status monitoring module: Responsible for monitoring and detecting the operating status of the local CDN service module, and promptly notify the OLT policy forwarding module when the local CDN service module status is abnormal, so as not to hijack the user service request and let it go .
其中,上级CDN服务模块即为用户的正常归属CDN服务节点,在OLT内本地CDN服务模块状态异常的情况下,用户直接采用该上级CDN服务模块进行服务;同时在OLT内本地CDN服务模块上需要的内容资源不存在的情况下,OLT内的本地CDN服务模块将向该上级CDN服务模块进行内容资源拉取。Among them, the upper-level CDN service module is the normal home CDN service node of the user. When the local CDN service module in the OLT is in abnormal state, the user directly uses the upper-level CDN service module for service; at the same time, the local CDN service module in the OLT requires If the content resource does not exist, the local CDN service module in the OLT will pull the content resource from the higher-level CDN service module.
其中,所述智能分析系统包括:内容热度统计模块和内容下推模块;Wherein, the intelligent analysis system includes: a content popularity statistics module and a content push module;
所述内容热度统计模块:负责搜集全网CDN系统用户访问记录,统计访问的TOP热点资源,对热点资源进行排名统计,并可根据配置生成对应的TOP N热点文件列表;The content popularity statistics module: Responsible for collecting the access records of users of the CDN system of the entire network, counting the accessed TOP hot resources, ranking the hot resources, and generating a corresponding TOP N hot file list according to the configuration;
所述内容下推模块:根据内容热度统计模块统计出来的热点文件,触发内容下推任务,将内容下推任务下发给OLT的本地CDN服务模块,并通知其对于下发的热点文件提前向上级CDN服务模块进行资源拉取。The content push module: triggers the content push task based on the hot files counted by the content heat statistics module, sends the content push task to the local CDN service module of the OLT, and informs it to send the hot files to the local CDN service module in advance. The upper-level CDN service module pulls resources.
图5为本申请一实施例提供的另一种实现策略调度的方法的流程示意图。FIG. 5 is a schematic flowchart of another method for implementing policy scheduling provided by an embodiment of the application.
本实施例应用于图4所示的系统,基于图4所示的系统,图6为本实施例中提供的一种符合预设策略时的信号流向示意图。This embodiment is applied to the system shown in FIG. 4, and is based on the system shown in FIG. 4. FIG. 6 is a schematic diagram of the signal flow provided in this embodiment when the preset strategy is met.
如图5所示,该方法包括步骤501至步骤511。As shown in FIG. 5, the method includes step 501 to step 511.
在步骤501中,用户终端发起视频播放请求。In step 501, the user terminal initiates a video playback request.
示例性的,如图6所示,标号1:该视频播放请求的目的地址DST(destination)为全局调度模块地址:IP2,源地址SRC(source)为STB-1(Set Top Box,机顶盒)的地址:IP1;Exemplarily, as shown in Figure 6, label 1: the destination address of the video playback request DST (destination) is the address of the global scheduling module: IP2, and the source address SRC (source) is STB-1 (Set Top Box, set-top box) Address: IP1;
该视频请求首先被送入OLT中的OLT策略转发模块。The video request is first sent to the OLT policy forwarding module in the OLT.
在步骤502中,OLT策略转发模块判断接收的视频播放请求是否符合预设策略。In step 502, the OLT policy forwarding module determines whether the received video playback request complies with a preset policy.
其中,所述预设策略为所述本地CDN服务模块正常且所述视频播放请求符合劫持规则。Wherein, the preset policy is that the local CDN service module is normal and the video playback request complies with the hijacking rule.
示例性的,OLT策略转发模块提前设置好策略PBR,(Policy Based Routing,策略路由)和劫持规则,例如本实施例中,劫持规则为:针对目的请求地址为IP2的超文本传输协议(Hyper Text Transfer Protocol,HTTP)请求进行劫持。在收到用户视频播放请求的情况下,判断到该次请求目的地址符合劫持规则,且此时本地CDN服务模块状态正常,则将原本需要发送给全局调度模块的请求,转发到CDN策略处理模块,此时请求目的地址不变,仍为全局调度模块地址:IP2,例如图6所示:标号2。Exemplarily, the OLT policy forwarding module sets the policy PBR (Policy Based Routing) and hijacking rules in advance. For example, in this embodiment, the hijacking rules are: Hypertext Transfer Protocol (HyperText Transfer Protocol) whose destination request address is IP2 Transfer Protocol, HTTP) request for hijacking. In the case of receiving the user's video playback request, if it is determined that the destination address of the request complies with the hijacking rules, and the local CDN service module is in normal state at this time, the request originally needed to be sent to the global scheduling module is forwarded to the CDN policy processing module At this time, the request destination address remains unchanged, and it is still the global scheduling module address: IP2, for example, as shown in Figure 6: label 2.
在该次请求目的地址符合劫持规则的情况下,执行步骤503-507,在该次请求目的地址不符合劫持规则的情况下,执行步骤508-511:If the destination address of the request complies with the hijacking rules, steps 503-507 are executed, and if the destination address of the request does not meet the hijacking rules, steps 508-511 are executed:
在步骤503中,OLT策略转发模块将所述视频播放请求转发给所述CDN策略处理模块。In step 503, the OLT policy forwarding module forwards the video playback request to the CDN policy processing module.
在步骤504中,CDN策略处理模块,将所述视频播放请求的原目的地址转换为所述本地CDN服务模块的地址,并将转换后的视频播放请求转发给所述本地CDN服务模块。In step 504, the CDN policy processing module converts the original destination address of the video playback request to the address of the local CDN service module, and forwards the converted video playback request to the local CDN service module.
示例性的,CDN策略处理模块监听所有请求协议包,对于目的地址非本机地址的传输控制协议(Transmission Control Protocol,TCP)包也进行监听,当 收到请求包后,进行报文处理,将报文的请求目的地址替换为本地CDN服务模块的服务地址IP4,并将请求报文发送给本地CDN服务模块,例如图6所示的标号3。Exemplarily, the CDN policy processing module monitors all request protocol packets, and also monitors Transmission Control Protocol (TCP) packets whose destination address is not the local address. When the request packet is received, it performs packet processing, and The request destination address of the message is replaced with the service address IP4 of the local CDN service module, and the request message is sent to the local CDN service module, for example, the number 3 shown in FIG. 6.
在步骤505中,所述本地CDN服务模块根据接收的转换后的视频播放请求,检索本地的缓存资源。In step 505, the local CDN service module retrieves local cache resources according to the received converted video playback request.
在本地存在所述转换后的视频播放请求对应的资源的情况下,执行步骤506,在本地不存在所述转换后的视频播放请求对应的资源的情况下,执行步骤507。If the resource corresponding to the converted video playback request exists locally, step 506 is executed, and if the resource corresponding to the converted video playback request does not exist locally, step 507 is executed.
在步骤506中,直接向用户侧发送视频播放响应。In step 506, the video playback response is directly sent to the user side.
在步骤507中,向上级CDN服务模块拉取所述转换后的视频播放请求对应的资源,再向用户侧发送视频播放响应。In step 507, the higher-level CDN service module pulls the resource corresponding to the converted video playback request, and then sends the video playback response to the user side.
其中,所述视频播放响应携带所述转换后的视频播放请求对应的资源,且所述视频播放响应的原源地址被转换为所述视频播放请求的原目的地址。Wherein, the video playback response carries the resource corresponding to the converted video playback request, and the original source address of the video playback response is converted to the original destination address of the video playback request.
示例性的,本地CDN服务模块接收并处理用户播放请求,首先搜索本地所缓存资源,在本地存在用户播放请求对应的资源的情况下,直接给用户提供服务。在本地不存在用户播放请求对应的资源的情况下,向上级CDN服务模块发起回源请求;上级CDN服务模块收到本地CDN服务模块发起的回源请求后,从本地缓存中提取数据并提供吐流服务;本地CDN服务模块收到数据后,将数据保存在本地;例如图6所示的标号4、5。同时,给相关用户返回数据流,过程为数据流首先被发给CDN策略处理模块,此时数据流的发送方源地址为CDN服务模块地址IP4,CDN策略处理模块接收到本地CDN服务模块的给用户的吐流响应,修改响应包报头,将数据流的发送方源地址替换为全局调度模块地址IP2,并将响应发送给OLT策略转发模块,OLT策略转发模块收到请求后,给用户返回最终视频播放响应,例如图6所示:标号6、7、8。Exemplarily, the local CDN service module receives and processes the user's playback request, first searches for locally cached resources, and directly provides services to the user when there is a resource corresponding to the user's playback request locally. In the case that there is no resource corresponding to the user's playback request locally, the upper-level CDN service module initiates a return request; after the upper-level CDN service module receives the return request initiated by the local CDN service module, it extracts the data from the local cache and provides the information. Streaming service: After receiving the data, the local CDN service module saves the data locally; for example, the numbers 4 and 5 shown in Figure 6. At the same time, the data stream is returned to the relevant user. The process is that the data stream is first sent to the CDN policy processing module. At this time, the source address of the data stream is the CDN service module address IP4, and the CDN policy processing module receives the data from the local CDN service module. For the user’s spit-out response, modify the response packet header, replace the source address of the data stream with the global scheduling module address IP2, and send the response to the OLT policy forwarding module. After receiving the request, the OLT policy forwarding module returns the final result to the user Video playback response, for example, as shown in Figure 6: Numbers 6, 7, 8.
如此,对于用户来说,用户认为此时为一个正常的全局调度及服务响应, 该响应是由全局调度模块给出。In this way, for the user, the user thinks that this is a normal global scheduling and service response, and the response is given by the global scheduling module.
在步骤508中,OLT策略转发模块将所述视频播放请求转发给外部的全局调度模块。In step 508, the OLT policy forwarding module forwards the video playback request to an external global scheduling module.
在步骤509中,全局调度服务模块收到视频播放请求,根据用户归属,返回对应的上级CDN服务模块地址。In step 509, the global scheduling service module receives the video playback request, and returns the corresponding upper-level CDN service module address according to the user's belonging.
在步骤510中,用户终端收到全局调度服务模块给定的地址,向对应的上级CDN服务模块再次发起视频播放请求。In step 510, the user terminal receives the address given by the global scheduling service module, and initiates a video playback request to the corresponding upper-level CDN service module again.
在步骤511中,上级CDN服务模块收到用户视频播放请求,返回对应的视频流给用户。In step 511, the upper-level CDN service module receives the user's video playback request and returns the corresponding video stream to the user.
本实施例提供的技术方案,在OLT内部署本地CDN服务模块,通过独创的OLT内置的策略模块(OLT策略转发模块和CDN策略处理模块),对用户服务请求进行策略转发,实现用户无感知的互联网视频分发下沉服务的方法。并配合热点统计及推送系统,实现热点内容的及时下推,提高用户访问的命中率,有效提升用户服务感知。The technical solution provided in this embodiment deploys a local CDN service module in the OLT, and implements policy forwarding on user service requests through the original OLT built-in policy module (OLT policy forwarding module and CDN policy processing module) to realize user-insensitive Internet video distribution sinking service method. And cooperate with the hotspot statistics and push system to realize the timely push down of hot content, increase the hit rate of user visits, and effectively enhance user service perception.
图7为本申请一实施例提供的又一种实现策略调度的方法的流程示意图。FIG. 7 is a schematic flowchart of another method for implementing policy scheduling provided by an embodiment of the application.
本实施例应用于图4所示的系统,基于图4所示的系统,图8为本实施例中提供的另一种不符合预设策略时的信号流向示意图。This embodiment is applied to the system shown in FIG. 4. Based on the system shown in FIG. 4, FIG. 8 is another schematic diagram of signal flow provided in this embodiment when the preset strategy is not met.
如图7所示,该方法包括步骤701至步骤707。As shown in FIG. 7, the method includes step 701 to step 707.
在步骤701中,OLT CDN状态监控模块定期监控所述本地CDN服务模块的状态。In step 701, the OLT CDN status monitoring module regularly monitors the status of the local CDN service module.
示例性的,OLT CDN状态监控模块,定期向本地CDN服务模块发起状态负载查询请求,查询内容包括节点当前连通情况,流量情况,磁盘,中央处理器(Central Processing Unit,CPU)使用负载等数据。在本地CDN服务模块负载过高的情况下,会向OLT CDN状态监控模块返回节点负载过高告警;在本地 CDN服务模块设备不可用的情况下,负载查询消息则会发送失败,被OLT CDN状态监控模块所感知。Exemplarily, the OLT CDN status monitoring module periodically initiates a status load query request to the local CDN service module. The query content includes the current connection status of the node, the traffic status, the disk, the central processing unit (CPU) usage load and other data. When the load of the local CDN service module is too high, the node load alarm will be returned to the OLT CDN status monitoring module; when the local CDN service module equipment is unavailable, the load query message will fail to be sent and the OLT CDN status Perceived by the monitoring module.
在步骤702中,状态监控模块判断到本地CDN服务模块异常时,立即向OLT策略转发模块上报事件,告知异常。In step 702, when the status monitoring module determines that the local CDN service module is abnormal, it immediately reports the event to the OLT policy forwarding module to notify the abnormality.
其中,在所述本地CDN服务模块的负载过高或者不可用的情况下,判定所述本地CDN服务模块异常。Wherein, when the load of the local CDN service module is too high or unavailable, it is determined that the local CDN service module is abnormal.
其中,OLT策略转发模块收到异常告警后,记录下本地CDN服务模块状态异常,作为后续调度的判断依据。Among them, after the OLT policy forwarding module receives the abnormal alarm, it records the abnormal state of the local CDN service module as a judgment basis for subsequent scheduling.
在步骤703中,用户终端发起视频播放请求。In step 703, the user terminal initiates a video playback request.
示例性的,如图8所示的标号1,该视频播放请求首先被送入OLT中的OLT策略转发模块。Exemplarily, as shown in Figure 8, the video playback request is first sent to the OLT policy forwarding module in the OLT.
在步骤704中,OLT策略转发模块判定接收的视频播放请求不符合预设策略,将所述视频播放请求转发给外部的全局调度模块。In step 704, the OLT policy forwarding module determines that the received video play request does not conform to the preset policy, and forwards the video play request to the external global scheduling module.
示例性的,OLT策略转发模块收到请求后,判断到该次请求可以被劫持,再查询本地CDN服务模块状态,此时发现本地CDN服务模块节点异常,则本次请求不做劫持,放行本次请求,用户正常请求到全局调度服务模块,例如图8所示的标号2,通过BRAS(Broadband Remote Access Server,宽带远程接入服务器)发送到全局调度模块。Exemplarily, after the OLT policy forwarding module receives the request, it judges that the request can be hijacked, and then queries the status of the local CDN service module. At this time, if the local CDN service module node is found to be abnormal, the request will not be hijacked, and this request will be released. For the second request, the user normally requests the global scheduling service module, such as the number 2 shown in FIG. 8, and sends it to the global scheduling module through the BRAS (Broadband Remote Access Server).
在步骤705中,全局调度服务模块收到用户请求,根据用户归属,返回对应的上级CDN服务模块地址。In step 705, the global scheduling service module receives the user's request, and returns the corresponding upper-level CDN service module address according to the user's belonging.
例如图8所示的标号3。For example, the number 3 shown in Figure 8.
在步骤706中,用户终端收到全局调度服务模块给定的地址,向对应的上级CDN服务模块再次发起播放请求。In step 706, the user terminal receives the address given by the global scheduling service module, and initiates a play request again to the corresponding upper-level CDN service module.
例如图8所示的标号5。For example, the number 5 shown in FIG. 8.
在步骤707中,上级CDN服务收到用户请求,返回对应的视频流给用户。In step 707, the superior CDN service receives the user's request and returns the corresponding video stream to the user.
例如图8所示的标号6。For example, the number 6 shown in FIG. 8.
本实施例同样应用于图4所示的系统,在上述两个实施例的基础上,增加了热点内容推送过程,图9为本实施例中热点内容推送的流程示意图。This embodiment is also applied to the system shown in FIG. 4, and on the basis of the above two embodiments, a hot content push process is added. FIG. 9 is a schematic diagram of a hot content push process in this embodiment.
如图9所示,热点内容推送的过程包括步骤901至步骤907。As shown in Figure 9, the process of pushing hot content includes steps 901 to 907.
在步骤901中,上级CDN服务模块完成用户终端的访问请求后,自动生成业务访问日志。In step 901, after the upper-level CDN service module completes the access request of the user terminal, it automatically generates a business access log.
在步骤902中,上级CDN服务模块定期将汇总后的访问日志,上传给智能分析系统的内容热度统计模块做处理。In step 902, the upper-level CDN service module periodically uploads the aggregated access logs to the content popularity statistics module of the intelligent analysis system for processing.
在步骤903中,内容热度统计模块对收集上来的访问日志进行分析处理,根据用户请求统一资源定位系统(Uniform Resource Locator,URL)抽取文件信息,对文件进行访问统计排名,筛选出最热访问文件清单。In step 903, the content popularity statistics module analyzes and processes the collected access logs, extracts file information according to the user's request from the Uniform Resource Locator (URL), performs access statistics and rankings on the files, and filters out the most visited files List.
在步骤904中,内容热度统计模块定期将生成的热点文件清单推送给智能分析系统的热点下推模块。In step 904, the content popularity statistics module regularly pushes the generated hot file list to the hotspot push module of the intelligent analysis system.
在步骤905中,热点下推模块对热点文件进行分析,对其中还没有热点下推的内容生成热度下推任务,推送给指定的本地CDN服务模块。In step 905, the hotspot push module analyzes the hot files, generates a hot push task for the content that has no hot push, and pushes it to a designated local CDN service module.
在步骤906中,本地CDN服务模块接收到消息后,解析任务列表,将其中本地不存在的文件,生成下拉队列,依次去上级CDN服务模块进行文件下拉。In step 906, after the local CDN service module receives the message, it parses the task list, generates a drop-down queue for files that do not exist locally, and then goes to the higher-level CDN service module to drop down the files.
在步骤907中,本地CDN服务模块依次下拉热点文件,将文件保存在本地,并上报下拉结果。In step 907, the local CDN service module sequentially pulls down the hot files, saves the files locally, and reports the pull-down result.
如此,最终完成本次热点下推任务。In this way, this hot push-down task is finally completed.
本实施例提供的技术方案,配合热点统计及推送系统,实现热点内容的及时下推,提高用户访问的命中率,有效提升用户服务感知。The technical solution provided in this embodiment cooperates with the hotspot statistics and push system to realize timely push down of hotspot content, improve the hit rate of user access, and effectively improve user service perception.
本申请实施例提供的技术方案,充分利用FTTH网络的带宽潜力,就近提供视频服务,大幅提高全网吞吐流量能力,充分挖掘了光接入网络的价值;同时,充分利用接入机房空间和OLT空余槽位,使其发挥分布式数据中心的功能,盘活了运营商规模庞大的接入机房资源。The technical solutions provided by the embodiments of this application make full use of the bandwidth potential of the FTTH network, provide nearby video services, greatly increase the throughput capacity of the entire network, and fully tap the value of the optical access network; at the same time, make full use of the access computer room space and OLT The vacant slots enable it to play the function of a distributed data center and revitalize the large-scale access equipment room resources of operators.
本申请实施例还提供了一种实现策略调度的装置,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时,实现上述任一项所述实现策略调度的方法。An embodiment of the present application also provides a device for implementing policy scheduling, including a memory, a processor, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor When, implement any of the above-mentioned methods for implementing policy scheduling.
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有信息处理程序,所述信息处理程序被处理器执行时,实现上述任一项所述实现策略调度的方法。An embodiment of the present application also provides a computer-readable storage medium having an information processing program stored on the computer-readable storage medium, and when the information processing program is executed by a processor, the implementation strategy scheduling described in any one of the above is implemented Methods.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由多个物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于随机访问存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、带电可擦可编程只读存储器(Electrically Erasable Programmable read only memory,EEPROM)、闪存或其他存储器技术、 光盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能盘(Digital Versatile Disc,DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。A person of ordinary skill in the art can understand that all or some of the steps, functional modules/units in the system, and apparatus in the methods disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may consist of multiple The physical components cooperate to execute. Some or all components may be implemented as software executed by a processor, such as 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 a computer-readable medium, and the computer-readable medium may include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile memory implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Flexible, removable and non-removable media. Computer storage media include, but are not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), and flash memory Or other memory technologies, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical disk storage, magnetic cassettes, tapes, magnetic disk storage or other magnetic storage devices Or any other medium that can be used to store desired information and can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media .

Claims (17)

  1. 一种实现策略调度的方法,应用于光线路终端OLT,所述OLT设置有本地内容分发网络CDN服务模块,所述实现策略调度的方法包括:A method for implementing policy scheduling is applied to an optical line terminal OLT, where the OLT is provided with a local content distribution network CDN service module, and the method for implementing policy scheduling includes:
    判断用户侧的视频播放请求是否符合预设策略;Determine whether the video playback request on the user side meets the preset strategy;
    在所述用户侧的视频播放请求符合预设策略的情况下,将所述用户侧的视频播放请求转发给所述本地CDN服务模块。In the case that the video playback request on the user side meets the preset policy, forward the video playback request on the user side to the local CDN service module.
  2. 根据权利要求1所述的方法,其中,The method of claim 1, wherein:
    所述预设策略为所述本地CDN服务模块正常且所述用户侧的视频播放请求符合劫持规则。The preset policy is that the local CDN service module is normal and the user-side video playback request complies with the hijacking rule.
  3. 根据权利要求1所述的方法,其中,所述将所述用户侧的视频播放请求转发给所述本地CDN服务模块,包括:The method according to claim 1, wherein the forwarding the user-side video playback request to the local CDN service module comprises:
    将所述用户侧的视频播放请求的原目的地址转换为所述本地CDN服务模块的地址,并将转换后的视频播放请求转发给所述本地CDN服务模块。The original destination address of the video playback request on the user side is converted to the address of the local CDN service module, and the converted video playback request is forwarded to the local CDN service module.
  4. 根据权利要求3所述的方法,将转换后的视频播放请求转发给所述本地CDN服务模块之后,还包括:The method according to claim 3, after forwarding the converted video playback request to the local CDN service module, further comprising:
    所述本地CDN服务模块根据接收的所述转换后视频播放请求,检索本地的缓存资源;The local CDN service module retrieves local cache resources according to the received converted video playback request;
    在本地存在所述转换后的视频播放请求对应的资源的情况下,直接向所述用户侧发送视频播放响应;In the case that the resource corresponding to the converted video playback request exists locally, directly sending the video playback response to the user side;
    在本地不存在所述转换后的视频播放请求对应的资源的情况下,向上级CDN服务模块拉取所述转换后的视频播放请求对应的资源,再向所述用户侧发送视频播放响应;In the case that there is no resource corresponding to the converted video playback request locally, pull the resource corresponding to the converted video playback request to the superior CDN service module, and then send the video playback response to the user side;
    其中,所述视频播放响应携带所述转换后的视频播放请求对应的资源,且所述视频播放响应的原源地址被转换为所述用户侧的视频播放请求的原目的地址。Wherein, the video playback response carries the resource corresponding to the converted video playback request, and the original source address of the video playback response is converted to the original destination address of the video playback request on the user side.
  5. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    在所述用户侧的视频播放请求不符合预设策略的情况下,将所述用户侧的 视频播放请求转发给外部的全局调度模块。In the case that the video playback request on the user side does not meet the preset policy, the video playback request on the user side is forwarded to an external global scheduling module.
  6. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    所述本地CDN服务模块接收外部智能分析系统发送的内容下推通知,所述内容下推通知携带需要进行内容下推的资源;The local CDN service module receives a content push-down notification sent by an external intelligent analysis system, and the content push-down notification carries resources that require content push-down;
    根据所述内容下推通知向上级CDN服务模块拉取所述需要进行内容下推的资源。According to the content push-down notification, the higher-level CDN service module pulls the resources that need to be pushed-down.
  7. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    定期监控所述本地CDN服务模块的状态;Regularly monitor the status of the local CDN service module;
    在所述本地CDN服务模块的负载过高或者不可用的情况下,判定所述本地CDN服务模块异常。When the load of the local CDN service module is too high or unavailable, it is determined that the local CDN service module is abnormal.
  8. 一种实现策略调度的装置,应用于光线路终端OLT,所述装置包括:A device for implementing policy scheduling, applied to an optical line terminal OLT, and the device includes:
    OLT策略模块和本地内容分发网络CDN服务模块;OLT strategy module and local content distribution network CDN service module;
    所述OLT策略模块,设置为判断接收的视频播放请求是否符合预设策略;在所述接收的视频播放请求符合预设策略的情况下,将所述接收的视频播放请求转发给所述本地CDN服务模块。The OLT policy module is configured to determine whether the received video playback request complies with a preset policy; in the case that the received video playback request complies with the preset policy, forward the received video playback request to the local CDN Service module.
  9. 根据权利要求8所述的装置,其中,The device according to claim 8, wherein:
    所述OLT策略模块包括:OLT策略转发模块和CDN策略处理模块;The OLT strategy module includes: an OLT strategy forwarding module and a CDN strategy processing module;
    所述OLT策略转发模块,设置为判断所述接收的视频播放请求是否符合预设策略;在所述接收的视频播放请求符合预设策略的情况下,将所述接收的视频播放请求转发给所述CDN策略处理模块;The OLT policy forwarding module is configured to determine whether the received video play request meets a preset policy; in the case that the received video play request meets the preset policy, forward the received video play request to all The CDN strategy processing module;
    所述CDN策略处理模块,设置为将所述接收的视频播放请求的原目的地址转换为所述本地CDN服务模块的地址,并将转换后的视频播放请求转发给所述本地CDN服务模块。The CDN policy processing module is configured to convert the original destination address of the received video playback request to the address of the local CDN service module, and forward the converted video playback request to the local CDN service module.
  10. 根据权利要求9所述的装置,其中,The device according to claim 9, wherein:
    所述本地CDN服务模块,设置为根据接收的所述转换后的视频播放请求,检索本地的缓存资源;在本地存在所述转换后的视频播放请求对应的资源的情 况下,向所述CDN策略处理模块发送视频播放响应;在本地不存在所述转换后的视频播放请求对应的资源的情况下,向上级CDN服务模块拉取所述转换后的视频播放请求对应的资源,并向所述CDN策略处理模块发送视频播放响应;其中,所述视频播放响应携带所述转换后的视频播放请求对应的资源;The local CDN service module is configured to retrieve local cache resources according to the received converted video playback request; in the case where resources corresponding to the converted video playback request exist locally, send a policy to the CDN The processing module sends a video playback response; in the case that there is no resource corresponding to the converted video playback request locally, pull the resource corresponding to the converted video playback request to the superior CDN service module, and send it to the CDN The policy processing module sends a video playback response; wherein, the video playback response carries the resource corresponding to the converted video playback request;
    所述CDN策略处理模块,还设置为将所述视频播放响应的原源地址转换为所述接收的视频播放请求的原目的地址,并向用户侧转发转换后的视频播放响应。The CDN policy processing module is further configured to convert the original source address of the video playback response to the original destination address of the received video playback request, and forward the converted video playback response to the user side.
  11. 根据权利要求9所述的装置,还包括:The device according to claim 9, further comprising:
    OLT CDN状态监控模块,设置为定期监控所述本地CDN服务模块的状态;The OLT CDN status monitoring module is set to periodically monitor the status of the local CDN service module;
    在所述本地CDN服务模块的负载过高或者不可用的情况下,向所述OLT策略转发模块通知所述本地CDN服务模块异常。In the case that the load of the local CDN service module is too high or unavailable, the OLT policy forwarding module is notified that the local CDN service module is abnormal.
  12. 一种实现策略调度的系统,包括:光线路终端OLT和全局调度模块;所述OLT设置有本地内容分发网络CDN服务模块;A system for implementing strategic scheduling includes: an optical line terminal OLT and a global scheduling module; the OLT is provided with a local content distribution network CDN service module;
    所述OLT,设置为判断接收的视频播放请求是否符合预设策略;在所述视频播放请求符合预设策略的情况下,将所述视频播放请求转发给所述本地CDN服务模块;在所述视频播放请求不符合预设策略的情况下,将所述视频播放请求转发给外部的全局调度模块。The OLT is configured to determine whether the received video playback request complies with a preset policy; in the case that the video playback request complies with the preset policy, forward the video playback request to the local CDN service module; If the video playback request does not conform to the preset strategy, forward the video playback request to an external global scheduling module.
  13. 根据权利要求12所述的系统,还包括:上级CDN服务模块;The system according to claim 12, further comprising: an upper-level CDN service module;
    所述本地CDN服务模块,设置为根据接收的所述视频播放请求,检索本地的缓存资源;在本地存在所述视频播放请求对应的资源的情况下,直接向用户侧发送视频播放响应;在本地不存在所述视频播放请求对应的资源的情况下,向所述上级CDN服务模块拉取所述视频播放请求对应的资源,再向所述用户侧发送视频播放响应;其中,所述视频播放响应携带所述视频播放请求对应的资源,且所述视频播放响应的原源地址被转换为所述视频播放请求的原目的地址。The local CDN service module is configured to retrieve the local cache resource according to the received video playback request; when the resource corresponding to the video playback request exists locally, directly send the video playback response to the user side; locally If there is no resource corresponding to the video play request, pull the resource corresponding to the video play request from the higher-level CDN service module, and then send a video play response to the user side; wherein, the video play response The resource corresponding to the video playback request is carried, and the original source address of the video playback response is converted to the original destination address of the video playback request.
  14. 根据权利要求12所述的系统,还包括:智能分析系统,The system according to claim 12, further comprising: an intelligent analysis system,
    所述智能分析系统,设置为分析CDN业务访问日志,筛选出热门访问文件 清单,并将所述热门访问文件清单中没有热点下推的文件生成内容下推通知,发送给所述本地CDN服务模块;所述内容下推通知携带需要进行内容下推的资源;The intelligent analysis system is configured to analyze CDN service access logs, filter out a list of popular access files, and generate content push notifications for files that are not pushed down by hotspots in the list of popular access files, and send them to the local CDN service module ; The content push notification carries the resources that need to be pushed;
    所述本地CDN服务模块,还设置为根据所述内容下推通知向上级CDN服务模块拉取所述需要进行内容下推的资源。The local CDN service module is further configured to pull the resources that need to be pushed down to the higher-level CDN service module according to the content push-down notification.
  15. 根据权利要求12所述的系统,其中,The system according to claim 12, wherein:
    所述全局调度模块,设置为根据所述视频播放请求,向用户侧返回上级CDN服务模块地址,以便所述用户侧向所述上级CDN服务模块发送所述视频播放请求。The global scheduling module is configured to return the upper-level CDN service module address to the user side according to the video play request, so that the user side sends the video play request to the upper-level CDN service module.
  16. 一种实现策略调度的装置,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时,实现如权利要求1至7中任一项所述的实现策略调度的方法。A device for implementing policy scheduling, comprising a memory, a processor, and a computer program stored on the memory and running on the processor. When the computer program is executed by the processor, the implementation is as claimed in claim 1. The method for implementing policy scheduling described in any one of to 7.
  17. 一种计算机可读存储介质,所述计算机可读存储介质上存储有信息处理程序,所述信息处理程序被处理器执行时,实现如权利要求1至7中任一项所述的实现策略调度的方法。A computer-readable storage medium having an information processing program stored on the computer-readable storage medium, and when the information processing program is executed by a processor, the implementation strategy scheduling according to any one of claims 1 to 7 is realized Methods.
PCT/CN2020/110021 2019-08-19 2020-08-19 Method, apparatus, and system for acheiving policy scheduling WO2021032123A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910764483.5A CN112468848A (en) 2019-08-19 2019-08-19 Method, device and system for realizing policy scheduling
CN201910764483.5 2019-08-19

Publications (1)

Publication Number Publication Date
WO2021032123A1 true WO2021032123A1 (en) 2021-02-25

Family

ID=74659953

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/110021 WO2021032123A1 (en) 2019-08-19 2020-08-19 Method, apparatus, and system for acheiving policy scheduling

Country Status (2)

Country Link
CN (1) CN112468848A (en)
WO (1) WO2021032123A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160329965A1 (en) * 2014-04-03 2016-11-10 Centurylink Intellectual Property Llc System and Method for Implementing Extension of Customer LAN at Provider Network Service Point
CN106911701A (en) * 2017-03-06 2017-06-30 北京电信规划设计院有限公司 The method that content distribution is realized based on EPON
CN107071517A (en) * 2017-02-20 2017-08-18 北京吉视汇通科技有限责任公司 Video on-demand system
CN108012194A (en) * 2016-11-02 2018-05-08 中兴通讯股份有限公司 A kind of method, apparatus and system of control IPTV order videos
CN109982152A (en) * 2019-01-15 2019-07-05 中国联合网络通信集团有限公司 P2P CDN method for processing business, intelligent gateway and CDN platform
CN111385338A (en) * 2018-12-29 2020-07-07 中兴通讯股份有限公司 Method and device for realizing optical line terminal-content distribution network, medium and network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612456A (en) * 2015-10-26 2017-05-03 中兴通讯股份有限公司 Network video playing method and system, user terminal and home stream service node
US20170155740A1 (en) * 2015-12-01 2017-06-01 Le Holdings (Beijing) Co., Ltd. Method, Electronic Device and System for Acquiring Video Data
US10897406B2 (en) * 2017-01-22 2021-01-19 Huawei Technologies Co., Ltd. Scheduling method for content delivery network, and device
CN109218362B (en) * 2017-07-03 2021-01-15 中国移动通信有限公司研究院 Internet content distribution method, device and system
CN107332853A (en) * 2017-07-12 2017-11-07 浙江核聚通信技术有限公司 Mix the method and system of CDN video flowing distribution networks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160329965A1 (en) * 2014-04-03 2016-11-10 Centurylink Intellectual Property Llc System and Method for Implementing Extension of Customer LAN at Provider Network Service Point
CN108012194A (en) * 2016-11-02 2018-05-08 中兴通讯股份有限公司 A kind of method, apparatus and system of control IPTV order videos
CN107071517A (en) * 2017-02-20 2017-08-18 北京吉视汇通科技有限责任公司 Video on-demand system
CN106911701A (en) * 2017-03-06 2017-06-30 北京电信规划设计院有限公司 The method that content distribution is realized based on EPON
CN111385338A (en) * 2018-12-29 2020-07-07 中兴通讯股份有限公司 Method and device for realizing optical line terminal-content distribution network, medium and network
CN109982152A (en) * 2019-01-15 2019-07-05 中国联合网络通信集团有限公司 P2P CDN method for processing business, intelligent gateway and CDN platform

Also Published As

Publication number Publication date
CN112468848A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
US11336614B2 (en) Content node network address selection for content delivery
EP3595268B1 (en) Streaming media resource distribution method, system, edge node and central dispatching system
JP5181031B2 (en) Resilient service quality within a managed multimedia distribution network
US8756296B2 (en) Method, device and system for distributing file data
CN109951338B (en) CDN network configuration method, configuration device, electronic equipment and storage medium
US9602378B2 (en) Route decision method, content delivery apparatus, and content delivery network interconnection system
US20110320592A1 (en) Methods, systems, and computer readable media for content delivery using deep packet inspection
CN104320410A (en) All-service CDN system based on HTTP and working method thereof
WO2015034752A1 (en) Server-side systems and methods for reporting stream data
CN107211035B (en) Method and network node for monitoring services in a content delivery network
WO2017125017A1 (en) Method for adjusting cache content, device, and system
JP5962943B2 (en) Method and apparatus for transmitting streaming media data
JP2005532748A (en) Caching including packet inspection for payload inspection, alert service, digital content delivery, and quality of service management, and selective multicasting in publish-subscribe networks
CN113296924B (en) Content distribution method, device, system and storage medium
JP6795253B2 (en) Hot live video judgment method and equipment
EP2885896A1 (en) Data services in a computer system
US20140086185A1 (en) System For and Method of Dynamic Home Agent Allocation
CN109561137A (en) Establish method, apparatus, terminal device and the medium of P2P network
CN105009520A (en) Method for delivering content in communication network and apparatus therefor
EP3451609B1 (en) A method and a system to deliver multimedia content in a downstream network
KR20130039652A (en) Method and apparatus for load balancing of content centric network
KR101830760B1 (en) Overlay multicast system and its method to provide multiple content distribution in distributed content nodes
WO2021032123A1 (en) Method, apparatus, and system for acheiving policy scheduling
US20140317272A1 (en) Method of collecting information, content network management system, and node apparatus using management interface in content network based on information-centric networking
CN110958186A (en) Network equipment data processing method and system

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: 20855265

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20855265

Country of ref document: EP

Kind code of ref document: A1