CN116366875A - Film and television resource deployment and scheduling method and system based on edge calculation - Google Patents

Film and television resource deployment and scheduling method and system based on edge calculation Download PDF

Info

Publication number
CN116366875A
CN116366875A CN202310341596.0A CN202310341596A CN116366875A CN 116366875 A CN116366875 A CN 116366875A CN 202310341596 A CN202310341596 A CN 202310341596A CN 116366875 A CN116366875 A CN 116366875A
Authority
CN
China
Prior art keywords
video
edge server
cache
film
edge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310341596.0A
Other languages
Chinese (zh)
Inventor
刘峰
姚欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pioneer Cloud Computing Shanghai Co ltd
Original Assignee
Pioneer Cloud Computing Shanghai Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pioneer Cloud Computing Shanghai Co ltd filed Critical Pioneer Cloud Computing Shanghai Co ltd
Priority to CN202310341596.0A priority Critical patent/CN116366875A/en
Publication of CN116366875A publication Critical patent/CN116366875A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/222Secondary servers, e.g. proxy server, cable television Head-end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2181Source of audio or video content, e.g. local disk arrays comprising remotely distributed storage units, e.g. when movies are replicated over a plurality of video servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2183Cache memory
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/251Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/252Processing of multiple end-users' preferences to derive collaborative data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel 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/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/09Management thereof
    • H04W28/0925Management thereof using policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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 video resource deployment and scheduling method based on edge calculation, which is applied to a video resource distribution system, wherein the system comprises a remote content center, a plurality of 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 base stations are used for receiving user requests, wherein each 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 base station users; and the edge servers for sharing the cache video resources under each base station form a collaborative cache domain. By designing video resource deployment and scheduling strategies in the edge servers, low-delay localized video resource services are provided for users.

Description

