CN108810609A - A kind of memory management method, equipment and system - Google Patents

A kind of memory management method, equipment and system Download PDF

Info

Publication number
CN108810609A
CN108810609A CN201710288496.0A CN201710288496A CN108810609A CN 108810609 A CN108810609 A CN 108810609A CN 201710288496 A CN201710288496 A CN 201710288496A CN 108810609 A CN108810609 A CN 108810609A
Authority
CN
China
Prior art keywords
data block
hot
fragment
data
resource file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710288496.0A
Other languages
Chinese (zh)
Inventor
陆鄂丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Excellent Friends Bullock Media Development Co
Original Assignee
Shenzhen Excellent Friends Bullock Media Development Co
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 Excellent Friends Bullock Media Development Co filed Critical Shenzhen Excellent Friends Bullock Media Development Co
Priority to CN201710288496.0A priority Critical patent/CN108810609A/en
Publication of CN108810609A publication Critical patent/CN108810609A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/85406Content authoring involving a specific file format, e.g. MP4 format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Abstract

This application provides a kind of memory management method, equipment and systems, which is characterized in that the method includes:Receive the type I information for the resource file that data platform is sent;Uniform resource locator corresponding with the resource file is obtained according to the type I information of the resource file of reception, the determining uniform resource locator is sent to task execution system;Receive the second category information of the resource file obtained based on the uniform resource locator that the task execution system is sent;It parses second category information and obtains the format of the resource file, by the way of needing the data stored in determining resource file corresponding with the format of the resource file, determine the data for needing to store in the resource file.The application, which saves the storage resource of terminal device and improves, shares rate between terminal device.

Description

A kind of memory management method, equipment and system
Technical field
This application involves equities(P2P, peer-to-peer)Network field is particularly related in video on demand field A kind of memory management method, equipment and system.
Background technology
In video on demand field, resource file would generally be sent to the terminal device selected in P2P networks by server It is stored, then when downloading the resource file, can not only be downloaded from server-side, can also be downloaded from the terminal device, from And the resource file request speed of response can be improved.But it is set due to generally can entire resource file be sent to terminal at present It is standby to be stored, and since there is no necessity of storage for some data in part resource file, to which terminal device can be wasted Storage resource.
Invention content
In order to solve the above problem proposed in the prior art, the application purpose is to propose a kind of storage management side Method, equipment and system, for solve in the prior art resource file all storage and caused by terminal device storage resource waste The problem of.
In a first aspect, a kind of memory management method disclosed in the present application, including:
Receive the type I information for the resource file that data platform is sent;
Uniform resource locator corresponding with the resource file is obtained according to the type I information of the resource file of reception, The uniform resource locator obtained is sent to task execution system;
Receive the second of the resource file obtained based on the uniform resource locator that the task execution system is sent Category information;
Parse second category information and obtain the format of the resource file, using it is corresponding with the format of the resource file really The mode for determining the data for needing to store in resource file determines the data for needing to store in the resource file.
Preferably, the format of the resource file is the first file format;The method further includes:
Parse the size for each fragment that second category information obtains the size of the resource file and the resource file includes;
The data stored are needed in the determination resource file, including:
According to the size for each fragment that the size of the obtained resource file and the resource file include, by resource text Part is logically divided into multiple data blocks, and it includes at least one fragment each of to divide the data block;
Each fragment for including according to obtained each data block is divided is determined to need from each data block that division obtains The data block to be stored.
Preferably, the method further includes:
It parses the type I information and obtains the hot value for each fragment that the resource file includes;
Each fragment for including according to obtained each data block is divided, determines from each data block that division obtains Go out and needs the data block stored, including:
According to the hot value for each fragment that each data block includes, determine whether each data block is hot data block;
The data block that each hot data block determined is determined as needing to store.
Preferably, whether the hot value of each fragment for including according to each data block, determine each data block For hot data block, including:
According to the hot value for each fragment that each data block includes, determine whether each fragment that each data block includes is heat Fragment;
The quantity for the hot fragment that each data block includes, and the quantity for the hot fragment for including according to each data block are calculated, Determine whether each data block is hot data block.
Preferably, the hot value of each fragment for including according to each data block, determines that each data block includes Each fragment whether be hot fragment, including:
According to sequence from big to small, the hot value of each fragment is ranked up, will sort several preceding hot values Corresponding fragment is determined as hot fragment;Alternatively, according to sequence from small to large, the hot value of each fragment is ranked up, The corresponding fragment of several the posterior hot values that will sort is determined as hot fragment;
Alternatively, for each fragment, execute respectively:The hot value of the fragment is compared with preset heat threshold value, If the hot value of the fragment is more than the preset heat threshold value, it is determined that the fragment is hot fragment;
The quantity of the hot fragment for including according to each data block determines whether each data block is hot data block, packet It includes:
According to sequence from big to small, the quantity for the hot fragment for including to each data block is ranked up, and will be sorted preceding The corresponding data block of several quantity is determined as hot data block;Alternatively, according to sequence from small to large, to each data block packet The quantity of the hot fragment contained is ranked up, and the corresponding data block of several the posterior quantity that will sort is determined as hot data block;
Alternatively, the quantity for the hot fragment for including according to each data block, calculates the number for the hot fragment that each data block includes Measure accounting;According to sequence from big to small, the quantity accounting for the hot fragment for including to each data block is ranked up, and will be sorted Several preceding corresponding data blocks of quantity accounting are determined as hot data block;Alternatively, according to sequence from small to large, to each institute The quantity accounting for stating the hot fragment that data block includes is ranked up, and will sort several posterior corresponding data blocks of quantity accounting It is determined as hot data block;Wherein, the quantity accounting for the hot fragment that the data block includes is the hot fragment that the data block includes Quantity and the data block fragment that includes quantity ratio;
Alternatively, for each data block, execute respectively:Judge whether the quantity for the hot fragment that the data block includes is more than Preset quantity threshold value, if the quantity is more than the preset quantity threshold value, it is determined that the data block is hot data block;
Alternatively, for each data block, execute respectively:Judge the hot fragment that the data block includes quantity accounting whether More than default ratio, if the quantity accounting is more than the default ratio, it is determined that the data block is hot data block.
Preferably, whether the hot value of each fragment for including according to each data block, determine each data block For hot data block, including:
According to the hot value for each fragment that each data block includes, the hot value of each data block is determined;
According to the hot value of each data block, determine whether each data block is hot data block.
Preferably, the format of the resource file is the second file format;The method further includes:
It parses second category information and obtains the size of the resource file;
The data stored are needed in the determining resource file, including:
All resource files are determined as the data for needing to store;
Alternatively, according to the size of the obtained resource file, the resource file is logically divided into multiple data blocks, and will It divides obtained each data block and is determined as the data for needing to store.
Preferably, after needing the data stored in the determining resource file, the method further includes:
The first kind relevant parameter of data stored is needed according to described and storage for storing the data for needing to store Second class relevant parameter of equipment determines the storage number of the data for needing to store;The first kind relevant parameter includes: The concurrency of the data for needing to store;The second class relevant parameter includes at least one of following parameters:It is described to deposit Store up the remaining available storage of equipment, the uplink concurrent connection number of the preconfigured storage device, preconfigured institute State the downlink concurrent connection number of storage device;
And/or
According to the third class relevant parameter of the data for needing to store, determine that the storage of the data for needing to store is preferential Grade;The third class relevant parameter includes at least one of following parameters:The number of storage of the data for needing to store, The hot value of the data for needing to store.
Preferably, the method further includes:
The storage number of the data stored, the data for needing to store is needed in the resource file that real-time update determines And/or the storage priority of the data for needing to store.
Second aspect, a kind of storage management apparatus disclosed in the present application, including:
Type I information reception device, the type I information of the resource file for receiving data platform transmission;
Sending device, the type I information of the resource file for being received according to the type I information reception device, is obtained Uniform resource locator corresponding with the resource file is taken, the unified resource positioning obtained is sent to task execution system Symbol;
Second category information reception device, for receive it is that the task execution system is sent, sent based on the sending device The uniform resource locator, acquisition the resource file the second category information;
Data determining device is stored, institute is obtained for parsing second category information that the second category information reception device receives The format for stating resource file, using needing the data stored in determining resource file corresponding with the format of the resource file Mode determines the data for needing to store in the resource file.
Preferably, the format of the resource file is the first file format, the equipment further includes:
First resolver obtains the money for parsing second category information that the second category information reception device receives The size for each fragment that the size of source file and the resource file include;
The storage data determining device, including:
Data block divides sub-device, the size and the money of the resource file for being obtained according to first resolver The resource file is logically divided into multiple data blocks by the size for each fragment that source file includes, each institute divided It includes at least one fragment to state data block;
First storage determines sub-device, includes for dividing each data block that sub-device divides according to the data block Each fragment, from dividing the data block for determining to need to store in obtained each data block.
Preferably, the equipment further includes:
Second resolver obtains the money for parsing the type I information that the type I information reception device receives The hot value for each fragment that source file includes;
First storage determines sub-device, including:
Hot data block determining module, the hot value of each fragment for including according to each data block determine each data Whether block is hot data block;
Determining module is stored, the data block for each hot data block determined to be determined as needing to store.
Preferably, the hot data block determining module, including:
Hot fragment determination sub-module, the hot value of each fragment for including according to each data block determine each data Whether each fragment that block includes is hot fragment;
First hot data block determination sub-module, the quantity for calculating the hot fragment that each data block includes, and according to each institute The quantity for stating the hot fragment that data block includes determines whether each data block is hot data block.
Preferably, the hot fragment determination sub-module, including:
First sequencing unit exists sequence for according to sequence from big to small, being ranked up to the hot value of each fragment The preceding corresponding fragment of several hot values is determined as hot fragment;Alternatively, according to sequence from small to large, to each fragment Hot value is ranked up, and the corresponding fragment of several the posterior hot values that will sort is determined as hot fragment;
Alternatively, for each fragment, execute respectively:The hot value of the fragment is compared with preset heat threshold value, If the hot value of the fragment is more than the preset heat threshold value, it is determined that the fragment is hot fragment;
The first hot data block determination sub-module, including:
Second sequencing unit is used for according to sequence from big to small, the quantity progress to the hot fragment that each data block includes Sequence, the corresponding data block of several the preceding quantity that will sort are determined as hot data block;Alternatively, suitable according to from small to large The quantity of sequence, the hot fragment for including to each data block is ranked up, the corresponding data of several the posterior quantity that will sort Block is determined as hot data block;
Alternatively, the quantity for the hot fragment for including according to each data block, calculates the number for the hot fragment that each data block includes Accounting is measured, according to sequence from big to small, the quantity accounting for the hot fragment for including to each data block is ranked up, and will be sorted Several preceding corresponding data blocks of quantity accounting are determined as hot data block;Alternatively, according to sequence from small to large, to each institute The quantity accounting for stating the hot fragment that data block includes is ranked up, and will sort several posterior corresponding data blocks of quantity accounting It is determined as hot data block;Wherein, the quantity accounting for the hot fragment that the data block includes is the hot fragment that the data block includes Quantity and the data block fragment that includes quantity ratio;
Alternatively, for each data block, execute respectively:Judge whether the quantity for the hot fragment that the data block includes is more than Preset quantity threshold value, if the quantity is more than the preset quantity threshold value, it is determined that the data block is hot data block;
Alternatively, for each data block, execute respectively:Judge the hot fragment that the data block includes quantity accounting whether More than default ratio, if the quantity accounting is more than the default ratio, it is determined that the data block is hot data block.
Preferably, the hot data block determining module, including:
Hot value determination sub-module, the hot value of each fragment for including according to each data block determine each data The hot value of block;
Whether second hot data block determination sub-module determines each data block for the hot value according to each data block For hot data block.
Preferably, the format of the resource file is the second file format, the equipment further includes:
Third resolver obtains the money for parsing second category information that the second category information reception device receives The size of source file;
The storage data determining device, including:
Second storage determines sub-device, for all resource files to be determined as the data for needing to store;
Alternatively, according to the size of the obtained resource file, the resource file is logically divided into multiple data blocks, and will It divides obtained each data block and is determined as the data for needing to store.
Preferably, the equipment further includes:
Store number determining device, for the storage data determining device determine the data for needing to store in resource file it Afterwards, the first kind relevant parameter of the data stored and the storage for storing the data that the needs store is needed to set according to described The second standby class relevant parameter determines the storage number of the data for needing to store;The first kind relevant parameter includes:Institute State the concurrency for the data for needing to store;The second class relevant parameter includes at least one of following parameters:The storage The uplink concurrent connection number, preconfigured described of the remaining available storage of equipment, the preconfigured storage device The downlink concurrent connection number of storage device;
And/or
Store priority determining device, for the storage data determining device determine the data for needing to store in resource file it Afterwards, according to the third class relevant parameter of the data for needing to store, the storage priority of the data for needing to store is determined; The third class relevant parameter includes at least one of following parameters:The number of storage of the data for needing to store, institute State the hot value for the data for needing to store.
Preferably, the equipment further includes:
Updating device needs the data stored in the resource file determined for real-time update, described needs the number that stores According to storage number and/or the storage priority of data for needing to store.
The third aspect, a kind of storage management system disclosed in the present application, including the storage management apparatus;Wherein, institute Stating storage management system further includes:
First terminal equipment, the broadcast information for reporting resource file to the data platform;And it is used for follow-up service Device sends downloading data request;
Data platform, the broadcast information for receiving the resource file that the first terminal equipment reports, according to each institute of reception The broadcast information for stating resource file determines the resource file for needing to store, and determined to storage management apparatus transmission The type I information of the resource file;
The sending device that storage management apparatus includes is additionally operable to the storage data determining device for including by the storage management apparatus The data stored are needed to be sent to tracking server in the determining resource file;
Tracking server is needed for receiving in the resource file that the sending device that the storage management apparatus includes is sent The data of storage will need the data stored to be sent to the second terminal equipment selected in network and deposit in the resource file Storage;And the downloading data request sent for receiving the first terminal equipment, determine that responding the downloading data asks The second terminal equipment asked and the streaming media server for responding the downloading data and asking is obtained to CDN, and by determining institute The streaming media server for stating second terminal equipment and acquisition is encapsulated into same message and is sent to the first terminal and sets It is standby.
Compared with prior art, the type I information for the resource file that the application is sent by reception data platform;According to The type I information of the resource file received obtains uniform resource locator corresponding with the resource file, is held to task Row system sends the uniform resource locator obtained;Receive that the task execution system sends based on the unified resource Second category information of the resource file that finger URL obtains;It parses second category information and obtains the lattice of the resource file Formula, by the way of needing the data stored in determining resource file corresponding with the format of the resource file, described in determination The data stored are needed in resource file, the data for needing to store in resource file are stored, rather than are directly stored whole A resource file, to save the storage resource for the terminal device for storing the data that the needs store;Moreover, passing through this side Method, the data stored in terminal device are the data that the needs determined from resource file store, to improve terminal Equipment room shares rate.
Description of the drawings
Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as the limitation to the application.And whole In a attached drawing, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of flow chart of memory management method first embodiment of the application;
Fig. 2 is a kind of flow chart of memory management method second embodiment of the application;
Fig. 3 is a kind of flow chart of memory management method 3rd embodiment of the application;
Fig. 4 is a kind of flow chart of memory management method fourth embodiment of the application;
Fig. 5 is the P2P program request structural schematic diagrams in a kind of the 5th embodiment of memory management method of the application;
Fig. 6 is a kind of flow chart one of the 5th embodiment of memory management method of the application;
Fig. 7 is a kind of flowchart 2 of the 5th embodiment of memory management method of the application;
Fig. 8 is a kind of data Stored Procedure figure of the 5th embodiment of memory management method of the application;
Fig. 9 is a kind of structural schematic diagram of storage management apparatus first embodiment of the application;
Figure 10 is a kind of structural schematic diagram of storage management apparatus second embodiment of the application;
Figure 11 is a kind of structural schematic diagram of storage management apparatus 3rd embodiment of the application;
Figure 12 is a kind of structural schematic diagram of storage management apparatus fourth embodiment of the application;
Figure 13 is a kind of structural schematic diagram of storage management system of the embodiment of the present application.
Specific implementation mode
In order to make the above objects, features, and advantages of the present application more apparent, below in conjunction with the accompanying drawings and it is specific real Applying mode, the present application will be further described in detail.
In the description of the present application, it is to be understood that term " first ", " second " are used for description purposes only, and cannot It is interpreted as indicating or implies relative importance or implicitly indicate the quantity of indicated technical characteristic.Define as a result, " the One ", the feature of " second " can explicitly or implicitly include one or more this feature.The meaning of " plurality " is two Or it is more than two, unless otherwise specifically defined.The terms "include", "comprise" and similar terms are understood to out The term of putting property, i.e., " including/including but not limited to ".Term "based" is " being based at least partially on ".Term " embodiment " It indicates " at least one embodiment ";Term " another embodiment " expression " at least one other embodiment ".The phase of other terms It closes during definition will be described below and provides.
Referring to Fig.1, a kind of flow chart of memory management method first embodiment of the application is shown, the method includes such as Lower step:
Step S101:Receive the type I information for the resource file that data platform is sent.
In specific implementation, data platform can determine whether out the resource file of needs storage, and the needs determined are stored The type I information of resource file is sent to the executive agent of the embodiment of the present invention.
In specific implementation, data platform, which determines, needs the mode of the resource file stored can be varied, for example, data The resource file that the resource file of current hot broadcast is determined as needing to store by platform;Alternatively, data platform will possess autonomous copyright Resource file be determined as needing the resource file that stores;Alternatively, data volume is more than preset data amount threshold value by data platform Resource file is determined as the resource file etc. for needing to store.
Preferably, first terminal equipment can by the information reporting of first terminal device plays resource file to data platform, Data platform is reported according to first terminal equipment, calculates the resource file of current hot broadcast in real time, and current by what is determined The resource file of hot broadcast is determined as the resource file for needing to store.
In implementation, the information for the first terminal device plays resource file that data platform is reported according to first terminal equipment, The resource file for calculating current hot broadcast in real time, the resource file that the resource file of current hot broadcast is determined as needing to store, then Tracking server needs to deposit by controlling the second terminal equipment selected in P2P networks and storing in the resource file that the needs store The data of storage can not only improve the resource file request speed of response, can also improve and share rate, Yi Jijie between terminal device Save the storage resource of terminal device.
It should be noted that using the description of " first terminal equipment " and " second terminal equipment " in the embodiment of the present invention It is the different function for distinguishing terminal equipment;In specific implementation, " first terminal equipment " and " second terminal equipment " can be The same terminal device, or different terminal devices.
In specific implementation, data platform calculates in the embodiment and the embodiment of the present invention of the resource file of current hot broadcast Subsequently calculate that hot fragment, the embodiment of hot data block are similar, and details are not described herein.
In specific implementation, the resource file of the embodiment of the present invention includes at least one of the following files:Video file, sound Frequency file, text file, picture file etc..
In specific implementation, the type I information of the resource file of the embodiment of the present invention includes the letter of unique mark resource file Breath and the information required when needing the data stored in determining resource file.
Preferably, the type I information of resource file includes at least one of following message:Unique mark of resource file The temperature for each fragment that the unique mark for each fragment that knowledge, the hot value of resource file, resource file include, resource file include Value.
In implementation, the hot value for each fragment for including by the hot value of resource file and/or resource file, as in determination Required information when needing the data stored in resource file can improve the resource file request speed of response, improve terminal and set Share rate between standby, and saves the storage resource of terminal device.
In specific implementation, the hot value of the embodiment of the present invention is that can characterize any value of temperature, for example playing duration, broadcast It puts number or plays concurrency.
Step S102:It is fixed that unified resource corresponding with resource file is obtained according to the type I information of the resource file of reception Position symbol, determining uniform resource locator is sent to task execution system.
In specific implementation, in step s 102, the type I information for the resource file that can first parse reception gets money The unique mark of source file, then search uniform resource locator corresponding with the unique mark of resource file obtained(That is, URL), using the uniform resource locator found as the corresponding uniform resource locator of resource file.
Step S103:Receive the second category information of the resource file obtained based on URL that task execution system is sent.
In specific implementation, the second category information of resource file is included in information and logic required when choosing method of determination Divide information required when resource file;Wherein it is determined that mode is to determine the mode for needing the data stored in resource file.
Preferably, the second category information of resource file includes at least one of following message:The format of resource file, money The size for each fragment that the size of source file, resource file include.
In specific implementation, task execution system based on URL obtain resource file the second category information the step of include:Task Execution system receives the new URL that Verification System is sent after passing through to its legitimacy certification by URL access authentication systems; According to obtained new URL, CDN is accessed(That is, content distributing network)Obtain the second category information of resource file.In specific implementation, If the CDN accessed is third party CDN, task execution system can also receive domain name and replace rule while receiving new URL Then;After being replaced to the domain name of new URL according to domain name Substitution Rules, according to the replaced new URL of domain name, third party is accessed CDN obtains the second category information of resource file.
Step S104:It parses the second category information and obtains the format of resource file, using determination corresponding with the format of resource file The mode that the data stored are needed in resource file determines the data for needing to store in resource file.
In implementation, for the resource file of different-format, determines in resource file need the number stored in different ways According to having considered the characteristic of various formats, determined the data for needing to store in resource file, ensured that resource file plays matter While amount, the storage resource of terminal device can be utmostly saved;Moreover, by the method, stored in terminal device Data are the data that the needs determined from resource file store, and share rate between terminal device to improve.
Below in conjunction with the format of specific resource file, to needing to store in the determination resource file of the embodiment of the present invention The embodiments of data describe in detail.
With reference to Fig. 2, show that a kind of flow chart of memory management method second embodiment of the application, this method include:
Step S201:Receive the type I information for the resource file that data platform is sent;
Step S202:Unified resource positioning corresponding with resource file is obtained according to the type I information of the resource file of reception Symbol sends determining uniform resource locator to task execution system;
Step S203:Receive the second class letter for the resource file obtained based on uniform resource locator that task execution system is sent Breath;
Wherein, step S201-S203, identical as step S101-S103 embodiments in first embodiment, details are not described herein.
Step S204:It parses the second category information and obtains the format of resource file;In the present embodiment, the format of resource file is First file format.
In specific implementation, the resource file of the first file format includes multiple fragments, such as m3u8, dash, mss, hds etc. Format.
Step S205:Parse the big of each fragment that the second category information obtains the size of resource file and resource file includes It is small.
In specific implementation, if the first file format is m3u8 formats, the size of each TS fragments of big little finger of toe of each fragment.
Step S206:According to the size for each fragment that the size of obtained resource file and resource file include, by resource Documents Logical is divided into multiple data blocks, and each data block divided includes at least one fragment.
In specific implementation, in step S206, any mode may be used by resource file logic in the embodiment of the present invention Multiple data blocks are divided into, only need to ensure each data block alignment slice boundaries obtained by resource file logical partitioning.
For example, by taking the first file format is m3u8 formats as an example, resource file is subjected to logic partitioning with 64M sizes, and The boundaries TS are aligned, resource file is divided into the data block of multiple 64M sizes, includes several sides alignment TS in each data block The fragment on boundary.
In implementation, resource file is logically divided into multiple data blocks, rather than actual division, software and hardware money can be saved Operational efficiency is improved in source.
Step S207:Each fragment for including according to obtained each data block is divided, from each data block that division obtains really Make the data block for needing to store.
It, can be according to any one or more spies for each fragment that each data block includes in step S207 in specific implementation Property combination, determine to need the data block that stores from each data block;For example, the heat for each fragment for including according to each data block Angle value determines the data block for needing to store from each data block;Alternatively, whether being carried according to each fragment that each data block includes There is storage to mark, the data block for needing to store is determined from each data block;Alternatively, each fragment for including according to each data block Data volume size determines the data block etc. for needing to store from each data block.
Preferably, after second embodiment step S201, further include:
Step a:Parsing type I information obtains the hot value for each fragment that resource file includes.
Preferably, the hot value of fragment includes:The broadcasting of the playing duration of fragment, the broadcasting time of fragment and/or fragment Concurrency.
Preferably, in second embodiment step S207, according to the heat for dividing each fragment that obtained each data block includes Angle value is determined the data block for needing to store from each data block that division obtains, is specifically included:
Step b:According to the hot value for each fragment that each data block includes, determine whether each data block is hot data block;
Step c:The data block that each hot data block determined is determined as needing to store.
In implementation, the hot value for each fragment that the application includes by resource file effectively finds and predicts dsc data Block;Then by being stored to hot data block, the limited memory resources of terminal device can be most effectively utilized, resource is reduced Waste, while extraordinary P2P can also be obtained and share rate, ensure terminal device play quality.
In specific implementation, hot data block refers to the data block of current hot broadcast, for example, hot value sequence is in preceding several or temperature Data block of the value more than preconfigured heat degree threshold;Alternatively, comprising hot fragment quantity sequence it is preceding several or include heat The quantity of fragment is more than the data block of preset quantity threshold value;Alternatively, comprising hot fragment quantity accounting sequence it is preceding several or Including the quantity accounting of hot fragment is more than default ratio;Wherein, the quantity accounting for the hot fragment that data block includes is data block packet The ratio of the quantity for the fragment that the quantity of the hot fragment contained includes with data block.
Preferably, in stepb, according to the hot value for each fragment that each data block includes, determine each data block whether be There are mainly two types of methods for hot data block, will be introduced respectively below.
Method one, in stepb, according to the hot value for each fragment that each data block includes, determine each data block whether be Hot data block, when specifically executing, including:
Step b1:According to the hot value for each fragment that each data block includes, determine whether each fragment that each data block includes is heat Fragment;
Step b2:The quantity for the hot fragment that each data block includes, and the quantity for the hot fragment for including according to each data block are calculated, really Whether fixed each data block is hot data block.
In specific implementation, hot fragment refers to the fragment of current hot broadcast, for example, hot value sequence is big in preceding several or hot value In the fragment of preset heat threshold value.
Preferably, in step b1, according to the hot value for each fragment that each data block includes, determine that each data block includes Whether each fragment is hot fragment, when specifically executing, including:
Step b11:According to sequence from big to small, the hot value for the whole fragments for including to resource file is ranked up, and will be arranged The corresponding fragment of several preceding hot values of sequence is determined as hot fragment.
For example, according to sequence from big to small, the broadcasting time of each fragment is ranked up, will sort it is preceding several The corresponding fragment of broadcasting time is determined as hot fragment;Several value is preferably 10.
Alternatively, step b12:According to sequence from small to large, the hot value progress to whole fragments that resource file includes Sequence, the corresponding fragment of several the posterior hot values that will sort are determined as hot fragment.
For example, according to sequence from big to small, the broadcasting time of each fragment is ranked up, will sort it is posterior several The corresponding fragment of broadcasting time is determined as hot fragment;Several value is preferably 10.
Alternatively, step b13:For each fragment, execute respectively:The hot value of fragment and preset heat threshold value are compared Compared with if the hot value of fragment is more than preset heat threshold value, it is determined that fragment is hot fragment.
For example, can be compared the broadcasting time of fragment with default broadcasting time threshold value, it is excellent to preset broadcasting time threshold value 1000 are selected as, if the broadcasting time of fragment is more than 1000, it is determined that fragment is hot fragment.
Preferably, in step b2, according to the quantity for the hot fragment that each data block includes, determine whether each data block is heat Data block, when specifically executing, including:
Step b21:Calculate the quantity for the hot fragment that each data block includes;According to sequence from big to small, include to each data block The quantity of hot fragment be ranked up, the corresponding data block of several the preceding quantity that will sort is determined as hot data block.
For example, the size of each data block is 64M, several value can be 10, i.e., suitable according to from big to small The quantity for the hot fragment that each 64M data blocks of ordered pair include is ranked up, and the corresponding 64M data blocks of preceding 10 quantity are determined as heat Data block.
Alternatively, step b22:Calculate the quantity for the hot fragment that each data block includes;According to sequence from small to large, to each number The quantity for the hot fragment for including according to block is ranked up, and the corresponding data block of several the posterior quantity that will sort is determined as dsc data Block.
For example, the size of each data block is 64M, several value can be 10, i.e., suitable according to from small to large The quantity for the hot fragment that each 64M data blocks of ordered pair include is ranked up, and the corresponding 64M data blocks of rear 10 quantity are determined as heat Data block.
Alternatively, step b23:Calculate the quantity for the hot fragment that each data block includes;The hot fragment for including according to each data block Quantity, calculate the quantity accounting for the hot fragment that each data block includes;According to sequence from big to small, include to each data block The quantity accounting of hot fragment is ranked up, several the preceding corresponding data blocks of quantity accounting that will sort are determined as dsc data Block.
Alternatively, step b24:Calculate the quantity for the hot fragment that each data block includes;The hot fragment for including according to each data block Quantity, calculate the quantity accounting for the hot fragment that each data block includes;According to sequence from small to large, include to each data block The quantity accounting of hot fragment is ranked up, several the posterior corresponding data blocks of quantity accounting that will sort are determined as dsc data Block.
Alternatively, step b25:Calculate the quantity for the hot fragment that each data block includes;For each data block, execute respectively: Judge whether the quantity for the hot fragment that data block includes is more than preset quantity threshold value, if quantity is more than preset quantity threshold value, really It is hot data block to determine data block.
For example, the size of each data block is 64M, preset quantity threshold value is preferably 15, even includes in 64M data blocks The quantity of hot fragment is more than 15, then the 64M data blocks are hot data block.
In specific implementation, the value of preset quantity threshold value may be other values, such as 0;That is, as long as data block is including heat Fragment, then the data block is hot data block.
Alternatively, step b26:Calculate the quantity for the hot fragment that each data block includes;For each data block, execute respectively: Judge whether the quantity accounting for the hot fragment that data block includes is more than default ratio, if quantity accounting is more than default ratio, really It is hot data block to determine data block.
For example, the size of each data block is 64M, default ratio is preferably 50%, the heat for even including in 64M data blocks The quantity accounting of fragment is more than 50%, then the 64M data blocks are hot data block.
In specific implementation, each threshold value being related to mentioned by the embodiment of the present invention, including but not limited to:Preconfigured temperature Threshold value, preset quantity threshold value, default ratio, preset heat threshold value, default broadcasting time threshold value, can be empirically determined, Determination can be calculated in real time according to related data;For example, the resource file that preset heat threshold value can be obtained according to current statistic Including whole fragments hot value summation, average value is calculated according to the hot value summation, which is determined as pre- If heat degree threshold.
Method two, in stepb, according to the hot value for each fragment that each data block includes, determine each data block whether be Hot data block, when specifically executing, including:
Step b3:According to the hot value for each fragment that each data block includes, the hot value of each data block is determined;
Wherein, in step b3, the hot value for each fragment for including according to each data block determines the side of the hot value of each data block There are many methods, for example, for each data block, executes respectively:The hot fragment quantity that data block includes is determined as data block Hot value;Alternatively, the hot fragment quantity accounting that data block includes to be determined as to the hot value of data block;Alternatively, by data block packet The sum of the hot value of each fragment contained is determined as the hot value of data block;Alternatively, the temperature for each hot fragment for including by data block The sum of value is determined as the hot value of data block;Alternatively, the hot value of the maximum fragment of hot value in data block is determined as data The hot value etc. of block.
Step b4:According to the hot value of each data block, determine whether each data block is hot data block.
In specific implementation, in step b4, determine whether each data block is hot data block according to the hot value of each data block Embodiment, with step b1, the hot value for each fragment for including according to each data block determines each point that each data block includes Piece whether be hot fragment embodiment it is similar, details are not described herein.
In implementation, the hot value real-time statistics for each fragment that the resource file to first terminal device plays includes, according to The hot value for each fragment that resource file includes determines the multiple data hot data block in the block divided by resource file, and In the second terminal equipment that hot data block storage is selected in a network, when first terminal device request downloads the resource file number According to when, so that it may to be downloaded from the selected second terminal equipment, so as to save terminal device storage resource, improve Terminal device shares rate, and improves terminal device play quality.
When being above the first file format to the format of resource file, determine the realities of the data for needing to store in resource file The mode of applying is described in detail, below by the format of resource file is the second file format when, determine in resource file and need The embodiment for the data to be stored describes in detail.
With reference to Fig. 3, a kind of flow chart of memory management method 3rd embodiment of the application is shown, the method includes:
Step S301-S303 is consistent with step S201-S203 in second embodiment, and details are not described herein.
Step S304:It parses the second category information and obtains the format of resource file;In the present embodiment, the format of resource file is Second file format.
In specific implementation, the second file format is different from the first file format, and resource file does not include multiple fragments, than Such as, the formats such as mp4, TS, flv.
Step S305:It parses the second category information and obtains the size of resource file.
Step S306:According to the format and size of resource file that parsing obtains, determines and need to store in resource file Data.
Preferably, in step S306, the data for needing to store in resource file are determined, when specifically executing, including:
The data that whole resource files are determined as needing to store;
Alternatively, according to the size of obtained resource file, resource file is logically divided into multiple data blocks, and division is obtained Each data block be determined as needing the data that store.
In specific implementation, the embodiment of the present invention may be used any mode and resource file be logically divided into multiple data Block.
In implementation, resource file is logically divided into multiple data blocks, rather than actual division, software and hardware money can be saved Operational efficiency is improved in source.
For example, when the second file format is mp4, the second category information of parsing obtains the size of mp4 resource files, and will Mp4 resource files are all determined as the data for needing to store;Or mp4 resource files are preferably subjected to logic point with 64M sizes Block, and it is determined as the data for needing to store by obtained each 64M data blocks are divided.
With reference to Fig. 4, a kind of flow chart of memory management method fourth embodiment of the application is shown, the method includes:
Step S401-S404 is consistent with step S101-S104 in first embodiment, and details are not described herein.
Step S405:The first kind relevant parameter of the data stored as needed and for storing the data for needing to store Second class relevant parameter of storage device determines the storage number for the data for needing to store;
Wherein, first kind relevant parameter includes:Need the concurrency of data stored;Second class relevant parameter includes following parameters At least one of:It is the remaining available storage of storage device, the uplink concurrent connection number of preconfigured storage device, pre- The downlink concurrent connection number of the storage device first configured;
And/or
The third class relevant parameter of the data stored as needed determines the storage priority for the data for needing to store;Wherein, Three classes relevant parameter includes at least one of following parameters:Need having stored number, having needed the number stored for the data stored According to hot value.
In specific implementation, in step S405, the concurrency for the data that needs that first kind relevant parameter includes store can To be obtained from data platform.
For example, when the format of resource file is the first file format, it can be sent in real time to data platform and carry needs The concurrency of the mark of the data block of storage obtains request, and receives the number for the needs storage that data platform statistical analysis obtains According to the concurrency of block;
When the format of resource file is the second file format, it can send what acquisition request needs stored to data platform in real time The concurrency of data;Alternatively, to save signaling overheads, carried in the type I information of the resource file received from data platform There is the concurrency of resource file, then can be parsed from the type I information and obtain the concurrency of the resource file, and by the money The concurrency of source file is determined as the concurrency for the data for needing to store.
In specific implementation, in step S405, the residue for the storage device that the second class relevant parameter includes can use storage to hold Amount, refer in network it is all can be used for storing the needs storage data each storage devices remaining available storage it With.
If for example, the data that the needs store to be stored to the storage device for including to P2P networks, the second class relevant parameter Remaining available storage, refer to each second terminal equipment residue available disk capacity summation in P2P networks.
In specific implementation, in step S405, the uplink for the preconfigured storage device that the second class relevant parameter includes Concurrent connection number can rule of thumb or actual conditions setting, for example, rule of thumb setting the upper of preconfigured storage device Row concurrent connection number is 10.
In specific implementation, in step S405, the downlink for the preconfigured storage device that the second class relevant parameter includes Concurrent connection number can rule of thumb or actual conditions setting, for example, rule of thumb setting under preconfigured storage device Row concurrent connection number is 20.
In specific implementation, in step S405, the first kind relevant parameter and storage device of the data stored as needed The second class relevant parameter, determine the storage number for the data for needing to store embodiment can there are many, including it is but unlimited In following several:
The first, the concurrency of the data stored as needed and the remaining available storage of storage device determine and need to deposit The storage number of the data of storage;
Such as, it would be desirable to the concurrent magnitude of the data of storage is determined as the candidate storage number value for the data for needing to store, according to The size of data determination that the remaining available storage and needs of storage device store can store number value, and number is stored in candidate Candidate storage number value is determined as the storage number value for the data for needing to store by value no more than when can store number value;It is waiting Choosing storage number value is more than when can store number value, will can store number value and be determined as the storage number for the data for needing to store Value.
Second, the downlink of the concurrency of the data stored as needed and preconfigured storage device concurrently connects Number determines the storage number for the data for needing to store;
Such as, it would be desirable to the product of the concurrency of the data of storage and the downlink concurrent connection number of preconfigured storage device Value is determined as the storage number value for the data for needing to store;If the remaining available storage of storage device cannot accommodate so More parts need the data stored, then control and delete stored partial data in storage device, until that can store so many part Need the data stored.
The third, the concurrency of the data stored as needed, preconfigured storage device uplink concurrent connection number And the downlink concurrent connection number of preconfigured storage device, determine the storage number for the data for needing to store;
Such as, it would be desirable to the concurrency of the data of storage and the quotient of the uplink concurrent connection number of preconfigured storage device are true Be set to the minimum value of the value range of the storage number of the data of needs storage, it would be desirable to the concurrency of the data of storage with it is pre- The product value of the downlink concurrent connection number of the storage device first configured is determined as taking for the storage number of the data of needs storage Be worth range maximum value, determine the needs storage data storage number value range in select a value as The storage number value of the data of needs storage;If the remaining available storage of storage device cannot accommodate so many part needs The data of storage then control and delete stored partial data in storage device, need to store until that can store so many part Data.
4th kind, the concurrency of the data stored as needed, is pre-configured with the remaining available storage of storage device Storage device uplink concurrent connection number and preconfigured storage device downlink concurrent connection number, determine and need to store The storage number of data;
Such as, it would be desirable to the concurrency of the data of storage and the quotient of the uplink concurrent connection number of preconfigured storage device are true Be set to the minimum value of the value range of the storage number of the data of needs storage, it would be desirable to the concurrency of the data of storage with it is pre- The product value of the downlink concurrent connection number of the storage device first configured is determined as taking for the storage number of the data of needs storage Be worth range maximum value, determine the needs storage data storage number value range in select a value as The candidate storage number value of the data of needs storage;According to the remaining available storage of storage device and need the number stored According to size, determination can store number value;When candidate's storage number value is no more than that can store number value, candidate is stored into number value It is determined as the storage number value for the data for needing to store;When candidate's storage number value is more than and can store number value, can store Number value is determined as the storage number value for the data for needing to store.
In specific implementation, the storage priority of data is higher, and more preferential storage data, the i.e. storage order of the data is got over It is forward.
In specific implementation, in step S405, the storage part for the data that needs that third class relevant parameter includes store Number refers to the stored number for the data that the needs of real-time statistics store.It can be from the tracking server of control storing process Place obtains the storage number for the data for needing to store.
In specific implementation, in step S405, if the format of resource file is the first file format, third class correlation ginseng The hot value for the data that the needs that number includes store refers to the hot value of each data block for needing to store;If the format of resource file For the second file format, then the temperature that will be parsed from the type I information for the resource file that the data platform received is sent Value, is determined as the hot value for the data that the needs that third class relevant parameter includes store.
In specific implementation, in step S405, the third class relevant parameter of the data stored as needed determines and needs to deposit The mode of the storage priority of the data of storage can be varied, need to only ensure that the number of storage for needing the data stored is got over It is few, it needs the hot value of the data stored bigger, needs the storage priority of the data stored higher.
Step S406:The storage for needing the data stored in the resource file that real-time update determines, needing the data stored The storage priority for the data that number and/or needs store.
Wherein, in step S406, real-time update refers to, timing update needed in determining resource file the data stored, It needs the storage number of the data stored and/or needs the storage priority of data stored, such as can be with every mistake 5 minutes just more Newly;Alternatively, when needing the data stored in resource file, needing the storage number of the data stored and/or needing the number stored According to storage priority change when update immediately.
In specific implementation, in step S406, updates in resource file and need the data stored to include but not limited to:Resource The replacement of the data stored, the replacement of resource file are needed in file.
In specific implementation, in step S406, the storage number for the data that update needs store includes but not limited to:It reduces It stores number, increase storage number.
In specific implementation, in step S406, the storage priority for the data that update needs store includes but not limited to:It carries High priority reduces priority.
In specific implementation, after step S405, it can also include the following steps:
The data stored will be needed in determining resource file, the storage number of the data stored and/or needs is needed to store The storage priority of data is sent to tracking server, by tracking server according to the storage number and storage priority, by this The data stored are needed to distribute to selected second terminal equipment storage in resource file.
For example, when the format of resource file is the first file format, the data block stored will be needed in resource file, is somebody's turn to do The storage number of data block and/or the storage priority of the data block are sent to tracking server;Wherein, the data block include but It is not limited to following information:Block size deviates in resource file, including fragment.
5th embodiment:
Below in conjunction with the concrete scene of P2P videos on demand, detailed complete introduction is carried out to the embodiment of the present invention.
With reference to Fig. 5, the P2P program request structural schematic diagrams that the present embodiment is based on are shown.
As shown in figure 5, P2Pclient, i.e. terminal device in P2P videos on demand, are responsible for the download of program request film, deposit It stores up, share transmission, broadcasting, broadcast information report.
Tracking server(tracker)It is responsible for receiving terminal apparatus information, searches effective other-end facility information and return Back to terminal device, the disk storage content of control terminal equipment etc..
Internet protocol(IP, Internet Protocol)Address and configuration database provide IP address for tracker Corresponding geographical location information, and provide the configuration parameter information that terminal device needs for tracker.
P2P is authenticated(P2PAuth, Peer-to-Peer Authentication, Verification System)Tracker is responsible for carry The data information needed for door chain verification.
File distribution database is responsible for the information storage of shared file, and illustratively, mysql films publication database is from library And mysql film publication database master libraries are file distribution database.Mysql film publication databases are responsible for storage publication Film information.
Issue script(That is task execution system)It is responsible for film being published in mysql film publication databases, and calls The film buffer update interface of tracker.
Redis publication film cache databases are responsible for the film information that caching waits for tracker publications.
P2P management platforms are the executive agent of the embodiment of the present invention, are responsible for needing the data stored in determining film, deposit Store up number and storage priority.
With reference to Fig. 6, the holistic approach flow chart of memory management method in the present embodiment is shown.
As shown in fig. 6, P2P publication scripts include that medium makes an announcement and adjusts back, medium information obtains and storage, medium frequency Taoist monastic name management, medium release news storage etc. four main functional modules;The peripheral system being related to mainly has:P2P management is flat Platform, P2P Verification Systems(That is P2PAuth), P2P trackers(That is tracker)And CDN.
Step A1:P2P issues script and obtains broadcasting string from P2P Verification Systems.
Step A2:P2P issues script and obtains medium information from CDN according to the broadcasting string.
Step A3:P2P publication script readjustment P2P management platforms send the medium information.
Step A4:P2P management platforms generate publishing policy according to the medium information(It needs the data stored that is, determining, deposit Store up number and/or storage priority).
Step A5:P2P publication scripts obtain the publishing policy and are sent to P2P trackers.
Step A6:P2P trackers obtain channel number and are distributed to the terminal device storage selected in P2P networks.
With reference to Fig. 7, the method detailed flow chart of memory management method in the present embodiment is shown.
Step B1:Data platform plays the film that statistical report analyzes current hot broadcast in real time according to terminal device, by shadow Piece information is transmitted to P2P management platforms;P2P management platforms obtain URL information according to the film information.
Step B2:P2P issues script and receives the URL information that P2P management platforms are sent.
Step B3:P2P issues script by the URL information, calls P2PAuth publication authentications.
Step B4:P2PAuth returns to new URL and Substitution Rules to P2P publication scripts.
Step B5:Domain name in new URL is substituted for third party's CDN domain names by P2P publication scripts according to Substitution Rules, is obtained To new URL.
Step B6:P2P issues script and sends HTTP HEAD requests to third party CDN according to new URL, obtains the big of film Small and type, according to type download process m3u8 files or mp4 files, if it is m3u8 files, each ts into m3u8 files Fragment url sends HTTP HEAD acquisition request ts fragment sizes.
Step B7:Film information is entered P2P management platform databases by P2P publication scripts, then notifies the life of P2P management platforms At film publishing policy.
Step B8:After P2P management platforms are notified, read film information, if it is MP4, then by whole film as Backing is issued;If it is m3u8, then the size for each ts fragments that m3u8 includes is read from database, it is then that m3u8 is corresponding Film carries out logic partitioning with 64M sizes, and is aligned the boundaries ts, according to the access times of the ts fragments of terminal device statistical report Its temperature is judged, if a ts fragment is more than threshold values in intraday access times(Such as 1000 times), then it is assumed that the fragment is Hot fragment judges that the hot fragment number for including in some 64M block is more than the setting percentage of fragment sum in 64M blocks(Such as 50%) When, then it is assumed that the 64M blocks are heat block, belong to the filmstrip for needing to issue.
Step B9:P2P management platform databases are written in analysis result by P2P management platforms, and notify P2P publication script hairs Cloth strategy has generated.
Step B10:After P2P publication scripts are notified, acquisition channel number distributes to the film from number pond table;It reads P2P management platform databases obtain publishing policy;Tracker databases are written into publishing policy;And notify Tracker that publication is appointed Business has generated;Wherein each channel number uniquely corresponds to a film, and current all available channel numbers, frequency are maintain in number pond table It is just deleted from number pond table after Taoist monastic name distribution, channel number can be with one film to be released of unique mark.
Step B11:P2P publication scripts notify P2P management platforms film that P2P is published to Tracker simultaneously.
With reference to Fig. 8, show that Tracker executes release tasks in the present embodiment(Issue store tasks)Method detailed Flow chart.
Step C1:P2PClient obtains task timer time-out and then sends acquisition task requests to Tracker.
Step C2:Tracker calculates P2PClient disks according to P2PClient disk storage situations and size can be used.
Step C3:Tracker calculates the film 64M heat blocks that P2PClient should be stored according to film weight meter, returns to P2PClient。
Step C4:The task that P2PClient is sent according to Tracker asks the url for downloading medium to Tracker.
Step C5:Tracker inquiry databases obtain the peer lists for having corresponding 64M heat blocks, while obtaining and flowing to CDN Media server list.
Step C6:Tracker will download the url of medium, and peer lists and server list are sent to P2PClient.
Step C7:If there is peer lists, P2PClient is preferentially downloaded from peer;If without peer lists or from peer Failed download is then downloaded from streaming media server.
In implementation, the application by the real-time statistics to all films in network and the program request temperature of each filmstrip, Effectively find and predict backing and backing section.Then it is issued in advance by the P2P to backing and backing section, P2P publications can be reduced Amount most effectively utilizes the limited disk resource of terminal, reduces resource waste, while can also obtain extraordinary P2P and share rate, Ensure client terminal playing quality.
In implementation, when returning peer nodes to terminal device, while multiple spot streaming media server is returned, when terminal device is from peer When under node less than data or slower speed of download, it can be rapidly switched to the download of streaming media server node, ensure to play matter Amount.
With reference to Fig. 9, a kind of structural schematic diagram of storage management apparatus first embodiment of the application, the equipment packet are shown It includes:
Type I information reception device 91, the type I information of the resource file for receiving data platform transmission;
Sending device 92, the type I information of resource file for being received according to type I information reception device 91, obtain and The corresponding uniform resource locator of resource file sends the uniform resource locator obtained to task execution system;
Second category information reception device 93, for unification receiving task execution system transmission, being sent based on sending device 92 Resource Locator, acquisition resource file the second category information;
Data determining device 94 is stored, the second category information for parsing the reception of the second category information reception device 93 obtains resource text The format of part determines money by the way of needing the data stored in determining resource file corresponding with the format of resource file The data stored are needed in source file.
Referring to Fig.1 0, show a kind of structural schematic diagram of storage management apparatus second embodiment of the application, wherein resource The format of file is the first file format, and compared with the structural schematic diagram of first embodiment, which further includes:
First resolver 101, the second category information for parsing the reception of the second category information reception device 93 obtain resource file Size and resource file each fragment for including size;
Data determining device 94 is stored, including:
Data block divides sub-device 941, the size and resource file of the resource file for being obtained according to the first resolver 101 Including each fragment size, resource file is logically divided into multiple data blocks, each data block divided include extremely A few fragment;
First storage determines sub-device 942, includes for dividing each data block that the division of sub-device 941 obtains according to data block Each fragment determines the data block for needing to store from each data block that division obtains.
Preferably, the storage management apparatus further includes:
Second resolver 102, the type I information for parsing the reception of type I information reception device 91 obtain resource file Including each fragment hot value;
First storage determines sub-device 942, including:
Hot data block determining module 9421, the hot value of each fragment for including according to each data block determine that each data block is No is hot data block;
Determining module 9422 is stored, the data block for each hot data block determined to be determined as needing to store.
Preferably, hot data block determining module 9421, specifically includes:
Hot fragment determination sub-module, the hot value of each fragment for including according to each data block determine that each data block includes Whether each fragment is hot fragment;
First hot data block determination sub-module, the quantity for calculating the hot fragment that each data block includes, and according to each data block Including hot fragment quantity, determine whether each data block is hot data block.
Preferably, hot fragment determination sub-module, including:
First sequencing unit, for according to sequence from big to small, being ranked up, will sort preceding to the hot value of each fragment The corresponding fragment of several hot values is determined as hot fragment;
Alternatively, according to sequence from small to large, the hot value of each fragment is ranked up, will sort several posterior hot values Corresponding fragment is determined as hot fragment;
Alternatively, for each fragment, execute respectively:The hot value of fragment is compared with preset heat threshold value, if fragment Hot value is more than preset heat threshold value, it is determined that fragment is hot fragment;
First hot data block determination sub-module, including:
Second sequencing unit, for according to sequence from big to small, the quantity for the hot fragment for including to each data block is ranked up, The corresponding data block of several the preceding quantity that will sort is determined as hot data block;
Alternatively, according to sequence from small to large, the quantity for the hot fragment for including to each data block is ranked up, and will be sorted posterior The corresponding data block of several quantity is determined as hot data block;
Alternatively, the quantity for the hot fragment for including according to each data block, calculates the quantity accounting for the hot fragment that each data block includes, presses According to sequence from big to small, the quantity accounting for the hot fragment for including to each data block is ranked up, will sort it is preceding several The corresponding data block of quantity accounting is determined as hot data block;Alternatively, according to sequence from small to large, the heat that includes to each data block The quantity accounting of fragment is ranked up, several the posterior corresponding data blocks of quantity accounting that will sort are determined as hot data block; Wherein, the quantity accounting for the hot fragment that data block includes is the quantity for the hot fragment that data block includes and the fragment that data block includes Quantity ratio;
Alternatively, for each data block, execute respectively:Judge whether the quantity for the hot fragment that data block includes is more than preset quantity Threshold value, if quantity is more than the preset quantity threshold value, it is determined that data block is hot data block;
Alternatively, for each data block, execute respectively:It is default to judge whether the quantity accounting for the hot fragment that data block includes is more than Ratio, if quantity accounting is more than the default ratio, it is determined that data block is hot data block.
Preferably, hot data block determining module 9421, can also include:
Hot value determination sub-module, the hot value of each fragment for including according to each data block, determines the temperature of each data block Value;
Second hot data block determination sub-module determines whether each data block is dsc data for the hot value according to each data block Block.
Referring to Fig.1 1, show a kind of structural schematic diagram of storage management apparatus 3rd embodiment of the application, wherein resource The format of file is the second file format, and compared with the structural schematic diagram of first embodiment, which further includes:
Third resolver 111, the second category information for parsing the reception of the second category information reception device 93 obtain resource file Size;
Data determining device 94 is stored, including:
Second storage determines sub-device 943, the data for being determined as needing to store by whole resource files;
Alternatively, according to the size of obtained resource file, resource file is logically divided into multiple data blocks, and division is obtained Each data block be determined as needing the data that store.
Referring to Figure 12, a kind of structural schematic diagram of storage management apparatus fourth embodiment of the application is shown, including:
Type I information reception device 91, the type I information of the resource file for receiving data platform transmission;
Sending device 92, the type I information of resource file for being received according to type I information reception device 91, obtain and The corresponding uniform resource locator of resource file sends the uniform resource locator obtained to task execution system;
Second category information reception device 93, for unification receiving task execution system transmission, being sent based on sending device 92 Resource Locator, acquisition resource file the second category information;
Data determining device 94 is stored, the second category information for parsing the reception of the second category information reception device 93 obtains resource text The format of part determines money by the way of needing the data stored in determining resource file corresponding with the format of resource file The data stored are needed in source file.
Number determining device 121 is stored, determining device 94, which determines in resource file, for storing data needs the number stored According to the first kind relevant parameter of the data later, stored as needed and for storing the storage device of data for needing to store Second class relevant parameter determines the storage number for the data for needing to store;
First kind relevant parameter includes:Need the concurrency of data stored;
Second class relevant parameter includes at least one of following parameters:The remaining available storage of storage device is matched in advance The uplink concurrent connection number for the storage device set, the downlink concurrent connection number of preconfigured storage device;
And/or storage priority determining device 122, determining device 94 determines for storing data needs to store in resource file Data after, the third class relevant parameter of the data stored as needed determines the storage priority of data for needing to store; Third class relevant parameter includes at least one of following parameters:Need having stored number, having needed to store for the data that store The hot value of data.
Updating device 123 needs the data stored, the data that store of needs in the resource file determined for real-time update Storage number and/or need the storage priority of data stored.
Referring to Fig.1 3, show a kind of structural schematic diagram of storage management system of the embodiment of the present application, which includes upper The storage management apparatus 134 is stated, further includes:
First terminal equipment 131, the broadcast information for reporting resource file to data platform 132;And for being taken to tracking The transmission downloading data of device 133 of being engaged in is asked;
Data platform 132, the broadcast information for receiving the resource file that first terminal equipment 131 reports, according to each of reception The broadcast information of resource file determines the resource file for needing to store, and the money determined is sent to storage management apparatus 134 The type I information of source file;
The sending device that storage management apparatus 134 includes is additionally operable to the storage data for including by storage management apparatus 134 and determines dress Setting in determining resource file needs the data stored to be sent to tracking server 133;
Tracking server 133 needs to deposit in the resource file that the sending device for including for receiving, storing and managing equipment 134 is sent The data for needing to store in resource file are sent to the second terminal equipment selected in network and stored by the data of storage;With And the downloading data request for receiving the transmission of first terminal equipment 131, determine that the second terminal of response downloading data request is set It is standby and obtain the streaming media server that response downloading data is asked to CDN, and by determining second terminal equipment and obtain Streaming media server, which is encapsulated into same message, is sent to first terminal equipment 131.In specific implementation, first terminal equipment The 131 second terminal device downloads data preferentially sent from the tracking server 133 received;
If being less than preset speed of download value without second terminal equipment, or from second terminal device downloads data speed, or from the Two terminal device downloading datas fail, then first terminal equipment 131 is quickly switched into from the tracking server 133 received and sends Streaming media server downloading data.
Preferably, preset speed of download value is preferably 60KB/S.
It should be noted that above-mentioned apparatus embodiment belongs to preferred embodiment, involved unit and module might not It is necessary to the application.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.For the dress of the application For setting embodiment, since it is basically similar to the method embodiment, so description is fairly simple, related place is referring to method reality Apply the part explanation of example.
Above to a kind of memory management method, equipment and system provided herein, it is described in detail, herein Applying specific case, the principle and implementation of this application are described, and the explanation of above example is only intended to help Understand the present processes and its core concept;Meanwhile for those of ordinary skill in the art, according to the thought of the application, There will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as to this The limitation of application.

