CN111050195B - Streaming media caching method and device and computer readable storage medium - Google Patents

Streaming media caching method and device and computer readable storage medium Download PDF

Info

Publication number
CN111050195B
CN111050195B CN201811189448.7A CN201811189448A CN111050195B CN 111050195 B CN111050195 B CN 111050195B CN 201811189448 A CN201811189448 A CN 201811189448A CN 111050195 B CN111050195 B CN 111050195B
Authority
CN
China
Prior art keywords
streaming media
target
media
probability
heat
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.)
Active
Application number
CN201811189448.7A
Other languages
Chinese (zh)
Other versions
CN111050195A (en
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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201811189448.7A priority Critical patent/CN111050195B/en
Publication of CN111050195A publication Critical patent/CN111050195A/en
Application granted granted Critical
Publication of CN111050195B publication Critical patent/CN111050195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • 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/23113Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a streaming media caching method and device and a computer readable storage medium, and relates to the technical field of multimedia. The streaming media caching method comprises the following steps: determining the stream media heat of the target stream media by utilizing the probability of the operation of the user on the target stream media; determining the association degree between the target streaming media and other streaming media by utilizing the probability of the user operating other streaming media and the probability of the user continuously operating the target streaming media and other streaming media; determining the comprehensive heat of the target streaming media by utilizing the streaming media heat of the target streaming media and the association degree between the target streaming media and other streaming media; and caching the target streaming media according to the comprehensive heat of the target streaming media. The comprehensive heat degree of the target streaming media can be more accurately predicted, and the target streaming media are cached according to the comprehensive heat degree of the target streaming media, so that the cache hit rate of the CDN is improved.

Description

Streaming media caching method and device and computer readable storage medium
Technical Field
The present disclosure relates to the field of multimedia technologies, and in particular, to a streaming media caching method and apparatus, and a computer-readable storage medium.
Background
When a user uses a CDN (Content Delivery Network) to accelerate transmission of streaming media, the CDN needs to provide an acceleration service with high performance and low delay.
The CDN cache hit rate refers to a probability of hitting a cache when a user accesses streaming media. The edge streaming media cache node is the closest part to the user in the whole CDN, and whether the cached streaming media is frequently accessed by the user (the cache hit rate is high or low) directly affects the overall performance of the CDN. When the cache hit rate of the CDN is low, the CDN has problems of high back-source rate, poor performance, poor user experience, and the like.
Disclosure of Invention
One technical problem solved by the present disclosure is how to improve CDN cache hit rate.
According to an aspect of the embodiments of the present disclosure, there is provided a streaming media caching method, including: determining the stream media heat of the target stream media by utilizing the probability of the operation of the user on the target stream media; determining the association degree between the target streaming media and other streaming media by utilizing the probability of the user operating other streaming media and the probability of the user continuously operating the target streaming media and other streaming media; determining the comprehensive heat of the target streaming media by utilizing the streaming media heat of the target streaming media and the association degree between the target streaming media and other streaming media; and caching the target streaming media according to the comprehensive heat of the target streaming media.
In some embodiments, determining the association degree between the target streaming media and the other streaming media by using the probability of the user operating the other streaming media and the probability of the user continuously operating the target streaming media and the other streaming media comprises: dividing the probability of continuous operation of the target streaming media and other streaming media by the probability of operation of the user on other streaming media to obtain the probability of continuous operation of the target streaming media under the condition that the user operates other streaming media; and taking the probability that the target streaming media is continuously operated under the condition that the known user operates other streaming media as the association degree between the target streaming media and other streaming media.
In some embodiments, determining the association degree between the target streaming media and the other streaming media by using the probability of the user operating the other streaming media and the probability of the user continuously operating the target streaming media and the other streaming media comprises: dividing the probability of continuous operations of the user on the target streaming media and other streaming media by the probability of the continuous operations of the user on the other streaming media to obtain the association degrees between the target streaming media and the other streaming media; and multiplying the relevance degrees between the target streaming media and other streaming media to obtain the relevance degree between the target streaming media and other streaming media.
In some embodiments, determining the integrated heat of the target streaming media by using the streaming media heat of the target streaming media and the association degree between the target streaming media and other streaming media comprises: and multiplying the stream media heat of the target stream media by the association degree between the target stream media and other stream media to obtain the comprehensive heat of the target stream media.
In some embodiments, multiplying the streaming media heat of the target streaming media by the association degree between the target streaming media and other streaming media comprises: and multiplying the streaming media heat of the target streaming media by the association degree between the target streaming media and other streaming media.
In some embodiments, the target streaming media belongs to a episode in a series, and the other individual streaming media includes a previous episode, a next episode, and a next episode in the series to which the target streaming media belongs.
In some embodiments, determining the streaming media heat of the target streaming media by using the probability of the user operating on the target streaming media comprises: and multiplying the probabilities of various operations of the target streaming media by the user to obtain the streaming media heat of the target streaming media.
In some embodiments, the operations include: search operation, click operation and collection operation.
In some embodiments, the caching the target streaming media according to the comprehensive heat of the target streaming media includes: caching the target streaming media with the comprehensive heat degree larger than the preset value from the streaming media server to the edge streaming media cache node; and deleting the streaming media with the minimum comprehensive heat from the edge streaming media cache node under the condition that the cache space in the edge streaming media cache node is insufficient.
According to another aspect of the embodiments of the present disclosure, there is provided a streaming media buffering apparatus, including: a streaming media heat determination module configured to: determining the stream media heat of the target stream media by utilizing the probability of the operation of the user on the target stream media; a relevancy determination module configured to: determining the association degree between the target streaming media and other streaming media by utilizing the probability of the user operating other streaming media and the probability of the user continuously operating the target streaming media and other streaming media; an integrated heat determination module configured to: determining the comprehensive heat of the target streaming media by utilizing the streaming media heat of the target streaming media and the association degree between the target streaming media and other streaming media; a cache processing module configured to: and caching the target streaming media according to the comprehensive heat of the target streaming media.
In some embodiments, the relevancy determination module is configured to: dividing the probability of continuous operation of the target streaming media and other streaming media by the probability of operation of the user on other streaming media to obtain the probability of continuous operation of the target streaming media under the condition that the user operates other streaming media; and taking the probability that the target streaming media is continuously operated under the condition that the known user operates other streaming media as the association degree between the target streaming media and other streaming media.
In some embodiments, the relevancy determination module is configured to: dividing the probability of continuous operations of the user on the target streaming media and other streaming media by the probability of the continuous operations of the user on the other streaming media to obtain the association degrees between the target streaming media and the other streaming media; and multiplying the relevance degrees between the target streaming media and other streaming media to obtain the relevance degree between the target streaming media and other streaming media.
In some embodiments, the integrated heat determination module is configured to: and multiplying the stream media heat of the target stream media by the association degree between the target stream media and other stream media to obtain the comprehensive heat of the target stream media.
In some embodiments, the integrated heat determination module is configured to: and multiplying the streaming media heat of the target streaming media by the association degree between the target streaming media and other streaming media.
In some embodiments, the target streaming media belongs to a episode in a series, and the other individual streaming media includes a previous episode, a next episode, and a next episode in the series to which the target streaming media belongs.
In some embodiments, the streaming media heat determination module is configured to: and multiplying the probabilities of various operations of the target streaming media by the user to obtain the streaming media heat of the target streaming media.
In some embodiments, the operations include: search operation, click operation and collection operation.
In some embodiments, the cache processing module is configured to: caching the target streaming media with the comprehensive heat degree larger than the preset value from the streaming media server to the edge streaming media cache node; and deleting the streaming media with the minimum comprehensive heat from the edge streaming media cache node under the condition that the cache space in the edge streaming media cache node is insufficient.
According to another aspect of the embodiments of the present disclosure, there is provided a streaming media buffering apparatus, including: a memory; and a processor coupled to the memory, the processor configured to execute the streaming media caching method based on instructions stored in the memory.
According to still another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, in which computer instructions are stored, and when executed by a processor, the instructions implement the streaming media caching method described above.
The comprehensive heat degree of the target streaming media can be more accurately predicted, and the target streaming media are cached according to the comprehensive heat degree of the target streaming media, so that the cache hit rate of the CDN is improved, and the user experience of the CDN is further improved.
Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 shows a flow chart of a streaming media caching method according to some embodiments of the present disclosure.
Fig. 2 is a flowchart illustrating a process of caching target streaming media according to the integrated heat of the target streaming media according to some embodiments of the disclosure.
Fig. 3 is a schematic structural diagram of a streaming media caching apparatus according to some embodiments of the present disclosure.
Fig. 4 is a schematic structural diagram of a streaming media caching apparatus according to another embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The inventor researches and discovers that the traditional CDN streaming media caching method only predicts the future heat of the target streaming media according to the historical data of the target streaming media content so as to determine whether to cache the target streaming media. However, the conventional streaming media caching method only performs hotspot prediction from a single dimension of the target streaming media, and ignores the relationship between the target streaming media and other streaming media. For example, when a user searches for, watches, or collects a certain episode of a certain series, there is a high probability that the user watches or collects the next episode of the series. Therefore, the traditional streaming media caching method only predicts the heat from the target streaming media content, which causes a large deviation of a heat prediction result, and thus causes a series of problems of low hit rate, high source return rate, large time delay, poor network performance, poor user experience and the like of the CDN.
Based on the above problems, the inventor provides a streaming media caching method, which can predict the comprehensive heat of the target streaming media more accurately, and cache the target streaming media according to the comprehensive heat of the target streaming media, so as to improve the cache hit rate of the CDN. As described in detail below.
The streaming media caching method of some embodiments of the present disclosure is first described with reference to fig. 1.
Fig. 1 shows a flow chart of a streaming media caching method according to some embodiments of the present disclosure. As shown in fig. 1, the present embodiment includes steps S102 to S108.
In step S102, the streaming media heat of the target streaming media is determined by using the probability of the user operating the target streaming media.
The operation of the user on the target streaming media may specifically be a search operation, a click operation, a collection operation, and so on, which are not listed here. The probability of the user operating the target streaming media can be obtained by querying and calculating according to the historical data.
In step S104, the association degree between the target streaming media and other streaming media is determined by using the probability that the user operates other streaming media and the probability that the user continuously operates the target streaming media and other streaming media.
The probability of the user operating other streaming media and the probability of the user continuously operating the target streaming media and other streaming media can also be obtained by querying and calculating according to historical data. For example, the probability that the user operates on other streaming media can be estimated by dividing the number of times that the user operates on other streaming media in the historical data by the total number of times that the user operates on all streaming media. For another example, the frequency of continuous operation of the user on the target streaming media and other streaming media in the historical data may be divided by the total frequency of operation of the user on all streaming media, and the probability of continuous operation of the user on the target streaming media and other streaming media may be estimated.
The probability of continuous operation of the target streaming media and other streaming media by the user is divided by the probability of operation of the user on other streaming media, so that the probability of continuous operation of the target streaming media under the condition that the user operates other streaming media can be obtained. Then, the probability that the target streaming media is continuously operated under the condition that the known user operates other streaming media is used as the association degree between the target streaming media and other streaming media. Wherein, if the target streaming media belongs to one episode in the series, the other streaming media may be other episodes of the series to which the target streaming media belongs, such as a previous episode, a next episode or a next episode.
Therefore, the association degree between the target streaming media and other streaming media can be calculated by using formula (1):
Figure BDA0001827102240000061
wherein, wiRepresenting the target streaming media, wi+1Representing other streaming media, L (w)i,wi+1) Represents the degree of association between the target streaming media and other streaming media, P (w)i|wi+1) Representing known users to other streaming media wi+1The target streaming media w is continuously operated under the condition of operationiProbability of (a), O (w)i,wi+1) Representing user to target streaming media wiAnd other streaming media wi+1Probability of performing continuous operation, O (w)i+1) Representing user to other streaming media wi+1Probability of performing the operation.
In step S106, the streaming media heat of the target streaming media and the association degree between the target streaming media and other streaming media are used to determine the comprehensive heat of the target streaming media.
For example, the streaming media heat of the target streaming media may be multiplied by the association degree between the target streaming media and other streaming media to obtain the comprehensive heat of the target streaming media. According to the statistical data analysis of the inventor, the heat of a certain mass flow medium in a continuous play is greatly influenced by the correlation degree between the mass flow medium and the previous, next and next sets, and is less influenced by the correlation degree between the mass flow medium and other streaming media in the continuous play. Therefore, if the number of other streaming media is multiple, the streaming media heat of the target streaming media can be multiplied by the association degree between the target streaming media and each other streaming media. The formula for calculating the comprehensive heat of the target streaming media is as follows:
P(wi)=Q(wi)*P(wi|wi+1)*P(wi|wi+2)*P(wi|wi-1)*P(wi|wi-2) (2)
wherein, wiRepresenting the ith stream medium in a series, wi-2、wi-1、wi+1、wi+2Respectively representing the i-2 th, i-1 th, i +1 th and i +2 th stream media in the continuous play, P (w)i) Represents the integrated heat, Q (w), of the target streaming mediai) Representing the streaming media heat of the target streaming media.
In step S108, the target streaming media is cached according to the comprehensive heat of the target streaming media.
For example, the target streaming media with the comprehensive heat degree larger than the preset value is cached from the streaming media server to the edge streaming media caching node. And under the condition that the cache space in the edge streaming media cache node is insufficient, the streaming media with the minimum comprehensive heat can be deleted from the edge streaming media cache node.
In the embodiment, the mathematical model is used to describe the association degree between the target streaming media and other streaming media, and the influence caused by the association degree between the target streaming media and other streaming media is considered when determining the comprehensive heat degree of the target streaming media, so that the comprehensive heat degree of the target streaming media can be predicted more accurately. On the basis of accurately predicting the comprehensive heat of the target streaming media, the target streaming media is cached according to the comprehensive heat of the target streaming media, and the cache hit rate of the CDN can be improved, so that the source return rate and the time delay of the CDN are reduced, and the network performance and the user experience of the CDN are improved.
In some embodiments, in step S102, considering that the user performs various operations on the target streaming media, the probabilities of the various operations performed on the target streaming media by the user may be multiplied to obtain the streaming media heat of the target streaming media.
For example, the streaming media heat of the target streaming media can be calculated by using formula (3):
Q(wi)=S(wi)*C(wi)*F(wi) (3)
wherein, S (w)i) Representing a user searching for a target streaming media wiProbability of (C), (C)wi) Representing user clicking on target streaming media wiProbability of (a), F (w)i) Representing user collection of target streaming media wiThe probability of (c).
In some embodiments, in step S104, considering that the user performs various operations on the target streaming media, the probability of performing continuous various operations on the target streaming media and other streaming media by the user may be divided by the probability of performing various operations on other streaming media by the user, so as to obtain various association degrees between the target streaming media and other streaming media; then multiplying the relevance between the target streaming media and other streaming media to obtain the relevance between the target streaming media and other streaming media.
For example, the association degree between the target streaming media and other streaming media can be calculated by using formula (4):
Figure BDA0001827102240000081
wherein, S (w)i,wi+1) Representing user to target streaming media wiAnd other streaming media wi+1Probability of performing a sequential search, S (w)i+1) Representing user to other streaming media wi+1Probability of performing a search, C (w)i,wi+1) Representing user to target streaming media wiAnd other streaming media wi+1Probability of making a continuous click, C (w)i+1) Representing user to other streaming media wi+1Probability of making a click, F (w)i,wi+1) Representing user to target streaming media wiAnd other streaming media wi+1Probability of performing sequential collections, F (w)i+1) Representing user to other streaming media wi+1Probability of collection.
In the embodiment, the situation that the user performs various operations on the target streaming media is considered, and the multidimensional information of the user operating the streaming media is utilized, so that not only can the streaming media heat of the target streaming media be calculated more accurately, but also the association between the target streaming media and other streaming media can be calculated more accurately, and the accuracy of predicting the comprehensive heat of the target streaming media is further improved, so that the cache hit rate of the CDN is further improved, the source return rate and the time delay of the CDN are reduced, and the network performance and the user experience of the CDN are improved.
How to perform the buffering process on the target streaming media according to the integrated heat of the target streaming media is described below with reference to fig. 2.
Fig. 2 is a flowchart illustrating a process of caching target streaming media according to the integrated heat of the target streaming media according to some embodiments of the disclosure. As shown in fig. 2, the present embodiment includes steps S2082 to S2088.
In step S2081, it is periodically determined whether the integrated heat of the target streaming media is greater than a preset value, and it is determined whether the target streaming media is located in the cache of the edge streaming media cache node.
For example, the integrated heat of the target streaming media is updated every 24 hours to represent the integrated heat of the target streaming media within the next 24 hours. Then, the period for determining the integrated heat of the target streaming media is also 24 hours.
If the value is larger than the preset value and the value is not in the cache, executing step S2082; if the current value is greater than the preset value and is in the cache, or if the current value is not greater than the preset value and is not in the cache, executing step S2085; and if the current value is not greater than the preset value and the current value is in the cache, executing step S2086.
In step S2082, it is determined whether the buffer space in the edge streaming media buffer node is sufficient.
If yes, executing step S2083; if not, go to step S2084.
In step S2083, the target streaming media is cached from the streaming media server to the edge streaming media caching node.
In step S2084, the streaming media with the minimum comprehensive heat is deleted from the edge streaming media cache node, and the target streaming media is cached from the streaming media server to the edge streaming media cache node.
In step S2085, no modification processing is performed on the cache.
In step S2086, the target streaming media is deleted from the edge streaming media cache node.
The embodiment realizes the periodic updating and replacing of the cached streaming media, continuously caches the streaming media with higher comprehensive heat in the edge streaming media cache node, and deletes the streaming media with relatively lower comprehensive heat, thereby effectively improving the utilization rate of CDN cache resources and further improving the hit rate of CDN cache.
The streaming media buffering apparatus according to some embodiments of the present disclosure is described below with reference to fig. 3.
Fig. 3 is a schematic structural diagram of a streaming media caching apparatus according to some embodiments of the present disclosure. As shown in fig. 3, the streaming media buffering apparatus 30 in this embodiment includes:
a streaming media heat determination module 302 configured to: determining the stream media heat of the target stream media by utilizing the probability of the operation of the user on the target stream media; a relevance determination module 304 configured to: determining the association degree between the target streaming media and other streaming media by utilizing the probability of the user operating other streaming media and the probability of the user continuously operating the target streaming media and other streaming media; an integrated heat determination module 306 configured to: determining the comprehensive heat of the target streaming media by utilizing the streaming media heat of the target streaming media and the association degree between the target streaming media and other streaming media; a cache processing module 308 configured to: and caching the target streaming media according to the comprehensive heat of the target streaming media.
In the embodiment, the mathematical model is used to describe the association degree between the target streaming media and other streaming media, and the influence caused by the association degree between the target streaming media and other streaming media is considered when determining the comprehensive heat degree of the target streaming media, so that the comprehensive heat degree of the target streaming media can be predicted more accurately. On the basis of accurately predicting the comprehensive heat of the target streaming media, the target streaming media is cached according to the comprehensive heat of the target streaming media, and the cache hit rate of the CDN can be improved, so that the source return rate and the time delay of the CDN are reduced, and the network performance and the user experience of the CDN are improved.
In some embodiments, the association determination module 304 is configured to: dividing the probability of continuous operation of the target streaming media and other streaming media by the probability of operation of the user on other streaming media to obtain the probability of continuous operation of the target streaming media under the condition that the user operates other streaming media; and taking the probability that the target streaming media is continuously operated under the condition that the known user operates other streaming media as the association degree between the target streaming media and other streaming media.
In some embodiments, the association determination module 304 is configured to: dividing the probability of continuous operations of the user on the target streaming media and other streaming media by the probability of the continuous operations of the user on the other streaming media to obtain the association degrees between the target streaming media and the other streaming media; and multiplying the relevance degrees between the target streaming media and other streaming media to obtain the relevance degree between the target streaming media and other streaming media.
In the embodiment, the situation that the user performs various operations on the target streaming media is considered, and the multidimensional information of the user operating the streaming media is utilized, so that not only can the streaming media heat of the target streaming media be calculated more accurately, but also the association between the target streaming media and other streaming media can be calculated more accurately, and the accuracy of predicting the comprehensive heat of the target streaming media is further improved, so that the cache hit rate of the CDN is further improved, the source return rate and the time delay of the CDN are reduced, and the network performance and the user experience of the CDN are improved.
In some embodiments, the integrated heat determination module 306 is configured to: and multiplying the stream media heat of the target stream media by the association degree between the target stream media and other stream media to obtain the comprehensive heat of the target stream media.
In some embodiments, the integrated heat determination module 306 is configured to: and multiplying the streaming media heat of the target streaming media by the association degree between the target streaming media and other streaming media.
In some embodiments, the target streaming media belongs to a episode in a series, and the other individual streaming media includes a previous episode, a next episode, and a next episode in the series to which the target streaming media belongs.
In some embodiments, the streaming media heat determination module 302 is configured to: and multiplying the probabilities of various operations of the target streaming media by the user to obtain the streaming media heat of the target streaming media.
In some embodiments, the operations include: search operation, click operation and collection operation.
In some embodiments, the cache processing module 308 is configured to: caching the target streaming media with the comprehensive heat degree larger than the preset value from the streaming media server to the edge streaming media cache node; and deleting the streaming media with the minimum comprehensive heat from the edge streaming media cache node under the condition that the cache space in the edge streaming media cache node is insufficient.
The embodiment realizes the periodic updating and replacing of the cached streaming media, continuously caches the streaming media with higher comprehensive heat in the edge streaming media cache node, and deletes the streaming media with relatively lower comprehensive heat, thereby effectively improving the utilization rate of CDN cache resources and further improving the hit rate of CDN cache.
Fig. 4 is a schematic structural diagram of a streaming media caching apparatus according to another embodiment of the present disclosure. As shown in fig. 4, the streaming media buffering apparatus 40 of this embodiment includes: a memory 410 and a processor 420 coupled to the memory 410, wherein the processor 420 is configured to execute the streaming media buffering method in any of the embodiments based on instructions stored in the memory 410.
Memory 410 may include, for example, system memory, fixed non-volatile storage media, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), and other programs. The streaming media caching apparatus 40 may further include an input/output interface 430, a network interface 440, a storage interface 450, and the like. These interfaces 430, 440, 450 and the connection between the memory 410 and the processor 420 may be, for example, via a bus 460. The input/output interface 430 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 440 provides a connection interface for various networking devices. The storage interface 450 provides a connection interface for external storage devices such as an SD card and a usb disk.
The present disclosure also includes a computer-readable storage medium having stored thereon computer instructions that, when executed by a processor, implement a streaming media caching method in any of the foregoing embodiments.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (16)

