CN111372095A - Method and device for calculating heat degree - Google Patents

Method and device for calculating heat degree Download PDF

Info

Publication number
CN111372095A
CN111372095A CN201811593023.2A CN201811593023A CN111372095A CN 111372095 A CN111372095 A CN 111372095A CN 201811593023 A CN201811593023 A CN 201811593023A CN 111372095 A CN111372095 A CN 111372095A
Authority
CN
China
Prior art keywords
heat
target file
value
edge server
calculation period
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.)
Granted
Application number
CN201811593023.2A
Other languages
Chinese (zh)
Other versions
CN111372095B (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.)
Shenzhen Ipanel TV Inc
Original Assignee
Shenzhen Ipanel TV Inc
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 Shenzhen Ipanel TV Inc filed Critical Shenzhen Ipanel TV Inc
Priority to CN201811593023.2A priority Critical patent/CN111372095B/en
Publication of CN111372095A publication Critical patent/CN111372095A/en
Application granted granted Critical
Publication of CN111372095B publication Critical patent/CN111372095B/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/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
    • 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
    • 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
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored 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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2405Monitoring of the internal components or processes of the server, e.g. server load
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2407Monitoring of transmitted content, e.g. distribution time, number of downloads
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The application provides a method and a device for calculating heat, comprising the following steps: monitoring the times that the target file is requested to be accessed by the terminal and is not cached by the edge server in a preset heat calculation period; the edge server is a cache server between the terminal and the resource server; and if the times reach a threshold value, calculating the heat value of the target file at the current moment based on the heat calculation period. According to the method and the device, the heat calculation period is set through the heat calculation, so that the heat value obtained through calculation is closer to the actual heat at the current moment, and the accuracy of the heat calculation is improved.

Description

Method and device for calculating heat degree
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for calculating heat.
Background
With the increasing development of the internet, more and more films, data, files and the like can be easily found on the internet, so that people can find needed objects without going out. With the increasing use of the internet, the demand for the internet is also higher. When a user uses a streaming media resource, the access speed of the user is required to be as fast as possible. In the prior art, generally, a CDN (Content delivery network) is used for cache acceleration, and a source station stores a part of resources in advance into a CDN node to shorten a distance between the source station and a user, thereby achieving an effect of access acceleration. In the existing CDN cache acceleration scheme, when a resource file is cached to a CDN node, a resource with a higher heat is generally selected for storage.
However, in the conventional method for calculating the popularity, the quotient of the total access amount divided by the time is calculated, and if the historical playing access frequency of a certain resource file is higher or lower, even if the playing frequency is continuously increased and decreased with the passage of time, due to the early effect of the accumulated value, the popularity value calculated by the above scheme does not change greatly, that is, the resource file is still in a high popularity state or a low popularity state, so that the resource file becomes a cold piece (no one-person ordering within a period of time) but is not replaced by a CDN node, or becomes a hot piece (the ordering amount is higher within a period of time) but cannot be cached in the CDN node.
Therefore, a technical solution that can accurately calculate the heat of the resource file so as to process the cache file in the CDN node is needed.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for calculating heat, so as to solve the problem of inaccurate calculation of heat.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a method of calculating heat, comprising:
monitoring the times that the target file is requested to be accessed by the terminal and is not cached by the edge server in a preset heat calculation period;
the edge server is a cache server between the terminal and the resource server;
and if the times reach a threshold value, calculating the heat value of the target file at the current moment based on the heat calculation period.
Optionally, the calculating the heat value of the target file at the current time based on the heat calculation cycle includes:
determining a first heat calculation period at the current moment and a second heat calculation period which is before and adjacent to the first heat calculation period;
obtaining a first heat value of the target file in the first heat calculation period;
obtaining a second heat value of the target file in the second heat calculation period;
and determining the heat value of the target file at the current moment based on the first heat value and the second heat value.
Optionally, the obtaining a first heat value of the target file in the first heat calculation cycle includes:
and obtaining a first heat value of the target file in the first heat calculation period based on the times.
Optionally, the obtaining a first heat value of the target file in the first heat calculation period based on the number of times includes:
obtaining a first heat value of the target file in the first heat calculation period by using f (HV) _1 ═ TM/TC _1) × N _ 1;
wherein TM is the heat calculation period, and TC _1 is the time length from the time when the target file is accessed for the first time in the first heat calculation period to the current time; n _1 is the number of times that the target file is requested to be accessed by the terminal and is not cached by the edge server in the TC _1 period; f (HV) _1 is a first heat value of the target file in the first heat calculation period.
Optionally, the obtaining a second heat value of the target file in the second heat calculation period includes:
obtaining a second heat value of the target file in the second heat calculation period by using f (HV) _2 ═ TM/TC _2) × N _ 2;
wherein TM is the heat calculation period, TC _2 is the period duration of a second heat calculation period or the duration from the time when the target file is accessed for the first time to the end time of the second heat calculation period; n _2 is the number of times that the target file is requested to be accessed by the terminal and is not cached by the edge server in the TC _2 period; f (HV) _2 is a second heat value of the target file in the second heat calculation period.
Optionally, after calculating the heat value of the target file at the current time, the method further includes:
judging whether the heat value of the target file is greater than or equal to a preset heat threshold value or not;
and if the hot degree value of the target file is greater than or equal to the hot degree threshold value, processing the cached file in the edge server based on the target file.
Optionally, the processing the cached file in the edge server based on the target file includes:
judging whether the size of the residual storage space of the edge server is larger than or equal to the size of the storage space required by the target file or not;
if the size of the residual storage space of the edge server is larger than or equal to the size of the storage space required by the target file, storing the target file to the edge server;
if the size of the residual storage space of the edge server is smaller than the size of the storage space required by the target file, obtaining the current heat value of all cached files in the edge server, comparing the heat value of the target file with the lowest heat value in the edge server, if the heat value of the target file is larger than the lowest heat value in the edge server, deleting the cached file with the lowest heat value in the edge server, and storing the target file to the edge server.
Optionally, after storing the target file in the edge server, the method further includes:
setting a lowest of the current heat value in the edge server to a new heat threshold.
An apparatus for calculating heat, comprising:
the monitoring unit is used for monitoring the times that the target file is requested to be accessed by the terminal and is not cached by the edge server in a preset heat calculation period; the edge server is a cache server between the terminal and the resource server;
and the calculating unit is used for calculating the heat value of the target file at the current moment based on the heat calculating period if the times reach a threshold value.
Optionally, after the calculating unit, the method further includes:
the judging unit is used for judging whether the heat value of the target file is greater than or equal to a preset heat threshold value or not;
and the processing unit is used for processing the cached files in the edge server based on the target file if the hot value of the target file is greater than or equal to the hot threshold.
According to the scheme, when the heat value of the target file which is not stored in the edge server is calculated, the heat calculation period is set, the number of times of the target file which is requested to be accessed in the heat calculation period is monitored, and when the number of times reaches the threshold value, the heat value of the target file at the current moment is calculated based on the heat calculation period, so that the heat calculation is realized. Therefore, different from the scheme of calculating the heat value through the quotient of the total visit amount and the accumulated time in the prior art, the heat calculation period is set for the heat calculation in the application, so that the calculated heat value is closer to the actual heat at the current moment, and the accuracy of the heat calculation is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for calculating heat according to an embodiment of the present invention;
FIGS. 2 and 3 are diagrams illustrating an exemplary application of a method for calculating heat according to another embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for calculating heat according to another embodiment of the present invention;
FIGS. 5-8 are diagrams illustrating another exemplary application of a method for calculating heat according to another embodiment of the present invention;
FIGS. 9 and 10 are flowcharts illustrating a method for calculating heat according to another embodiment of the present invention;
FIGS. 11 and 12 are schematic diagrams of an apparatus for calculating heat according to another embodiment of the present invention;
fig. 13-18 are other exemplary diagrams of a method for calculating heat according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The method for calculating heat degree provided by the embodiment of the invention, as shown in fig. 1, includes:
s101, monitoring the times that the target file is requested to be accessed by the terminal and is not cached by the edge server in a preset heat calculation period.
The edge server is a cache server between the terminal and the resource server.
The heat calculation period may be a preset interval, as shown in fig. 2, for example, 13:00 to 14:00 is used as one heat calculation period, and the interval of the heat calculation period may also be 2 hours, 1.5 hours, and the like.
It should be noted that, at the end of each heat calculation cycle, the number of times that the target file obtained in the cycle is requested to be accessed by the terminal and is not cached by the edge server is cleared, and counting is restarted at the beginning of the next heat calculation cycle.
Specifically, the start time and the end time of the heat calculation period may be fixed integral time, or may be set according to user requirements, as shown in fig. 3, in one heat calculation period, for example, 13:00 to 14: in the period of 00, the target file can be a new file which is just on line, the file can be on line at 13:00, and the number of times that the target file is requested to be accessed by the terminal and is not cached by the edge server can be directly monitored; or 13:20 is on-line, and then the number of times that the target file is monitored from 13:20, is requested to be accessed by the terminal and is not cached by the edge server is reached to the final end time; the number of times that the target file obtained in the cycle is requested to be accessed by the terminal and is not cached by the edge server is cleared at the end of each heat calculation cycle, so that the number of times that the target file is requested to be accessed by the terminal and is not cached by the edge server from 13:00 is only required to be obtained.
S102, if the number of times that the target file is requested to be accessed by the terminal and is not cached by the edge server in the heat calculation period reaches a threshold value, calculating the heat value of the target file at the current moment based on the heat calculation period.
The threshold is a numerical value used to determine whether the target file reaches a heat level that can be calculated, for example: the threshold is 600, and when the number of times that the target file is requested to be accessed by the terminal and not cached by the edge server in the heat calculation period also reaches 600, the target file may calculate the heat value of the target file at the current time based on the heat calculation period.
It should be noted that the threshold and the hot calculation period may be dynamically adjusted according to the hot value of the cached file in the edge server.
Specifically, the threshold may be adjusted according to the heat value of the cached file in the edge server, for example, if the heat values of the cached files in the edge server are all high, the threshold may be increased at this time, and the files with higher relative heat are screened by the number of times that the target file is requested to be accessed by the terminal and is not cached by the edge server in the preset heat calculation period from the beginning, and then the heat calculation is performed.
In addition, the heat calculation period can be determined by comparing the calculated current heat value with the heat value in the historical data. Specifically, if the magnitude of the change of the heat value is large, for example, the heat value of the current heat calculation period is 5000, and the heat value of the historical heat calculation period is 100, which indicates that the heat value of the target file is quite unstable, the interval of the heat calculation period should be appropriately reduced, and the timeliness of the heat value of the cached file in the edge server is ensured through more times of heat value calculation; if the change amplitude of the heat value is small, for example, the heat value of the current heat calculation period is 5000, and the heat value of the historical heat calculation period is 4900, which indicates that the heat value of the target file is relatively stable, the heat calculation period can be properly increased, the heat calculation frequency is reduced, and the load of the server is reduced.
It can be seen from the foregoing solutions that, in the method for calculating heat provided in the embodiments of the present application, when calculating a heat value of a target file that is not stored in an edge server, by setting a heat calculation period, the number of times that the target file is requested to be accessed in the heat calculation period is monitored, and when the number of times reaches a threshold value, a heat value of the target file at the current time is calculated based on the heat calculation period, thereby implementing heat calculation. Therefore, different from the scheme of calculating the heat value through the quotient of the total visit amount and the accumulated time in the prior art, the heat calculation period is set for the heat calculation in the application, so that the calculated heat value is closer to the actual heat at the current moment, and the accuracy of the heat calculation is improved.
Optionally, in another embodiment of the present invention, an implementation manner of the step S102 is specifically as shown in fig. 4:
s401, determining a first heat calculation period at the current moment and a second heat calculation period which is before and adjacent to the first heat calculation period.
As shown in fig. 5, the first heat calculation cycle is the entire heat calculation cycle in which the trigger time TC is calculated from the heat, i.e., the time period from T2 to T3; the second heat calculation cycle is a heat calculation cycle which is before and adjacent to the first heat calculation cycle, i.e., in a period of time T1-T2.
S402, obtaining a first heat value of the target file in a first heat calculation period.
Optionally, in another embodiment of the present invention, the obtaining of the first heat value of the target file in the first heat calculation period is performed based on the number of times that the target file is requested to be accessed by the terminal and is not cached by the edge server in the heat calculation period.
When the number of times that the target file is requested to be accessed by the terminal and not cached by the edge server in the heat calculation period reaches a preset threshold value, the current heat value of the target file can be calculated according to the heat calculation period, the heat calculation trigger time and the calculation formula.
Optionally, in another embodiment of the present invention, an implementation manner of the step S402 is specifically as follows:
obtaining a first heat value of the target file in a first heat calculation period by using f (HV) _1 ═ TM/TC _1 × N _ 1;
wherein TM is a heat calculation period, and TC _1 is the time length from the time when the target file is accessed for the first time in the first heat calculation period to the current time; n _1 is the number of times that the target file is requested to be accessed by the terminal and is not cached by the edge server in the TC _1 period; f (HV) 1 is the first heat value of the target file in the first heat calculation period.
Specifically, when the time TS when the target file is accessed for the first time and the heat calculation trigger time (current time) TC are the times shown in fig. 6, the first heat value may be calculated in the following manner: according to the number N _1 of times that the target file is requested to be accessed by the terminal and is not cached by the edge server, the time length from the time TS when the target file is accessed for the first time to the hotspot calculation triggering time TC in the first heat calculation period, namely TC _1 is TC-TS and the heat calculation period TM, and the first heat value of the target file at the current time is calculated by using a formula f (HV) _1 is (TM/TC _1) × N _ 1.
When the time TS when the target file is accessed for the first time and the heat calculation trigger time TC are the time shown in fig. 7, the first heat value may be calculated in the following manner: since the number of times that the target file obtained in the period is requested to be accessed by the terminal and is not cached by the edge server is cleared at the end of each heat calculation period, TC _1 is TC-T3, and a first heat value of the target file at the current time is calculated by using the formula f (hv) _1 (TM/TC _1) × N _ 1.
As can be seen, if the time when the target file is accessed for the first time and the heat calculation triggering time are within the first heat calculation cycle, TC _1 is a time period from the time when the target file is accessed for the first time to the heat calculation triggering time; if the time when the target file is accessed for the first time and the heat calculation triggering time are in different heat calculation cycles, because the number of times that the target file obtained in the cycle is requested to be accessed by the terminal and is not cached by the edge server is reset at the end of each heat calculation cycle, counting is restarted at the beginning of the next heat calculation cycle, and the time when the target file is accessed for the first time is always the time period TC _1 from the starting time of the first heat calculation cycle where the heat calculation triggering time is located to the heat calculation triggering time. And then, calculating a first heat value f (HV) 1 of the target file by monitoring the number N _1 of times that the target file is requested to be accessed by the terminal and is not cached by the edge server in a preset heat calculation period and a preset heat calculation period TM.
And S403, obtaining a second heat value of the target file in a second heat calculation period.
Optionally, in another embodiment of the present invention, an implementation manner of this step includes:
obtaining a second heat value of the target file in a second heat calculation period by using f (HV) _2 ═ TM/TC _2 × N _ 2;
wherein TM is a heat calculation period, TC _2 is the period duration of a second heat calculation period or the duration from the time when the target file is accessed for the first time to the end time of the second heat calculation period; n _2 is the number of times that the target file is requested to be accessed by the terminal and is not cached by the edge server in the TC _2 period; f (HV) 2 is a second heat value of the target file in a second heat calculation period.
Specifically, when the time TS when the target file is accessed for the first time and the heat calculation trigger time TC are the times shown in fig. 6, since the time TS when the target file is accessed for the first time does not pass through the end of any heat calculation cycle, no record of the heat value of the target file is recorded in the edge server, and thus TC _2 is 0.
When the time TS when the target file is accessed for the first time and the heat calculation trigger time TC are the time shown in fig. 7, a second heat value may be calculated in the following manner: when the TC is in the first heat calculation period and the TS is before the second heat calculation period, the second heat value is a heat value of the target file during the whole second heat calculation period, at this time, TC _2 is T3-T2, N _2 is also the number of times that the target file monitored in the whole second heat calculation period is requested to be accessed by the terminal and is not cached by the edge server, and the first heat value of the target file at the current time is calculated by using the formula f (hv) _2 (TM/TC _2) × N _ 2.
When the time TS when the target file is accessed for the first time and the heat calculation trigger time TC are the time shown in fig. 8, the second heat value may be calculated in the following manner: when the TC is in the first heat calculation period and the TS is in the second heat calculation period, the formula f (hv) _2 ═ T3-TS calculates the first heat value of the target file at the current time using the formula (TM/TC _2) × N _ 2.
It should be noted that, because the second heat calculation period is a heat calculation period that is before and adjacent to the first heat calculation period, if the time when the target file is accessed for the first time is within the second heat calculation period, TC _2 is a time length from the time when the target file is accessed for the first time to the end time of the second heat calculation period; if the time when the target file is accessed for the first time is at or before the starting time of the second heat calculation period, TC _2 is the period duration of the second heat calculation period, and then a second heat value f (HV) 2 of the target file is calculated by monitoring the number N _2 of times that the target file is requested to be accessed by the terminal and is not cached by the edge server in the preset second heat calculation period and the preset heat calculation period TM; if the time when the target file is accessed for the first time is in the first heat cycle, f (HV) _2 is 0.
S404, determining the heat value of the target file at the current moment based on the first heat value and the second heat value.
Comparing the obtained first heat value with the second heat value, and taking the heat value of the target file at the current moment as a larger value, for example, if the first heat value is larger than the second heat value, taking the first heat value as the heat value of the target file at the current moment; if the first heat value is smaller than the second heat value, the second heat value is used as the heat value of the target file at the current moment; and if the first heat value and the second heat value are equal, the heat value of the target file at the current moment is the first heat value or the second heat value.
Optionally, in another embodiment of the present invention, as shown in fig. 9, after calculating the heat value of the target file at the current time, the method further includes:
s901, judging whether the heat value of the target file is larger than or equal to a preset heat threshold, if so, executing a step S902.
The heat threshold is a numerical value, which is used to compare with the heat value of the target file at the current time, and if the current heat value of the target file reaches the heat threshold, step S902 may be executed.
And S902, processing the cached file in the edge server based on the target file.
It should be noted that, if the heat value of the target file is smaller than the heat threshold, the process returns to step S101 to continue monitoring the number of times that the target file is requested to be accessed by the terminal and is not cached by the edge server in the heat calculation period.
Optionally, in another embodiment of the present invention, in step S902, the cached file in the edge server is processed based on the target file, and specifically, the processing may be: and storing the target file into the edge server, and providing the target file as a cached file for the terminal to access. Specifically, in an embodiment of step S902, as shown in fig. 10, the following steps may be implemented:
s1001, judging whether the size of the residual storage space of the edge server is larger than or equal to the size of the storage space required by the target file.
It should be noted that, if the size of the remaining storage space of the edge server is greater than or equal to the size of the storage space required by the target file, step S1002 is performed; if the size of the remaining storage space of the edge server is smaller than the size of the storage space required by the target file, step S1003 is performed.
S1002, storing the target file to the edge server.
S1003, obtaining the current heat value of all cached files in the edge server, and executing the step S1004.
Obtaining a first heat value of a cached file in a first heat calculation period; and obtaining a second heat value of the cached file in the second heat calculation period, and determining the heat value of the cached file at the current moment based on the first heat value and the second heat value.
It should be noted that, obtaining the current heat value of the cached file is also obtained by calculating the heat value. The contents of the method in step S102 and the contents of the corresponding embodiment can be referred to as a method for calculating the heat value, and are not described herein again.
S1004, comparing the lowest heat value in the edge server with the heat value of the target file.
It should be noted that, if the hot value of the target file is greater than the lowest hot value in the edge server, step S1005 is executed; if the hot value of the target file is smaller than the lowest hot value in the edge server, the cached file is continuously reserved.
S1005, deleting the cached file with the lowest heat value in the edge server, and storing the target file to the edge server.
Since the target file is a file that is not cached in the edge server, when the heat value is equal to the heat value of the cached file in the edge server, the target file is preferentially stored in the edge server, and the cached file with the heat value equal to the heat value of the target file is deleted.
It should be noted that, in a specific implementation of this embodiment, the heat value in the edge server may be lower than the cached file at regular time and removed, specifically, in this embodiment, the cached files in the edge server are sorted by calculating the heat value, and the files with low heat values are sequentially removed, so that the remaining space in the edge server meets the remaining space threshold, and it is ensured that there is enough space in the edge server to cope with file injection in an emergency. The threshold of the remaining space may be, for example, 80% of the total storage space of the edge server, or any percentage of the total storage space of the edge server.
Optionally, in another embodiment of the present invention, after storing the target file in the edge server, the method further includes:
the lowest of the current heat value in the edge server is set to the new heat threshold.
It should be noted that, if no target file reaches the heat threshold, the target file needs to be stored in the edge server, and once each heat calculation cycle is finished, all cached files in the edge server are subjected to heat value calculation and sorted once, and the lowest heat value in the cached files is set as a new heat value.
It can be seen from the foregoing solutions that, in the method for calculating heat provided in the embodiments of the present application, when calculating a heat value of a target file that is not stored in an edge server, by setting a heat calculation period, the number of times that the target file is requested to be accessed in the heat calculation period is monitored, and when the number of times reaches a threshold value, a heat value of the target file at the current time is calculated based on the heat calculation period, thereby implementing heat calculation. Therefore, different from the scheme of calculating the heat value through the quotient of the total visit amount and the accumulated time in the prior art, the heat calculation period is set for the heat calculation in the application, so that the calculated heat value is closer to the actual heat at the current moment, and the accuracy of the heat calculation is improved.
An embodiment of the present invention further provides a device for calculating heat, as shown in fig. 11, including:
the monitoring unit 1101 is configured to monitor the number of times that the target file is requested to be accessed by the terminal and is not cached by the edge server in a preset heat calculation period; the edge server is a cache server between the terminal and the resource server.
The calculating unit 1102 is configured to calculate a heat value of the target file at the current time based on the heat calculation period when the number of times that the target file is requested to be accessed by the terminal and is not cached by the edge server in the heat calculation period reaches a threshold.
In the device for calculating heat degree disclosed in this embodiment, the specific processes of each unit may refer to the contents of the method embodiment corresponding to fig. 1, and are not described herein again.
Optionally, in another embodiment of the present invention, after the calculating unit 1102, as shown in fig. 12, the method further includes:
a determining unit 1201, configured to determine whether the heat value of the target file is greater than or equal to a preset heat threshold.
The processing unit 1202 is configured to, if the hot value of the target file is greater than or equal to the hot threshold, process the cached file in the edge server based on the target file.
In this embodiment, for specific execution processes of the determining unit 1201 and the processing unit 1202, reference may be made to the contents of the method embodiment corresponding to fig. 9, which is not described herein again.
As can be seen from the foregoing solution, in the apparatus for calculating heat provided in the embodiment of the present application, when calculating the heat value of a target file that is not stored in an edge server, by setting a heat calculation period, and further monitoring the number of times that the target file is requested to be accessed in the heat calculation period, and when the number of times reaches a threshold value, calculating the heat value of the target file at the current time based on the heat calculation period, thereby implementing heat calculation. Therefore, different from the scheme of calculating the heat value through the quotient of the total visit amount and the accumulated time in the prior art, the heat calculation period is set for the heat calculation in the application, so that the calculated heat value is closer to the actual heat at the current moment, and the accuracy of the heat calculation is improved.
For the above implementation scheme of the present embodiment, the following illustrates a specific implementation of the present embodiment:
with reference to the scenario specifically implemented in this embodiment shown in fig. 13, when the edge server is requested to access by a user and there is no file requested by the user cached in the edge server, the number N of times that the content file is requested to access by the terminal and is not cached by the edge server is recorded, and when N reaches a set threshold M and simultaneously meets a minimum heat value of an existing cache, a downloading process of the file is started, and the file is downloaded from the central node to meet the user requirement.
According to the heat value calculation theory of the embodiment, the calculation mode can be realized through the following scheme under different time conditions:
1. the calculation is based on a heat calculation period, such as from 13:00 to 14:00 as one heat calculation period.
2. The current heat value of the cached content is composed of a historical heat value and a current heat value, and the historical heat value and the current heat value are the maximum value.
3. The historical heat value takes the current time as a reference, and a heat calculation period segment is pushed upwards to serve as the heat value of the file, for example: the current time is 14:20, and the actual heat calculation period of the historical heat value, i.e., the second heat calculation period, starts from 13:00 to 14: 00.
4. The current heat value is converted into the heat value of the file in the whole time period by taking the current time as a reference, for example: the current time is 14:20, then the statistical period of the expected heat value, i.e., the first calculation period, starts at 14:00 to 15: 00. Only 20 minutes actually elapsed, but it can be converted to a heat value of 1 hour as the whole time period.
The access times of the files passing through the current edge server are counted, namely: when the number of times of access requested by the terminal and not cached by the edge server reaches N times, calculating the heat value HV, comparing with the heat threshold HM, and under the condition that the storage space is sufficient, when the current file HV value is greater than the heat threshold HM value, unconditionally caching, downloading and storing the file.
In addition, under the condition that the storage space of the edge server is insufficient or reaches the size of the remaining storage threshold, the following scheme may be implemented in this embodiment:
1. calculating the size of the residual storage capacity space of the edge server as S1;
2. the size of the file to be cached is denoted as S2.
3. Comparing the S1 value with the S2 value, when the S2 value is larger than the S1 value, taking a file with the lowest cached heat value from the current cached file library and deleting the file first.
4. And (4) confirming the current storage space size S1 (the updated remaining space value), if the S1 is larger than the S2, performing the step 5, otherwise, returning to the step 3, and continuously deleting the file with the lowest heat value.
5. And caching the new file for disk storage.
Comparing the heat value HV of the file just injected currently with the heat value HV of the file cached currently, and if the minimum value of the heat value of the file cached currently is larger than the HV value, adjusting the heat threshold HM to be equal to the last heat HV value.
There is a point to note: the total number of accesses requested by the user is the total number of misses + the total number of hits.
For example, for the current cluster, the number of times of file misses is equal to the total number of file accesses, where the file misses are counted as one time of miss if the file is not found on the edge server; and the other type is files cached in the edge server for storage, and the access times are equal to the total access times of the files.
Therefore, the calculation of the heat value of the resource aims at all resource requests passing through the edge server, and the total access times of the user requests, no matter whether the resource requests are missed or hit, are used as a basis, and the resource requests are calculated and sequenced as a whole, so that the fairness of resource access is met, and the data of the heat calculation is more objective and accurate.
It should be noted that the dynamic adjustment of the heat threshold HM is to reduce the number of times of fast in and fast out of cached files in the edge server, and when the heat calculation time comes, the minimum heat value of files cached in the edge storage is reassigned to the heat threshold M, but cannot be smaller than the default heat threshold. I.e. with a lower limit but no upper limit.
Specifically, the detailed calculation scheme of the heat value in this embodiment is as follows:
1. the calculation formula of the heat value of the file is as follows:
and calculating the access times N of the files in a certain heat calculation period TM value for the files returned from the source, and triggering a heat judgment process when the access times reaches an access time threshold value HM. And the time length triggered by the number of accesses from the first access is recorded as TC.
The source returning means returning to the source station server, and in this embodiment, the source station server is a storage server of the central node.
It should be noted that, when the time TM value is not reached, the number of accesses N needs to be estimated as the access heat value of the file within the time whole TM value.
The TM value is temporarily set to 1 hour, updated every hour at a point, and reaches the threshold value when the threshold value of the default initial access number of times is 3 times/minute, that is, the number of times 1 hour is accessed is 60 × 3 — 180 times, and the HM value is calculated from f (hv).
It should be noted that, both the TM value and the access number threshold are dynamically adjustable, and the heat calculation period of 1 hour is for convenience of description of the present invention.
The formula is as follows f (HV):
if HV > is HM, the heat value is integer, and if the heat value is the same, the creation time is compared.
Wherein, the integer of the heat value is that only an integer is left, and the integer of the positive number is that decimal points are removed. Negative integers, which are the largest integers not greater than this negative number.
It should be noted that when a file is cached in the edge server, there is a time for creating and storing the file in the edge server, and when the storage space is insufficient and the two files have the lowest and the same heat, it is necessary to preferentially delete the file with the earlier creation time.
Accessing a heat value f (hv) ═ TM (N/TC) ═ (TM/TC) × N;
if 1000 visits are made within TC 10 minutes, TM is the heat value of the 60 minute visit:
(hv) 60 ═ 6000 (1000/10) ═ 6000 (heat value).
That is, within a certain time range, the higher the access frequency is, the larger the heat value of the file is, and the two are in a direct proportion relationship.
2. Calculating the heat value of the uncached file:
when the trigger time of each heat calculation is started and is an integral point moment, actively triggering and updating the heat values of all the files accessed by the edge server once, and if the interval time of the heat values meets the TM value, directly calculating according to a formula. When the interval time is less than the TM value, the currently elapsed time period is converted into the TM value, and the insufficient TM value is estimated as a heat value in the TM time period.
3. Calculating and sorting the heat value of the cached files:
in this embodiment, the heat value of each file of the TM value at each time is counted and sorted mainly for the files cached in the edge server.
4. The processing scheme when the storage space of the edge server is insufficient:
and calculating the heat values of all files in the edge server, selecting the file with the lowest rank and the heat value lower than that of the file to be injected according to the size and the heat value of the file to be injected, and deleting the file until the deleted space meets the size of the file to be cached. And finally updating the lowest heat value in the edge server to be the new heat threshold value.
5. Theoretical calculation model:
as shown in fig. 14, according to the number of times of file misses, when the number of times of file misses is greater than a threshold HM, a hot determination process is triggered, and when a storage space is satisfied, a download process of a target file is directly triggered, otherwise, an edge server needs to be cleaned to vacate the space, that is, the access hot value determined as a miss is compared with the smallest hot value of the cached files, when the hot value of the miss is greater than the smallest hot value of the cached files, the smallest hot value of the cached files is deleted, and the process is stopped until the space is satisfied, and when the storage space is satisfied, the download process of the miss file is started.
It should be noted that when the ranking values with similar or same heat degree appear, the ranking values are first cleared by the creator based on the creation time.
Specifically, the practical application algorithm in this embodiment is as follows:
first, in the present embodiment, four values are stored for each file accessed at the edge server:
recording the actual access times during the integral point calculation as LAT;
the actual visit value per minute during the integral point calculation is marked as LCR;
the actual access times during non-integer point calculation are marked as CAT;
the estimated minute-to-minute visit at non-integer calculation is denoted as CCR.
Where the different variables are specified as follows:
1. TS denotes the start time;
2. TC represents a heat calculation trigger time;
3. TTX (X values denoted 1, 2, 3, 4), representing the time of the hour;
in the first case of heat calculation, as shown in fig. 15, when TS and TC are both in one heat calculation cycle, and when calculating the heat value, the above values are:
LAT value is 0;
LCR value is 0;
the CAT value is the actual access frequency value from the TS time to the TC time;
CCR value: the CAT value is first estimated as an estimate from time TT1 to time TT2, and the calculation of formula f (HV) yields the heat value HV, i.e., the CCR value. Both LCR and CCR values give priority to high scores, delaying the downward trend.
f(HV)_1=0;
f(HV)_2=(TM/(TC-TS))*N;
f (HV) Max (f (HV) Max 1, f (HV) Max 2).
In the second heat calculation case, as shown in fig. 16, when TC is in the first heat calculation period and TS is in the second heat calculation period, and when calculating the heat value, then the above values are:
the LAT value is the actual number of visits from time TS to time TT 2;
the LCR value is the actual visit value from the TS moment to the TT2 moment and is calculated according to a formula f (HV);
the CAT value is the actual access times from the time TT2 to the time TC;
CCR value: the CAT value is firstly estimated as an estimation value from the time of TT2 to the time of TT3, and the HV value, namely the CCR value, is obtained by referring to the calculation of the formula f (HV). Both LCR and CCR values give priority to high scores, delaying the downward trend.
f(HV)_1=(TM/(TT2-TS))*N;
f(HV)_2=(TM/(TC-TT2))*N;
f (HV) Max (f (HV) Max 1, f (HV) Max 2).
In the third heat calculation case, as shown in fig. 17, when TC is in the first heat calculation period and TS is before the second heat calculation period, the calculation time is changed and all values are changed. The true heat value is calculated in the range of TT2 to TC, so when calculating the heat value, the above values are:
the LAT value is the actual number of visits from time TT2 to time TT 3;
the LCR value is the actual visit value from the time point TT2 to the time point TT3, and the heat value is obtained through calculation according to a formula f (HV);
the CAT value is the actual access times from the time TT3 to the time TC;
CCR value: the CAT value is firstly estimated as an estimation value from the time of TT3 to the time of TT4, and the HV value, namely the CCR value, is obtained by referring to the calculation of the formula f (HV). Both LCR and CCR values give priority to high scores, delaying the downward trend.
f(HV)_1=T2;
f(HV)_2=(TM/(TC-TT3))*N;
f (HV) Max (f (HV) Max 1, f (HV) Max 2).
According to the analysis of the above situation, when the calculation time TC is within the calculation time period TM, that is, the heat value HV is estimated according to time, the final value is the estimated value, and the final value is compared with the heat value in the previous calculation time period to obtain a high score. When the integral point of the calculation time period is reached, namely (TT1, TT2, TT3.. TTn) in the graph, the heat value is calculated according to the actual access times. I.e. the heating value is always taken closer to that calculated with the true access and time.
After the integral point, the heat value is the actual access times, the elapsed time is calculated as standard, and the access times are clear 0.
Referring to fig. 15, the active disk space clearing logic in this embodiment is shown:
the active disk space clearing logic in this embodiment includes two deletion methods:
1. real-time memory purging
According to the file heat value required to be stored, whether enough space is available in the residual storage space for storing the file is judged, if not, a proper space value is required to be cleared according to the heat value, and the file size value and the creation time are generally taken as the standard.
2. Timed store flush
And cleaning enough disk space of the edge server according to the residual space threshold at a certain moment to deal with the emergency.
For example, when the current edge server is fixed at 24: 00 in the morning, the heat value sorting is performed on all cached files, when the space of the edge server is sufficient, no operation is performed, when the storage space is insufficient, in order to meet the injection requirement of the subsequent files, intelligent deletion is performed according to the capacity vacancy preset value of the edge server, and deletion is performed from small to large according to the heat value until the free available capacity reaches the expected space value.
There are two thresholds: for example, the total space for injecting the cached file data is TotalSpace, the upper limit storage space of the cache can be set to be 85% in operation, that is, TotalSpace × 85% in size, all the space is not full, firstly, a problem of possible disk fragmentation is considered, and secondly, a certain redundancy can be left for storing key information of a key point, such as cached file list information (in order to prevent the database server from normally providing service when not operating). In order to reserve enough space for the capacity of the storage space, the standard upper storage limit space of the storage space can be set to be 80%, and the storage space is only used for actively cleaning the cached file, namely, the size of TotalSpace is 80%.
In summary, in the two methods of the active disk space clearing logic in this embodiment, the real-time clearing is mainly to clear only the appropriate space value of the asset file and complete it as soon as possible, and the timing clearing is mainly to clear enough space for injecting the asset file in an emergency, so as to reduce the resource return of the asset request access.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of calculating heat, comprising:
monitoring the times that the target file is requested to be accessed by the terminal and is not cached by the edge server in a preset heat calculation period;
the edge server is a cache server between the terminal and the resource server;
and if the times reach a threshold value, calculating the heat value of the target file at the current moment based on the heat calculation period.
2. The method according to claim 1, wherein the calculating the heat value of the target file at the current time based on the heat calculation period comprises:
determining a first heat calculation period at the current moment and a second heat calculation period which is before and adjacent to the first heat calculation period;
obtaining a first heat value of the target file in the first heat calculation period;
obtaining a second heat value of the target file in the second heat calculation period;
and determining the heat value of the target file at the current moment based on the first heat value and the second heat value.
3. The method of claim 2, wherein obtaining the first heat value of the target document over the first heat calculation period comprises:
and obtaining a first heat value of the target file in the first heat calculation period based on the times.
4. The method of claim 3, wherein obtaining the first heat value of the target file in the first heat calculation period based on the number of times comprises:
obtaining a first heat value of the target file in the first heat calculation period by using f (HV) _1 ═ TM/TC _1) × N _ 1;
wherein TM is the heat calculation period, and TC _1 is the time length from the time when the target file is accessed for the first time in the first heat calculation period to the current time; n _1 is the number of times that the target file is requested to be accessed by the terminal and is not cached by the edge server in the TC _1 period; f (HV) _1 is a first heat value of the target file in the first heat calculation period.
5. The method of claim 2, wherein obtaining a second heat value of the target document over the second heat calculation period comprises:
obtaining a second heat value of the target file in the second heat calculation period by using f (HV) _2 ═ TM/TC _2) × N _ 2;
wherein TM is the heat calculation period, TC _2 is the period duration of a second heat calculation period or the duration from the time when the target file is accessed for the first time to the end time of the second heat calculation period; n _2 is the number of times that the target file is requested to be accessed by the terminal and is not cached by the edge server in the TC _2 period; f (HV) _2 is a second heat value of the target file in the second heat calculation period.
6. The method of claim 1, after calculating the heat value of the target file at the current time, further comprising:
judging whether the heat value of the target file is greater than or equal to a preset heat threshold value or not;
and if the hot degree value of the target file is greater than or equal to the hot degree threshold value, processing the cached file in the edge server based on the target file.
7. The method of claim 6, wherein the processing the cached file in the edge server based on the target file comprises:
judging whether the size of the residual storage space of the edge server is larger than or equal to the size of the storage space required by the target file or not;
if the size of the residual storage space of the edge server is larger than or equal to the size of the storage space required by the target file, storing the target file to the edge server;
if the size of the residual storage space of the edge server is smaller than the size of the storage space required by the target file, obtaining the current heat value of all cached files in the edge server, comparing the heat value of the target file with the lowest heat value in the edge server, if the heat value of the target file is larger than the lowest heat value in the edge server, deleting the cached file with the lowest heat value in the edge server, and storing the target file to the edge server.
8. The method of claim 7, further comprising, after storing the target file to the edge server:
setting a lowest of the current heat value in the edge server to a new heat threshold.
9. An apparatus for calculating heat, comprising:
the monitoring unit is used for monitoring the times that the target file is requested to be accessed by the terminal and is not cached by the edge server in a preset heat calculation period; the edge server is a cache server between the terminal and the resource server;
and the calculating unit is used for calculating the heat value of the target file at the current moment based on the heat calculating period if the times reach a threshold value.
10. The apparatus of claim 9, wherein the computing unit is further configured to:
the judging unit is used for judging whether the heat value of the target file is greater than or equal to a preset heat threshold value or not;
and the processing unit is used for processing the cached files in the edge server based on the target file if the hot value of the target file is greater than or equal to the hot threshold.
CN201811593023.2A 2018-12-25 2018-12-25 Method and device for calculating heat Active CN111372095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811593023.2A CN111372095B (en) 2018-12-25 2018-12-25 Method and device for calculating heat

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811593023.2A CN111372095B (en) 2018-12-25 2018-12-25 Method and device for calculating heat