Claims (19)

1. a kind of memory management method, which is characterized in that the method includes:
Receive the type I information for the resource file that data platform is sent;
Uniform resource locator corresponding with the resource file is obtained according to the type I information of the resource file of reception, The uniform resource locator obtained is sent to task execution system;
Receive the second of the resource file obtained based on the uniform resource locator that the task execution system is sent Category information;
Parse second category information and obtain the format of the resource file, using it is corresponding with the format of the resource file really The mode for determining the data for needing to store in resource file determines the data for needing to store in the resource file.
2. according to the method described in claim 1, it is characterized in that, the format of the resource file is the first file format;Institute The method of stating further includes:
Parse the size for each fragment that second category information obtains the size of the resource file and the resource file includes;
The data stored are needed in the determination resource file, including:
According to the size for each fragment that the size of the obtained resource file and the resource file include, by resource text Part is logically divided into multiple data blocks, and it includes at least one fragment each of to divide the data block;
Each fragment for including according to obtained each data block is divided is determined to need from each data block that division obtains The data block to be stored.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
It parses the type I information and obtains the hot value for each fragment that the resource file includes;
Each fragment for including according to obtained each data block is divided, determines from each data block that division obtains Go out and needs the data block stored, including:
According to the hot value for each fragment that each data block includes, determine whether each data block is hot data block;
The data block that each hot data block determined is determined as needing to store.
4. according to the method described in claim 3, it is characterized in that, the heat of each fragment for including according to each data block Angle value determines whether each data block is hot data block, including:
According to the hot value for each fragment that each data block includes, determine whether each fragment that each data block includes is heat Fragment;
The quantity for the hot fragment that each data block includes, and the quantity for the hot fragment for including according to each data block are calculated, Determine whether each data block is hot data block.
5. according to the method described in claim 4, it is characterized in that, the heat of each fragment for including according to each data block Angle value determines whether each fragment that each data block includes is hot fragment, including:
According to sequence from big to small, the hot value of each fragment is ranked up, will sort several preceding hot values Corresponding fragment is determined as hot fragment;Alternatively, according to sequence from small to large, the hot value of each fragment is ranked up, The corresponding fragment of several the posterior hot values that will sort is determined as hot fragment;
Alternatively, for each fragment, execute respectively:The hot value of the fragment is compared with preset heat threshold value, If the hot value of the fragment is more than the preset heat threshold value, it is determined that the fragment is hot fragment;
The quantity of the hot fragment for including according to each data block determines whether each data block is hot data block, packet It includes:
According to sequence from big to small, the quantity for the hot fragment for including to each data block is ranked up, and will be sorted preceding The corresponding data block of several quantity is determined as hot data block;Alternatively, according to sequence from small to large, to each data block packet The quantity of the hot fragment contained is ranked up, and the corresponding data block of several the posterior quantity that will sort is determined as hot data block;
Alternatively, the quantity for the hot fragment for including according to each data block, calculates the number for the hot fragment that each data block includes Measure accounting;According to sequence from big to small, the quantity accounting for the hot fragment for including to each data block is ranked up, and will be sorted Several preceding corresponding data blocks of quantity accounting are determined as hot data block;Alternatively, according to sequence from small to large, to each institute The quantity accounting for stating the hot fragment that data block includes is ranked up, and will sort several posterior corresponding data blocks of quantity accounting It is determined as hot data block;Wherein, the quantity accounting for the hot fragment that the data block includes is the hot fragment that the data block includes Quantity and the data block fragment that includes quantity ratio;
Alternatively, for each data block, execute respectively:Judge whether the quantity for the hot fragment that the data block includes is more than Preset quantity threshold value, if the quantity is more than the preset quantity threshold value, it is determined that the data block is hot data block;
Alternatively, for each data block, execute respectively:Judge the hot fragment that the data block includes quantity accounting whether More than default ratio, if the quantity accounting is more than the default ratio, it is determined that the data block is hot data block.
6. according to the method described in claim 3, it is characterized in that, the heat of each fragment for including according to each data block Angle value determines whether each data block is hot data block, including:
According to the hot value for each fragment that each data block includes, the hot value of each data block is determined;
According to the hot value of each data block, determine whether each data block is hot data block.
7. according to the method described in claim 1, it is characterized in that, the format of the resource file is the second file format;Institute The method of stating further includes:
It parses second category information and obtains the size of the resource file;
The data stored are needed in the determining resource file, including:
All resource files are determined as the data for needing to store;
Alternatively, according to the size of the obtained resource file, the resource file is logically divided into multiple data blocks, and will It divides obtained each data block and is determined as the data for needing to store.
8. according to the method described in claim 1, it is characterized in that, needed in the determining resource file data stored it Afterwards, the method further includes:
The first kind relevant parameter of data stored is needed according to described and storage for storing the data for needing to store Second class relevant parameter of equipment determines the storage number of the data for needing to store;The first kind relevant parameter includes: The concurrency of the data for needing to store;The second class relevant parameter includes at least one of following parameters:It is described to deposit Store up the remaining available storage of equipment, the uplink concurrent connection number of the preconfigured storage device, preconfigured institute State the downlink concurrent connection number of storage device;
And/or
According to the third class relevant parameter of the data for needing to store, determine that the storage of the data for needing to store is preferential Grade;The third class relevant parameter includes at least one of following parameters:The number of storage of the data for needing to store, The hot value of the data for needing to store.
9. according to the method described in claim 8, it is characterized in that, the method further includes:
The storage number of the data stored, the data for needing to store is needed in the resource file that real-time update determines And/or the storage priority of the data for needing to store.
10. a kind of storage management apparatus, which is characterized in that the equipment includes:
Type I information reception device, the type I information of the resource file for receiving data platform transmission;
Sending device, the type I information of the resource file for being received according to the type I information reception device, is obtained Uniform resource locator corresponding with the resource file is taken, the unified resource positioning obtained is sent to task execution system Symbol;
Second category information reception device, for receive it is that the task execution system is sent, sent based on the sending device The uniform resource locator, acquisition the resource file the second category information;
Data determining device is stored, institute is obtained for parsing second category information that the second category information reception device receives The format for stating resource file, using needing the data stored in determining resource file corresponding with the format of the resource file Mode determines the data for needing to store in the resource file.
11. equipment according to claim 10, which is characterized in that the format of the resource file is the first file format, The equipment further includes:
First resolver obtains the money for parsing second category information that the second category information reception device receives The size for each fragment that the size of source file and the resource file include;
The storage data determining device, including:
Data block divides sub-device, the size and the money of the resource file for being obtained according to first resolver The resource file is logically divided into multiple data blocks by the size for each fragment that source file includes, each institute divided It includes at least one fragment to state data block;
First storage determines sub-device, includes for dividing each data block that sub-device divides according to the data block Each fragment, from dividing the data block for determining to need to store in obtained each data block.
12. equipment according to claim 11, which is characterized in that the equipment further includes:
Second resolver obtains the money for parsing the type I information that the type I information reception device receives The hot value for each fragment that source file includes;
First storage determines sub-device, including:
Hot data block determining module, the hot value of each fragment for including according to each data block determine each data Whether block is hot data block;
Determining module is stored, the data block for each hot data block determined to be determined as needing to store.
13. equipment according to claim 12, which is characterized in that the hot data block determining module, including:
Hot fragment determination sub-module, the hot value of each fragment for including according to each data block determine each data Whether each fragment that block includes is hot fragment;
First hot data block determination sub-module, the quantity for calculating the hot fragment that each data block includes, and according to each institute The quantity for stating the hot fragment that data block includes determines whether each data block is hot data block.
14. equipment according to claim 13, which is characterized in that the hot fragment determination sub-module, including:
First sequencing unit exists sequence for according to sequence from big to small, being ranked up to the hot value of each fragment The preceding corresponding fragment of several hot values is determined as hot fragment;Alternatively, according to sequence from small to large, to each fragment Hot value is ranked up, and the corresponding fragment of several the posterior hot values that will sort is determined as hot fragment;
Alternatively, for each fragment, execute respectively:The hot value of the fragment is compared with preset heat threshold value, If the hot value of the fragment is more than the preset heat threshold value, it is determined that the fragment is hot fragment;
The first hot data block determination sub-module, including:
Second sequencing unit is used for according to sequence from big to small, the quantity progress to the hot fragment that each data block includes Sequence, the corresponding data block of several the preceding quantity that will sort are determined as hot data block;Alternatively, suitable according to from small to large The quantity of sequence, the hot fragment for including to each data block is ranked up, the corresponding data of several the posterior quantity that will sort Block is determined as hot data block;
Alternatively, the quantity for the hot fragment for including according to each data block, calculates the number for the hot fragment that each data block includes Accounting is measured, according to sequence from big to small, the quantity accounting for the hot fragment for including to each data block is ranked up, and will be sorted Several preceding corresponding data blocks of quantity accounting are determined as hot data block;Alternatively, according to sequence from small to large, to each institute The quantity accounting for stating the hot fragment that data block includes is ranked up, and will sort several posterior corresponding data blocks of quantity accounting It is determined as hot data block;Wherein, the quantity accounting for the hot fragment that the data block includes is the hot fragment that the data block includes Quantity and the data block fragment that includes quantity ratio;
Alternatively, for each data block, execute respectively:Judge whether the quantity for the hot fragment that the data block includes is more than Preset quantity threshold value, if the quantity is more than the preset quantity threshold value, it is determined that the data block is hot data block;
Alternatively, for each data block, execute respectively:Judge the hot fragment that the data block includes quantity accounting whether More than default ratio, if the quantity accounting is more than the default ratio, it is determined that the data block is hot data block.
15. equipment according to claim 12, which is characterized in that the hot data block determining module, including:
Hot value determination sub-module, the hot value of each fragment for including according to each data block determine each data The hot value of block;
Whether second hot data block determination sub-module determines each data block for the hot value according to each data block For hot data block.
16. equipment according to claim 10, which is characterized in that the format of the resource file is the second file format, The equipment further includes:
Third resolver obtains the money for parsing second category information that the second category information reception device receives The size of source file;
The storage data determining device, including:
Second storage determines sub-device, for all resource files to be determined as the data for needing to store;
Alternatively, according to the size of the obtained resource file, the resource file is logically divided into multiple data blocks, and will It divides obtained each data block and is determined as the data for needing to store.
17. equipment according to claim 10, which is characterized in that the equipment further includes:
Store number determining device, for the storage data determining device determine the data for needing to store in resource file it Afterwards, the first kind relevant parameter of the data stored and the storage for storing the data that the needs store is needed to set according to described The second standby class relevant parameter determines the storage number of the data for needing to store;The first kind relevant parameter includes:Institute State the concurrency for the data for needing to store;The second class relevant parameter includes at least one of following parameters:The storage The uplink concurrent connection number, preconfigured described of the remaining available storage of equipment, the preconfigured storage device The downlink concurrent connection number of storage device;
And/or storage priority determining device, it is determined for the storage data determining device and needs to store in resource file After data, according to the third class relevant parameter of the data for needing to store, the storage of the data for needing to store is determined Priority;The third class relevant parameter includes at least one of following parameters:The storage of the data for needing to store The hot value of number, the data for needing to store.
18. equipment according to claim 17, which is characterized in that the equipment further includes:
Updating device needs the data stored in the resource file determined for real-time update, described needs the number that stores According to storage number and/or the storage priority of data for needing to store.
19. a kind of storage management system, which is characterized in that including:As claim 10-18 any one of them storage managements are set It is standby;Wherein, the storage management system further includes:
First terminal equipment, the broadcast information for reporting resource file to the data platform;And it is used for follow-up service Device sends downloading data request;
Data platform, the broadcast information for receiving the resource file that the first terminal equipment reports, according to each institute of reception The broadcast information for stating resource file determines the resource file for needing to store, and determined to storage management apparatus transmission The type I information of the resource file;
The sending device that storage management apparatus includes is additionally operable to the storage data determining device for including by the storage management apparatus The data stored are needed to be sent to tracking server in the determining resource file;
Tracking server is needed for receiving in the resource file that the sending device that the storage management apparatus includes is sent The data of storage will need the data stored to be sent to the second terminal equipment selected in network and deposit in the resource file Storage;And the downloading data request sent for receiving the first terminal equipment, determine that responding the downloading data asks The second terminal equipment asked and the streaming media server for responding the downloading data and asking is obtained to CDN, and by determining institute The streaming media server for stating second terminal equipment and acquisition is encapsulated into same message and is sent to the first terminal and sets It is standby.
CN201710288496.0A 2017-04-27 2017-04-27 A kind of memory management method, equipment and system Pending CN108810609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710288496.0A CN108810609A (en) 2017-04-27 2017-04-27 A kind of memory management method, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710288496.0A CN108810609A (en) 2017-04-27 2017-04-27 A kind of memory management method, equipment and system

