CN109271285A - A kind of method of file backup, equipment and computer storage medium - Google Patents
A kind of method of file backup, equipment and computer storage medium Download PDFInfo
- Publication number
- CN109271285A CN109271285A CN201811339323.8A CN201811339323A CN109271285A CN 109271285 A CN109271285 A CN 109271285A CN 201811339323 A CN201811339323 A CN 201811339323A CN 109271285 A CN109271285 A CN 109271285A
- Authority
- CN
- China
- Prior art keywords
- file
- server
- user
- validity period
- backup
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a kind of method of file backup, equipment and computer storage mediums, and wherein method includes: the file for obtaining client and uploading;It is directed to the setting of the file based on user's history behavior or user, determines the validity period of the file on the server;Store the backup file on the file to server;If the BACKUP TIME of the file on the server reaches the validity period of the file on the server, the file is deleted from backup file.This method deletes the file backed up on server without user manually, simplifies the operation for deleting backup file, improves intelligence degree.
Description
[technical field]
The present invention relates to computer application technology, in particular to a kind of method of file backup, equipment and computer
Storage medium.
[background technique]
With the popularization of intelligent terminals with the fast development of network technology, it is standby that many applications on intelligent terminal all have cloud
Part function.Cloud backup is exactly by personal data, and the data such as address list, short message, picture, video are by cloud storage with file
Mode is backed up in network-side.On the one hand cloud backup is not limited by space and equipment, without data line, another aspect Backup Data
It is safer.
It is to need to delete the file backed up on Cloud Server manually mostly in the scheme of existing cloud backup, file is put into back
Station is received, recycle bin is also required to mostly to be emptied manually again.But user's memory space usually only on Cloud Server
The file backed up on Cloud Server can be just deleted when insufficient manually, it is necessary to artificial from the numerous files backed up on Cloud Server
Identify which needs to delete, it is clear that operation is very cumbersome, and intelligence degree is low.
[summary of the invention]
In view of this, the present invention provides a kind of method of file backup, equipment and computer storage mediums, in order to letter
Change the operation for deleting backup file, improves intelligence degree.
Specific technical solution is as follows:
On the one hand, the present invention provides a kind of methods of file backup, this method comprises:
Obtain the file that client uploads;
It is directed to the setting of the file based on user's history behavior or user, determines the file on the server effective
Phase;
Store the backup file on the file to server;
If the BACKUP TIME of the file on the server reaches the validity period of the file on the server, by the text
Part is deleted from backup file.
A preferred embodiment according to the present invention, this method further include:
Obtain the setting information that the user that client is sent is directed to the file;
The setting that the file is directed to based on user's history behavior or user determines the file on the server
Validity period includes:
If the user for getting client transmission is directed to the setting information of the file, the file is directed to based on user
Setting, determine the validity period of the file on the server;Otherwise, it is based on user's history behavior, determines that the file is taking
The validity period being engaged on device.
A preferred embodiment according to the present invention, it is described to be based on user's history behavior, determine the file on the server
Validity period include:
The history access frequency of the file is directed to based on user, and/or, user's generic is to the affiliated class of the file
Other access preference determines the validity period of the file on the server.
A preferred embodiment according to the present invention is directed to the history access frequency of the file based on user, and, Yong Husuo
Belong to classification to the access preference of the file generic, determine the validity period of the file of the file on the server,
Include:
It is directed to the history access frequency of the file based on user, determines the score of document-frequency dimension;
Each class of subscriber is embodied to the Score Lists of the access preference of each file class according to preset, determines the affiliated class of user
The score of the not corresponding file generic;
The score of the corresponding file generic of score and user's generic to the document-frequency dimension into
Row weighting processing, obtains the total score of the file;
Corresponding relationship according to preset total score and between validity period determines the corresponding validity period conduct of the total score
The validity period of the file on the server.
A preferred embodiment according to the present invention is directed to the setting of the file based on user, determines that the file is taking
Business device on validity period include:
User is directed to validity period of the validity period of file setting as the file on the server.
A preferred embodiment according to the present invention includes corresponding backup file of N number of validity period on the server
Folder, N are the positive integer greater than 1;
The backup file stored on the file to server includes:
According to the validity period of the file on the server, the file is stored corresponding to the validity period on server
Backup file.
A preferred embodiment according to the present invention includes the backup file and second under the first catalogue on the server
Backup file under catalogue;It include wherein M validity period corresponding backup file under first catalogue, M is big
In 1 positive integer;
The backup file stored on the file to server includes:
If being directed to the setting of the file based on user, determine the validity period of the file on the server, then it will be described
The validity period corresponding backup file under file is stored to the first catalogue on the server;
If determining the validity period of the file on the server based on user's history behavior, the file is stored to institute
State the backup file on server under the second catalogue.
A preferred embodiment according to the present invention, the file is deleted from backup file includes:
The file is moved to recycle bin from backup file.
A preferred embodiment according to the present invention, this method further include:
After the file reaches preset duration in recycle bin, file described in permanent delet.
A preferred embodiment according to the present invention, this method further include:
The file is moved to recycle bin and before recycle bin reaches preset duration, periodically sends out to the client
Send prompting message.
A preferred embodiment according to the present invention, this method further include:
It receives the client and is directed to the recovery file request that the file is sent, then move the file from recycle bin
Move back backup file.
On the other hand, the present invention provides a kind of equipment, the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes above-mentioned method.
In another aspect, the present invention also provides a kind of storage medium comprising computer executable instructions, the computer
Executable instruction by computer processor when being executed for executing above-mentioned method.
As can be seen from the above technical solutions, the present invention can be directed to setting for file based on user's history behavior or user
It sets, determines the validity period of file on the server, if the BACKUP TIME of file on the server reaches validity period, automatically will
File is deleted from backup file.This method deletes the file backed up on server without user manually, and it is standby to simplify deletion
The operation of part file, improves intelligence degree.
[Detailed description of the invention]
Fig. 1 is the method flow diagram of file backup provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of backup file provided in an embodiment of the present invention;
Fig. 3 shows the block diagram for being suitable for the exemplary computer system/server for being used to realize embodiment of the present invention.
[specific embodiment]
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments
The present invention is described in detail.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments
The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the"
It is also intended to including most forms, unless the context clearly indicates other meaning.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate
There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three
Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection
(condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement
Or event) when " or " in response to detection (condition or event of statement) ".
Fig. 1 is the method flow diagram of file backup provided in an embodiment of the present invention, and this method is executed by server end, is executed
Main body can be the application positioned at server end, or can also be the plug-in unit in the application of server end or software development
The functional units such as kit (Software Development Kit, SDK), the embodiment of the present invention is to this without especially limiting
It is fixed.As shown in fig. 1, this method mainly comprises the steps that
In 101, the file that client uploads is obtained.
Wherein client runs on intelligent terminal, the present embodiments relate to intelligent terminal can include but is not limited to:
Intelligent mobile terminal, smart home device, the network equipment, wearable device, intelligent medical equipment, PC (personal computer)
Deng.Wherein Intelligent mobile equipment may include such as mobile phone, tablet computer, laptop, PDA (personal digital assistant), mutually
Networking automobile etc..Smart home device may include intelligent appliance equipment, such as smart television, intelligent air condition, intelligent water heater,
Intelligent refrigerator, Intelligent air purifier etc., smart home device can also include intelligent door lock, intelligent socket, intelligent electric lamp,
Intelligent camera head etc..The network equipment may include interchanger, wireless aps, server etc..Wearable device may include
Such as smartwatch, intelligent glasses, Intelligent bracelet, virtual reality device, augmented reality equipment, mixed reality equipment (can
The equipment for supporting virtual reality and augmented reality) etc..Intelligent medical equipment may include such as intelligent thermometer, intelligent blood pressure
Instrument, Intelligent blood sugar instrument etc..
In embodiments of the present invention, the file that client uploads can be the file that user locally selects from intelligent terminal,
Such as user locally selects the file to be uploaded from intelligent terminal either manually or by the interface of client.It is also possible to the client period
Property the local new file that uploads, such as user can be set client periodically to upload local new file or client silent
Recognize and periodically uploads local new file.
Client can send file backup request to server end, wrap in this document backup request in upper transmitting file
Containing the file to be uploaded.
In 102, it is directed to the setting of the file based on user's history behavior or user, determines the file in server
On validity period.
In embodiments of the present invention, the validity period of file on the server can be determined based on user's history behavior, it can also
To be directed to the setting of file based on user, the validity period of file on the server is determined.
As an alternative embodiment, if the user for getting client transmission is directed to the setting information of this document,
It is then directed to the setting of this document based on user, determines the validity period of this document on the server;Otherwise, it is based on user's history row
To determine the validity period of this document on the server.
Wherein, client other than comprising the file to be uploaded, can also be wrapped when sending file backup request
The setting information of this document is directed to containing user.That is, user is when selecting the file to be uploaded on client end interface, it can be with
Provide a user selectable validity period on client end interface simultaneously, for example, 3 months, 6 months, 1 year, it is permanent, etc., user
Therefrom select a validity period as setting information;User can also the voluntarily validity period of input file on the server setting
Information.In addition, the setting information can also be asked other than sending in file backup request together with file by two
It asks and sends respectively, the present invention is without restriction to this.
It wherein, can be direct when determining the validity period of the file on the server for the setting of file based on user
User is directed to validity period of the validity period of file setting as the file on the server.
It is being based on user's history behavior, when determining the validity period of file on the server, this article can be directed to based on user
The history access frequency of part, and/or, user's generic determines that this document is taking to the access preference of this document generic
The validity period being engaged on device.
Below with based on user for file history access frequency and user's generic to this document generic
Preference is accessed, determines and is described in detail for the validity period of file on the server.The process may comprise steps of S1
~S4:
S1, the history access frequency that the file is directed to based on user, determine the score of document-frequency dimension.
Wherein user refers to uploading the user of this document.User is higher to the history access frequency of this document, this document
Document-frequency dimension score it is higher.Access frequency of the user to this document can also be carried out respectively according to each time phase
Statistics, then the weight according to each time phase, is weighted processing to the statistical value of each time phase, obtains document-frequency temperature
The score of degree.For example, the number that user goes over 3 months access this documents is obtained, by this 3 every months pair in the middle of the month as unit of the moon
The access times of this document are weighted processing, wherein the current closer moon corresponding weight of distance is higher.
Wherein, above-mentioned weighting processing can be using modes such as weighted sum, weighting averagings.
S2, each class of subscriber is embodied to the Score Lists of the access preference of each file class according to preset, determine user institute
Belong to the score of the corresponding file generic of classification.
It can preset and safeguard the Score Lists of the corresponding each file class of a class of subscriber, wherein class of subscriber can
To classify according to user property, such as foundation gender, occupation, region etc. are classified.File class may include picture,
Video, address list etc..The Score Lists embody each class of subscriber to the access preference of each file class, can be according to user behavior day
User of all categories determines score according to statistical result to the access frequency of all types of files in will statistics setting duration.Wherein
If the user of certain classification is higher to the access frequency of certain category file, the score which corresponds to this document classification is got over
It is high.
Example for a Score Lists is as follows:
Table 1
Class of subscriber | File class | Score Lists |
Male | Picture | 0.3 |
Women | Picture | 0.7 |
Male | Video | 0.3 |
Women | Video | 0.7 |
IT practitioner | Picture | 0.4 |
Teacher | Picture | 0.6 |
… | … | … |
S3, the score of the corresponding file generic of score and user's generic of document-frequency dimension is weighted
Processing, obtains the total score of this document.
Wherein, the score weight of the score weight of document-frequency dimension and the corresponding file generic of user's generic
It can empirically be worth and be configured, also can be adjusted according to the actual situation.
S4, the corresponding relationship according to preset total score and between validity period determine the total score corresponding validity period
As the validity period of this document on the server.
Wherein in the above correspondence relationship, total score more high corresponding validity period is longer.For example, it can safeguard such as
Corresponding relationship shown in following table:
Table 2
Total score | Validity period |
0.1 | 1 month |
0.2 | 2 months |
0.3 | 3 months |
0.4 | 4 months |
0.5 | 5 months |
0.6 | 6 months |
0.7 | 7 months |
… | … |
In 103, backup file in storage file to server, and record the validity period of file on the server.
It can be directed to the memory space of each user setting certain capacity respectively, which can be automatically user point
Match, can also be carried out by user purchase and it is customized.
As an alternative embodiment, may include corresponding backup file of N number of validity period on server,
N is the positive integer greater than 1;In this step can according to the validity period of the file on the server, by the file store to
The validity period corresponding backup file on server.
Such as it is provided with the corresponding backup file of the validity periods such as 1 month, 3 months, 6 months, 1 year, it will be by 3 months effectively
The file of phase is put into 3 months validity periods corresponding backup file, then the storage time according to each file in backup file,
This document is deleted from the backup file when reaching 3 months validity periods.
As another optional embodiment, it on server may include under the first catalogue backup file and second
Backup file under catalogue.In embodiments of the present invention, the first catalogue can be backup catalogue, and the second catalogue can be
Auto catalogue.It wherein include M validity period corresponding backup file under the backup catalogue, M is just whole greater than 1
Number.In this step, if being directed to the setting of file based on user, the validity period of file on the server is determined, then by this document
The validity period corresponding backup file under storing to backup catalogue on server.
If determining the validity period of file on the server based on user's history behavior, this document is stored to server
Backup file under auto catalogue.Each file has respective validity period respectively in backup file under auto catalogue.
Such as shown in Fig. 2, it is corresponding that the validity periods such as 1 month, 3 months, 6 months, 1 year are arranged in backup catalogue
A backup file is only arranged in backup file under auto catalogue, and the file in the backup file has respective respectively
Validity period.
In addition, a kind of special validity period can also be arranged in user, i.e., permanently.Or it is directed to certain types of important text
Part sets permanent for its validity period automatically in server end.As an alternative embodiment, there may be validity periods to be
Permanent backup file, the file that stores will not be automatically left out in this document folder, unless user is deleted manually.
The setting of above-mentioned multiple backup files can be convenient user to the file backed up in server end carry out inquiry and
Management etc., it is of course also possible to which a backup file can only be arranged in the memory space, All Files all store standby to this
Part file.
In 104, if the BACKUP TIME of file on the server reaches the validity period of this document on the server, by this article
Part is deleted from backup file.
In this step, this document can be moved to recycle bin from backup file.Process in the present embodiment at this time
It may further include:
In 105, file is moved to recycle bin and reaches between preset duration in recycle bin, can be periodically to client
End sends prompting message.
For example, prompting message can be sent to user every other week after file is moved into recycle bin, prompting message
Template can use: " it is entitled _ _ _ file by transfer recycle bin, will be permanently deleted there are also _ _ day ".
In this way, user is after receiving prompting message, so that it may decide whether also to need to continue backup this document.If user
Think that certain Documents Comparison is important, it is also necessary to continue to back up, then can send by client and restore file request.
If file, during recycle bin, received server-side to client is directed to the recovery file request that this document is sent, then may be used
This document is moved back to backup file from recycle bin.
In 106, after file reaches preset duration in recycle bin, permanent delet this document.
Since the memory space in server end being usually user's distribution is certain, such as 500M, when memory space is complete
Portion is occupied full, then can not continue to store.When memory space has been expired, server end, which can send memory space to client, has expired
Prompting message, while can prompt the user whether carry out dilatation.If user selects dilatation, can be expanded by modes such as payments
Memory space of the large user in server end.Alternatively, user also can choose the file for deleting server end backup manually, such as
The file in recycle bin is deleted, or deletes the file in backup file.
In conclusion mode provided by above method embodiment can have following advantages:
1) it can be directed to the setting of file based on user's history behavior or user, determine file on the server effective
Phase automatically deletes file if the BACKUP TIME of file on the server reaches validity period from backup file.This method
It deletes the file backed up on server manually without user, simplifies the operation for deleting backup file, improve intelligence degree.
2) validity period of the file that the setting for being directed to file based on user is determined on the server, than relatively straightforward embodiment
BACKUP TIME of the user to this document out.And the validity period of the file determined based on user's history behavior on the server, energy
It is enough to meet user as far as possible to the requirements for access degree of this document.No matter which kind of mode is used, all to delete backup file
Intelligence degree is higher.
3) corresponding backup file, more convenient user is respectively set for the different validity periods of file on the server
Backup file on server is inquired and managed.
4) it for the prompting message of file in recycle bin, allows users to understand the text that will be permanently deleted in time
Part determines whether to continue backup this document.
Fig. 3 shows the block diagram for being suitable for the exemplary computer system/server for being used to realize embodiment of the present invention.Figure
The computer system/servers 012 of 3 displays are only an example, should not function and use scope to the embodiment of the present invention
Bring any restrictions.
As shown in figure 3, computer system/server 012 is showed in the form of universal computing device.Computer system/clothes
The component of business device 012 can include but is not limited to: one or more processor or processing unit 016, system storage
028, connect the bus 018 of different system components (including system storage 028 and processing unit 016).
Bus 018 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer system/server 012 typically comprises a variety of computer system readable media.These media, which can be, appoints
The usable medium what can be accessed by computer system/server 012, including volatile and non-volatile media, movably
With immovable medium.
System storage 028 may include the computer system readable media of form of volatile memory, such as deposit at random
Access to memory (RAM) 030 and/or cache memory 032.Computer system/server 012 may further include other
Removable/nonremovable, volatile/non-volatile computer system storage medium.Only as an example, storage system 034 can
For reading and writing immovable, non-volatile magnetic media (Fig. 3 do not show, commonly referred to as " hard disk drive ").Although in Fig. 3
It is not shown, the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, and to can
The CD drive of mobile anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these situations
Under, each driver can be connected by one or more data media interfaces with bus 018.Memory 028 may include
At least one program product, the program product have one group of (for example, at least one) program module, these program modules are configured
To execute the function of various embodiments of the present invention.
Program/utility 040 with one group of (at least one) program module 042, can store in such as memory
In 028, such program module 042 includes --- but being not limited to --- operating system, one or more application program, other
It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey
Sequence module 042 usually executes function and/or method in embodiment described in the invention.
Computer system/server 012 can also with one or more external equipments 014 (such as keyboard, sensing equipment,
Display etc.) communication, in the present invention, computer system/server 012 is communicated with external radar equipment, can also be with one
It is a or it is multiple enable a user to the equipment interacted with the computer system/server 012 communication, and/or with make the calculating
Any equipment (such as network interface card, the modulatedemodulate that machine systems/servers 012 can be communicated with one or more of the other calculating equipment
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 022.Also, computer system/service
Device 012 can also by network adapter 020 and one or more network (such as local area network (LAN), wide area network (WAN) and/
Or public network, such as internet) communication.As shown, network adapter 020 passes through bus 018 and computer system/service
Other modules of device 012 communicate.It should be understood that can be used in conjunction with computer system/server 012 although being not shown in Fig. 3
Other hardware and/or software module, including but not limited to: microcode, device driver, redundant processing unit, external disk drive
Dynamic array, RAID system, tape drive and data backup storage system etc..
Processing unit 016 by the program that is stored in system storage 028 of operation, thereby executing various function application with
And data processing, such as realize method flow provided by the embodiment of the present invention.
Above-mentioned computer program can be set in computer storage medium, i.e., the computer storage medium is encoded with
Computer program, the program by one or more computers when being executed, so that one or more computers execute in the present invention
State method flow shown in embodiment and/or device operation.For example, it is real to execute the present invention by said one or multiple processors
Apply method flow provided by example.
With time, the development of technology, medium meaning is more and more extensive, and the route of transmission of computer program is no longer limited by
Tangible medium, can also be directly from network downloading etc..It can be using any combination of one or more computer-readable media.
Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer-readable storage medium
Matter for example may be-but not limited to-system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or
Any above combination of person.The more specific example (non exhaustive list) of computer readable storage medium includes: with one
Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM),
Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light
Memory device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium can
With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
Person is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium other than computer readable storage medium, which can send, propagate or
Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN) is connected to subscriber computer, or, it may be connected to outer computer (such as provided using Internet service
Quotient is connected by internet).
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.
Claims (13)
1. a kind of method of file backup, which is characterized in that this method comprises:
Obtain the file that client uploads;
It is directed to the setting of the file based on user's history behavior or user, determines the validity period of the file on the server;
Store the backup file on the file to server;
If the BACKUP TIME of the file on the server reaches the validity period of the file on the server, by the file from
It is deleted in backup file.
2. the method according to claim 1, wherein this method further include:
Obtain the setting information that the user that client is sent is directed to the file;
The setting that the file is directed to based on user's history behavior or user determines the file on the server effective
Phase includes:
If the user for getting client transmission is directed to the setting information of the file, based on user's setting for the file
It sets, determines the validity period of the file on the server;Otherwise, it is based on user's history behavior, determines the file in server
On validity period.
3. method according to claim 1 or 2, which is characterized in that it is described to be based on user's history behavior, determine the file
Validity period on the server includes:
The history access frequency of the file is directed to based on user, and/or, user's generic is to the file generic
Preference is accessed, determines the validity period of the file on the server.
4. according to the method described in claim 3, it is characterized in that, based on user be directed to the file history access frequency,
With user's generic determines the file of the file on the server to the access preference of the file generic
Validity period, comprising:
It is directed to the history access frequency of the file based on user, determines the score of document-frequency dimension;
Each class of subscriber is embodied to the Score Lists of the access preference of each file class according to preset, determines user's generic pair
The score for the file generic answered;
The score of the corresponding file generic of score and user's generic to the document-frequency dimension adds
Power processing, obtains the total score of the file;
Corresponding relationship according to preset total score and between validity period determines described in the corresponding validity period conduct of the total score
The validity period of file on the server.
5. the method according to claim 1, wherein the setting of the file is directed to based on user, described in determination
The validity period of file on the server includes:
User is directed to validity period of the validity period of file setting as the file on the server.
6. the method according to claim 1, wherein corresponding including N number of validity period on the server
Backup file, N are the positive integer greater than 1;
The backup file stored on the file to server includes:
According to the validity period of the file on the server, the file is stored to the validity period corresponding backup on server
File.
7. method according to claim 1 or 2, which is characterized in that include the backup under the first catalogue on the server
Backup file under file and the second catalogue;It wherein include the corresponding backup of M validity period under first catalogue
File, M are the positive integer greater than 1;
The backup file stored on the file to server includes:
If being directed to the setting of the file based on user, the validity period of the file on the server is determined, then by the file
The validity period corresponding backup file under storing to the first catalogue on the server;
If determining the validity period of the file on the server based on user's history behavior, the file is stored to the clothes
Backup file on business device under the second catalogue.
8. according to claim 1, method described in 6 or 7, which is characterized in that the file is deleted to packet from backup file
It includes:
The file is moved to recycle bin from backup file.
9. according to the method described in claim 8, it is characterized in that, this method further include:
After the file reaches preset duration in recycle bin, file described in permanent delet.
10. according to the method described in claim 8, it is characterized in that, this method further include:
The file is moved to recycle bin and before recycle bin reaches preset duration, periodically mentions to client transmission
Show message.
11. according to the method described in claim 8, it is characterized in that, this method further include:
It receives the client and is directed to the recovery file request that the file is sent, then move back to the file from recycle bin
Backup file.
12. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now method as described in any in claim 1-11.
13. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal
For executing the method as described in any in claim 1-11 when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811339323.8A CN109271285B (en) | 2018-11-12 | 2018-11-12 | File backup method, equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811339323.8A CN109271285B (en) | 2018-11-12 | 2018-11-12 | File backup method, equipment and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109271285A true CN109271285A (en) | 2019-01-25 |
CN109271285B CN109271285B (en) | 2022-05-27 |
Family
ID=65193006
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811339323.8A Active CN109271285B (en) | 2018-11-12 | 2018-11-12 | File backup method, equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109271285B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413448A (en) * | 2019-06-28 | 2019-11-05 | 苏州浪潮智能科技有限公司 | A kind of cloud host backup method and apparatus |
CN110502370A (en) * | 2019-08-21 | 2019-11-26 | 无锡华云数据技术服务有限公司 | A kind of method of automatic cleaning backup object |
CN111176906A (en) * | 2020-01-02 | 2020-05-19 | 无锡华云数据技术服务有限公司 | Automatic cleaning method for backup data |
CN113010350A (en) * | 2021-03-23 | 2021-06-22 | 中国联合网络通信集团有限公司 | Cloud photo album processing method and device, computer equipment and storage medium |
CN114036000A (en) * | 2021-10-19 | 2022-02-11 | 航天信息股份有限公司 | File backup and cleaning method and system suitable for PostgreSQL master and standby environment |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047761A (en) * | 2006-03-30 | 2007-10-03 | 村田机械株式会社 | Server device with certificate revocation list acquiring function |
CN101107874A (en) * | 2005-01-21 | 2008-01-16 | 松下电器产业株式会社 | Backup system, relay device, information terminal, and backup device |
CN102236588A (en) * | 2010-04-23 | 2011-11-09 | 阿里巴巴集团控股有限公司 | Remote data backup method, equipment and system |
CN103513956A (en) * | 2012-06-26 | 2014-01-15 | 阿里巴巴集团控股有限公司 | Data processing method and device of processor |
US20150039564A1 (en) * | 2011-04-08 | 2015-02-05 | International Business Machines Corporation | Reusing Snapshots in a Network Data Management Protocol Backup Operation |
CN104657494A (en) * | 2015-03-06 | 2015-05-27 | 四川智羽软件有限公司 | Access method for website database |
CN104951971A (en) * | 2015-05-22 | 2015-09-30 | 腾讯科技(北京)有限公司 | Information displaying system, method and device |
CN105575412A (en) * | 2014-10-30 | 2016-05-11 | 三星电子株式会社 | Method and electronic device for storing audio data |
US20160156477A1 (en) * | 2014-11-27 | 2016-06-02 | International Business Machines Corporation | Managing time-dependent electronic files |
CN106570163A (en) * | 2016-11-07 | 2017-04-19 | 深圳市任子行科技开发有限公司 | Unreliable environment-oriented audit log read-write managing method and system |
CN107251040A (en) * | 2014-12-24 | 2017-10-13 | 迈克菲股份有限公司 | Mechanism for automatically creating and accessing the personal cloud data of preference |
CN107911711A (en) * | 2017-10-24 | 2018-04-13 | 北京邮电大学 | A kind of edge cache for considering subregion replaces improved method |
-
2018
- 2018-11-12 CN CN201811339323.8A patent/CN109271285B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101107874A (en) * | 2005-01-21 | 2008-01-16 | 松下电器产业株式会社 | Backup system, relay device, information terminal, and backup device |
CN101047761A (en) * | 2006-03-30 | 2007-10-03 | 村田机械株式会社 | Server device with certificate revocation list acquiring function |
CN102236588A (en) * | 2010-04-23 | 2011-11-09 | 阿里巴巴集团控股有限公司 | Remote data backup method, equipment and system |
US20150039564A1 (en) * | 2011-04-08 | 2015-02-05 | International Business Machines Corporation | Reusing Snapshots in a Network Data Management Protocol Backup Operation |
CN103513956A (en) * | 2012-06-26 | 2014-01-15 | 阿里巴巴集团控股有限公司 | Data processing method and device of processor |
CN105575412A (en) * | 2014-10-30 | 2016-05-11 | 三星电子株式会社 | Method and electronic device for storing audio data |
US20160156477A1 (en) * | 2014-11-27 | 2016-06-02 | International Business Machines Corporation | Managing time-dependent electronic files |
CN107251040A (en) * | 2014-12-24 | 2017-10-13 | 迈克菲股份有限公司 | Mechanism for automatically creating and accessing the personal cloud data of preference |
CN104657494A (en) * | 2015-03-06 | 2015-05-27 | 四川智羽软件有限公司 | Access method for website database |
CN104951971A (en) * | 2015-05-22 | 2015-09-30 | 腾讯科技(北京)有限公司 | Information displaying system, method and device |
CN106570163A (en) * | 2016-11-07 | 2017-04-19 | 深圳市任子行科技开发有限公司 | Unreliable environment-oriented audit log read-write managing method and system |
CN107911711A (en) * | 2017-10-24 | 2018-04-13 | 北京邮电大学 | A kind of edge cache for considering subregion replaces improved method |
Non-Patent Citations (6)
Title |
---|
ZDING92: "Bat批处理备份文件夹、并删除指定日期前的过期文件夹", 《HTTPS://BLOG.CSDN.NET/U011481543/ARTICLE/DETAILS/50674094》 * |
何涛: "信息生命周期管理在电子商务中的应用", 《广东财经职业学院学报》 * |
唐耀芳: "基于生命周期的银行业数据备份管理研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
徐嬴颖: "云下载***的理论模型与存储资源分配算法研究", 《中国优秀博硕士学位论文全文数据库(博士)信息科技辑》 * |
杨娟娟: "大型数据中心数据清理的策略与方法", 《中国金融电脑》 * |
武浩: "资源共享网络中语义信息管理与检索研究", 《中国优秀博硕士学位论文全文数据库(博士)信息科技辑》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413448A (en) * | 2019-06-28 | 2019-11-05 | 苏州浪潮智能科技有限公司 | A kind of cloud host backup method and apparatus |
CN110502370A (en) * | 2019-08-21 | 2019-11-26 | 无锡华云数据技术服务有限公司 | A kind of method of automatic cleaning backup object |
CN110502370B (en) * | 2019-08-21 | 2022-03-15 | 华云数据控股集团有限公司 | Method for automatically cleaning backup object |
CN111176906A (en) * | 2020-01-02 | 2020-05-19 | 无锡华云数据技术服务有限公司 | Automatic cleaning method for backup data |
CN113010350A (en) * | 2021-03-23 | 2021-06-22 | 中国联合网络通信集团有限公司 | Cloud photo album processing method and device, computer equipment and storage medium |
CN114036000A (en) * | 2021-10-19 | 2022-02-11 | 航天信息股份有限公司 | File backup and cleaning method and system suitable for PostgreSQL master and standby environment |
Also Published As
Publication number | Publication date |
---|---|
CN109271285B (en) | 2022-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109271285A (en) | A kind of method of file backup, equipment and computer storage medium | |
KR101626474B1 (en) | Apparatus for providing document sharing service based messenger and method using the same | |
CN110417879A (en) | A kind of message treatment method, device, equipment and storage medium | |
CN109348302A (en) | Connect wheat user recommended method, device, server and storage medium in live streaming | |
CN110457544A (en) | A kind of data capture method, system, electronic equipment and storage medium | |
CN103718529A (en) | Advertisement storage method, and advertisement insertion method, apparatus and system | |
CN107426275A (en) | A kind of resource transmission method and device | |
CN105279168A (en) | Data query method supporting natural language, open platform, and user terminal | |
CN104639974B (en) | A kind of information-pushing method and device | |
CN103530313A (en) | Searching method and device of application information | |
CN110517028A (en) | Method, equipment and the computer storage medium of payment bill | |
CN109960554A (en) | Show method, equipment and the computer storage medium of reading content | |
CN110489663A (en) | A kind of social content control method, device and computer equipment | |
CN109246483A (en) | A kind of direct broadcasting room recommended method, device, equipment and storage medium | |
CN106209584A (en) | User profile processing method based on the Internet, client and server | |
CN109933254A (en) | Show method, equipment and the computer storage medium of reading content | |
CN109542680A (en) | A kind of method of file backup, equipment and computer storage medium | |
US10360600B1 (en) | Big tree method and system for verifying user reviews | |
JP2003196128A (en) | Portable information terminal, external storage device and information communication system | |
JP2000099459A (en) | Network connection system using ic card | |
CN109561212A (en) | A kind of merging method of release information, device, equipment and storage medium | |
CN104935574B (en) | A kind of application process and system of electronic ticket | |
CN112734522A (en) | Information display method and device, electronic equipment and computer readable medium | |
US8972280B2 (en) | Method and apparatus for controlling a public device | |
KR20150134087A (en) | Electronic device and method for recommending data in electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |