CN101079727A - A stream media data content management method - Google Patents
A stream media data content management method Download PDFInfo
- Publication number
- CN101079727A CN101079727A CN 200610078410 CN200610078410A CN101079727A CN 101079727 A CN101079727 A CN 101079727A CN 200610078410 CN200610078410 CN 200610078410 CN 200610078410 A CN200610078410 A CN 200610078410A CN 101079727 A CN101079727 A CN 101079727A
- Authority
- CN
- China
- Prior art keywords
- data content
- medium data
- temperature
- stream medium
- buffer memory
- 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
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a managing method of flow media data content, which is characterized by the following: managing the flow media data content on the rim buffer equipment; detecting the heat degree of the flow media data content; recording the knocking number of the managed data file within the present detecting time segment; obtaining the heat degree of the data file within front time segment as the initiating value of the heat degree; calculating the knocking number and the initiating value to obtain the present heat degree. The invention provides the high-effective judgment evidence for higher layer content buffer, which can utilize the system resource to the most degree.
Description
Technical field
The present invention relates to a kind of data content management method, relate in particular to a kind of stream media data content management method.
Background technology
The content of carrying on the legacy network is based on webpage.Usually, server end is arranged suitable network server and memory device according to the capacity requirement of website, and the different network users visits this website, downloads related web page.Along with interconnected user on the network's continuous increase, the visit capacity of website also increases severely thereupon, so just makes the network equipment of website and memory device can't bear the heavy load.To this, each manufacturer adopts the server mirroring technology, put buffer memory equipment in the place that the user concentrates relatively, as mirror image server to original server, during the original server of user capture, redirected to nearest mirror image server by network, thereby improved the network user's visit quality and access speed from the user.
In recent years, the high speed development of basic network has promoted the development of Network, has occurred various multimedia services on the Internet, wherein with the fastest developing speed with streaming media service.Streaming media service is so that the business of content to be provided, and content needs classification, time span of depositing with decision and the place of depositing, and therefore the management to content is particularly important in streaming media service.And Streaming Media has also run into the problem same with conventional web sites in evolution, again because the diversified characteristics of stream medium data content, therefore need the more network overhead and the network storage equipment, only adopt the mode of server mirroring far can not satisfy the application of network flow-medium.Thus, some equipment vendors release the content stores network equipment SAN (Storage Area Network) of specialty, but SAN cost an arm and a leg, limited carrying out of Network.
For solving this contradiction, present common way is: when the Internet user visits content on the edge buffer memory equipment at every turn, server at first to the original server the current content of inquiry whether identical with content on the server, as identical, then the content on this machine is directly offered the user, thereby the user obtains higher service quality; Older than original server as the content on this machine, this machine will be to the up-to-date content of original server request, then just for the user provides service, and the up-to-date content of buffer memory simultaneously.Aspect the content deletion, the edge buffer memory is just carried out the delete command of upper management device, and the content on this machine is specified in deletion.
And when any content file of this machine and the content on the original server not simultaneously, the edge buffer memory need arrive gets this machine with content on the original server, could provide service for the user then.Like this, when each user capture arrived, edge buffer memory equipment all will be done same operation, and the service quality that the one side user obtains will reduce, the expense of edge buffer memory is increased, and especially the expense of central processing unit and hard disk will be the bottleneck that this business is carried out.The deletion of this machine content is the delete command of passive execution higher level equipment, rather than according to the distribution situation of this machine content file, clicking rate, freshness, the attribute of file, file sizes etc. realize deletion automatically, come the storage and the utilization of this machine of Automatic Optimal content file, do not reach the Automatic Optimal of edge buffer memory, thereby reduced the utilization ratio of equipment, reduced service quality yet.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of stream media data content management method, is sent to the quality of terminal use's stream medium data content with raising, and realizes the automatic management and the renewal of content on the edge of stream media network buffer memory equipment.
For addressing the above problem, the invention provides a kind of stream media data content management method, on the edge of stream media network buffer memory equipment, temperature according to the stream medium data content manages the stream medium data content on the edge buffer memory equipment, and the temperature of described stream medium data content detects as follows:
(1) is recorded in the current detection time period by the clicked number of management data file;
(2) obtain the temperature of this data file in previous time period, and with its initial value as the current slot temperature;
(3) according to the initial value of described current slot temperature and the weighted average of the clicked number of this data file in current slot, calculate the temperature of this data file at current slot.
Wherein, the detection of described stream medium data content, t carries out with the Fixed Time Interval Δ.
If when for the first time calculating temperature, then the temperature value of described previous time period can provide an initial value voluntarily by the content provider.
Wherein, determine current temperature by following formula:
Temperature=(hits of the temperature of previous time period * W+ current slot/Δ t)/(1+W), wherein, described W represents weight coefficient, can according to circumstances regulate.
Wherein, described time segment value is determined according to the user log files of edge buffer memory equipment, attribute and other statisticss of stream medium data file.
Wherein, described temperature according to the stream medium data content comprises the step that the stream medium data content on the edge buffer memory equipment manages:
When the temperature of described stream medium data content rises, then distribute longer edge buffer memory device storage time, more network bandwidths and other resources for this Streaming Media;
When the temperature of described stream medium data content descends, then shorten to the edge buffer memory device storage time that this Streaming Media distributes, and be reduced to the network bandwidth and other resources of its distribution.
Wherein, further comprise: on the edge of stream media network buffer memory equipment, the stream medium data content on the edge buffer memory equipment is managed, comprising according to the freshness of stream medium data content:
When the freshness of described stream medium data content rises, then distribute longer edge buffer memory device storage time, more network bandwidths and other resource for this Streaming Media;
When the freshness of described stream medium data content descends, then shorten to the edge buffer memory device storage time that this Streaming Media distributes, and be reduced to the network bandwidth and other resources of its distribution, when described freshness was lower than certain thresholding, edge buffer memory equipment is the relevant stream medium data content of deletion automatically.
Wherein, the grade of freshness of described stream medium data content time at that time that to be described time segment value carry out divided by detection and the difference in the stream medium data document creation.
The initial value that has increased temperature in the temperature computational methods of the present invention is the temperature of previous time period, and this value is provided by the content provider, before content does not also have program request, just can predict its current temperature.Adopt this algorithm, can reflect the temperature of program more accurately.
Of the present invention on the edge of stream media network buffer memory equipment, according to the attribute of the temperature of content file on the edge buffer memory equipment, freshness, file and relevant information, file size etc., for the efficient utilization of edge buffer memory medium and the more high-rise setting of content caching provide high efficiency basis for estimation.Thereby improve the quality that is sent to terminal use's stream medium data content on the one hand, save the cost of content network investment on the other hand, reach the expense that on content network, realizes with minimum, the purpose of top-quality media content service is provided, and on the edge of stream media network buffer memory equipment, realize management automatically, content is upgraded automatically and maximum possible utilize system resource (as the memory device of edge buffer memory, central processing unit, the network bandwidth etc.).
Description of drawings
Fig. 1 is according to the described stream medium data content user visit of embodiment of the invention trend graph;
Fig. 2 is the schematic flow sheet according to the described definite stream medium data content temperature of the embodiment of the invention;
Fig. 3 is the schematic flow sheet according to the described definite stream medium data content freshness of the embodiment of the invention.
Embodiment
On the edge of stream media network buffer memory equipment, according to the temperature of stream medium data content, freshness, the attribute of file, size of file etc. the stream medium data content on this equipment is managed automatically, deleted and upgrades, reach the Automatic Optimal of edge buffer memory.
With reference to figure 1, be the described stream medium data content user visit of embodiment of the invention trend graph, its longitudinal axis explicit user hits, transverse axis shows the time.Files in stream media is from being put on the edge buffer memory equipment, and the number of users in the unit interval of visit this document will increase gradually, will reach peak value behind certain hour, and the calling party number will descend then.Stream medium data content temperature then is embodied as the number of users that uses this content in the unit interval, and big more this content that shows of temperature value is popular with users more, thereby the value of preserving on the edge buffer memory is just big more.Δ T is meant, to user clicking rate is tending towards 0 o'clock reasonable life period at edge buffer memory equipment in beginning to create from media file, can adopt probabilistic method to obtain.And the value of fixed time interval Δ t is to get different values according to different media file properties (as news, TV play, educational film, film), can offer the user and select, and also can adopt probabilistic method to obtain.
With reference to figure 2, be the schematic flow sheet of the described definite stream medium data content temperature of the embodiment of the invention.In the stream medium data document creation, with fixed time interval Δ t circulation temperature is detected, current time t that detection is carried out and the difference of stream medium data document creation time are during greater than the reasonable life period segment value Δ T of Streaming Media temperature, setting corresponding temperature value is 0, and this stream medium data file is deleted from the memory device of edge buffer memory.For the calculating of temperature, to consider that then initial temperature value is the temperature of previous time period, temperature should be the weighted average of the hits of top n time period, referring to following formula:
Temperature=(hits of the temperature of previous time period * W+ current slot/Δ t)/(1+W)
Wherein, W represents weight coefficient, can regulate, and generally gets 0.5.If calculate temperature for the first time, then the temperature value of previous time period can be provided by the content provider.
The detailed process of determining stream medium data content temperature is:
Step 201: start temperature and calculate timer;
Step 202: judge whether timing arrives, if, enter step 203, if not, then rejudge, till timing arrives;
Step 203: reading system current time t;
Step 204: whether judge t and the difference of document creation time greater than Δ T, if, enter step 205, if not, step 206 entered;
Step 205: the temperature of this document is 0;
Step 206: read this document at the t-Δ journal file of this time period of t~t;
Step 207: the temperature value of calculating this document.
With reference to figure 3, be the schematic flow sheet of the described definite stream medium data content freshness of the embodiment of the invention.In the stream medium data document creation, with fixed time interval Δ t circulation freshness is detected, the difference of the current time t that detection is carried out and the creation-time t1 of stream medium data file is during greater than the reasonable life period segment value Δ T of freshness, setting corresponding fresh degree value is 0, and this stream medium data file is deleted from the memory device of edge buffer memory.And time at that time that the grade of freshness of stream medium data content is reasonable life period segment value Δ T to carry out divided by detection and the difference in the stream medium data document creation, referring to this formula: freshness=Δ T/t-t1.
The detailed process of determining stream medium data content freshness is:
Step 301: start freshness and calculate timer:
Step 302: judge whether timing arrives, if, enter step 303, if not, then rejudge, till timing arrives;
Step 303: reading system current time t;
Step 304: the creation-time t1 that reads file;
Step 305: whether the difference of judging t and t1 greater than Δ T, if, enter step 306, if not, step 307 entered;
Step 306: the freshness of this document is 0;
Step 307: the grade of freshness that calculates this document.
By the above as can be known, when the temperature of stream medium data content and freshness are high, then, download related content from the own nearest server of distance to make things convenient for the user for this Streaming Media distributes longer edge buffer memory device storage time, more network bandwidths and other resource.System is provided with the contiguous sector of these file storage at hard disk, when the user asks to visit these files, because the storage of file is continuous, the seek time of hard disk drive will reduce greatly, media file can be read by system in the shortest time, user's stand-by period will significantly reduce; When the distribution network bandwidth, system is according to current native network busy idle condition, prior this machine of reserved part network interface card bandwidth resources, in case the high media file of user capture temperature value and grade of freshness is arranged, this machine network interface card bandwidth resources that system just will reserve are distributed to this media file immediately, with the fastest time response of user's request, thereby improved service quality.
Otherwise, when the temperature of stream medium data content and freshness descend, then shorten to the edge buffer memory device storage time that this Streaming Media distributes, and be reduced to the network bandwidth and other resources of its distribution, system will discharge this machine network interface card bandwidth resources of corresponding disk space continuously and reservation, leave resource for other grade of freshness and the high files in stream media of temperature value, thereby reached the purpose of the limited hardware resource of utilizing Edge Server to greatest extent.
Claims (10)
1. stream media data content management method, on the edge of stream media network buffer memory equipment, temperature according to the stream medium data content manages the stream medium data content on the edge buffer memory equipment, it is characterized in that the temperature of described stream medium data content detects as follows:
(1) is recorded in the current detection time period by the clicked number of management data file;
(2) obtain the temperature of this data file in previous time period, and with its initial value as the current slot temperature;
(3) according to the initial value of described current slot temperature and the weighted average of the clicked number of this data file in current slot, calculate the temperature of this data file at current slot.
2. the method for claim 1 is characterized in that, the detection of described stream medium data content, and t carries out with the Fixed Time Interval Δ.
3. the method for claim 1 is characterized in that, described step (2), if when for the first time calculating temperature, then the temperature value of described previous time period can provide an initial value voluntarily by the content provider.
4. the method for claim 1 is characterized in that, in the described step (3), determines current temperature by following formula:
Temperature=(hits of the temperature of previous time period * W+ current slot/Δ t)/(1+W), wherein, W represents weight coefficient.
5. method as claimed in claim 4 is characterized in that described W can according to circumstances regulate.
6. method as claimed in claim 4 is characterized in that, described W is 0.5.
7. the method for claim 1 is characterized in that, described time segment value is determined according to the user log files of edge buffer memory equipment, attribute and other statisticss of stream medium data file.
8. the method for claim 1 is characterized in that, described temperature according to the stream medium data content comprises the step that the stream medium data content on the edge buffer memory equipment manages:
When the temperature of described stream medium data content rises, then distribute longer edge buffer memory device storage time, more network bandwidths and other resources for this Streaming Media;
When the temperature of described stream medium data content descends, then shorten to the edge buffer memory device storage time that this Streaming Media distributes, and be reduced to the network bandwidth and other resources of its distribution.
9. the described method of claim 1 is characterized in that, further comprises: on the edge of stream media network buffer memory equipment, according to the freshness of stream medium data content the stream medium data content on the edge buffer memory equipment is managed, comprising:
When the freshness of described stream medium data content rises, then distribute longer edge buffer memory device storage time, more network bandwidths and other resource for this Streaming Media;
When the freshness of described stream medium data content descends, then shorten to the edge buffer memory device storage time that this Streaming Media distributes, and be reduced to the network bandwidth and other resources of its distribution, when described freshness was lower than certain thresholding, edge buffer memory equipment is the relevant stream medium data content of deletion automatically.
10. require 9 described methods as profit, it is characterized in that, the grade of freshness of described stream medium data content time at that time that to be described time segment value carry out divided by detection and the difference in the stream medium data document creation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100784103A CN100518088C (en) | 2006-05-24 | 2006-05-24 | A stream media data content management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100784103A CN100518088C (en) | 2006-05-24 | 2006-05-24 | A stream media data content management method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101079727A true CN101079727A (en) | 2007-11-28 |
CN100518088C CN100518088C (en) | 2009-07-22 |
Family
ID=38906976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100784103A Active CN100518088C (en) | 2006-05-24 | 2006-05-24 | A stream media data content management method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100518088C (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102611743A (en) * | 2012-02-20 | 2012-07-25 | 南方电网科学研究院有限责任公司 | Data synchronous transmission method for power quality monitoring system |
WO2013097076A1 (en) * | 2011-12-26 | 2013-07-04 | 华为技术有限公司 | Method and device for cache management |
CN103327079A (en) * | 2013-05-31 | 2013-09-25 | 青岛海信传媒网络技术有限公司 | Multimedia resource caching method and device |
CN103945278A (en) * | 2013-01-21 | 2014-07-23 | 中国科学院声学研究所 | Video content and content source crawling method |
CN104217019A (en) * | 2014-09-25 | 2014-12-17 | 中国人民解放军信息工程大学 | Content inquiry method and device based on multiple stages of cache modules |
CN106528455A (en) * | 2016-10-28 | 2017-03-22 | 上海斐讯数据通信技术有限公司 | Multimedia cache cleaning method and system for electronic terminal, and electronic terminal |
CN108090089A (en) * | 2016-11-23 | 2018-05-29 | 北京国双科技有限公司 | Detect the methods, devices and systems of hot spot data in website |
CN109040844A (en) * | 2018-09-25 | 2018-12-18 | 有米科技股份有限公司 | A kind of method, apparatus and electronic equipment obtaining video temperature |
CN109660819A (en) * | 2017-10-10 | 2019-04-19 | ***通信有限公司研究院 | Service buffer method, apparatus and serving BS based on mobile edge calculations |
CN109672939A (en) * | 2019-01-07 | 2019-04-23 | 北京奇艺世纪科技有限公司 | A kind of method and device of marking video content temperature |
CN110493643A (en) * | 2019-08-06 | 2019-11-22 | 北京邮电大学 | Video storage method and device |
CN110582004A (en) * | 2018-06-07 | 2019-12-17 | 青岛海尔多媒体有限公司 | television system of hotel, video playing method and information sharing method |
CN110825988A (en) * | 2019-11-08 | 2020-02-21 | 北京字节跳动网络技术有限公司 | Information display method and device and electronic equipment |
CN111372095A (en) * | 2018-12-25 | 2020-07-03 | 深圳市茁壮网络股份有限公司 | Method and device for calculating heat degree |
CN112019451A (en) * | 2019-05-29 | 2020-12-01 | ***通信集团安徽有限公司 | Bandwidth allocation method, debugging network element, local cache server and computing equipment |
US20210160296A1 (en) * | 2019-11-27 | 2021-05-27 | Electronics And Telecommunications Research Institute | Method and apparatus for selecting and receiving stream in distribution network-based multimedia streaming service |
-
2006
- 2006-05-24 CN CNB2006100784103A patent/CN100518088C/en active Active
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013097076A1 (en) * | 2011-12-26 | 2013-07-04 | 华为技术有限公司 | Method and device for cache management |
CN103380611A (en) * | 2011-12-26 | 2013-10-30 | 华为技术有限公司 | Method and device for cache management |
CN103380611B (en) * | 2011-12-26 | 2017-02-01 | 华为技术有限公司 | Method and device for cache management |
CN102611743A (en) * | 2012-02-20 | 2012-07-25 | 南方电网科学研究院有限责任公司 | Data synchronous transmission method for power quality monitoring system |
CN103945278A (en) * | 2013-01-21 | 2014-07-23 | 中国科学院声学研究所 | Video content and content source crawling method |
CN103327079A (en) * | 2013-05-31 | 2013-09-25 | 青岛海信传媒网络技术有限公司 | Multimedia resource caching method and device |
CN104217019A (en) * | 2014-09-25 | 2014-12-17 | 中国人民解放军信息工程大学 | Content inquiry method and device based on multiple stages of cache modules |
CN106528455A (en) * | 2016-10-28 | 2017-03-22 | 上海斐讯数据通信技术有限公司 | Multimedia cache cleaning method and system for electronic terminal, and electronic terminal |
CN108090089A (en) * | 2016-11-23 | 2018-05-29 | 北京国双科技有限公司 | Detect the methods, devices and systems of hot spot data in website |
CN108090089B (en) * | 2016-11-23 | 2021-01-22 | 北京国双科技有限公司 | Method, device and system for detecting hot point data in website |
CN109660819A (en) * | 2017-10-10 | 2019-04-19 | ***通信有限公司研究院 | Service buffer method, apparatus and serving BS based on mobile edge calculations |
CN110582004A (en) * | 2018-06-07 | 2019-12-17 | 青岛海尔多媒体有限公司 | television system of hotel, video playing method and information sharing method |
CN109040844A (en) * | 2018-09-25 | 2018-12-18 | 有米科技股份有限公司 | A kind of method, apparatus and electronic equipment obtaining video temperature |
CN111372095A (en) * | 2018-12-25 | 2020-07-03 | 深圳市茁壮网络股份有限公司 | Method and device for calculating heat degree |
CN109672939A (en) * | 2019-01-07 | 2019-04-23 | 北京奇艺世纪科技有限公司 | A kind of method and device of marking video content temperature |
CN109672939B (en) * | 2019-01-07 | 2021-03-09 | 北京奇艺世纪科技有限公司 | Method and device for marking video content popularity |
CN112019451A (en) * | 2019-05-29 | 2020-12-01 | ***通信集团安徽有限公司 | Bandwidth allocation method, debugging network element, local cache server and computing equipment |
CN112019451B (en) * | 2019-05-29 | 2023-11-21 | ***通信集团安徽有限公司 | Bandwidth allocation method, debugging network element, local cache server and computing device |
CN110493643A (en) * | 2019-08-06 | 2019-11-22 | 北京邮电大学 | Video storage method and device |
CN110493643B (en) * | 2019-08-06 | 2020-12-15 | 北京邮电大学 | Video storage method and device |
CN110825988A (en) * | 2019-11-08 | 2020-02-21 | 北京字节跳动网络技术有限公司 | Information display method and device and electronic equipment |
US20210160296A1 (en) * | 2019-11-27 | 2021-05-27 | Electronics And Telecommunications Research Institute | Method and apparatus for selecting and receiving stream in distribution network-based multimedia streaming service |
US11509702B2 (en) * | 2019-11-27 | 2022-11-22 | Electronics And Telecommunications Research Institute | Method and apparatus for selecting and receiving stream in distribution network-based multimedia streaming service |
Also Published As
Publication number | Publication date |
---|---|
CN100518088C (en) | 2009-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101079727A (en) | A stream media data content management method | |
CN106502576B (en) | Migration strategy adjusting method and device | |
CN102439578B (en) | Dynamic variable rate media delivery system | |
US7251649B2 (en) | Method for prioritizing content | |
US20120303905A1 (en) | Method and apparatus for implementing cache | |
US7085843B2 (en) | Method and system for data layout and replacement in distributed streaming caches on a network | |
US9503518B2 (en) | Method and apparatus for buffering and obtaining resources, resource buffering system | |
US20030217113A1 (en) | Caching techniques for streaming media | |
CN106547476B (en) | Method and apparatus for data storage system | |
US20140365613A1 (en) | Defragmentation of adaptive streaming segment files in a content delivery network | |
JP2004513456A (en) | Adaptive prefetching of data on disk | |
EP2359536A1 (en) | Adaptive network content delivery system | |
CN105376218B (en) | Streaming media system and method for quickly responding to user request | |
WO2015154352A1 (en) | Data migration method and device for distributed file system, and metadata server | |
US20080306917A1 (en) | File server for performing cache prefetching in cooperation with search ap | |
WO2017101576A1 (en) | Data resource storage method and apparatus | |
WO2017036428A2 (en) | Capacity change suggestion method and device | |
CN101527736A (en) | Service content processing method and updating method in distributed file system and device thereof | |
CN109002260B (en) | Processing method and processing system for cache data | |
CN105447037A (en) | Caching clearing method and device | |
Akhtar et al. | Avic: a cache for adaptive bitrate video | |
CN113835616A (en) | Data management method and system of application and computer equipment | |
CN1227592C (en) | Method for managing stream media data | |
CN112685670A (en) | Data scheduling method and device | |
CN101315595A (en) | Data reading method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |