CN105975484A - File management method and apparatus - Google Patents

File management method and apparatus Download PDF

Info

Publication number
CN105975484A
CN105975484A CN201610262862.0A CN201610262862A CN105975484A CN 105975484 A CN105975484 A CN 105975484A CN 201610262862 A CN201610262862 A CN 201610262862A CN 105975484 A CN105975484 A CN 105975484A
Authority
CN
China
Prior art keywords
file
direct broadcast
duration
broadcast band
arbitrary
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
CN201610262862.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.)
LeCloud Computing Co Ltd
LeTV Holding Beijing Co Ltd
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Cloud Computing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Holding Beijing Co Ltd, LeTV Cloud Computing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610262862.0A priority Critical patent/CN105975484A/en
Priority to PCT/CN2016/099913 priority patent/WO2017185605A1/en
Publication of CN105975484A publication Critical patent/CN105975484A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving

Abstract

Embodiments of the invention provide a file management method and apparatus, which are used for solving the problem in the prior art that relatively low utilization value of a disk storage space becomes a bottleneck of influencing the performance of a video server. The file management method comprises the steps of determining file storage durations corresponding to different live broadcast channels respectively; and for any live broadcast channel, deleting any file when the storage duration of any file played in the live broadcast channel exceeds the file storage duration corresponding to the live broadcast channel. According to the embodiments of the method and apparatus, the utilization value of the disk storage space can be increased, so that the performance of the video server can be improved; and in addition, relatively important files with relatively high re-accessing frequencies can be reserved through the scheme provided by the method and apparatus, so that the files do not need to be re-generated or obtained from other servers when being called subsequently, the system resource utilization rate is increased, and the experience of a user requesting a video is improved.

Description

