CN109117304A - file backup method, system and device - Google Patents
file backup method, system and device Download PDFInfo
- Publication number
- CN109117304A CN109117304A CN201810732187.2A CN201810732187A CN109117304A CN 109117304 A CN109117304 A CN 109117304A CN 201810732187 A CN201810732187 A CN 201810732187A CN 109117304 A CN109117304 A CN 109117304A
- Authority
- CN
- China
- Prior art keywords
- file
- backed
- backup device
- file backup
- data
- 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
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000005540 biological transmission Effects 0.000 claims abstract description 49
- 230000007423 decrease Effects 0.000 claims abstract description 11
- 238000012544 monitoring process Methods 0.000 claims description 25
- 230000015654 memory Effects 0.000 claims description 12
- 230000006870 function Effects 0.000 claims description 8
- 230000008859 change Effects 0.000 claims description 5
- 230000008878 coupling Effects 0.000 claims description 5
- 238000010168 coupling process Methods 0.000 claims description 5
- 238000005859 coupling reaction Methods 0.000 claims description 5
- 230000005611 electricity Effects 0.000 claims 1
- 238000010438 heat treatment Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 6
- 206010037660 Pyrexia Diseases 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000000630 rising effect Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/20—Cooling means
- G06F1/206—Cooling means comprising thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This application discloses a kind of file backup method, system and devices, this method comprises: when file backup device is connect with terminal device, during the file backup to be backed up to file backup device in terminal device, if the temperature of file backup device reaches preset temperature, the transmission speed of file backup device or reduction between the two is written in the data of first file to be backed up by pause, and the metadata of the first file to be backed up is written to the idle metadata location of file backup device;It determines the freed data blocks of the data for storing the first file to be backed up, and establishes the first file, its metadata and the first corresponding relationship between the freed data blocks for storing its data to be backed up;If the temperature of file backup device decreases below preset temperature, according to the first corresponding relationship by the write-in of the data of the first file to be backed up and corresponding freed data blocks.By the above-mentioned means, the application can rationally decompose file transmitting step, heating problem is rationally controlled, and improve efficiency of transmission.
Description
Technical field
This application involves terminal device technical fields, more particularly to a kind of file backup method, system and device.
Background technique
Currently, many file backup devices all have for terminal device charging while carrying out to the file in terminal device standby
The function of part.It is backed up in charging, this greatly increases the processor burden of file backup device, and file backup device is very easy to hair
Heat, since fever may also will lead to user in the worry of secure context, while fever is also easy to cause file backup device very much
The damage of circuit board.
Due in document transmission process, the main reason for fever is the freed data blocks write-in number into file backup device
According to caused.Because needing to change flash chip microstructure in write-in data procedures, leading to a part of electric energy rotation is heat
It can release.In the prior art, heating problem of the file backup device in backup procedure is solved, file backup device temperature is typically employed in
The mode of complete suspending file transmission is solved when spending high, until file backup device temperature is reduced to ideal temperature, then is opened
Begin to carry out file backup, this solution causes file backup to interrupt, and file backup efficiency is lower, user experience it is poor or
User is caused not understand.
Summary of the invention
The application can rationally divide mainly solving the technical problems that provide a kind of file backup method, system and device
File transmitting step is solved, rationally controls heating problem, and improve efficiency of transmission.
In order to solve the above technical problems, the technical solution that the application uses is: providing a kind of file backup method, institute
The method of stating includes: when file backup device and terminal device establish connection, by the file backup to be backed up in the terminal device
To the file backup device, the temperature of file backup device described in real-time monitoring;If monitoring the file backup device
Temperature reach preset temperature, then suspend by the data of the first of the terminal device the file to be backed up be written file backup device or
Transmission speed between file backup device and the terminal device is reduced to the first transmission speed, and by the terminal device
The idle metadata location of the file backup device is written in the metadata of first file to be backed up;According to the described first text to be backed up
The metadata of part determines the freed data blocks for storing the data of the described first file to be backed up in the file backup device,
And first the first corresponding relationship of file to be backed up is established, first first corresponding relationship of file to be backed up is described first to standby
Part file, the metadata of first file to be backed up and the sky with the data for storing the described first file to be backed up
Corresponding relationship between not busy data block;If monitoring, the temperature of the file backup device decreases below preset temperature, according to institute
State the first corresponding relationship the data write-in of the described first file to be backed up is corresponding with the data of the described first file to be backed up
Freed data blocks.
In order to solve the above technical problems, another technical solution that the application uses is: a kind of file backup system is provided,
The file backup system includes file backup device and terminal device, the file backup device include first processor, respectively with
The first memory and the first telecommunication circuit of the first processor coupling, the terminal device include second processor, difference
It is built with the second memory and the second telecommunication circuit, the file backup device of second processor coupling with the terminal device
When vertical connection, led between the file backup device and the terminal device by the first telecommunication circuit and the second telecommunication circuit
Letter, and the first processor of the file backup device controls itself and described the by first telecommunication circuit at work
One memory, the second processor of the terminal device at work by second telecommunication circuit control itself and it is described
Second memory, to realize the step in method as described above.
In order to solve the above technical problems, another technical solution that the application uses is: providing a kind of with store function
Device, be stored with program data, described program data can be performed to realize the step in method as described above.
The beneficial effect of the application is: being in contrast to the prior art, the application works as file backup device and terminal device
Connection is established, during by the file backup to be backed up in terminal device to file backup device, real-time monitoring file backup
The temperature of device;If monitoring, the temperature of file backup device reaches preset temperature, and pause is by the first of the terminal device to standby
Transmission speed between file backup device and the terminal device is reduced to the by the data write-in file backup device of part file
One transmission speed, and by the metadata of the first of terminal device the file to be backed up write-in file backup device idle metadata position
It sets;The data for storing the first file to be backed up are determined in file backup device according to the metadata of the first file to be backed up
Freed data blocks, and first the first corresponding relationship of file to be backed up is established, first the first corresponding relationship of file to be backed up is first
File to be backed up, the metadata of the first file to be backed up and the idle number with the data for storing the first file to be backed up
According to the corresponding relationship between block;If monitoring, the temperature of file backup device decreases below preset temperature, according to the first corresponding pass
Freed data blocks corresponding with the data of the first file to be backed up are written in the data of first file to be backed up by system.Due in file
In backup procedure, the temperature of real-time monitoring file backup device, if the temperature of file backup device reaches preset temperature, suspend by
The data of the file to be backed up of the first of the terminal device are written the step of file backup device or set file backup device with terminal
Transmission speed between standby is reduced to the first transmission speed, and the temperature of file backup device can be made not continue under rising instead
Drop, at this temperature drop during, continue to execute not will cause in file transmitting step file backup device temperature it is serious
Rise other steps, including writing metadata, searching the freed data blocks of storing data and establishing backup file, metadata and use
Corresponding relationship between the data of storage backup file, in this way when the temperature of file backup device decreases below preset temperature
When, the step of can directly carrying out the write-in data in file transmitting step, in this way, the text that will be carried out in sequence
Part transmission sequence step is rationally decomposed, and different steps is performed separately in different time sections, on the one hand can rationally control file
The heating problem of backup device, on the other hand rationally using the period to improve efficiency of transmission.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.Wherein:
Fig. 1 is the flow diagram of one embodiment of present specification backup method;
Fig. 2 is the structural schematic diagram of one embodiment of present specification standby system;
Fig. 3 is the structural schematic diagram for one embodiment of device that the application has store function.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, rather than whole embodiments.Based on this
Embodiment in application, those of ordinary skill in the art are obtained every other under the premise of not making creative labor
Embodiment shall fall in the protection scope of this application.
Before the application is described in detail, prior art scenario relevant to the application is first introduced.
During using file in file backup device back-up terminals equipment, when transmitting file, include the following steps:
Step 1: firstly the need of the idle metadata location for the metadata for searching write-in file in file backup device;
Step 2: in the metadata of the idle metadata location write-in file found;
Step 3: the freed data blocks of the data of write-in file are searched further according to metadata information;
Step 4: the corresponding relationship between the metadata of file and the freed data blocks of the data block of storage file is established;
Step 5: the data of this document are finally written in the freed data blocks found into the freed data blocks.
Wherein, the transmission speed of the data of this document is transmitted between terminal device and file backup device and in the free time found
It is almost the same that writing speed of the data of this document into the freed data blocks is written in data block.
The application is by during file backup, the temperature of real-time monitoring file backup device, if file backup device
Temperature reaches preset temperature, then suspends the step of the data write-in file backup device of the first of the terminal device the file to be backed up
Rapid five or the transmission speed between file backup device and the terminal device is reduced to the first transmission speed, file can be made standby
The temperature of part device does not continue to rise to be declined instead, during dropping at this temperature, is continued to execute in file transmitting step
Not will cause one the step of the temperature of file backup device seriously rises, Step 2: step 3 and step 4, including write metadata,
It searches the freed data blocks of storing data and establishes between backup file, metadata and data for storing backup file
Corresponding relationship can directly carry out file transmitting step in this way when the temperature of file backup device decreases below preset temperature
The step of write-in data in five, in this way, the file transmission sequence step carried out in sequence is rationally decomposed,
Different time sections are performed separately different steps, on the one hand can rationally control the heating problem of file backup device, on the other hand
Rationally using the period to improve efficiency of transmission.
The particular content of the application is described in detail below.
Refering to fig. 1, Fig. 1 is the flow diagram of one embodiment of present specification backup method, this method comprises:
Step S101: when file backup device and terminal device establish connection, the file to be backed up in terminal device is standby
During part to file backup device, the temperature of real-time monitoring file backup device.
Step S102: if monitoring, the temperature of file backup device reaches preset temperature, suspends the first of terminal device
The data write-in file backup device of file to be backed up reduces the transmission speed between file backup device and the terminal device
To the first transmission speed, and by the idle metadata of the metadata of the first of terminal device the file to be backed up write-in file backup device
Position.
Step S103: it is determined in file backup device according to the metadata of the first file to be backed up for storing first to standby
The freed data blocks of the data of part file, and establish first the first corresponding relationship of file to be backed up, the first file first to be backed up
Corresponding relationship be the first file to be backed up, the first file to be backed up metadata and with for storing the first file to be backed up
Data freed data blocks between corresponding relationship.
Step S104: if monitoring, the temperature of file backup device decreases below preset temperature, according to the first corresponding relationship
Freed data blocks corresponding with the data of the first file to be backed up are written into the data of first file to be backed up.
File backup device, which refers to, has the function of file backup and the external accessory device of terminal device, such as: mobile terminal
USB flash disk, mobile hard disk, the mobile charging power supply with data backup function, etc..
Connection between file backup device and terminal device can be and be connected by wired mode, such as directly passes through
The connection (such as can be USB interface) of physical port, can also wirelessly connect, such as pass through bluetooth, wifi
Etc. connection.
To refer to during file backup to be backed up to file backup device in terminal device by terminal device to
Backup file be written to file backup device during (including all processes of the above-mentioned steps one into step 5).
The temperature of file backup device can characterize the temperature of file backup device during file backup device backup file
Variation, in specific practical application, the temperature of file backup device can be the temperature of the processor of file backup device, can also be with
It is the shell temperature of file backup device or the temperature of file backup device other structures component.In one embodiment, in order not to
The too many normal configuration for influencing file backup device, and facilitate the temperature change of monitoring file backup device, select file backup device
Temperature of the shell temperature as file backup device.
Preset temperature is system or the temperature that the pre-set file backup device of user can achieve, and presets temperature when reaching this
After degree, the data of the first of terminal device the file to be backed up are written file backup device (i.e. pause above-mentioned steps five) for pause, and
The idle metadata location of the metadata write-in file backup device of the first of terminal device file to be backed up (is equivalent to and executes step
Rapid one and step 2).
Metadata (Metadata), also known as broker data, relaying data, for data (the data about for describing data
Data), the information of data attribute (property) is mainly described, for supporting as indicated storage location, historical data, resource
The functions such as lookup, file record;In other words for providing the structured data (structured for information about of certain resource
data).Metadata is the data of the objects such as description information resource or data, is using purpose: identification resource;Evaluation money
Source;Track the variation of resource in use;Realization simply and efficiently manages a large amount of networked datas;Realize information resources
Effectively discovery, lookup, integration organization and effective management to resource is used.
Data in any file system are divided into data and metadata.Data refer to the real data in ordinary file, and
Metadata refers to the system data of the feature for describing a file, such as access authority, file owner and file data
Distributed intelligence (inode...) of block etc..In cluster file system, distributed intelligence include position of the file on disk with
And the position of disk in the cluster.User needs to operate a file must obtain its metadata first, can just navigate to text
The position of part and the interior perhaps association attributes for obtaining file.
It is determined in file backup device for storing the first file to be backed up according to the metadata of the first file to be backed up
The freed data blocks (be equivalent to and execute step 3) of data, and establish first the first corresponding relationship of file to be backed up and (be equivalent to and hold
Row step 4), first the first corresponding relationship of file to be backed up be the first file to be backed up, the first file to be backed up metadata,
And the corresponding relationship between the freed data blocks of the data for storing the first file to be backed up.
If monitoring, the temperature of file backup device decreases below preset temperature, according to the first corresponding relationship by first to standby
Freed data blocks (be equivalent to and continue to execute step 5) corresponding with the data of the first file to be backed up are written in the data of part file.
In another embodiment of the present embodiment, if monitoring, the temperature of the file backup device reaches preset temperature,
The transmission speed between file backup device and the terminal device is then reduced to the first transmission speed, and by the of terminal device
The idle metadata location of the metadata write-in file backup device of one file to be backed up.Continue to execute step S103 and step
S104.Terminal device, which can continue file is transmitted to file backup device in the first transmission speed, to be backed up, aftermentioned in detail.
The application embodiment establishes connection when file backup device and terminal device, by the text to be backed up in terminal device
During part backs up to file backup device, the temperature of real-time monitoring file backup device;If monitoring the temperature of file backup device
Reach preset temperature, then suspends and file backup device is written into the data of the first of the terminal device the file to be backed up or by file
Transmission speed between backup device and the terminal device is reduced to the first transmission speed, and to be backed up by the first of terminal device
The idle metadata location of the metadata write-in file backup device of file;It is standby in file according to the metadata of the first file to be backed up
The freed data blocks of the data for storing the first file to be backed up are determined in part device, and it is right to establish the first file first to be backed up
Should be related to, first the first corresponding relationship of file to be backed up be the first file to be backed up, the first file to be backed up metadata and
Corresponding relationship between the freed data blocks of the data for storing the first file to be backed up;If monitoring file backup device
Temperature decreases below preset temperature, and the data write-in and first according to the first corresponding relationship by the first file to be backed up are to be backed up
The corresponding freed data blocks of the data of file.Due to during file backup, the temperature of real-time monitoring file backup device, if
The temperature of file backup device reaches preset temperature, then suspends the data of the first of the terminal device the file to be backed up text is written
Transmission speed between file backup device and the terminal device is reduced to the first transmission speed by the step of part backup device five,
The temperature of file backup device can be made not continue to rising to decline instead, during dropping at this temperature, continue to execute text
Other that not will cause that the temperature of file backup device seriously rises in part transmitting step are Step 1: Step 2: step 3 and step
Four, including writing metadata, searching the freed data blocks of storing data and establishing backup file, metadata and be used to store backup
Corresponding relationship between the data of file can be direct in this way when the temperature of file backup device decreases below preset temperature
The step of carrying out the write-in data in file transmitting step five transmits the file carried out in sequence suitable in this way
Sequence step is rationally decomposed, and different steps is performed separately in different time sections, on the one hand can rationally control file backup device
Heating problem, on the other hand rationally using the period to improve efficiency of transmission.
In one embodiment, if file to be backed up, file to be backed up metadata and with for store it is to be backed up
The first corresponding relationship between the freed data blocks of the data of file, which has built up, to be finished, and in the data that file to be backed up is written
During, appearance interruption (such as user directly issues in pause instruction or the connection of file backup device and terminal device
It is disconnected), i.e., only some write-in of the data of file to be backed up, and another part is not written or the data of file to be backed up
It is written, when detecting file backup device and terminal device establishes connection, then another part can be written not yet completely
Data continue to write in file backup device, i.e., this method can also include:
When file backup device is connect with terminal device, if file backup device has detected the metadata of the second file to be backed up
Write-in, and when the data of the second file to be backed up are not written, it, will according to established second the first corresponding relationship of file to be backed up
In the freed data blocks of the data write-in file backup device of the second file to be backed up in terminal device, wherein second is to be backed up
The first corresponding relationship of file be the second file to be backed up, the second file to be backed up metadata and with for store second to
Corresponding relationship between the freed data blocks of the data of backup file.
It, can also be with it should be noted that can be the file in the above-mentioned first file to be backed up when the second file to be backed up
It is the new file being different from the first file to be backed up.
By the above-mentioned means, during the data of file to be backed up are written, regardless of causing to be written due to what
Process interrupt also will continue to the writing process interrupted originally when file backup device is connect with terminal device, continue not write
In another part data write-in file backup device entered.
In one embodiment, when the quantity of file to be backed up has multiple, the form of expression of the first corresponding relationship can be with
First list, specifically, in first list preserve ordering multiple files to be backed up, multiple files to be backed up it is multiple
Metadata and multiple corresponding passes between multiple freed data blocks of multiple data for storing multiple files to be backed up
System.
For example, referring to table 1, table 1 is the form of expression of first list in a practical application.
The form of expression of first list in 1 practical application of table
The first corresponding relationship is showed by way of first list, so that the first corresponding relationship is simple and clear, is also convenient for
System administration.
In one embodiment, if monitor that the temperature of file backup device reaches preset temperature, terminal device can also
Prepared with well in advance, the information of the related metadata of file to be backed up is put in order in advance, to improve file backup device and end
Interactive efficiency between end equipment, i.e. this method can also include:
If monitoring, the temperature of file backup device reaches preset temperature, and terminal device is by third file to be backed up in relation to first number
According to information arranged, obtain third the second corresponding relationship of file to be backed up, and be transferred to file backup device, wherein third
The second corresponding relationship of file to be backed up is the corresponding relationship between the metadata of third file to be backed up, third file to be backed up.
It should be noted that third file to be backed up can be the file in the above-mentioned first file to be backed up, or on
The file in the second file to be backed up is stated, is also possible to new be different from the first file to be backed up or different second files to be backed up
In file.
By the above-mentioned means, terminal device waits for third when monitoring that the temperature of file backup device reaches preset temperature
Backup file is arranged in relation to the information of metadata, obtains third the second corresponding relationship of file to be backed up, and be transferred to file
Backup device can be further improved the efficiency of file backup, shorten BACKUP TIME.
Further, when the quantity of file to be backed up has multiple, the form of expression of the second corresponding relationship can be secondary series
Table is preserved in second list more between multiple metadata of ordering multiple files to be backed up, multiple files to be backed up
A corresponding relationship.The second corresponding relationship is showed by way of second list, so that the second corresponding relationship is simple and clear, also just
In system administration, and the efficiency of establishing of subsequent first corresponding relationship is helped to improve, shortens BACKUP TIME.
For example, referring to table 2, table 2 is the form of expression of second list in a practical application.
The form of expression of second list in 2 practical application of table
In one embodiment, the temperature of file backup device is the shell temperature of file backup device.
Wherein, if can also include: by file after monitoring the step of temperature of file backup device reaches preset temperature
Transmission speed between backup device and terminal device is reduced to the first transmission speed;
Further, this method further include: determine the transmission speed and file backup between file backup device and terminal device
Third corresponding relationship between the shell temperature of device;Preset temperature and the first transmission speed are determined according to third corresponding relationship.
Wherein, preset temperature is any temperature value in 40-50 degrees Celsius, and the first transmission speed is in 20-150MB/s
Any transmission speed.
Wherein it is determined that between the transmission speed between file backup device and terminal device and the shell temperature of file backup device
Third corresponding relationship, comprising:
File is transmitted at least with three different transmission speeds, and is recorded in file backup device under different transmission speeds
Shell temperature rise situation of change, and then determine third corresponding relationship.
In general, shell temperature caused by difference file transfer speed rises when can be with reference to the transmission of nearest 3 files
Situation of change.For example, according to the historical data of acquisition, discovery becomes 45 at 44 degrees Celsius when shell temperature in a practical application
Degree Celsius when, the threshold of transmission speed is 150MB/s, at this point it is possible to it is 45 degrees Celsius that preset temperature, which is arranged, the first transmission speed
For 150MB/s.
Fig. 2 is referred to, Fig. 2 is the structural schematic diagram of one embodiment of present specification standby system, this document backup system
System 100 include file backup device 1 and terminal device 2, file backup device 2 include first processor 11, respectively with first processor
11 coupling first memories 12 and the first telecommunication circuit 13, terminal device 2 include second processor 21, respectively with second processing
The second memory 22 and the second telecommunication circuit 23 that device 21 couples, when file backup device 1 and terminal device 2 establish connection, file
It is communicated between backup device 1 and terminal device 2 by the first telecommunication circuit 13 and the second telecommunication circuit 23, and file backup device
1 first processor 11 controls itself and first memory 12 by the first telecommunication circuit 13 at work, terminal device 2
Second processor 21 controls itself and second memory 22 by the second telecommunication circuit 23 at work, as above any to realize
Step in item method.The detailed description of related content refers to above method part, no longer superfluous herein to chat.
It is the structural schematic diagram for one embodiment of device that the application has store function, the device 50 referring to Fig. 3, Fig. 3
It is stored with program data 501, program data 501 can be performed to realize the step in as above any one method.Related content
Detailed description, refer to above method part, it is no longer superfluous herein to chat.
The foregoing is merely presently filed embodiments, are not intended to limit the scope of the patents of the application, all to utilize this
Equivalent structure or equivalent flow shift made by application specification and accompanying drawing content, it is relevant to be applied directly or indirectly in other
Technical field similarly includes in the scope of patent protection of the application.
Claims (10)
1. a kind of file backup method, which is characterized in that the described method includes:
When file backup device and terminal device establish connection, by the file backup to be backed up in the terminal device to the text
During part backup device, the temperature of file backup device described in real-time monitoring;
If monitoring, the temperature of the file backup device reaches preset temperature, suspends to be backed up by the first of the terminal device
Transmission speed between file backup device and the terminal device is reduced to first by the data write-in file backup device of file
Transmission speed, and free time first number that the file backup device is written into the metadata of the first of the terminal device the file to be backed up
According to position;
It is determined in the file backup device for storing described first to standby according to the metadata of the described first file to be backed up
The freed data blocks of the data of part file, and establish first the first corresponding relationship of file to be backed up, first file to be backed up
First corresponding relationship be the described first file to be backed up, first file to be backed up metadata and with for storing institute
State the corresponding relationship between the freed data blocks of the data of the first file to be backed up;
If monitoring, the temperature of the file backup device decreases below preset temperature, will be described according to first corresponding relationship
Freed data blocks corresponding with the data of the described first file to be backed up are written in the data of first file to be backed up.
2. the method according to claim 1, wherein the method also includes:
When the file backup device is connect with the terminal device, if the file backup device detects the described second text to be backed up
The metadata of part has been written into, and when the data of second file to be backed up are not written, according to the established second text to be backed up
The free time of the file backup device is written in the data of the second file to be backed up in the terminal device by the first corresponding relationship of part
In data block, wherein second first corresponding relationship of file to be backed up is the described second file to be backed up, described second to standby
The metadata of part file and the corresponding pass between the freed data blocks of the data for storing the described second file to be backed up
System.
3. the method according to claim 1, wherein first corresponding relationship takes the form of first row
Table, preserve in the first list ordering multiple files to be backed up, the multiple file to be backed up multiple metadata,
And multiple corresponding relationships between multiple freed data blocks of multiple data for storing the multiple file to be backed up.
4. the method according to claim 1, wherein the method also includes:
If monitoring, the temperature of the file backup device reaches preset temperature, and the terminal device is related by third file to be backed up
The information of metadata is arranged, and obtains third the second corresponding relationship of file to be backed up, and be transferred to the file backup device,
In, third second corresponding relationship of file to be backed up is the metadata of third file to be backed up, third file to be backed up
Between corresponding relationship.
5. according to the method described in claim 4, it is characterized in that, second corresponding relationship takes the form of secondary series
Table preserves multiple metadata of ordering multiple files to be backed up, the multiple file to be backed up in the second list
Between multiple corresponding relationships.
6. the method according to claim 1, wherein the temperature of the file backup device is the file backup device
Shell temperature;
The method also includes:
Determine transmission speed between the file backup device and the terminal device and the file backup device shell temperature it
Between third corresponding relationship;
The preset temperature and first transmission speed are determined according to the third corresponding relationship.
7. according to the method described in claim 6, it is characterized in that, the preset temperature is any temperature in 40-50 degrees Celsius
Angle value, first transmission speed are any transmission speed in 20-150MB/s.
8. according to the method described in claim 6, it is characterized in that, the determination file backup device and the terminal device
Between transmission speed and the file backup device shell temperature between third corresponding relationship, comprising:
File is transmitted at least with three different transmission speeds, and is recorded in the file backup device under different transmission speeds
The situation of change that rises of shell temperature, and then determine the third corresponding relationship.
9. a kind of file backup system, which is characterized in that the file backup system includes file backup device and terminal device, institute
State file backup device include first processor, respectively with the first processor coupling first memory and first communicate electricity
Road, the terminal device include second processor, respectively with the second processor coupling second memory and second communicate
When circuit, the file backup device and the terminal device establish connection, between the file backup device and the terminal device
It is communicated by the first telecommunication circuit and the second telecommunication circuit, and the first processor of the file backup device leads at work
It crosses first telecommunication circuit and controls itself and the first memory, the second processor of the terminal device is at work
Itself and the second memory are controlled by second telecommunication circuit, to realize as described in any one of claim 1 to 8
Step in method.
10. a kind of device with store function, which is characterized in that be stored with program data, described program data can be held
Row is to realize such as the step in any one of claim 1 to 8 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810732187.2A CN109117304B (en) | 2018-07-05 | 2018-07-05 | File backup method, system and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810732187.2A CN109117304B (en) | 2018-07-05 | 2018-07-05 | File backup method, system and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109117304A true CN109117304A (en) | 2019-01-01 |
CN109117304B CN109117304B (en) | 2022-02-18 |
Family
ID=64822857
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810732187.2A Expired - Fee Related CN109117304B (en) | 2018-07-05 | 2018-07-05 | File backup method, system and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109117304B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110515768A (en) * | 2019-08-09 | 2019-11-29 | 苏州浪潮智能科技有限公司 | The background transfer method and device of Backup Data |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103164274A (en) * | 2013-02-18 | 2013-06-19 | 华东师范大学 | Fixed priority real-time task static scheduling method based on temperature constraint |
CN103270487A (en) * | 2011-02-02 | 2013-08-28 | 株式会社日立制作所 | Storage system and data control method therefor |
US20150347247A1 (en) * | 2014-06-03 | 2015-12-03 | Jungwon University Industry Academy Cooperation Corps. | Read/write cache device and method persistent in the event of a power failure |
CN106909314A (en) * | 2015-12-22 | 2017-06-30 | 株式会社东芝 | Accumulator system and control method |
-
2018
- 2018-07-05 CN CN201810732187.2A patent/CN109117304B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103270487A (en) * | 2011-02-02 | 2013-08-28 | 株式会社日立制作所 | Storage system and data control method therefor |
CN103164274A (en) * | 2013-02-18 | 2013-06-19 | 华东师范大学 | Fixed priority real-time task static scheduling method based on temperature constraint |
US20150347247A1 (en) * | 2014-06-03 | 2015-12-03 | Jungwon University Industry Academy Cooperation Corps. | Read/write cache device and method persistent in the event of a power failure |
CN106909314A (en) * | 2015-12-22 | 2017-06-30 | 株式会社东芝 | Accumulator system and control method |
Non-Patent Citations (1)
Title |
---|
刘霖: "《分布式存储系统中的能耗管理策略研究》", 《中国博士学位论文全文数据库信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110515768A (en) * | 2019-08-09 | 2019-11-29 | 苏州浪潮智能科技有限公司 | The background transfer method and device of Backup Data |
CN110515768B (en) * | 2019-08-09 | 2021-10-15 | 苏州浪潮智能科技有限公司 | Background transmission method and device for backup data |
Also Published As
Publication number | Publication date |
---|---|
CN109117304B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107834628B (en) | Circuit and method for realizing multiple fast charging protocols based on TYPE-C interface | |
CN205544514U (en) | Take DATA TRANSFER FUNCTIONS's integrated charger | |
WO2017041567A1 (en) | Fpga multi-mirror upgrade loading method and device based on soft core processor | |
CN104737135B (en) | The information processing terminal and synchronisation control means | |
CN104216796B (en) | A kind of data backup, restoration methods and electronic equipment | |
CN101673192A (en) | Method for time-sequence data processing, device and system therefor | |
CN109327526B (en) | Portable storage device based on cloud storage | |
US20150263554A1 (en) | Mobile Power Device With Storage Feature | |
CN105677596B (en) | Control method and electronic equipment | |
CN109117304A (en) | file backup method, system and device | |
CN202584143U (en) | A read-only card reader with multiple interfaces | |
CN102830943A (en) | Method and system for playing multimedia files in external USB (universal serial bus) storage on the basis of Android platform | |
CN103902490A (en) | U disk, and work system, work mode converting method and data communication method of U disk | |
CN203368518U (en) | Cloud sharing access device | |
CN106357454B (en) | Log system control device and control method thereof | |
CN104778101B (en) | Mobile terminal system backup-and-restore method, mobile terminal, computer and system | |
CN104301491B (en) | A kind of data processing method and device of smart phone | |
CN110850737A (en) | Socket and timing method, system and computer readable storage medium | |
CN105898578A (en) | Upgrading method, device and system of remote controller | |
CN103595748B (en) | Document transmission method and the mobile memory device applying the method | |
CN201600923U (en) | 3G USB flash drive | |
CN205281402U (en) | A device, wearable equipment for data storage and synchronization | |
CN210038759U (en) | Portable intelligent storage device | |
CN103150211A (en) | Method and device for transferring swap space to UNIX-like operation system | |
CN110968462A (en) | Real-time safety backup system |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220218 |