1. A streaming media caching method comprises the following steps:
determining the stream media heat of the target stream media by utilizing the probability of the operation of the user on the target stream media;
determining the association degree between the target streaming media and other streaming media by using the probability of the user operating other streaming media and the probability of the user continuously operating the target streaming media and other streaming media, wherein the association degree comprises the following steps: dividing the probability of continuous operation of the target streaming media and other streaming media by the probability of operation of the other streaming media by the user to obtain the probability of continuous operation of the target streaming media under the condition that the user is known to operate other streaming media; taking the probability that the target streaming media is continuously operated under the condition that the known user operates the other streaming media as the association degree between the target streaming media and the other streaming media;
determining the comprehensive heat of the target streaming media by using the streaming media heat of the target streaming media and the association degree between the target streaming media and other streaming media, wherein the method comprises the following steps: multiplying the stream media heat of the target stream media by the association degree between the target stream media and other stream media to obtain the comprehensive heat of the target stream media;
according to the comprehensive heat of the target streaming media, carrying out caching processing on the target streaming media, wherein the caching processing comprises the following steps: and caching the target streaming media with the comprehensive heat degree larger than the preset value from the streaming media server to the edge streaming media cache node.
2. The streaming media caching method according to claim 1, wherein the determining the association degree between the target streaming media and the other streaming media by using the probability of the user operating the other streaming media and the probability of the user continuously operating the target streaming media and the other streaming media further comprises:
dividing the probability of continuous operations of the user on the target streaming media and other streaming media by the probability of the continuous operations of the user on the other streaming media to obtain the association degrees between the target streaming media and the other streaming media;
and multiplying the relevance degrees between the target streaming media and the other streaming media to obtain the relevance degree between the target streaming media and the other streaming media.
3. The streaming media caching method of claim 1, wherein the multiplying the streaming media heat of the target streaming media by the association degree between the target streaming media and other streaming media further comprises:
and multiplying the streaming media heat of the target streaming media by the association degree between the target streaming media and other streaming media.
4. The streaming media buffering method according to claim 3, wherein the target streaming media belongs to a episode in a series, and the other streaming media comprise a previous episode, a next episode, and a next episode in the series to which the target streaming media belongs.
5. The streaming media caching method of claim 1, wherein the determining the streaming media heat of the target streaming media by using the probability of the user operating the target streaming media comprises:
and multiplying the probabilities of various operations of the target streaming media by the user to obtain the streaming media heat of the target streaming media.
6. The streaming media caching method according to claim 2 or 5, wherein the operations comprise: search operation, click operation and collection operation.
7. The streaming media caching method according to claim 1, wherein the caching the target streaming media according to the comprehensive heat of the target streaming media further comprises:
and deleting the streaming media with the minimum comprehensive heat from the edge streaming media cache node under the condition that the cache space in the edge streaming media cache node is insufficient.
8. A streaming media caching apparatus, comprising:
a streaming media heat determination module configured to: determining the stream media heat of the target stream media by utilizing the probability of the operation of the user on the target stream media;
a relevancy determination module configured to: determining the association degree between the target streaming media and other streaming media by using the probability of the user operating other streaming media and the probability of the user continuously operating the target streaming media and other streaming media, wherein the association degree comprises the following steps: dividing the probability of continuous operation of the target streaming media and other streaming media by the probability of operation of the other streaming media by the user to obtain the probability of continuous operation of the target streaming media under the condition that the user is known to operate other streaming media; taking the probability that the target streaming media is continuously operated under the condition that the known user operates the other streaming media as the association degree between the target streaming media and the other streaming media;
an integrated heat determination module configured to: determining the comprehensive heat of the target streaming media by using the streaming media heat of the target streaming media and the association degree between the target streaming media and other streaming media, wherein the method comprises the following steps: multiplying the stream media heat of the target stream media by the association degree between the target stream media and other stream media to obtain the comprehensive heat of the target stream media;
a cache processing module configured to: according to the comprehensive heat of the target streaming media, carrying out caching processing on the target streaming media, wherein the caching processing comprises the following steps: and caching the target streaming media with the comprehensive heat degree larger than the preset value from the streaming media server to the edge streaming media cache node.
9. The streaming media caching apparatus of claim 8, wherein the relevancy determination module is further configured to:
dividing the probability of continuous operations of the user on the target streaming media and other streaming media by the probability of the continuous operations of the user on the other streaming media to obtain the association degrees between the target streaming media and the other streaming media;
and multiplying the relevance degrees between the target streaming media and the other streaming media to obtain the relevance degree between the target streaming media and the other streaming media.
10. The streaming media caching apparatus of claim 8, wherein the integrated heat determination module is configured to:
and multiplying the streaming media heat of the target streaming media by the association degree between the target streaming media and other streaming media.
11. The streaming media buffering apparatus according to claim 10, wherein the target streaming media belongs to a episode in a series, and the other streaming media comprise a previous episode, a next episode, and a next episode in the series to which the target streaming media belongs.
12. The streaming media caching apparatus of claim 8, wherein the streaming media heat determination module is configured to:
and multiplying the probabilities of various operations of the target streaming media by the user to obtain the streaming media heat of the target streaming media.
13. The streaming media buffering apparatus according to claim 9 or 12, wherein the operations comprise: search operation, click operation and collection operation.
14. The streaming media caching apparatus according to claim 10, wherein the caching processing module is further configured to:
and deleting the streaming media with the minimum comprehensive heat from the edge streaming media cache node under the condition that the cache space in the edge streaming media cache node is insufficient.
15. A streaming media caching apparatus, comprising:
a memory; and
a processor coupled to the memory, the processor configured to execute the streaming media caching method of any one of claims 1 to 7 based on instructions stored in the memory.
16. A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, which when executed by a processor, implement the streaming media caching method according to any one of claims 1 to 7.
CN201811189448.7A 2018-10-12 2018-10-12 Streaming media caching method and device and computer readable storage medium Active CN111050195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811189448.7A CN111050195B (en) 2018-10-12 2018-10-12 Streaming media caching method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811189448.7A CN111050195B (en) 2018-10-12 2018-10-12 Streaming media caching method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111050195A CN111050195A (en) 2020-04-21
CN111050195B true CN111050195B (en) 2021-11-26

Family

ID=70229695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811189448.7A Active CN111050195B (en) 2018-10-12 2018-10-12 Streaming media caching method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111050195B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790915A (en) * 2012-07-09 2012-11-21 上海聚力传媒技术有限公司 Method and device for pre-pushing video resource to P2P (peer-to-peer) nodes
CN102932693A (en) * 2012-11-09 2013-02-13 北京邮电大学 Method and device for prefetching video-frequency band
CN103974138A (en) * 2014-04-15 2014-08-06 上海聚力传媒技术有限公司 Method and device for preloading videos in CDN
CN103974084A (en) * 2014-05-07 2014-08-06 南京邮电大学 Streaming media data block caching method, file recommendation method and streaming media server
CN104035994A (en) * 2014-06-11 2014-09-10 华东师范大学 Prediction method of television play on-demand amount based on network data
CN106250499A (en) * 2016-08-02 2016-12-21 合网络技术(北京)有限公司 A kind of video is to method for digging and device
CN107766360A (en) * 2016-08-17 2018-03-06 北京神州泰岳软件股份有限公司 A kind of video temperature Forecasting Methodology and device
CN108574685A (en) * 2017-03-14 2018-09-25 华为技术有限公司 A kind of Streaming Media method for pushing, apparatus and system
CN108600836A (en) * 2018-04-03 2018-09-28 北京奇艺世纪科技有限公司 A kind of method for processing video frequency and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8863204B2 (en) * 2010-12-20 2014-10-14 Comcast Cable Communications, Llc Cache management in a video content distribution network
EP2732424A4 (en) * 2011-07-13 2015-03-25 Bluefin Labs Inc Topic and time based media affinity estimation

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790915A (en) * 2012-07-09 2012-11-21 上海聚力传媒技术有限公司 Method and device for pre-pushing video resource to P2P (peer-to-peer) nodes
CN102932693A (en) * 2012-11-09 2013-02-13 北京邮电大学 Method and device for prefetching video-frequency band
CN103974138A (en) * 2014-04-15 2014-08-06 上海聚力传媒技术有限公司 Method and device for preloading videos in CDN
CN103974084A (en) * 2014-05-07 2014-08-06 南京邮电大学 Streaming media data block caching method, file recommendation method and streaming media server
CN104035994A (en) * 2014-06-11 2014-09-10 华东师范大学 Prediction method of television play on-demand amount based on network data
CN106250499A (en) * 2016-08-02 2016-12-21 合网络技术(北京)有限公司 A kind of video is to method for digging and device
CN107766360A (en) * 2016-08-17 2018-03-06 北京神州泰岳软件股份有限公司 A kind of video temperature Forecasting Methodology and device
CN108574685A (en) * 2017-03-14 2018-09-25 华为技术有限公司 A kind of Streaming Media method for pushing, apparatus and system
CN108600836A (en) * 2018-04-03 2018-09-28 北京奇艺世纪科技有限公司 A kind of method for processing video frequency and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"保障流媒体时间结构的网络时延分析";邱菡;《电子与信息学报》;20091015;第31卷(第10期);第2287-2293页 *