A kind of file management method and device
Technical field
Disclosure embodiment relates to file management field, particularly relates to a kind of file management method and device.
Background technology
Video server would generally store substantial amounts of video file, the storage performance of video file is become shadow Ring the importance of video server performance.In the case of server disk memory space is certain, how to carry The value of high disk storage space becomes the key improving video server performance.
The frequency that the history broadcast items of different direct broadcast bands is accessed again by user is the most different, has The frequency that the history broadcast items of a little popular direct broadcast bands is accessed again by user is higher, some relatively unexpected winner The history broadcast items of direct broadcast band is seldom accessed again by user.
In prior art, after disk storage space is full, the file that the holding time can be selected the longest is deleted, This mode can cause the file in the direct broadcast band that some are valuable, access frequency is higher to be deleted, and one Although a little holding times are short, but the file in the less direct broadcast band of access frequency is retained.Such as, if File higher for access frequency is deleted, when these files transferred again by needs, can only regenerate or obtain Take, thus waste system resource, reduce video server performance.
Obviously, under prior art, the value to disk storage space is relatively low, becomes and affects video server The bottleneck of performance.
Summary of the invention
Disclosure embodiment provides a kind of file management method and device, deposits disk in order to solve prior art The value in storage space is relatively low, the problem becoming the bottleneck affecting video server performance.
Disclosure embodiment provides a kind of file management method, including:
Determine that the file that different direct broadcast band is the most corresponding preserves duration;
For arbitrary direct broadcast band, when the preservation duration of the arbitrary file broadcasted at this direct broadcast band, to exceed this straight After broadcasting the file preservation duration that channel is corresponding, delete described arbitrary file.
Optionally it is determined that the file preservation duration that different direct broadcast bands are the most corresponding, including:
According to the file content broadcasted respectively at different direct broadcast bands, determine different direct broadcast band correspondence respectively File preserves duration.
Optionally it is determined that the file preservation duration that different direct broadcast bands are the most corresponding, also include:
According in the first nearest preset time period, the user that different direct broadcast bands are corresponding respectively accesses frequency Rate, determines that the file that different direct broadcast band is the most corresponding preserves duration.
Alternatively, the above-mentioned file determining that different direct broadcast band is the most corresponding preserves duration, comprises determining that every At least one file that individual direct broadcast band is the most corresponding preserves duration;
Before the described arbitrary file of above-mentioned deletion, also include:
After broadcasting any of the above-described file at this direct broadcast band, determine the File Privilege of any of the above-described file; According to this arbitrary file File Privilege in this direct broadcast band, from corresponding at least one of this direct broadcast band File preserves in duration, determines that the file that any of the above-described file is corresponding preserves duration;
Any of the above-described file of above-mentioned deletion, including:
When the duration that preserves of any of the above-described file exceedes the file preservation duration that this arbitrary file determined is corresponding After, delete any of the above-described file.
Alternatively, this direct broadcast band correspondence is exceeded when the preservation duration of the arbitrary file broadcasted at this direct broadcast band File preserve after duration, delete any of the above-described file, including:
When the duration that preserves of the arbitrary file broadcasted at this direct broadcast band exceedes the file that this direct broadcast band is corresponding Preserve duration, and any of the above-described file user's access frequency of correspondence in the second nearest preset time period is low In time setting threshold value, delete any of the above-described file.
In the method that the disclosure provides, it is first determined when going out the file preservation of different direct broadcast band correspondence respectively Long;For each direct broadcast band, preserve duration according to the file that this direct broadcast band is corresponding respectively and perform file Delete, so can popular degree based on direct broadcast band or significance level to arrange this targetedly live The file that channel is corresponding preserves duration, and then preserves the literary composition in duration deletion respective live channel based on this document Part, such that it is able to improve the value to disk storage space, and then improves video server performance.Separately Outward, owing to disclosure scheme can retain the file that frequency relatively important, that again accessed is higher, from And when transferring these files later, it is not necessary to regenerate or obtain at other server, thus improve Resource utilization ratio, also improves the Experience Degree of the user of request video.
Disclosure embodiment also provides for a kind of document management apparatus, including:
Determine unit, for determining that the file that different direct broadcast band is the most corresponding preserves duration;
Delete unit, for for arbitrary direct broadcast band, as the guarantor of the arbitrary file broadcasted at this direct broadcast band Deposit duration and exceed after file corresponding to this direct broadcast band preserve duration, delete described arbitrary file.
Alternatively, described determine unit, specifically for according in the file that different direct broadcast bands broadcast respectively Hold, determine that the file that different direct broadcast band is the most corresponding preserves duration.
Alternatively, described determine unit, specifically for according in the first nearest preset time period, different User's access frequency that direct broadcast band is the most corresponding, determines when the file that different direct broadcast band is the most corresponding preserves Long.
Alternatively, described determine unit, specifically for determining the most corresponding at least one of each direct broadcast band File preserves duration;
Described deletion unit, is additionally operable to after broadcasting described arbitrary file at this direct broadcast band, determines described appointing The File Privilege of one file;According to this arbitrary file File Privilege in this direct broadcast band, straight from this Broadcast at least one file corresponding to channel to preserve in duration, determine when the file that described arbitrary file is corresponding preserves Long;
Described deletion unit, exceedes, specifically for the duration that preserves when described arbitrary file, this arbitrary literary composition determined After the file that part is corresponding preserves duration, delete described arbitrary file.
Alternatively, described deletion unit, specifically for when the preservation of the arbitrary file broadcasted at this direct broadcast band Duration exceedes file corresponding to this direct broadcast band and preserves duration, and described arbitrary file is preset nearest second User's access frequency corresponding in time period, less than when setting threshold value, deletes described arbitrary file.
In the device that the disclosure provides, it is first determined when going out the file preservation of different direct broadcast band correspondence respectively Long;For each direct broadcast band, preserve duration according to the file that this direct broadcast band is corresponding respectively and perform file Delete, so can popular degree based on direct broadcast band or significance level to arrange this targetedly live The file that channel is corresponding preserves duration, and then preserves the literary composition in duration deletion respective live channel based on this document Part, such that it is able to improve the value to disk storage space, and then improves video server performance.Separately Outward, owing to disclosure scheme can retain the file that frequency relatively important, that again accessed is higher, from And when transferring these files later, it is not necessary to regenerate or obtain at other server, thus improve Resource utilization ratio, also improves the Experience Degree of the user of request video.
The further feature of the disclosure and advantage will illustrate in the following description, and, partly from explanation Book becomes apparent, or understands by implementing the disclosure.The purpose of the disclosure and other advantages can Realize by structure specifically noted in the description write, claims and accompanying drawing and obtain ?.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in disclosure embodiment, institute in embodiment being described below The accompanying drawing used is needed to briefly introduce, it should be apparent that, the accompanying drawing in describing below is only the disclosure Some embodiments, from the point of view of those of ordinary skill in the art, in the premise not paying creative work Under, it is also possible to other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of file management method in disclosure embodiment one;
Fig. 2 is the schematic flow sheet of a kind of file management method in disclosure embodiment two;
Fig. 3 is the schematic flow sheet of a kind of file management method in disclosure embodiment three;
Fig. 4 is the schematic flow sheet of a kind of file management method in disclosure embodiment four;
Fig. 5 is the structural representation of a kind of document management apparatus in disclosure embodiment five.
Detailed description of the invention
For making the purpose of disclosure embodiment, technical scheme and advantage clearer, below in conjunction with the disclosure Accompanying drawing in embodiment, is clearly and completely described the technical scheme in disclosure embodiment, it is clear that Described embodiment is a part of embodiment of the disclosure rather than whole embodiments.Based in the disclosure Embodiment, those of ordinary skill in the art obtained under not making creative work premise all its His embodiment, broadly falls into the scope of disclosure protection.
Embodiment one
It is illustrated in figure 1 the schematic flow sheet of a kind of file management method that disclosure embodiment one provides, bag Include following steps:
S101, determine that the file that different direct broadcast band is the most corresponding preserves duration.
S102, for arbitrary direct broadcast band, when the preservation duration of the arbitrary file broadcasted at this direct broadcast band surpasses After crossing the file preservation duration that this direct broadcast band is corresponding, delete described arbitrary file.
Specifically, it is first determined go out file corresponding to different direct broadcast band and preserve duration, then according to appointing Direct broadcast band belonging to one file, then can determine that the preservation duration of this document.Use said method, can A length of standard during to avoid mechanically preserving with unified file, in the direct broadcast band different to access frequency File is deleted, and has stronger motility.
Further, in above-mentioned steps S101, determine when the file that different direct broadcast band is the most corresponding preserves Long, specifically may include that according to the file content broadcasted respectively at different direct broadcast bands, determine different live The file that channel is the most corresponding preserves duration.
The division of direct broadcast band is often with its file content comprised as foundation, thus at different direct broadcast bands The file content broadcasted respectively, generally can reflect that feature and user that this direct broadcast band broadcasts are to this frequency The viewing demand in road.
Such as, when direct broadcast band is divided into news channel, military channel, XATV-6 and movie channel etc., The file content broadcasted due to news channel and military channel is ageing relatively strong, repeats the probability of broadcast relatively Little, therefore, news channel and military channel be may determine that, and shorter file preserves duration;Due to variety frequency The file content that road and movie channel are broadcasted has stronger recreational, and the probability repeating to broadcast is relatively big, Therefore, XATV-6 and movie channel be may determine that, and longer file preserves duration.
In addition, it is possible to the file content broadcasted respectively with different direct broadcast bands by server prompts user is for depending on According to, determine that the file that different direct broadcast band is the most corresponding preserves duration.
Further, in above-mentioned steps S101, determine when the file that different direct broadcast band is the most corresponding preserves Long, specifically can also include: according in the first nearest preset time period, different direct broadcast bands are the most right The user's access frequency answered, determines that the file that different direct broadcast band is the most corresponding preserves duration.
It is said that in general, above-mentioned user's access frequency can reflect that above-mentioned direct broadcast band is liked by user intuitively According to above-mentioned user's access frequency, degree and viewing demand, determine that the file that different direct broadcast band is the most corresponding is protected The method depositing duration, simple, efficiency is higher.
Additionally, due to the viewing demand of different direct broadcast bands is probably and persistently to change by user, the most right Direct broadcast band user's access frequency in the first nearest preset time period carries out adding up, and this is the most also The computing of server and storage capacity will not be caused burden.This first preset time period can be visited according to user Ask that the factors such as the overall frequency of server, server handling ability determine.
Visible, disclosure embodiment one is for each direct broadcast band, respectively according to the literary composition that this direct broadcast band is corresponding Part preserves duration and performs file deletion, so can popular degree based on direct broadcast band or significance level File corresponding to this direct broadcast band is set targetedly and preserves duration, and then delete based on this document preservation duration Except the file in respective live channel, such that it is able to improve the value to disk storage space, Jin Erti High video server performance.Further, since disclosure scheme can retain relatively important, again accessed The higher file of frequency, thus when transferring these files later, it is not necessary to regenerate or service from other Obtain at device, which improves resource utilization ratio, also improve the Experience Degree of the user of request video.
Embodiment two
It is illustrated in figure 2 the schematic flow sheet of a kind of file management method that disclosure embodiment two provides, bag Include following steps:
S201, determine that the file that different direct broadcast band is the most corresponding preserves duration.
S202, for arbitrary direct broadcast band, when the preservation duration of the arbitrary file broadcasted at this direct broadcast band surpasses Cross file corresponding to this direct broadcast band and preserve duration, and any of the above-described file is in the second nearest preset time period User's access frequency of interior correspondence, less than when setting threshold value, deletes any of the above-described file.
Specifically, for arbitrary direct broadcast band, when the preservation duration of the arbitrary file broadcasted at this direct broadcast band Exceed file corresponding to this direct broadcast band when preserving duration, illustrate that this document is accessed for probability pole again Low, it can be deleted, it is to avoid it holds over the disk storage space of server.
In some cases, it is also possible to due to user to partial document viewing demand change, cause user to exist Certain time period the most repeatedly access portion file.Now, above-mentioned file is in the second nearest preset time period User's access frequency of interior correspondence may be higher.
Therefore, in addition to determining the file of correspondence respectively for different direct broadcast band entirety and preserving duration, it is preferred that A unification can also be determined for this user's access frequency in the second nearest preset time period of file Setting threshold value.Even if the duration that preserves of a certain file exceedes the file preservation that its affiliated direct broadcast band is corresponding Duration, as long as this document user's access frequency of correspondence in the second nearest preset time period is not less than this and sets Determine threshold value, the most still can retain this document, it not deleted;Only surpass when the preservation duration of a certain file Crossing file corresponding to its described direct broadcast band and preserve duration, this document is at the second nearest Preset Time simultaneously When user's access frequency corresponding in section is also less than this setting threshold value, just this document is deleted, thus anti- Only the storage time is longer and file of the recent repeated accesses of user is deleted by mistake.Above-mentioned second preset time period and upper State setting threshold value to determine according to factors such as the overall frequency of user access server, it is however generally that, above-mentioned Second preset time period can be less than above-mentioned first preset time period.
Visible, disclosure embodiment two is for each file, respectively in connection with the direct broadcast band pair belonging to this document The file answered preserves user's access frequency that duration and this document are corresponding in the second nearest preset time period, Perform file to delete, such that it is able to retain valuable document as far as possible, to improve disk storage space Value, and then improve video server performance.Due to can retain relatively important, again accessed The higher file of frequency, thus when transferring these files later, it is not necessary to regenerate or service from other Obtain at device, which improves resource utilization ratio, also improve the Experience Degree of the user of request video.
Embodiment three
It is illustrated in figure 3 the schematic flow sheet of a kind of file management method that disclosure embodiment three provides, bag Include following steps:
S301, determine that at least one file that each direct broadcast band is respectively corresponding preserves duration.
S302, when broadcasting after any of the above-described file at this direct broadcast band, determine that the file of any of the above-described file is excellent First level;According to this arbitrary file File Privilege in this direct broadcast band, from this direct broadcast band corresponding to Few a kind of file preserves in duration, determines that the file that any of the above-described file is corresponding preserves duration.
S303, exceed file corresponding to this arbitrary file determined and preserve when the duration that preserves of any of the above-described file After duration, delete any of the above-described file.
Specifically, each direct broadcast band can be determined respectively, and more than one file preserves duration, and each Inside direct broadcast band, file is determined different File Privileges, according to this document priority, file is corresponded to Different files preserves duration, to realize in same direct broadcast band, and the file that File Privilege is higher, its Preserving duration longer, the file that File Privilege is relatively low, it is shorter that it preserves duration, thus fully reflect and expire The foot user viewing demand to files different in direct broadcast band, promotes Consumer's Experience.
For example, it is possible to the file in each direct broadcast band, whether hot topic makes a distinction, and popular file is by user The probability of repeated accesses is higher, thus may determine that higher File Privilege, and corresponding longer file is protected Deposit duration;The probability that non-popular file is repeated by the user access is relatively low, thus may determine that relatively low file Priority, corresponding relatively low file preserves duration.Further, it is also possible to the user interface in file broadcasting is use Family arranges the button of " liking ", and the file being lighted " liking " button by user may determine that the highest file Priority, the longest corresponding file preserves duration.Above two scheme is merely illustrative, can be separately from, Can also merge use, it is also possible to use other schemes to implement, therefore above-described embodiment does not cause this The restriction of the open scheme provided.
Visible, disclosure embodiment three, for each direct broadcast band, determines that this direct broadcast band is corresponding extremely respectively Few a kind of file preserves duration, and determines this according to the File Privilege of file arbitrary in this direct broadcast band The file that one file is corresponding preserves duration, performs file and deletes, such that it is able to improve disk storage space Value, and then improve video server performance.Further, since disclosure scheme can retain relatively The file that frequency important, that again accessed is higher, thus when transferring these files later, it is not necessary to weight Newly-generated or at other server obtain, which improves resource utilization ratio, also improve request The Experience Degree of the user of video.
Embodiment four
It is illustrated in figure 4 the schematic flow sheet of a kind of file management method that disclosure embodiment four provides, bag Include following steps:
S401, determine that at least one file that each direct broadcast band is respectively corresponding preserves duration.
S402, when broadcasting after any of the above-described file at this direct broadcast band, determine that the file of any of the above-described file is excellent First level;According to this arbitrary file File Privilege in this direct broadcast band, from this direct broadcast band corresponding to Few a kind of file preserves in duration, determines that the file that any of the above-described file is corresponding preserves duration.
S403, exceed file corresponding to this arbitrary file determined and preserve when the duration that preserves of any of the above-described file Duration, and the user's access frequency corresponding in the second nearest preset time period of any of the above-described file is less than setting When determining threshold value, delete any of the above-described file.
Each direct broadcast band is determined respectively, and more than one file preserves the embodiment of duration, file can be protected The determination depositing duration refine in a few class files within each direct broadcast band;Meanwhile, for file itself User's access frequency determines the embodiment of a unified setting threshold value, can be more specifically for a certain literary composition Part, it is determined whether file determined by Yi Ju preserves duration and deletes it.It is thus preferable to, permissible The scheme that the two embodiment provides is combined, accesses the file in each direct broadcast band for user further Carry out intelligent customization, promote Consumer's Experience.
Visible, disclosure embodiment four, for each direct broadcast band, determines this direct broadcast band correspondence at least respectively A kind of file preserves duration, and determines that this is arbitrary according to the File Privilege of file arbitrary in this direct broadcast band The file that file is corresponding preserves duration;Meanwhile, for each file, live respectively in connection with belonging to this document The file that channel is corresponding preserves duration and this document user corresponding in the second nearest preset time period and visits Ask frequency, perform file and delete, such that it is able to improve the value to disk storage space, Jin Erti High video server performance.Further, since disclosure scheme can retain relatively important, again accessed The higher file of frequency, thus when transferring these files later, it is not necessary to regenerate or service from other Obtain at device, which improves resource utilization ratio, also improve the Experience Degree of the user of request video.
Embodiment five
It is illustrated in figure 5 the structural representation of a kind of document management apparatus that disclosure embodiment five provides, bag Include:
Determine unit 501, for determining that the file that different direct broadcast band is the most corresponding preserves duration;
Delete unit 502, for for arbitrary direct broadcast band, when the arbitrary file broadcasted at this direct broadcast band The duration that preserves exceed after file corresponding to this direct broadcast band preserve duration, delete described arbitrary file.
Further, it is determined that unit 501, specifically for according to the file broadcasted respectively at different direct broadcast bands Content, determines that the file that different direct broadcast band is the most corresponding preserves duration.
Further, it is determined that unit 501, specifically for basis in the first nearest preset time period, no With user's access frequency that direct broadcast band is the most corresponding, determine that the file that different direct broadcast band is the most corresponding preserves Duration.
Further, it is determined that unit 501, specifically for determining at least the one of each direct broadcast band correspondence respectively Plant file and preserve duration;
Delete unit 502, be additionally operable to after broadcasting described arbitrary file at this direct broadcast band, determine described appointing The File Privilege of one file;According to this arbitrary file File Privilege in this direct broadcast band, straight from this Broadcast at least one file corresponding to channel to preserve in duration, determine when the file that described arbitrary file is corresponding preserves Long;
Delete unit 502, exceed, specifically for the duration that preserves when described arbitrary file, this arbitrary literary composition determined After the file that part is corresponding preserves duration, delete described arbitrary file.
Further, delete unit 502, specifically for as the guarantor of the arbitrary file broadcasted at this direct broadcast band Deposit duration to exceed file corresponding to this direct broadcast band and preserve duration, and described arbitrary file is nearest second pre- If user's access frequency corresponding in the time period is less than when setting threshold value, delete described arbitrary file.
In sum, in the scheme that disclosure embodiment provides, it is first determined go out different direct broadcast band respectively Corresponding file preserves duration;For each direct broadcast band, protect according to the file that this direct broadcast band is corresponding respectively Deposit duration and delete to perform file, such that it is able to improve the value to disk storage space, and then improve Video server performance.Further, since disclosure scheme can retain relatively important, again accessed The file that frequency is higher, thus when transferring these files later, it is not necessary to regenerate or from other server Place obtains, and which improves resource utilization ratio, also improves the Experience Degree of the user of request video.
Those skilled in the art are it should be appreciated that embodiment of the disclosure the method that can be provided as, system or meter Calculation machine program product.Therefore, the disclosure can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the disclosure can use wherein wraps one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory, CD-ROM, optical memory etc.) form of the upper computer program implemented.
The disclosure is with reference to method, equipment (system) and the computer program product according to disclosure embodiment The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and/ Or the flow process in each flow process in block diagram and/or square frame and flow chart and/or block diagram and/or square frame Combination.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedded processing The processor of machine or other programmable data processing device is to produce a machine so that by computer or its The instruction that the processor of his programmable data processing device performs produces for realizing in one flow process of flow chart Or the device of specific function in multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart Specific function in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of specific function in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although having been described for preferred embodiment of the present disclosure, but those skilled in the art once know base This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of disclosure scope.
Obviously, those skilled in the art can carry out various change and modification to disclosure embodiment and not take off Spirit and scope from disclosure embodiment.So, if these amendments of disclosure embodiment and modification belong to Within the scope of disclosure claim and equivalent technologies thereof, then the disclosure be also intended to comprise these change and Including modification.

