CN112468848A - Method, device and system for realizing policy scheduling - Google Patents
Method, device and system for realizing policy scheduling Download PDFInfo
- Publication number
- CN112468848A CN112468848A CN201910764483.5A CN201910764483A CN112468848A CN 112468848 A CN112468848 A CN 112468848A CN 201910764483 A CN201910764483 A CN 201910764483A CN 112468848 A CN112468848 A CN 112468848A
- Authority
- CN
- China
- Prior art keywords
- video playing
- service module
- playing request
- cdn service
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000003287 optical effect Effects 0.000 claims abstract description 19
- 230000004044 response Effects 0.000 claims description 37
- 238000012545 processing Methods 0.000 claims description 27
- 238000012544 monitoring process Methods 0.000 claims description 14
- 230000002159 abnormal effect Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 6
- 230000010365 information processing Effects 0.000 claims description 6
- 238000012216 screening Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000008447 perception Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010076 replication Effects 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2405—Monitoring of the internal components or processes of the server, e.g. server load
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content 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/26208—Content 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing 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/44008—Processing 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/22—Adaptations for optical transmission
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a method, a device and a system for realizing strategy scheduling, wherein the method is applied to an Optical Line Terminal (OLT), the OLT is provided with a Content Delivery Network (CDN) service module, and the method comprises the following steps: judging whether the received video playing request accords with a preset strategy or not; and when the video playing request accords with a preset strategy, forwarding the video playing request to the CDN service module. Therefore, the CDN is deployed in the OLT to carry out strategy forwarding on the video playing request, so that the video service can be provided nearby, and the throughput capacity of the whole network is greatly improved.
Description
Technical Field
The embodiment of the invention relates to but is not limited to a Content Delivery Network (CDN), and particularly relates to a method, a device and a system for realizing policy scheduling.
Background
A CDN (Content Delivery Network), i.e., a Content Delivery Network, has a basic idea of avoiding bottlenecks and links on the internet that may affect data transmission speed and stability as much as possible, so that Content transmission is faster and more stable. By placing node servers at various positions of the network to form a layer of intelligent virtual network on the basis of the existing internet, the CDN system can redirect the request of a user to a service node closest to the user in real time according to network flow, connection of each node, load condition, distance to the user, response time and other comprehensive information. The method aims to enable the user to obtain the required content nearby, solve the problem of crowded Internet network and improve the response speed of the user for accessing the website.
In recent years, The development of fixed network broadband and IPTV (Internet Protocol Television)/OTT TV (Over-The-Top TV, Internet Television) services of The chinese telecom operator is rapid, and a bottleneck appears in a part of convergence transmission network and metropolitan area transmission network in addition to The popularization of an unlimited amount of mobile package; meanwhile, due to the adoption of PPPoE (Point-to-Point Protocol Over Ethernet) access, a multicast replication Point is not moved down to an OLT (Optical Line Terminal), the unicast mode supports OTT live broadcast, the network bottleneck is increased, and further user expansion and service quality improvement are influenced, meanwhile, the local side also puts forward live broadcast requirements such as 8K (resolution ratio), VR (Virtual Reality) and the like, and larger network bandwidth is needed.
Disclosure of Invention
In view of this, an embodiment of the present invention provides a method for implementing policy scheduling, which is applied to an optical line terminal OLT, where the optical line terminal is provided with a content delivery network CDN service module, and the method includes:
judging whether a video playing request of a user side meets a preset strategy or not;
and when the video playing request accords with a preset strategy, forwarding the video playing request to the CDN service module.
The embodiment of the invention also provides a device for realizing policy scheduling, which is applied to an optical line terminal OLT, and comprises:
an OLT strategy module and a CDN service module;
the OLT strategy module is used for judging whether the received video playing request conforms to a preset strategy or not; and when the video playing request accords with a preset strategy, forwarding the video playing request to the CDN service module.
The embodiment of the invention also provides a system for realizing policy scheduling, which comprises: an optical line terminal OLT and a global scheduling module; the optical line terminal is provided with a Content Delivery Network (CDN) service module;
the OLT is used for judging whether the received video playing request conforms to a preset strategy or not; when the video playing request accords with a preset strategy, forwarding the video playing request to the CDN service module; and when the video playing request does not accord with the preset strategy, forwarding the video playing request to an external global scheduling module.
The embodiment of the invention also provides a device for realizing the policy scheduling, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the method for realizing the policy scheduling is realized.
The embodiment of the invention also provides a computer readable storage medium, wherein an information processing program is stored on the computer readable storage medium, and when the information processing program is executed by a processor, the steps of the method for realizing the policy scheduling are realized.
According to the technical scheme provided by the embodiment of the invention, the CDN is deployed in the OLT to carry out strategy forwarding on the video playing request, so that the video service can be provided nearby, and the throughput capacity of the whole network is greatly improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a flowchart illustrating a method for implementing policy scheduling according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an apparatus for implementing policy scheduling according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a system for implementing policy scheduling according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a system for implementing policy scheduling according to another embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for implementing policy scheduling according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating a signal flow when a predetermined policy is not met according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a method for implementing policy scheduling according to an embodiment of the present invention;
FIG. 8 is a schematic diagram illustrating a signal flow when a predetermined policy is not met according to an embodiment of the present invention;
fig. 9 is a schematic flow chart of hot content push according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
In the embodiment of the invention, a CDN is deployed in an OLT, and video service is provided nearby by carrying out strategy forwarding on a video playing request sent by a user side; therefore, The bandwidth potential of an FTTH (Fiber To The Home) network is fully utilized, The throughput capacity of The whole network is greatly improved, and The value of an optical access network is fully exploited.
Fig. 1 is a flowchart illustrating a method for implementing policy scheduling according to an embodiment of the present invention. The method is applied to an optical line terminal OLT, which is provided with a content delivery network CDN service module, as shown in FIG. 1, and comprises the following steps:
and step 102, when the video playing request conforms to a preset strategy, forwarding the video playing request to the CDN service module.
The preset policy is that the local CDN service module is normal and the video playing request conforms to a hijacking rule.
Wherein, the forwarding the video playing request to the CDN service module includes:
and converting the original destination address of the video playing request into the address of the CDN service module, and forwarding the converted video playing request to the CDN service module.
After forwarding the converted video playing request to the CDN service module, the method further includes:
the CDN service module retrieves local cache resources according to the received video playing request;
when the resources corresponding to the video playing request exist locally, a video playing response is directly sent to the user side;
when the resources corresponding to the video playing request do not exist locally, pulling the corresponding resources to a superior CDN service module, and then sending a video playing response to a user side;
and the video playing response carries the corresponding resource, and the original source address of the video playing response is converted into the original destination address of the video playing request.
Wherein, the method also comprises:
and when the video playing request does not accord with the preset strategy, forwarding the video playing request to an external global scheduling module.
Wherein, the method also comprises:
the CDN service module receives a content push-down notification sent by an external intelligent analysis system, wherein the content push-down notification carries resources needing content push-down;
and pulling the resource needing to be subjected to content push-down to a higher CDN service module according to the content push-down notification.
Wherein, the method also comprises:
periodically monitoring the state of the local CDN service module;
and when the load of the local CDN service module is too high or unavailable, judging that the local CDN service module is abnormal.
Fig. 2 is a schematic structural diagram of an apparatus for implementing policy scheduling according to an embodiment of the present invention. The device is applied to an optical line terminal OLT, and as shown in fig. 2, the device comprises:
an OLT strategy module and a CDN service module;
the OLT strategy module is used for judging whether the received video playing request conforms to a preset strategy or not; and when the video playing request accords with a preset strategy, forwarding the video playing request to the CDN service module.
Wherein the OLT policy module comprises: the OLT comprises an OLT strategy forwarding module and a CDN strategy processing module;
the OLT strategy forwarding module is used for judging whether the received video playing request conforms to a preset strategy or not; when the video playing request accords with a preset strategy, the video playing request is forwarded to a CDN strategy processing module;
the CDN strategy processing module is used for converting the original destination address of the video playing request into the address of the CDN service module and forwarding the converted video playing request to the CDN service module.
The CDN service module is used for retrieving local cache resources according to the received video playing request; when a resource corresponding to the video playing request exists locally, sending a video playing response to the CDN policy processing module; when the resources corresponding to the video playing request do not exist locally, pulling the corresponding resources to a higher CDN service node, and sending a video playing response to the CDN strategy processing module; wherein the video playing response carries the corresponding resource;
the CDN policy processing module is further configured to convert an original source address of the video play response into an original destination address of the video play request, and forward the converted video play response to the user side.
Wherein, still include:
the OLT CDN state monitoring module is used for regularly monitoring the state of the local CDN service module;
and when the load of the local CDN service module is too high or unavailable, informing the OLT strategy forwarding module that the local CDN service module is abnormal.
Fig. 3 is a schematic structural diagram of a system for implementing policy scheduling according to an embodiment of the present invention. As shown in fig. 3, the system includes:
an optical line terminal OLT and a global scheduling module; the optical line terminal is provided with a Content Delivery Network (CDN) service module;
the OLT is used for judging whether the received video playing request conforms to a preset strategy or not; when the video playing request accords with a preset strategy, forwarding the video playing request to the CDN service module; and when the video playing request does not accord with the preset strategy, forwarding the video playing request to an external global scheduling module.
Wherein, this system still includes: an upper CDN service module;
the CDN service module is used for retrieving local cache resources according to the received video playing request; when the resources corresponding to the video playing request exist locally, a video playing response is directly sent to the user side; when the resources corresponding to the video playing request do not exist locally, pulling the corresponding resources to a superior CDN service module, and then sending a video playing response to a user side; and the video playing response carries the corresponding resource, and the original source address of the video playing response is converted into the original destination address of the video playing request.
Wherein, this system still includes: an intelligent analysis system is provided, which comprises a plurality of intelligent analysis systems,
the intelligent analysis system is used for analyzing CDN service access logs, screening out a hot access file list, generating a content push-down notification for files without hot push-down in the hot access file list, and sending the content push-down notification to the CDN service module; the content push-down notification carries resources needing to be pushed down;
the CDN service module is further configured to pull the resource needing content push-down to a higher CDN service module according to the content push-down notification.
The global scheduling module is used for returning an address of a higher-level CDN service module to a user side according to the video playing request so that the user side can send the video playing request to the higher-level CDN service module.
Fig. 4 is a schematic structural diagram of a system for implementing policy scheduling according to another embodiment of the present invention. As shown in fig. 4, the system includes:
the system comprises a global scheduling module, an upper CDN service module, OLT equipment and an intelligent analysis system;
the global scheduling module is used for carrying out global redirection on a video playing request of a user and returning a playing address of a nearest CDN service node according to the address home of the user.
Wherein the OLT device comprises: the system comprises an OLT (optical line terminal) strategy forwarding module, a CDN (content delivery network) strategy processing module, a CDN service module and an OLT-CDN state monitoring module;
the OLT policy forwarding module: the system is in charge of analyzing and processing an uplink video playing request sent by a user side (user terminal), when the CDN service module is normal, strategy forwarding is carried out on a time-frequency playing request which accords with a hijacking rule, and the video playing request is forwarded to a CDN strategy processing module; if the CDN service module is abnormal in state, the request is put through, namely, the request is forwarded to a global scheduling module;
the CDN policy processing module: and the OLT module is responsible for analyzing and processing the video playing request forwarded by the OLT strategy forwarding module, replacing a destination address of the video playing request, converting the destination address into an internal address of the CDN server, and sending the video playing request to the CDN service module.
The CDN service module is as follows: the system is responsible for receiving a video service request of a user side, retrieving local cached resource information according to the content of the user request, and directly returning a corresponding data stream to the user if the local resources exist; if the local resources do not exist, the user request is proxied, and source return pulling is carried out on the upper CDN service module;
specifically, the CDN content delivery system may be deployed using an OLT built-in blade.
The OLT-CDN state monitoring module is responsible for monitoring and detecting the running state of the CDN service module, and when the state of the CDN service module is abnormal, the OLT strategy forwarding module is informed in time, so that the user service request is not hijacked and the release is carried out.
Wherein, higher level CDN service module: when the state of a CDN service module in the OLT is abnormal, the user directly services on the CDN server; meanwhile, when the content resources on the CDN service module in the OLT do not exist, the CDN service module in the OLT pulls the content resources to the upper CDN service module.
Wherein, the intelligent analysis system includes: the content popularity statistic module and the content push-down module;
the content popularity statistic module is used for: the method is used for collecting the access records of the users of the CDN system of the whole network, counting the accessed TOP hot spot resources, performing ranking statistics on the hot spot resources, and generating a corresponding TOP N hot spot file list according to configuration;
the content push-down module: and triggering a content push-down task according to the hot spot files counted by the content heat counting module, issuing the task to the OLT CDN service module, and informing the OLT CDN service module to pull resources to the upper CDN service module in advance for the issued hot spot files.
Fig. 5 is a flowchart illustrating a method for implementing policy scheduling according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of signal flow when the preset policy is met in the present embodiment, based on the system shown in fig. 4.
As shown in fig. 5, the method includes:
specifically, as shown in fig. 6, 1: the destination address DST (destination) of the video playing request is the global scheduling module address: IP2, Source Address SRC (Source) is the address of STB-1(Set Top Box): IP 1;
the video request is first sent to an OLT policy forwarding module in the OLT.
502, an OLT strategy forwarding module judges whether a received video playing request accords with a preset strategy;
the preset policy is that the local CDN service module is normal and the video playing request conforms to a hijacking rule.
Specifically, the OLT Policy forwarding module sets a Policy PBR (Policy Based Routing) and a hijacking rule in advance, for example, in this embodiment, the hijacking rule is: hijacking is performed for http protocol requests with the destination request address being IP 2. When a user video playing request is received, if the request destination address meets the hijack rule and the state of the CDN service module is normal, the request originally needing to be sent to the global scheduling module is forwarded to the CDN strategy processing module, and the request destination address is unchanged and still is the global scheduling module address: IP2, such as shown in fig. 6: 2.
when there is a match, steps 503-507 are performed, and when there is no match, steps 508-511 are performed:
specifically, the CDN policy processing module monitors all request protocol packets, monitors tcp packets with a destination address that is not a local address, performs message processing after receiving the request packet, replaces the request destination address of the message with the service address IP4 of the CDN service module, and sends the request message to the CDN service module, for example, 3 shown in fig. 6: .
when the resource corresponding to the video playing request exists locally, executing step 506, and when the resource corresponding to the video playing request does not exist locally, executing step 507:
and the video playing response carries the corresponding resource, and the original source address of the video playing response is converted into the original destination address of the video playing request.
Specifically, the CDN service module receives and processes the user play request, searches for a local cached resource first, and directly provides a service to the user if the local resource exists. If the local area does not exist, a source returning request is initiated to the upper CDN service module; after receiving a back-to-source request initiated by the CDN service module, the upper CDN service module extracts data from a local cache and provides a stream-spitting service; after receiving the data, the CDN service module stores the data locally; such as 4, 5 shown in fig. 6. Meanwhile, a data stream is returned to a relevant user, specifically, the data stream is first sent to the CDN policy processing module, at this time, the source address of the sender of the data stream is the CDN policy processing module address IP4, the CDN policy processing module receives a stream-spitting response for the user from the CDN service module, modifies a response packet header, replaces the source address of the sender of the data stream with the global scheduling module address IP2, and sends the response to the OLT policy forwarding module, and the OLT policy forwarding module returns a final video play response to the user after receiving the request, for example, as shown in fig. 6: 6. 7 and 8.
Thus, the user considers this time to be a normal global schedule and service response, which is given by the global schedule module.
in step 511, the upper CDN service module receives the user video play request, and returns the corresponding video stream to the user.
In the technical scheme provided by this embodiment, a CDN service module is deployed in an OLT, and a policy forwarding is performed on a user service request through an originally-created policy module (an OLT policy forwarding module and a CDN policy processing module) built in the OLT, so as to implement a method for providing a convergence service for internet video distribution without user perception. And the hotspot statistics and the pushing system are matched, so that the hotspot content is pushed down in time, the hit rate of user access is improved, and the service perception of the user is effectively improved.
Fig. 7 is a flowchart illustrating a method for implementing policy scheduling according to an embodiment of the present invention.
Fig. 8 is a schematic diagram of signal flow when the preset policy is not met in the present embodiment, based on the system shown in fig. 4.
As shown in fig. 7, the method includes:
specifically, the OLT CDN status monitoring module periodically issues a status load query request to the CDN service module, where the query content includes data such as a current node connectivity condition, a traffic condition, a disk, and a cpu usage load. If the load of the CDN service module is too high, a node load too high alarm is returned to the state monitoring module; when the CDN service module device is unavailable, the load query message may be sent with a failure, and is sensed by the state monitoring module.
and when the load of the local CDN service module is too high or unavailable, judging that the local CDN service module is abnormal.
After receiving the abnormal alarm, the OLT strategy forwarding module records the state abnormality of the CDN service module as a judgment basis for subsequent scheduling.
specifically, as shown in fig. 8 at 1, the video request is first sent to the OLT policy forwarding module in the OLT.
specifically, after receiving the request, the OLT policy forwarding module determines that the request can be hijacked, queries the state of the CDN service module, finds that the CDN service module node is abnormal at this time, and releases the request without hijacking, where the user normally requests the global scheduling service module, for example, 2 shown in fig. 8, and sends the request to the global scheduling module through a BRAS (Broadband Remote Access Server).
705, the global scheduling service module receives the user request, and returns a corresponding upper CDN service module address according to the user attribution;
such as 3 shown in fig. 8.
In step 706, the user terminal receives the address given by the global scheduling service module, and initiates a play request to the corresponding upper CDN service module again.
Such as 5 shown in fig. 8.
And 707, the upper CDN service receives the user request and returns the corresponding video stream to the user.
Such as 6 shown in fig. 8.
The present embodiment is also applied to the system shown in fig. 4, a hot content pushing process is added on the basis of the two embodiments, and fig. 9 is a schematic flow diagram of hot content pushing in the present embodiment.
As shown in fig. 9, the specific process of pushing the hot content includes:
Thus, the hot spot push-down task is finally completed.
The technical scheme provided by the embodiment is matched with the hotspot counting and pushing system, so that the hotspot content is pushed down in time, the hit rate of user access is improved, and the service perception of the user is effectively improved.
According To The technical scheme provided by The embodiment of The invention, The bandwidth potential of an FTTH (Fiber To The Home) network is fully utilized, The video service is provided nearby, The throughput capacity of The whole network is greatly improved, and The value of an optical access network is fully exploited; meanwhile, the space of the access machine room and the vacant slot positions of the OLT are fully utilized, so that the functions of the distributed data center are exerted, and the access machine room resources with large scale of operators are survived.
The embodiment of the present invention further provides a device for implementing policy scheduling, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements any of the above methods for implementing policy scheduling.
An embodiment of the present invention further provides a computer-readable storage medium, where an information processing program is stored on the computer-readable storage medium, and when the information processing program is executed by a processor, the information processing program implements any of the steps of the method for implementing policy scheduling described above.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Claims (17)
1. A method for realizing strategy scheduling is applied to an Optical Line Terminal (OLT), wherein the OLT is provided with a Content Delivery Network (CDN) service module and comprises the following steps:
judging whether a video playing request of a user side meets a preset strategy or not;
and when the video playing request accords with a preset strategy, forwarding the video playing request to the CDN service module.
2. The method of claim 1,
the preset policy is that the local CDN service module is normal and the video playing request conforms to a hijacking rule.
3. The method of claim 1, wherein forwarding the video playback request to the CDN service module comprises:
and converting the original destination address of the video playing request into the address of the CDN service module, and forwarding the converted video playing request to the CDN service module.
4. The method of claim 3, wherein after forwarding the converted video playback request to the CDN service module, the method further comprises:
the CDN service module retrieves local cache resources according to the received video playing request;
when the resources corresponding to the video playing request exist locally, a video playing response is directly sent to the user side;
when the resources corresponding to the video playing request do not exist locally, pulling the corresponding resources to a superior CDN service module, and then sending a video playing response to a user side;
and the video playing response carries the corresponding resource, and the original source address of the video playing response is converted into the original destination address of the video playing request.
5. The method of claim 1, further comprising:
and when the video playing request does not accord with the preset strategy, forwarding the video playing request to an external global scheduling module.
6. The method of claim 1, further comprising:
the CDN service module receives a content push-down notification sent by an external intelligent analysis system, wherein the content push-down notification carries resources needing content push-down;
and pulling the resource needing to be subjected to content push-down to a higher CDN service module according to the content push-down notification.
7. The method of claim 1, further comprising:
periodically monitoring the state of the local CDN service module;
and when the load of the local CDN service module is too high or unavailable, judging that the local CDN service module is abnormal.
8. An apparatus for implementing policy scheduling, applied to an Optical Line Terminal (OLT), the apparatus comprising:
an OLT strategy module and a CDN service module;
the OLT strategy module is used for judging whether the received video playing request conforms to a preset strategy or not; and when the video playing request accords with a preset strategy, forwarding the video playing request to the CDN service module.
9. The apparatus of claim 8,
the OLT policy module comprises: the OLT comprises an OLT strategy forwarding module and a CDN strategy processing module;
the OLT strategy forwarding module is used for judging whether the received video playing request conforms to a preset strategy or not; when the video playing request accords with a preset strategy, the video playing request is forwarded to a CDN strategy processing module;
the CDN strategy processing module is used for converting the original destination address of the video playing request into the address of the CDN service module and forwarding the converted video playing request to the CDN service module.
10. The apparatus of claim 9,
the CDN service module is used for retrieving local cache resources according to the received video playing request; when a resource corresponding to the video playing request exists locally, sending a video playing response to the CDN policy processing module; when the resources corresponding to the video playing request do not exist locally, pulling the corresponding resources to a higher CDN service node, and sending a video playing response to the CDN strategy processing module; wherein the video playing response carries the corresponding resource;
the CDN policy processing module is further configured to convert an original source address of the video play response into an original destination address of the video play request, and forward the converted video play response to the user side.
11. The apparatus of claim 9, further comprising:
the OLT CDN state monitoring module is used for regularly monitoring the state of the local CDN service module;
and when the load of the local CDN service module is too high or unavailable, informing the OLT strategy forwarding module that the local CDN service module is abnormal.
12. A system for implementing policy scheduling, the system comprising: an optical line terminal OLT and a global scheduling module; the optical line terminal is provided with a Content Delivery Network (CDN) service module;
the OLT is used for judging whether the received video playing request conforms to a preset strategy or not; when the video playing request accords with a preset strategy, forwarding the video playing request to the CDN service module; and when the video playing request does not accord with the preset strategy, forwarding the video playing request to an external global scheduling module.
13. The system of claim 12, further comprising: an upper CDN service module;
the CDN service module is used for retrieving local cache resources according to the received video playing request; when the resources corresponding to the video playing request exist locally, a video playing response is directly sent to the user side; when the resources corresponding to the video playing request do not exist locally, pulling the corresponding resources to a superior CDN service module, and then sending a video playing response to a user side; and the video playing response carries the corresponding resource, and the original source address of the video playing response is converted into the original destination address of the video playing request.
14. The system of claim 12, further comprising: an intelligent analysis system is provided, which comprises a plurality of intelligent analysis systems,
the intelligent analysis system is used for analyzing CDN service access logs, screening out a hot access file list, generating a content push-down notification for files without hot push-down in the hot access file list, and sending the content push-down notification to the CDN service module; the content push-down notification carries resources needing to be pushed down;
the CDN service module is further configured to pull the resource needing content push-down to a higher CDN service module according to the content push-down notification.
15. The system of claim 12,
and the global scheduling module is used for returning an address of a superior CDN service module to a user side according to the video playing request so that the user side can send the video playing request to the superior CDN service module.
16. An apparatus for implementing policy scheduling, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the method for implementing policy scheduling according to any one of claims 1 to 7.
17. A computer-readable storage medium, having stored thereon an information processing program which, when executed by a processor, implements the steps of a method of implementing policy scheduling as claimed in any one of claims 1 to 7.
Priority Applications (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 |
PCT/CN2020/110021 WO2021032123A1 (en) | 2019-08-19 | 2020-08-19 | Method, apparatus, and system for acheiving policy scheduling |
Applications Claiming Priority (1)
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 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112468848A true CN112468848A (en) | 2021-03-09 |
Family
ID=74659953
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910764483.5A Pending CN112468848A (en) | 2019-08-19 | 2019-08-19 | Method, device and system for realizing policy scheduling |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112468848A (en) |
WO (1) | WO2021032123A1 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017071566A1 (en) * | 2015-10-26 | 2017-05-04 | 中兴通讯股份有限公司 | Network video playback method and system, and user terminal and home streaming service node |
US20170155740A1 (en) * | 2015-12-01 | 2017-06-01 | Le Holdings (Beijing) Co., Ltd. | Method, Electronic Device and System for Acquiring Video Data |
CN106911701A (en) * | 2017-03-06 | 2017-06-30 | 北京电信规划设计院有限公司 | The method that content distribution is realized based on EPON |
CN107332853A (en) * | 2017-07-12 | 2017-11-07 | 浙江核聚通信技术有限公司 | Mix the method and system of CDN video flowing distribution networks |
CN108521856A (en) * | 2017-01-22 | 2018-09-11 | 华为技术有限公司 | Dispatching method in content distributing network and equipment |
CN109218362A (en) * | 2017-07-03 | 2019-01-15 | 中国移动通信有限公司研究院 | A kind of internet content distribution method, device and system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10110710B2 (en) * | 2014-04-03 | 2018-10-23 | Centurylink Intellectual Property Llc | System and method for implementing extension of customer LAN at provider network service point |
CN108012194B (en) * | 2016-11-02 | 2021-11-05 | 中兴通讯股份有限公司 | Method, device and system for controlling IPTV video on demand |
CN107071517B (en) * | 2017-02-20 | 2019-12-10 | 北京吉视汇通科技有限责任公司 | Video-on-demand system |
CN111385338B (en) * | 2018-12-29 | 2023-02-07 | 中兴通讯股份有限公司 | Method and device for realizing optical line terminal-content distribution network, medium and network |
CN109982152B (en) * | 2019-01-15 | 2021-02-23 | 中国联合网络通信集团有限公司 | P2P CDN service processing method, intelligent gateway and CDN platform |
-
2019
- 2019-08-19 CN CN201910764483.5A patent/CN112468848A/en active Pending
-
2020
- 2020-08-19 WO PCT/CN2020/110021 patent/WO2021032123A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017071566A1 (en) * | 2015-10-26 | 2017-05-04 | 中兴通讯股份有限公司 | Network video playback method and system, and user terminal and home streaming service node |
US20170155740A1 (en) * | 2015-12-01 | 2017-06-01 | Le Holdings (Beijing) Co., Ltd. | Method, Electronic Device and System for Acquiring Video Data |
CN108521856A (en) * | 2017-01-22 | 2018-09-11 | 华为技术有限公司 | Dispatching method in content distributing network and equipment |
US20190140920A1 (en) * | 2017-01-22 | 2019-05-09 | Huawei Technologies Co., Ltd. | Scheduling Method for Content Delivery Network, and Device |
CN106911701A (en) * | 2017-03-06 | 2017-06-30 | 北京电信规划设计院有限公司 | The method that content distribution is realized based on EPON |
CN109218362A (en) * | 2017-07-03 | 2019-01-15 | 中国移动通信有限公司研究院 | A kind of 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 |
Also Published As
Publication number | Publication date |
---|---|
WO2021032123A1 (en) | 2021-02-25 |
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 | |
EP1252575B1 (en) | A system and method for rewriting a media resource request and/or response between origin server and client | |
CN109560901B (en) | Data retransmission method, device, terminal equipment and storage medium | |
US9026644B2 (en) | Anomaly detection and identification using traffic steering and real-time analytics | |
US9602378B2 (en) | Route decision method, content delivery apparatus, and content delivery network interconnection system | |
US8918535B2 (en) | Method and apparatus for carrier controlled dynamic rate adaptation and client playout rate reduction | |
CN109951338B (en) | CDN network configuration method, configuration device, electronic equipment and storage medium | |
US20110320592A1 (en) | Methods, systems, and computer readable media for content delivery using deep packet inspection | |
CN112333108B (en) | Service scheduling method and device | |
US20200044975A1 (en) | Determining Quality Information for a Route | |
US10397369B2 (en) | Methods and network nodes for monitoring services in a content delivery network | |
WO2018127011A1 (en) | Scheduling method and apparatus for transmission clusters of stream data | |
EP3066575B1 (en) | Server network address selection based on network characteristics of service providers | |
CN113296924A (en) | Content distribution method, device, system and storage medium | |
JP6795253B2 (en) | Hot live video judgment method and equipment | |
CN102833241A (en) | Streaming media service traffic record merged-processing method and device | |
US20140317272A1 (en) | Method of collecting information, content network management system, and node apparatus using management interface in content network based on information-centric networking | |
CN109857419B (en) | Method and device for automatically upgrading scheduling system | |
CN112468848A (en) | Method, device and system for realizing policy scheduling | |
US20230370344A1 (en) | Data processing node device and information transmission method performed in same device | |
CN114024917B (en) | Method, device, equipment and storage medium for guaranteeing internet service bandwidth | |
CN110958186A (en) | Network equipment data processing method and system | |
CN112422367B (en) | Method and system for realizing network delay detection by cloud control strategy and multi-protocol | |
CN108881359A (en) | A kind of document down loading method and device based on view networking |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210309 |
|
RJ01 | Rejection of invention patent application after publication |