Also Published As

Publication number Publication date
CN111050195A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
US10552287B2 (en) Performance metrics for diagnosing causes of poor performing virtual machines
Berger et al. {AdaptSize}: Orchestrating the Hot Object Memory Cache in a Content Delivery Network
CN113220724B (en) Method, system and computer readable storage medium for processing a data stream
JP2021190086A (en) Method for recommending multimedia resource, device for recommending multimedia resource, electronic apparatus, non-temporary computer-readable storage medium, and computer program
US11341097B2 (en) Prefetching based on historical use and real-time signals
Zhang et al. Accelerate large-scale iterative computation through asynchronous accumulative updates
CN104808892A (en) Application icon ordering method, device, system and associated equipment
CN114817651B (en) Data storage method, data query method, device and equipment
Akhtar et al. Avic: a cache for adaptive bitrate video
Pan et al. Penalty-and locality-aware memory allocation in redis using enhanced AET
US20210319349A1 (en) System and method for implementing an application prediction engine
CN111050195B (en) Streaming media caching method and device and computer readable storage medium
Pan et al. A global user-driven model for tile prefetching in web geographical information systems
CN114253458A (en) Method, device and equipment for processing page fault exception of memory and storage medium
WO2023005264A1 (en) Data processing method and apparatus
Gu et al. Adaptive cache policy scheduling for big data applications on distributed tiered storage system
Songwattana et al. A learning-based approach for web cache management
US8621156B1 (en) Labeled cache system
Wang et al. Hgraph: I/o-efficient distributed and iterative graph computing by hybrid pushing/pulling
CN111970327A (en) News spreading method and system based on big data processing
KR101054815B1 (en) Search service provision system of multimedia data with multi-precision and its provision method
US11966393B2 (en) Adaptive data prefetch
CN116756177B (en) Multi-table index maintenance method and system for mysql database
US11314752B2 (en) Computer system and data analysis method
KR102155185B1 (en) Method and Apparatus for Two-Phase SSD Cache Management for Video Servers based on Support Vector Regression

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
GR01 Patent grant
GR01 Patent grant