Claims (10)

1. a file management method, the method includes:
Determine that the file that different direct broadcast band is the most corresponding preserves duration;
For arbitrary direct broadcast band, when the preservation duration of the arbitrary file broadcasted at this direct broadcast band, to exceed this straight After broadcasting the file preservation duration that channel is corresponding, delete described arbitrary file.
The most the method for claim 1, wherein the file that different direct broadcast band is the most corresponding is determined Preserve duration, including:
According to the file content broadcasted respectively at different direct broadcast bands, determine different direct broadcast band correspondence respectively File preserves duration.
The most the method for claim 1, wherein the file that different direct broadcast band is the most corresponding is determined Preserve duration, including:
According in the first nearest preset time period, the user that different direct broadcast bands are corresponding respectively accesses frequency Rate, determines that the file that different direct broadcast band is the most corresponding preserves duration.
4. the method as described in claims 1 to 3 is arbitrary, wherein, described determines that different direct broadcast band is respectively Corresponding file preserves duration, comprises determining that at least one file that each direct broadcast band is the most corresponding preserves Duration;
Before the described arbitrary file of described deletion, also include:
After broadcasting described arbitrary file at this direct broadcast band, determine the File Privilege of described arbitrary file; According to this arbitrary file File Privilege in this direct broadcast band, from corresponding at least one of this direct broadcast band File preserves in duration, determines that the file that described arbitrary file is corresponding preserves duration;
The described arbitrary file of described deletion, including:
When the duration that preserves of described arbitrary file exceedes the file preservation duration that this arbitrary file determined is corresponding After, delete described arbitrary file.
5. the method as described in Claims 1 to 4 is arbitrary, wherein, arbitrary when broadcast at this direct broadcast band After the preservation duration of file exceedes the file preservation duration that this direct broadcast band is corresponding, delete described arbitrary file, Including:
When the duration that preserves of the arbitrary file broadcasted at this direct broadcast band exceedes the file that this direct broadcast band is corresponding Preserve duration, and described arbitrary file user's access frequency of correspondence in the second nearest preset time period is low In time setting threshold value, delete described arbitrary file.
6. a document management apparatus, including:
Determine unit, for determining that the file that different direct broadcast band is the most corresponding preserves duration;
Delete unit, for for arbitrary direct broadcast band, as the guarantor of the arbitrary file broadcasted at this direct broadcast band Deposit duration and exceed after file corresponding to this direct broadcast band preserve duration, delete described arbitrary file.
7. device as claimed in claim 6, wherein, described determines unit, specifically for according to not The file content broadcasted respectively with direct broadcast band, determines when the file that different direct broadcast band is the most corresponding preserves Long.
8. device as claimed in claim 6, wherein, described determines unit, specifically for according to In the first near preset time period, user's access frequency that different direct broadcast bands are the most corresponding, determine different straight Broadcast file corresponding to channel and preserve duration.
9. the device as described in as arbitrary in claim 6~8, wherein, described determines unit, specifically for really At least one file that fixed each direct broadcast band is the most corresponding preserves duration;
Described deletion unit, is additionally operable to after broadcasting described arbitrary file at this direct broadcast band, determines described appointing The File Privilege of one file;According to this arbitrary file File Privilege in this direct broadcast band, straight from this Broadcast at least one file corresponding to channel to preserve in duration, determine when the file that described arbitrary file is corresponding preserves Long;
Described deletion unit, exceedes, specifically for the duration that preserves when described arbitrary file, this arbitrary literary composition determined After the file that part is corresponding preserves duration, delete described arbitrary file.
10. the device as described in as arbitrary in claim 6~9, wherein, described deletion unit, specifically for working as Arbitrary file that this direct broadcast band broadcasts preserve duration exceed file corresponding to this direct broadcast band preserve time Grow, and described arbitrary file user's access frequency of correspondence in the second nearest preset time period is less than and sets During threshold value, delete described arbitrary file.
CN201610262862.0A 2016-04-25 2016-04-25 File management method and apparatus Pending CN105975484A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610262862.0A CN105975484A (en) 2016-04-25 2016-04-25 File management method and apparatus
PCT/CN2016/099913 WO2017185605A1 (en) 2016-04-25 2016-09-23 File management method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610262862.0A CN105975484A (en) 2016-04-25 2016-04-25 File management method and apparatus

