CN116366876A - Method and system for deploying and scheduling film and television resources under Bian Yun collaborative scene - Google Patents
Method and system for deploying and scheduling film and television resources under Bian Yun collaborative scene Download PDFInfo
- Publication number
- CN116366876A CN116366876A CN202310342749.3A CN202310342749A CN116366876A CN 116366876 A CN116366876 A CN 116366876A CN 202310342749 A CN202310342749 A CN 202310342749A CN 116366876 A CN116366876 A CN 116366876A
- Authority
- CN
- China
- Prior art keywords
- video
- film
- television
- edge server
- cache
- 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 35
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000005265 energy consumption Methods 0.000 claims description 7
- 230000009191 jumping Effects 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 6
- 230000007547 defect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect 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/21—Server components or server architectures
- H04N21/222—Secondary servers, e.g. proxy server, cable television Head-end
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- 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/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2181—Source of audio or video content, e.g. local disk arrays comprising remotely distributed storage units, e.g. when movies are replicated over a plurality of video servers
-
- 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/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2183—Cache memory
-
- 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/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N21/23106—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
-
- 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/232—Content retrieval operation locally within server, e.g. reading video streams from disk arrays
-
- 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/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
-
- 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/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/251—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/252—Processing of multiple end-users' preferences to derive collaborative data
-
- 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/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/2662—Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/08—Load balancing or load distribution
- H04W28/09—Management thereof
- H04W28/0925—Management thereof using policies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
- H04W28/14—Flow control between communication endpoints using intermediate storage
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computing Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a film and television resource deployment and scheduling method under a cloud-side collaborative scene, which is applied to a film and television resource distribution system, wherein the system comprises a remote content center, a plurality of 5G base stations and a plurality of edge servers, wherein the remote content center is a cloud server and is used for storing various film and television resources; the plurality of 5G base stations are used for receiving user requests, wherein each 5G base station is connected with one edge server; the edge servers are responsible for storing popular movie and television resources and sensing and calculating the demands of 5G base station users; and the edge servers for sharing the cache video resources under each 5G base station form a collaborative cache domain. By combining edge calculation and cloud calculation and combining a 5G technology, reasonable deployment and scheduling of video resources are realized, and low-delay localized video resource service is provided for users.
Description
Technical Field
The application belongs to the technical field of content distribution, and particularly relates to a method and a system for deploying and scheduling film and television resources in a cloud-side collaborative scene.
Background
With the popularization of 5G networks having low delay and high transmission characteristics, a great number of delay-sensitive mobile terminal services such as virtual reality, smart home, video on demand, etc. have been greatly developed. These new mobile terminal services require extremely strong computing operations, which can result in high energy consumption. To address this challenge, the mobile terminal needs to offload tasks requested by the user to a remote data center, which is referred to as cloud computing.
In addition, in the transmission link, the conventional film and television system cannot give the most suitable video code rate to the user according to the network bandwidth of the user, so that the problems of unsmooth video playing, poor quality of video playing pictures and the like generally exist, and the user experience is low. The content delivery network CDN can technically solve the problem, but the model of the present CDN cannot meet the continuously changing demands of the traffic due to the disadvantage of insufficient storage space. The CDN is combined with the cloud computing technology, and unified sharing and scheduling of network resources, network storage, network computing and the like can be realized through the network server, so that the cloud computing becomes one of key and effective technical schemes for solving the existing defects of the CDN.
While cloud computing may provide virtually unlimited resource services to mobile terminal users, tasks requested by mobile terminal users may experience long distance and congested transmissions to remote data centers, which may cause higher service delays. Since most terminal services are extremely delay sensitive today, cloud computing cannot always meet the needs of the end user.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a film and television resource deployment and scheduling method and system under an edge cloud collaborative scene, which are used for providing low-delay localized film and television resource service for users by combining cloud computing, edge computing and 5G technology and designing reasonable film and television resource deployment and scheduling strategies. In order to achieve the above purpose, the present invention provides the following technical solutions:
a film and television resource deployment and scheduling method under a cloud-side cooperative scene is applied to a film and television resource distribution system, wherein the system comprises a remote content center, a plurality of 5G base stations and a plurality of edge servers, and the remote content center is a cloud server and is used for storing various film and television resources; the plurality of 5G base stations are used for receiving user requests, wherein each 5G base station is connected with one edge server; the edge servers are responsible for storing popular movie and television resources and sensing and calculating the demands of 5G base station users; the edge servers for sharing the cache video resources under each 5G base station form a collaborative cache domain;
the method for deploying and scheduling the film and television resources under the Bian Yun collaborative scene comprises the following steps:
(1) The method for deploying cache movie and television resources in each edge server in the collaborative cache domain specifically comprises the following substeps:
(1-1) determining a preset number of film and television resources with top scores in a first film and television resource website as an initial cache film and television resource set, and defining the cache value of film and television resource i in a collaborative cache domain asWherein the method comprises the steps ofFor the first film and television resource networkAverage score of user in station to movie resource i, C 1 Scoring for the fullness of video assets in a first video asset website, < >>C, scoring the average of the film and television resources i by the users in the second film and television resource website 2 The full score of the video resource in the second video resource website is given, alpha and beta are weighting coefficients, wherein 0 < beta < alpha < 1, alpha+beta=1, and N i N is the number of times of watching the film and television resource i by the user in the collaborative cache domain t The watching times of the users in the collaborative cache domain to all the watched film and television resources are obtained; ordering the film and television resources in the initial cache film and television resource set in descending order according to the cache value, and obtaining the cache film and television resource set as follows: a= { (f) 1 ,V 1 ),(f 2 ,V 2 )...(f N ,V N ) Initializing the number of copies of each film in A to be 1;
(1-2) selecting the video f with the highest and lowest caching value 1 And f N If V 1 >2V N F is then 1 Copy number d of (2) 1 Increase 1 by f 1 Is substituted for f N And f is taken N Deleting from the cache film and television resource set A;
(1-3), update f 1 Has a potential cache value of f 1 =f 1 /d 1 The method comprises the steps of carrying out a first treatment on the surface of the Reordering the films and videos in the step A according to the caching value, repeating the substep (1-2) until the continuous execution condition of the substep (1-2) is not met, and finishing the determination of the cached film and television resource set;
(1-4) selecting a movie j with highest potential caching value from the caching movie resource set determined in the substep (1-3), putting the movie j in each edge server in a trial mode, calculating the storage and transmission energy consumption of the movie j in the domain of the collaborative cache domain generated by each edge server, and selecting an edge server m with the smallest total energy consumption as the storage position of the movie j;
(1-5) placing the film j in a cache set of the edge server m, updating the memory capacity of the edge server m, and subtracting 1 from the cache film resource set;
(1-6) repeating the steps in the substeps (1-4) and (1-5) until the video in the cached video resource set is completely put or the cache space of each edge server cannot accommodate any video; wherein the video cached in each edge server is the highest code rate version of the corresponding video;
(2) The film and television resource scheduling is carried out according to the user request, and the method concretely comprises the following substeps:
(2-1) a user sends a video resource acquisition request to a local edge server connected with a 5G base station through the 5G base station, wherein the request carries a video name n and a corresponding code rate version p, and the requested video is recorded as np; will request a higher code rate version p of film n + The corresponding video is recorded as np + ;
(2-2) running a scheduling policy in the collaborative cache domain: searching a video np on a local edge server, and if the search hits the video np, directly returning the video np to the user;
if the local edge server misses np, the local edge server searches for the video np + If hit np + It is checked whether the computing power of the local edge server satisfies the video np + Converting the video into a video np, if the computing power is enough, performing video transcoding by a local edge server, caching the transcoded video np, and sending the cached video np to a user; if the local edge server has insufficient computing power or the local edge server misses the video np + Jumping to sub-step (2-3);
(2-3) searching the other edge servers in the collaborative cache domain for the video np, if the other edge servers hit, transmitting the video np to the local edge server through the other edge servers, and caching the video np by the local edge server and returning the video np to the user; if no video np exists at any edge server in the collaborative cache domain, searching the video np in the collaborative cache domain + If some other edge server s hits np + It is checked whether the computing power of the edge server s satisfies the video np + Converting into video np, if the computing power is enough, the edge server s performs video transcoding and will transcodeThe coded video np is sent to a local edge server for caching, and the local edge server sends the video np to a user;
(2-4) if the user request cannot be satisfied by either (2-2) or (2-3), requesting the video np from the remote content center, and the local edge server receiving the video np transmitted from the remote content center and transmitting it to the user while updating the cached video resource of the local edge server with the video np.
The invention further aims to provide a video resource distribution system under the cloud-side collaborative scene, which comprises a remote content center, a plurality of 5G base stations and a plurality of edge servers, wherein the remote content center is a cloud server and is used for storing various video resources; the plurality of 5G base stations are used for receiving user requests, wherein each 5G base station is connected with one edge server; the edge servers are responsible for storing popular movie and television resources and sensing and calculating the demands of 5G base station users; the edge servers for sharing the cache video resources under each 5G base station form a collaborative cache domain; the Bian Yun collaborative scene movie resource distribution system is used for executing the Bian Yun collaborative scene movie resource deployment and scheduling method.
Another object of the present invention is to provide a computer-readable storage medium storing one or more programs for causing a computer to execute the above-mentioned method for deploying and scheduling video resources in a Bian Yun collaboration scenario.
By combining all the technical schemes, the invention has the following advantages compared with the prior art:
(1) Based on CDN network, cloud computing and edge computing technology are combined, and by disposing a local edge server beside a 5G base station of a user and combining 5G and local cache, the film and television watching requirement of the user can be responded quickly.
(2) In the video cache deployment stage, the edge server fully considers the global content popularity of video resources and the preference characteristics of users in the collaborative cache domain, so that the video resources cached by the edge server are more fit with the potential demands of the users, the hit rate of the users searching the video resources at the local edge server is improved, and the network bandwidth resources are saved.
(3) In the film and television resource scheduling stage, the hit condition of the local edge server on the relevant code rate version is preferentially considered, whether the local edge server can meet the requirement is determined based on calculation force, under the condition that the local edge server cannot meet the requirement, other edge servers in the collaborative cache domain are searched, whether the film and television resource scheduling efficiency of the whole system is scheduled to a remote content center is determined according to the searching and calculation force condition of the other edge servers, and the film and television resource scheduling efficiency of the whole system is improved to the greatest extent.
Drawings
Fig. 1 is a flowchart of an implementation of a film and television resource deployment and scheduling method in a cloud-edge collaborative scenario.
Fig. 2 is a schematic structural diagram of a video resource distribution system in a cloud-edge collaborative scene according to the present invention.
Detailed Description
Further description will be made below by way of example with reference to fig. 1 and 2. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present invention, based on the embodiments of the present invention.
The execution flow chart of the film and television resource deployment and scheduling method under the Bian Yun collaboration scene is shown in fig. 1. As shown in fig. 1, the invention provides a video resource deployment and scheduling method under a cloud-side collaborative scene, which is applied to a video resource distribution system, wherein the system comprises a remote content center, a plurality of 5G base stations and a plurality of edge servers, and the remote content center is a cloud server and is used for storing various video resources; the plurality of 5G base stations are used for receiving user requests, wherein each 5G base station is connected with one edge server; the edge servers are responsible for storing popular movie and television resources and sensing and calculating the demands of 5G base station users; the edge servers for sharing the cache video resources under each 5G base station form a collaborative cache domain;
preferably, the cloud server and the edge server are hash servers.
The method for deploying and scheduling the film and television resources under the Bian Yun collaborative scene comprises the following steps:
(1) The method for deploying cache movie and television resources in each edge server in the collaborative cache domain specifically comprises the following substeps:
(1-1) determining a preset number of film and television resources with top scores in a first film and television resource website as an initial cache film and television resource set, and defining the cache value of film and television resource i in a collaborative cache domain asWherein the method comprises the steps ofC, scoring the average of the film and television resources i of the users in the first film and television resource website 1 Scoring for the fullness of video assets in a first video asset website, < >>C, scoring the average of the film and television resources i by the users in the second film and television resource website 2 The full score of the video resource in the second video resource website is given, alpha and beta are weighting coefficients, wherein 0 < beta < alpha < 1, alpha+beta=1, and N i N is the number of times of watching the film and television resource i by the user in the collaborative cache domain t The watching times of the users in the collaborative cache domain to all the watched film and television resources are obtained; ordering the film and television resources in the initial cache film and television resource set in descending order according to the cache value, and obtaining the cache film and television resource set as follows: a= { (f) 1 ,V 1 ),(f 2 ,V 2 )...(f N ,V N ) Initializing the number of copies of each film in A to be 1;
preferably, the first video resource website is Tencent video, and the second video resource website is Aiqi.
Wherein, in the definition of the cache value,fully reflects the global content popularity of film and television resources, especially considers the comprehensive of a plurality of websitesA score, which is beneficial to the comprehensiveness and rationality of scoring the related film and television resources, and a +.>The preference characteristics of users in the collaborative cache domain are fully reflected, and the elements are comprehensively considered, so that the video resources cached by the edge server are more fit with the potential demands of the users, the hit rate of the users for searching the video resources at the local edge server is improved, and the network bandwidth resources are saved.
Further, the predetermined number is adaptively set according to the system memory size and the computing power situation, and the preferable predetermined number is set to 10000 or more.
(1-2) selecting the video f with the highest and lowest caching value 1 And f N If V 1 >2V N F is then 1 Copy number d of (2) 1 Increase 1 by f 1 Is substituted for f N And f is taken N Deleting from the cache film and television resource set A;
(1-3), update f 1 Has a potential cache value of f 1 =f 1 /d 1 The method comprises the steps of carrying out a first treatment on the surface of the Reordering the films and videos in the step A according to the caching value, repeating the substep (1-2) until the continuous execution condition of the substep (1-2) is not met, and finishing the determination of the cached film and television resource set;
(1-4) selecting a movie j with highest potential caching value from the caching movie resource set determined in the substep (1-3), putting the movie j in each edge server in a trial mode, calculating the storage and transmission energy consumption of the movie j in the domain of the collaborative cache domain generated by each edge server, and selecting an edge server m with the smallest total energy consumption as the storage position of the movie j;
(1-5) placing the film j in a cache set of the edge server m, updating the memory capacity of the edge server m, and subtracting 1 from the cache film resource set;
(1-6) repeating the steps in the substeps (1-4) and (1-5) until the video in the cached video resource set is completely put or the cache space of each edge server cannot accommodate any video; wherein the video cached in each edge server is the highest code rate version of the corresponding video;
preferably, the code rate versions are specifically fluency 270P, standard definition 480P, quasi-high definition 720P and high definition 1080P.
The video cached in each edge server is the highest code rate version of the corresponding video, so that video hit with the corresponding code rate or high code rate version transcoding is conveniently carried out on the local edge server preferentially, and network bandwidth is saved.
(2) The film and television resource scheduling is carried out according to the user request, and the method concretely comprises the following substeps:
(2-1) a user sends a video resource acquisition request to a local edge server connected with a 5G base station through the 5G base station, wherein the request carries a video name n and a corresponding code rate version p, and the requested video is recorded as np; will request a higher code rate version p of film n + The corresponding video is recorded as np + ;
(2-2) running a scheduling policy in the collaborative cache domain: searching a video np on a local edge server, and if the search hits the video np, directly returning the video np to the user;
if the local edge server misses np, the local edge server searches for the video np + If hit np + It is checked whether the computing power of the local edge server satisfies the video np + Converting the video into a video np, if the computing power is enough, performing video transcoding by a local edge server, caching the transcoded video np, and sending the cached video np to a user; if the local edge server has insufficient computing power or the local edge server misses the video np + Jumping to sub-step (2-3);
(2-3) searching the other edge servers in the collaborative cache domain for the video np, if the other edge servers hit, transmitting the video np to the local edge server through the other edge servers, and caching the video np by the local edge server and returning the video np to the user; if no video np exists at any edge server in the collaborative cache domain, searching the video np in the collaborative cache domain + If some other edge server s hits np + Checking that the computing power of the edge server s isWhether or not the video np is satisfied + Converting the video into a video np, if the computing capacity is enough, performing video transcoding by the edge server s, sending the transcoded video np to a local edge server for caching, and sending the video np to a user by the local edge server;
(2-4) if the user request cannot be satisfied by either (2-2) or (2-3), requesting the video np from the remote content center, and the local edge server receiving the video np transmitted from the remote content center and transmitting it to the user while updating the cached video resource of the local edge server with the video np.
In the film and television resource scheduling stage, the hit condition of the local edge server on the relevant code rate version is preferentially considered, whether the local edge server can meet the requirement is determined based on calculation force, under the condition that the local edge server cannot meet the requirement, other edge servers in the collaborative cache domain are searched, whether the film and television resource scheduling is scheduled to a remote content center is determined according to the searching and calculation force condition of the other edge servers, and the film and television resource scheduling efficiency of the whole system is improved to the greatest extent.
In addition, the schematic structural diagram of the film and television resource distribution system under the cloud-edge cooperative scene is shown in fig. 2.
According to fig. 2, the invention provides a video resource distribution system under a cloud-side collaborative scene, which comprises a remote content center, a plurality of 5G base stations and a plurality of edge servers, wherein the remote content center is a cloud server and is used for storing various video resources; the plurality of 5G base stations are used for receiving user requests, wherein each 5G base station is connected with one edge server; the edge servers are responsible for storing popular movie and television resources and sensing and calculating the demands of 5G base station users; the edge servers for sharing the cache video resources under each 5G base station form a collaborative cache domain; the Bian Yun collaborative scene movie resource distribution system is used for executing the Bian Yun collaborative scene movie resource deployment and scheduling method. In fig. 2, edge servers p1, p2, p3 form a collaborative cache domain, and edge servers q1, q2, q3 form another collaborative cache domain. The number of 5G base stations, the number of edge servers, and the connection relationship in fig. 2 are only schematic, and are not intended to limit the scope of protection of the present disclosure.
It should be noted that, those skilled in the art should understand that the implementation functions of the modules shown in the implementation of the video resource distribution system in the Bian Yun collaboration scenario may be understood by referring to the related description of the video resource deployment and scheduling method in the Bian Yun collaboration scenario. The functions of the modules shown in the implementation of the video resource distribution system in the Bian Yun collaboration scenario may be implemented by a program (executable instructions) running on a processor, or may be implemented by specific logic circuits.
Accordingly, the present invention also provides a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, implement the method embodiments of the present application. Computer-readable storage media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
Furthermore, it should be understood that the foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, or the like, which is within the spirit and principles of one or more embodiments of the present disclosure, is intended to be included within the scope of one or more embodiments of the present disclosure.
Claims (6)
1. A film and television resource deployment and scheduling method under a cloud-side cooperative scene is applied to a film and television resource distribution system, wherein the system comprises a remote content center, a plurality of 5G base stations and a plurality of edge servers, and the remote content center is a cloud server and is used for storing various film and television resources; the plurality of 5G base stations are used for receiving user requests, wherein each 5G base station is connected with one edge server; the edge servers are responsible for storing popular movie and television resources and sensing and calculating the demands of 5G base station users; the edge servers for sharing the cache video resources under each 5G base station form a collaborative cache domain;
the method for deploying and scheduling the film and television resources under the Bian Yun collaborative scene comprises the following steps:
(1) The method for deploying cache movie and television resources in each edge server in the collaborative cache domain specifically comprises the following substeps:
(1-1) determining a preset number of film and television resources with top scores in a first film and television resource website as an initial cache film and television resource set, and defining the cache value of film and television resource i in a collaborative cache domain asWherein C is i 1 C, scoring the average of the film and television resources i of the users in the first film and television resource website 1 Scoring the full score of the video resource in the first video resource website, C i 2 C, scoring the average of the film and television resources i by the users in the second film and television resource website 2 Scoring the full score of the video resource in the second video resource website, wherein alpha and beta are weighting coefficients, and 0 < beta < alpha < "> 1 ,α+β=1,N i N is the number of times of watching the film and television resource i by the user in the collaborative cache domain t The watching times of the users in the collaborative cache domain to all the watched film and television resources are obtained; ordering the film and television resources in the initial cache film and television resource set in descending order according to the cache value, and obtaining the cache film and television resource set as follows: a= { (f) 1 ,V 1 ),(f 2 ,V 2 )...(f N ,V N ) Initializing the number of copies of each film in A to be 1;
(1-2) selecting the video f with the highest and lowest caching value 1 And f N If V 1 >2V N F is then 1 Copy number d of (2) 1 Increase 1 by f 1 Is substituted for f N And f is taken N Deleting from the cache film and television resource set A;
(1-3), update f 1 Has a potential cache value of f 1 =f 1 /d 1 The method comprises the steps of carrying out a first treatment on the surface of the Reordering the films and videos in the step A according to the caching value, repeating the substep (1-2) until the continuous execution condition of the substep (1-2) is not met, and finishing the determination of the cached film and television resource set;
(1-4) selecting a movie j with highest potential caching value from the caching movie resource set determined in the substep (1-3), putting the movie j in each edge server in a trial mode, calculating the storage and transmission energy consumption of the movie j in the domain of the collaborative cache domain generated by each edge server, and selecting an edge server m with the smallest total energy consumption as the storage position of the movie j;
(1-5) placing the film j in a cache set of the edge server m, updating the memory capacity of the edge server m, and subtracting 1 from the cache film resource set;
(1-6) repeating the steps in the substeps (1-4) and (1-5) until the video in the cached video resource set is completely put or the cache space of each edge server cannot accommodate any video; wherein the video cached in each edge server is the highest code rate version of the corresponding video;
(2) The film and television resource scheduling is carried out according to the user request, and the method concretely comprises the following substeps:
(21) A user sends a video resource acquisition request to a local edge server connected with a 5G base station through the 5G base station, the request carries a video name n and a corresponding code rate version p, and the requested video is marked as np; will request a higher code rate version p of film n + The corresponding video is recorded as np + ;
(2-2) running a scheduling policy in the collaborative cache domain: searching a video np on a local edge server, and if the search hits the video np, directly returning the video np to the user;
if the local edge server misses np, then the shadow is searched at the local edge serverOptic np + If hit np + It is checked whether the computing power of the local edge server satisfies the video np + Converting the video into a video np, if the computing power is enough, performing video transcoding by a local edge server, caching the transcoded video np, and sending the cached video np to a user; if the local edge server has insufficient computing power or the local edge server misses the video np + Jumping to sub-step (2-3);
(23) Searching for the video np in other edge servers in the collaborative cache domain, if the other edge servers hit, transmitting the video np to a local edge server through the other edge servers, and caching the video np by the local edge server and returning the video np to the user; if no video np exists at any edge server in the collaborative cache domain, searching the video np in the collaborative cache domain + If some other edge server s hits np + It is checked whether the computing power of the edge server s satisfies the video np + Converting the video into a video np, if the computing capacity is enough, performing video transcoding by the edge server s, sending the transcoded video np to a local edge server for caching, and sending the video np to a user by the local edge server;
(2-4) if the user request cannot be satisfied by either (2-2) or (2-3), requesting the video np from the remote content center, and the local edge server receiving the video np transmitted from the remote content center and transmitting it to the user while updating the cached video resource of the local edge server with the video np.
2. The method for deploying and scheduling video resources in a cloud-edge collaborative scenario as set forth in claim 1, wherein the cloud server and the edge server are hash servers.
3. The method for deploying and scheduling video resources in a cloud-edge collaborative scenario according to claim 1, wherein the first video resource website is a messenger video and the second video resource website is an archetype.
4. The method for deploying and scheduling video resources in an edge cloud collaborative scene according to claim 1, wherein the code rate version of the video resources comprises fluency 270P, standard definition 480P, quasi-high definition 720P and high definition 1080P.
5. The system is characterized by comprising a remote content center, a plurality of 5G base stations and a plurality of edge servers, wherein the remote content center is a cloud server and is used for storing various video resources; the plurality of 5G base stations are used for receiving user requests, wherein each 5G base station is connected with one edge server; the edge servers are responsible for storing popular movie and television resources and sensing and calculating the demands of 5G base station users; the edge servers for sharing the cache video resources under each 5G base station form a collaborative cache domain; the system being adapted to perform the method of any of claims 1-4.
6. A computer-readable storage medium storing one or more programs, the one or more programs causing a computer to perform the method of any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310342749.3A CN116366876A (en) | 2023-03-31 | 2023-03-31 | Method and system for deploying and scheduling film and television resources under Bian Yun collaborative scene |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310342749.3A CN116366876A (en) | 2023-03-31 | 2023-03-31 | Method and system for deploying and scheduling film and television resources under Bian Yun collaborative scene |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116366876A true CN116366876A (en) | 2023-06-30 |
Family
ID=86936316
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310342749.3A Pending CN116366876A (en) | 2023-03-31 | 2023-03-31 | Method and system for deploying and scheduling film and television resources under Bian Yun collaborative scene |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116366876A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117082267A (en) * | 2023-10-13 | 2023-11-17 | 南京感动科技有限公司 | Real-time cloud uploading system and method for full-code stream video of expressway |
-
2023
- 2023-03-31 CN CN202310342749.3A patent/CN116366876A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117082267A (en) * | 2023-10-13 | 2023-11-17 | 南京感动科技有限公司 | Real-time cloud uploading system and method for full-code stream video of expressway |
CN117082267B (en) * | 2023-10-13 | 2024-01-23 | 南京感动科技有限公司 | Real-time cloud system that goes up of highway full code stream video |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021004384A1 (en) | Content delivery network, data processing method, apparatus and device, and storage medium | |
US10182127B2 (en) | Application-driven CDN pre-caching | |
US9785608B2 (en) | Predictive, multi-layer caching architectures | |
US9390200B2 (en) | Local caching device, system and method for providing content caching service | |
Baccour et al. | Pccp: Proactive video chunks caching and processing in edge networks | |
CN102833293A (en) | Method for downloading resources in peer to server and peer (P2SP) network, and client | |
KR101436049B1 (en) | Method for providing content caching service and local caching device thereof | |
JP2007510224A (en) | A method for determining the segment priority of multimedia content in proxy cache | |
US10346303B1 (en) | Origin server cache eviction system | |
US9767033B2 (en) | Method and apparatus for managing cache memory in communication system | |
US10755104B2 (en) | Scene level video search | |
US11496809B2 (en) | Video file storage prediction process for caches in video servers | |
US20200320154A1 (en) | A webpage loading method, webpage loading system and server | |
CN116366876A (en) | Method and system for deploying and scheduling film and television resources under Bian Yun collaborative scene | |
CN108282668B (en) | Video acquisition method and system | |
US9992300B2 (en) | Method of adaptively deploying cache positioned at subscriber network, and system therefor | |
CN116366875A (en) | Film and television resource deployment and scheduling method and system based on edge calculation | |
Ku et al. | Adaptive cache deploying architecture using big-data framework for CDN | |
WO2018090315A1 (en) | Data request processing method and cache system | |
CN113949897A (en) | Fragment cache acceleration method for MP4 video streaming media on demand | |
US11509740B2 (en) | Systems and method for cache key composition creation and distribution | |
Ordonez-Ante et al. | Explora-vr: Content prefetching for tile-based immersive video streaming applications | |
KR20170101674A (en) | Server, Terminal, and Method for P2P-based CDN Service | |
US20200186878A1 (en) | Efficient Prefetching of Common Video Clips | |
KR20130134911A (en) | Method for providing content caching service in adapted streaming service and local caching device thereof |
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 |