Publications (2)

Publication Number Publication Date
CN111372095A true CN111372095A (en) 2020-07-03
CN111372095B CN111372095B (en) 2023-06-23

Family

ID=71209787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811593023.2A Active CN111372095B (en) 2018-12-25 2018-12-25 Method and device for calculating heat

Country Status (1)

Country Link
CN (1) CN111372095B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112584439A (en) * 2020-11-27 2021-03-30 重庆邮电大学 Caching method in edge calculation
CN114390099A (en) * 2022-01-12 2022-04-22 中国联合网络通信集团有限公司 Content distribution method and edge server
CN114647775A (en) * 2020-12-21 2022-06-21 北京达佳互联信息技术有限公司 Information pushing method and device and electronic equipment
CN114760490A (en) * 2022-04-15 2022-07-15 上海哔哩哔哩科技有限公司 Video stream processing method and device
CN115914374A (en) * 2022-12-02 2023-04-04 中国工商银行股份有限公司 Data transmission method, data transmission device, computer equipment, storage medium and program product

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079727A (en) * 2006-05-24 2007-11-28 中兴通讯股份有限公司 A stream media data content management method
CN101883012A (en) * 2010-07-09 2010-11-10 四川长虹电器股份有限公司 Processing method of storage resource in network edge node
CN102609508A (en) * 2012-02-05 2012-07-25 四川大学 High-speed access method of files in network storage
CN103312776A (en) * 2013-05-08 2013-09-18 青岛海信传媒网络技术有限公司 Method and device for caching contents of videos by edge node server
CN103327079A (en) * 2013-05-31 2013-09-25 青岛海信传媒网络技术有限公司 Multimedia resource caching method and device
CN103380611A (en) * 2011-12-26 2013-10-30 华为技术有限公司 Method and device for cache management
CN103747049A (en) * 2013-12-24 2014-04-23 乐视网信息技术(北京)股份有限公司 CDN file distribution method, control center and system
CN104111900A (en) * 2013-04-22 2014-10-22 中国移动通信集团公司 Method and device for replacing data in cache
WO2016165441A1 (en) * 2015-09-06 2016-10-20 中兴通讯股份有限公司 Migration policy adjustment method, capacity-change suggestion method and device
CN106657196A (en) * 2015-11-02 2017-05-10 华为技术有限公司 Caching content elimination method and caching apparatus
CN107124630A (en) * 2017-03-30 2017-09-01 华为技术有限公司 The method and device of node data management
CN108492150A (en) * 2018-04-11 2018-09-04 口碑(上海)信息技术有限公司 The determination method and system of entity temperature
CN108696895A (en) * 2017-04-07 2018-10-23 华为技术有限公司 Resource acquiring method, apparatus and system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079727A (en) * 2006-05-24 2007-11-28 中兴通讯股份有限公司 A stream media data content management method
CN101883012A (en) * 2010-07-09 2010-11-10 四川长虹电器股份有限公司 Processing method of storage resource in network edge node
CN103380611A (en) * 2011-12-26 2013-10-30 华为技术有限公司 Method and device for cache management
CN102609508A (en) * 2012-02-05 2012-07-25 四川大学 High-speed access method of files in network storage
CN104111900A (en) * 2013-04-22 2014-10-22 中国移动通信集团公司 Method and device for replacing data in cache
CN103312776A (en) * 2013-05-08 2013-09-18 青岛海信传媒网络技术有限公司 Method and device for caching contents of videos by edge node server
CN103327079A (en) * 2013-05-31 2013-09-25 青岛海信传媒网络技术有限公司 Multimedia resource caching method and device
CN103747049A (en) * 2013-12-24 2014-04-23 乐视网信息技术(北京)股份有限公司 CDN file distribution method, control center and system
WO2016165441A1 (en) * 2015-09-06 2016-10-20 中兴通讯股份有限公司 Migration policy adjustment method, capacity-change suggestion method and device
CN106657196A (en) * 2015-11-02 2017-05-10 华为技术有限公司 Caching content elimination method and caching apparatus
CN107124630A (en) * 2017-03-30 2017-09-01 华为技术有限公司 The method and device of node data management
CN108696895A (en) * 2017-04-07 2018-10-23 华为技术有限公司 Resource acquiring method, apparatus and system
CN108492150A (en) * 2018-04-11 2018-09-04 口碑(上海)信息技术有限公司 The determination method and system of entity temperature

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112584439A (en) * 2020-11-27 2021-03-30 重庆邮电大学 Caching method in edge calculation
CN114647775A (en) * 2020-12-21 2022-06-21 北京达佳互联信息技术有限公司 Information pushing method and device and electronic equipment
CN114390099A (en) * 2022-01-12 2022-04-22 中国联合网络通信集团有限公司 Content distribution method and edge server
CN114760490A (en) * 2022-04-15 2022-07-15 上海哔哩哔哩科技有限公司 Video stream processing method and device
CN114760490B (en) * 2022-04-15 2024-03-19 上海哔哩哔哩科技有限公司 Video stream processing method and device
CN115914374A (en) * 2022-12-02 2023-04-04 中国工商银行股份有限公司 Data transmission method, data transmission device, computer equipment, storage medium and program product

Also Published As

Publication number Publication date
CN111372095B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN111372095A (en) Method and device for calculating heat degree
CN100518088C (en) A stream media data content management method
WO2016141735A1 (en) Cache data determination method and device
CN110764708A (en) Data reading method, device, equipment and storage medium
CN107943718B (en) Method and device for cleaning cache file
US11099997B2 (en) Data prefetching method and apparatus, and storage device
CN107301215B (en) Search result caching method and device and search method and device
CN108574685A (en) A kind of Streaming Media method for pushing, apparatus and system
CN113630329B (en) Load balancing method and system based on user access amount and readable storage medium
CN112148690A (en) File caching method, file access request processing method and device
CN111858403B (en) Cache data heat management method and system based on probability to access frequency counting
CN111339200A (en) Data verification method and data verification system based on database synchronization
CN106547476A (en) For the method and apparatus of data-storage system
WO2009065309A1 (en) Method and system for storing the program and system for the program demanding
CN105404595B (en) Buffer memory management method and device
CN109542612A (en) A kind of hot spot keyword acquisition methods, device and server
CN116578409A (en) Method, system and medium for identifying and migrating memory hot page
CN111913913B (en) Access request processing method and device
CN109582233A (en) A kind of caching method and device of data
CN110708361B (en) System, method and device for determining grade of digital content publishing user and server
CN109240987B (en) Method and system for prefetching data based on time for mobile internet
CN109741088B (en) Advertisement hit rate estimation method, estimation device and server
CN115878677A (en) Data processing method and device for distributed multi-level cache
CN113496422B (en) Block chain-based popularization resource allocation method and big data information cloud platform
CN103365897A (en) Fragment caching method supporting Bigtable data model

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