Publications (1)

Publication Number Publication Date
CN105975484A true CN105975484A (en) 2016-09-28

Family

ID=56994634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610262862.0A Pending CN105975484A (en) 2016-04-25 2016-04-25 File management method and apparatus

Country Status (2)

Country Link
CN (1) CN105975484A (en)
WO (1) WO2017185605A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886600A (en) * 2017-02-28 2017-06-23 深圳市金立通信设备有限公司 A kind of file management method and terminal
CN108228357A (en) * 2018-01-22 2018-06-29 维沃移动通信有限公司 A kind of memory method for cleaning and mobile terminal
CN109218793A (en) * 2018-11-30 2019-01-15 北京微播视界科技有限公司 Video loading method, device, electronic equipment and computer readable storage medium
CN109903578A (en) * 2019-03-20 2019-06-18 安徽宽广科技有限公司 A kind of Vehicular video monitoring alarm system based on Internet of Things
CN110413587A (en) * 2019-06-26 2019-11-05 苏州浪潮智能科技有限公司 A kind of method and apparatus of aging history data
CN111093094A (en) * 2019-12-03 2020-05-01 深圳市万佳安物联科技股份有限公司 Video transcoding method, device and system, electronic equipment and readable storage medium
CN115359397A (en) * 2022-08-17 2022-11-18 北京博宏科元信息科技有限公司 Radio frequency video fusion data management method and device and computer equipment
CN116737676A (en) * 2023-08-15 2023-09-12 中移(苏州)软件技术有限公司 File storage method, device, electronic equipment and readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949921A (en) * 2021-08-31 2022-01-18 上海二三四五网络科技有限公司 Control method and control device for short video cache cleaning

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458282A (en) * 2012-06-05 2013-12-18 腾讯科技(深圳)有限公司 Video live broadcast method and live broadcast device
US8831409B1 (en) * 2010-06-07 2014-09-09 Purplecomm Inc. Storage management technology
CN104506934A (en) * 2014-12-25 2015-04-08 合肥寰景信息技术有限公司 Video processing method capable of saving storage space
CN105376270A (en) * 2014-08-11 2016-03-02 腾讯科技(深圳)有限公司 Method, device and system for improving uploading efficiency

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8290342B2 (en) * 2009-04-23 2012-10-16 International Business Machines Corporation Managing digital video recorder storage for a plurality of users
CN102202231B (en) * 2011-04-21 2015-08-12 中兴通讯股份有限公司 The processing method of time shifting channel and device
US9172990B2 (en) * 2011-06-24 2015-10-27 Google Technology Holdings LLC Method and device for optimizing storage of recorded video programs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8831409B1 (en) * 2010-06-07 2014-09-09 Purplecomm Inc. Storage management technology
CN103458282A (en) * 2012-06-05 2013-12-18 腾讯科技(深圳)有限公司 Video live broadcast method and live broadcast device
CN105376270A (en) * 2014-08-11 2016-03-02 腾讯科技(深圳)有限公司 Method, device and system for improving uploading efficiency
CN104506934A (en) * 2014-12-25 2015-04-08 合肥寰景信息技术有限公司 Video processing method capable of saving storage space

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886600A (en) * 2017-02-28 2017-06-23 深圳市金立通信设备有限公司 A kind of file management method and terminal
CN108228357A (en) * 2018-01-22 2018-06-29 维沃移动通信有限公司 A kind of memory method for cleaning and mobile terminal
CN109218793A (en) * 2018-11-30 2019-01-15 北京微播视界科技有限公司 Video loading method, device, electronic equipment and computer readable storage medium
CN109903578A (en) * 2019-03-20 2019-06-18 安徽宽广科技有限公司 A kind of Vehicular video monitoring alarm system based on Internet of Things
CN110413587A (en) * 2019-06-26 2019-11-05 苏州浪潮智能科技有限公司 A kind of method and apparatus of aging history data
CN111093094A (en) * 2019-12-03 2020-05-01 深圳市万佳安物联科技股份有限公司 Video transcoding method, device and system, electronic equipment and readable storage medium
CN115359397A (en) * 2022-08-17 2022-11-18 北京博宏科元信息科技有限公司 Radio frequency video fusion data management method and device and computer equipment
CN116737676A (en) * 2023-08-15 2023-09-12 中移(苏州)软件技术有限公司 File storage method, device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
WO2017185605A1 (en) 2017-11-02

Similar Documents

Publication Publication Date Title
CN105975484A (en) File management method and apparatus
CN105956035A (en) File storage method and device
CN107241281B (en) Data processing method and device
WO2017113688A1 (en) Resource allocation method and device
KR102077149B1 (en) Method for managing memory and apparatus thereof
CN104219561A (en) Method and user equipment for cleaning offline videos
CN105046640A (en) Picture memory managing method and apparatus
CN105718272A (en) Method for restoring factory settings of terminal and terminal
CN111510959B (en) Method and equipment for deploying nRT RIC function
CN104717684A (en) WIFI mode virtual co-existence method and device
WO2024060682A1 (en) Memory management method and apparatus, memory manager, device and storage medium
CN103595736B (en) Access request treating method and apparatus in video monitoring system
CN105493537B (en) A kind of distribution method and equipment of Cell Radio Network Temporary Identifier/Identity, Cell-RNTI C-RNTI
CN103365977A (en) Storage processing method and device for data on nonvolatile storage medium
CN102970349B (en) A kind of memory load equalization methods of DHT network
CN108366133B (en) TS server scheduling method, scheduling device and storage medium
CN104968051A (en) Cell broadband up link resource distribution method and apparatus
CN105912664A (en) Method and equipment for file processing
CN112711564B (en) Merging processing method and related equipment
CN106254810A (en) A kind of video call method and device
CN105898399A (en) Video resource loading method and device and smart television
CN102625139B (en) Multilevel-storage-based network video browsing control method and system
CN103796226A (en) Network optimizing method and apparatus
CN106210781A (en) A kind of multichannel control method for playing back and system
CN114138427A (en) SLO guarantee method, SLO guarantee device, node, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160928