Publications (1)

Publication Number Publication Date
CN108810609A true CN108810609A (en) 2018-11-13

Family

ID=64070209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710288496.0A Pending CN108810609A (en) 2017-04-27 2017-04-27 A kind of memory management method, equipment and system

Country Status (1)

Country Link
CN (1) CN108810609A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381848A (en) * 2018-12-29 2020-07-07 华为技术有限公司 Resource file updating method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020062223A1 (en) * 2000-11-21 2002-05-23 Netiq Corporation System and method for adding network traffic data to a database of network traffic data
US7529892B2 (en) * 2006-08-10 2009-05-05 Hitachi, Ltd. File readahead method with the use of access pattern information attached to metadata
CN102231761A (en) * 2011-08-12 2011-11-02 乐视网信息技术(北京)股份有限公司 Peer-to-Peer (P2P) data interaction method
CN102438020A (en) * 2011-12-23 2012-05-02 华为技术有限公司 Method and equipment for distributing contents in content distribution network, and network system
CN103220367A (en) * 2013-05-13 2013-07-24 深圳市中博科创信息技术有限公司 Data replicating method and data storing system
CN105069050A (en) * 2015-07-23 2015-11-18 小米科技有限责任公司 Search response method, apparatus and system
CN105376218A (en) * 2015-10-21 2016-03-02 上海思华科技股份有限公司 Stream media system and method for fast responding to user request
CN105469381A (en) * 2014-09-11 2016-04-06 腾讯科技(深圳)有限公司 Information processing method and terminal
CN106022161A (en) * 2016-05-13 2016-10-12 天脉聚源(北京)传媒科技有限公司 Data processing method and device
CN106202070A (en) * 2015-04-29 2016-12-07 中国电信股份有限公司 File storage processing method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020062223A1 (en) * 2000-11-21 2002-05-23 Netiq Corporation System and method for adding network traffic data to a database of network traffic data
US7529892B2 (en) * 2006-08-10 2009-05-05 Hitachi, Ltd. File readahead method with the use of access pattern information attached to metadata
CN102231761A (en) * 2011-08-12 2011-11-02 乐视网信息技术(北京)股份有限公司 Peer-to-Peer (P2P) data interaction method
CN102438020A (en) * 2011-12-23 2012-05-02 华为技术有限公司 Method and equipment for distributing contents in content distribution network, and network system
CN103220367A (en) * 2013-05-13 2013-07-24 深圳市中博科创信息技术有限公司 Data replicating method and data storing system
CN105469381A (en) * 2014-09-11 2016-04-06 腾讯科技(深圳)有限公司 Information processing method and terminal
CN106202070A (en) * 2015-04-29 2016-12-07 中国电信股份有限公司 File storage processing method and system
CN105069050A (en) * 2015-07-23 2015-11-18 小米科技有限责任公司 Search response method, apparatus and system
CN105376218A (en) * 2015-10-21 2016-03-02 上海思华科技股份有限公司 Stream media system and method for fast responding to user request
CN106022161A (en) * 2016-05-13 2016-10-12 天脉聚源(北京)传媒科技有限公司 Data processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381848A (en) * 2018-12-29 2020-07-07 华为技术有限公司 Resource file updating method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
Zhang et al. Unreeling Xunlei Kankan: Understanding hybrid CDN-P2P video-on-demand streaming
JP6937918B2 (en) Video live broadcasting method and equipment
Zhang et al. Proactive workload management in hybrid cloud computing
US20210368239A1 (en) Distributing method, system, edge node, and central scheduling system for streaming media resource
CN103348691B (en) The method, apparatus and system of distribution live content
US20130282890A1 (en) In-stream collection of analytics information in a content delivery system
US20040236869A1 (en) Parallel information delivery method based on peer-to-peer enabled distributed computing technology and the system thereof
KR101563485B1 (en) Verification of content possession by an announcing peer in a peer-to-peer content distribution system
EP2480980A1 (en) Method and system for providing a cdn with granular quality of service
EP2708009A1 (en) Method and end point for distributing live content stream in a content delivery network
US8812718B2 (en) System and method of streaming data over a distributed infrastructure
CN101626389B (en) Network node management method
US20130086278A1 (en) Peer-to-peer system
CN104735044A (en) Streaming media live broadcast method and system
CN104301741A (en) Data live broadcast system and method
CN101631034A (en) Method, device and system for node management and access in peer-to-peer network
WO2017161757A1 (en) Method and system for distributing streaming media file
EP3338409B1 (en) Method for dynamically managing a network service in a communication network
US20100293172A1 (en) Method and system for storing and distributing electronic content
CN113676514B (en) File source returning method and device
CN106209952B (en) Service node distribution method and device, CDN management server and system
CN103416027B (en) The system of the method, buffer and cache optimization of cache optimization
WO2021073405A1 (en) Data distribution method, electronic device, and storage medium
CN108810609A (en) A kind of memory management method, equipment and system
JP6378631B2 (en) Video distribution system and video distribution method

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181113

WD01 Invention patent application deemed withdrawn after publication