Film and television resource deployment and scheduling method and system based on edge calculation
Technical Field
The application belongs to the technical field of edge computing, and particularly relates to a video resource deployment and scheduling method and system based on edge computing.
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 video resource deployment and scheduling method and system based on edge calculation, which provide low-delay localized video resource service for users by introducing edge calculation and reasonably designed video resource deployment and scheduling strategies. In order to achieve the above purpose, the present invention provides the following technical solutions:
the video resource deployment and scheduling method based on edge calculation is applied to a video resource distribution system, and the system comprises a remote content center, a plurality of 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 base stations are used for receiving user requests, wherein each 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 base station users; the edge servers for sharing the cache video resources under each base station form a collaborative cache domain;
the film and television resource deployment and scheduling method based on edge calculation 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 the film and television resource website as an initial cache film and television resource set, and defining the cache value of the film and television resource i in the collaborative cache domain as
Figure BDA0004158179340000021
Wherein C is i The average score of users in the video resource websites to the video resource i is calculated, C is the full score of the video resource in the video resource websites, and N is calculated i N is the number of times of watching the film and television resource i by the user in the collaborative cache domain t For user pairs in collaborative cache domainThe number of times of watching the video resource; 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 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 caching film and video 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) the user sends a request for acquiring video resources to a local edge server connected with the base station through the base station, wherein the request carries a video name n and a video nameThe corresponding code rate version p 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 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.
The invention further aims to provide a video resource distribution system based on edge calculation, which comprises a remote content center, a plurality of 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 base stations are used for receiving user requests, wherein each 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 base station users; the edge servers for sharing the cache video resources under each base station form a collaborative cache domain; the video resource distribution system based on the edge calculation is used for executing the video resource deployment and scheduling method based on the edge calculation.
It is another object of the present invention to provide a computer-readable storage medium storing one or more programs that cause a computer to perform the above-described edge-calculation-based video resource deployment and scheduling method.
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 a local edge server is deployed beside a user base station to quickly respond to user movie and television watching requirements.
(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 flow chart of the implementation of the video resource deployment and scheduling method based on edge computation of the present invention.
Fig. 2 is a schematic structural diagram of the video resource distribution system based on edge calculation 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 video resource deployment and scheduling method based on edge calculation is shown in fig. 1. As shown in fig. 1, the invention provides a video resource deployment and scheduling method based on edge calculation, which is applied to a video resource distribution system, wherein the system comprises a remote content center, a plurality of base stations and a plurality of edge servers, and the remote content center is a cloud server and is used for storing a plurality of video resources; the plurality of base stations are used for receiving user requests, wherein each 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 base station users; the edge servers for sharing the cache video resources under each base station form a collaborative cache domain;
preferably, the cloud server and the edge server are hash servers.
The film and television resource deployment and scheduling method based on edge calculation 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 the video resources with the pre-set number of N and the top score in the video resource website as an initial cache video resource set, and defining the cache value of the video resource i in the collaborative cache domain as
Figure BDA0004158179340000051
Wherein C is i The average score of the users on the film and television resource i in the film and television resource website is CFull score, N, of film and television resources in film and television resource websites 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;
wherein the film and television resource website can be bean cotyledon, tencent video, love miraculous, etc.
Wherein, in the definition of the cache value,
Figure BDA0004158179340000052
global content popularity of film and television resources is fully reflected, < >>
Figure BDA0004158179340000053
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 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 caching film and video 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 the base station through the base station, wherein 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, 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 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;
(24) 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 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 video resource distribution system based on edge calculation is shown in fig. 2.
According to fig. 2, the invention provides a video resource distribution system based on edge calculation, which comprises a remote content center, a plurality of 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 base stations are used for receiving user requests, wherein each 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 base station users; the edge servers for sharing the cache video resources under each base station form a collaborative cache domain; the video resource distribution system based on the edge calculation is used for executing the video resource deployment and scheduling method based on the edge calculation. 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 base stations, edge servers, and connection relationships in fig. 2 are only schematic, and are not intended to limit the scope 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 manner of the film and television resource distribution system based on edge computation may be understood with reference to the relevant descriptions of the film and television resource deployment and scheduling method based on edge computation. The functions of the modules shown in the implementation of the video resource distribution system based on edge calculation 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. The video resource deployment and scheduling method based on edge calculation is applied to a video resource distribution system, and the system comprises a remote content center, a plurality of 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 base stations are used for receiving user requests, wherein each 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 base station users; the edge servers for sharing the cache video resources under each base station form a collaborative cache domain;
the film and television resource deployment and scheduling method based on edge calculation 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 the film and television resource website as an initial cache film and television resource set, and defining the cache value of the film and television resource i in the collaborative cache domain as
Figure FDA0004158179330000011
Wherein C is i The average score of users in the video resource websites to the video resource i is calculated, C is the full score of the video resource in the video resource websites, and N is calculated i N is the number of times of watching the film and television resource i by the user in the collaborative cache domain t Is synergistic slowThe number of times the user views all the video resources in the memory; 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 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 caching film and video 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) the user sends a request for acquiring video resources to a local edge server connected with the base station through the base station, wherein the request carries the videoThe name n and the corresponding code rate version p are recorded as np; will request a higher code rate version p of film n + The corresponding video is recorded as np +
(22) Running scheduling policies 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 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 video resource deployment and scheduling method based on edge computation of claim 1, wherein the cloud server is a hash server.
3. The video resource deployment and scheduling method based on edge computation of claim 1, wherein the edge server is a hash server.
4. The video resource deployment and scheduling method based on edge computation of claim 1, wherein the code rate version of the video resource comprises fluency 270P, standard definition 480P, quasi-high definition 720P and high definition 1080P.
5. The video resource distribution system based on the edge calculation is characterized by comprising a remote content center, a plurality of 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 base stations are used for receiving user requests, wherein each 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 base station users; the edge servers for sharing the cache video resources under each 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.
CN202310341596.0A 2023-03-31 2023-03-31 Film and television resource deployment and scheduling method and system based on edge calculation Pending CN116366875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310341596.0A CN116366875A (en) 2023-03-31 2023-03-31 Film and television resource deployment and scheduling method and system based on edge calculation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310341596.0A CN116366875A (en) 2023-03-31 2023-03-31 Film and television resource deployment and scheduling method and system based on edge calculation

Publications (1)

Publication Number Publication Date
CN116366875A true CN116366875A (en) 2023-06-30

Family

ID=86906893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310341596.0A Pending CN116366875A (en) 2023-03-31 2023-03-31 Film and television resource deployment and scheduling method and system based on edge calculation

Country Status (1)

Country Link
CN (1) CN116366875A (en)

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
KR101436049B1 (en) Method for providing content caching service and local caching device thereof
US10346303B1 (en) Origin server cache eviction 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
CN108282668B (en) Video acquisition method and system
CN116366876A (en) Method and system for deploying and scheduling film and television resources under Bian Yun collaborative scene
TWI602431B (en) Method and device for transmitting information
US9959322B1 (en) Ranking channels in search
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
KR20150011087A (en) Distributed caching management method for contents delivery network service and apparatus therefor
KR20170101674A (en) Server, Terminal, and Method for P2P-based CDN Service
Ramesh et al. Mobile applications in multimedia cloud computing
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
CN117119052B (en) Data processing method, device, electronic equipment and computer readable storage medium

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