CN109117304B - File backup method, system and device - Google Patents

File backup method, system and device Download PDF

Info

Publication number
CN109117304B
CN109117304B CN201810732187.2A CN201810732187A CN109117304B CN 109117304 B CN109117304 B CN 109117304B CN 201810732187 A CN201810732187 A CN 201810732187A CN 109117304 B CN109117304 B CN 109117304B
Authority
CN
China
Prior art keywords
file
backed
backup device
data
file 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.)
Expired - Fee Related
Application number
CN201810732187.2A
Other languages
Chinese (zh)
Other versions
CN109117304A (en
Inventor
杜国威
朱少杰
周佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Everest Mobile Communication Co Ltd
Original Assignee
Beijing Everest Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Everest Mobile Communication Co Ltd filed Critical Beijing Everest Mobile Communication Co Ltd
Priority to CN201810732187.2A priority Critical patent/CN109117304B/en
Publication of CN109117304A publication Critical patent/CN109117304A/en
Application granted granted Critical
Publication of CN109117304B publication Critical patent/CN109117304B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means
    • G06F1/206Cooling 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

The application discloses a file backup method, a system and a device, wherein the method comprises the following steps: when the file backup device is connected with the terminal device, in the process of backing up a file to be backed up in the terminal device to the file backup device, if the temperature of the file backup device reaches a preset temperature, the data of the first file to be backed up is temporarily stored in the file backup device or the transmission speed between the file backup device and the file backup device is reduced, and the metadata of the first file to be backed up is stored in the idle metadata position of the file backup device; determining a free data block for storing data of a first file to be backed up, and establishing a first corresponding relation among the first file to be backed up, metadata of the first file to be backed up and the free data block for storing the data of the first file to be backed up; and if the temperature of the file backup device is reduced to be lower than the preset temperature, writing the data of the first file to be backed up into the corresponding idle data block according to the first corresponding relation. Through the mode, the file transmission steps can be reasonably decomposed, the heating problem is reasonably controlled, and the transmission efficiency is improved.

Description

File backup method, system and device
Technical Field
The present application relates to the field of terminal device technologies, and in particular, to a method, a system, and an apparatus for file backup.
Background
At present, many file backups have functions of charging a terminal device and backing up files in the terminal device at the same time. The backup is carried out while charging, which greatly increases the processor load of the file backup device, the file backup device is very easy to generate heat, the heat may cause safety concerns of users, and the heat also easily causes damage to the circuit board of the file backup device.
Since the main cause of heat generation during file transfer is due to writing data to free data blocks in the file-backup. Because the microstructure of the flash chip needs to be changed in the process of writing data, a part of electric energy is rotated into heat energy to be released. In the prior art, the problem of heating of a file backup device in a backup process is solved by adopting a mode of completely stopping file transmission when the temperature of the file backup device is too high, and file backup is started until the temperature of the file backup device is reduced to an ideal temperature.
Disclosure of Invention
The technical problem mainly solved by the application is to provide a file backup method, a file backup system and a file backup device, which can reasonably decompose file transmission steps, reasonably control heating problems and improve transmission efficiency.
In order to solve the technical problem, the application adopts a technical scheme that: there is provided a file backup method, the method comprising: when a file backup device is connected with a terminal device, monitoring the temperature of the file backup device in real time in the process of backing up a file to be backed up in the terminal device to the file backup device; if the temperature of the file backup device is monitored to reach the preset temperature, the data of the first file to be backed up of the terminal device is temporarily stopped being written into the file backup device or the transmission speed between the file backup device and the terminal device is reduced to the first transmission speed, and the metadata of the first file to be backed up of the terminal device is written into the idle metadata position of the file backup device; determining a free data block for storing the data of the first file to be backed up in the file backup device according to the metadata of the first file to be backed up, and establishing a first corresponding relation of the first file to be backed up, wherein the first corresponding relation of the first file to be backed up is the corresponding relation among the first file to be backed up, the metadata of the first file to be backed up and the free data block for storing the data of the first file to be backed up; and if the temperature of the file backup device is monitored to be reduced to be lower than the preset temperature, writing the data of the first file to be backed up into an idle data block corresponding to the data of the first file to be backed up according to the first corresponding relation.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a file backup system including a file backup and a terminal device, the file backup includes a first processor, a first memory and a first communication circuit respectively coupled to the first processor, the terminal device comprises a second processor, a second memory and a second communication circuit respectively coupled with the second processor, when the file backup device is connected with the terminal equipment, the file backup device and the terminal equipment are communicated through a first communication circuit and a second communication circuit, and the first processor of said file-backup-device operatively controls itself and said first memory via said first communication circuit, the second processor of the terminal device is operable to control itself and the second memory via the second communication circuit to implement the steps of the method as described above.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided an apparatus having a storage function, storing program data executable to implement the steps in the method as described above.
The beneficial effect of this application is: different from the situation of the prior art, when the file backup device is connected with the terminal equipment, the temperature of the file backup device is monitored in real time in the process of backing up the file to be backed up in the terminal equipment to the file backup device; if the temperature of the file backup device is monitored to reach the preset temperature, the data of the first file to be backed up of the terminal device is temporarily stopped being written into the file backup device or the transmission speed between the file backup device and the terminal device is reduced to the first transmission speed, and the metadata of the first file to be backed up of the terminal device is written into the idle metadata position of the file backup device; determining a free data block for storing data of a first file to be backed up in a file backup device according to metadata of the first file to be backed up, and establishing a first corresponding relation of the first file to be backed up, wherein the first corresponding relation of the first file to be backed up is a corresponding relation among the first file to be backed up, the metadata of the first file to be backed up and the free data block for storing the data of the first file to be backed up; and if the temperature of the file backup device is monitored to be reduced to be lower than the preset temperature, writing the data of the first file to be backed up into the idle data block corresponding to the data of the first file to be backed up according to the first corresponding relation. Because the temperature of the file backup device is monitored in real time in the file backup process, if the temperature of the file backup device reaches the preset temperature, the step of writing the data of the first file to be backed up of the terminal equipment into the file backup device is suspended or the transmission speed between the file backup device and the terminal equipment is reduced to the first transmission speed, so that the temperature of the file backup device can be reduced instead of being continuously increased, in the process of reducing the temperature, other steps which can not cause the temperature of the file backup device to be seriously increased in the file transmission step are continuously executed, and the steps comprise writing metadata, searching for idle data blocks storing the data and establishing a corresponding relation between the backup file, the metadata and the data for storing the backup file, therefore, when the temperature of the file backup device is reduced to be less than the preset temperature, the step of writing the data in the file transmission step can be directly carried out, by the method, the steps of the file transmission sequence carried out according to the sequence are reasonably decomposed, and different steps are separately executed in different time periods, so that on one hand, the heating problem of the file backup device can be reasonably controlled, and on the other hand, the time periods are reasonably utilized, so that the transmission efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
FIG. 1 is a schematic flowchart of an embodiment of a file backup method according to the present application;
FIG. 2 is a schematic structural diagram of an embodiment of a file backup system according to the present application;
fig. 3 is a schematic structural diagram of an embodiment of the apparatus with a storage function according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Prior to setting forth the detailed description of the present application, the prior art related to the present application will be described.
In the process of backing up the files in the terminal equipment by using the file backup device, when the files are transmitted, the method comprises the following steps:
the method comprises the following steps: firstly, searching an idle metadata position of metadata written in a file backup device;
step two: writing the metadata of the file in the found free metadata position;
step three: searching for an idle data block of the data written in the file according to the metadata information;
step four: establishing a corresponding relation between metadata of a file and idle data blocks of a storage file;
step five: and finally writing the data of the file into the free data block in the found free data block.
And the transmission speed of the data of the file transmitted between the terminal equipment and the file backup device is basically consistent with the writing speed of the data of the file written in the found free data block into the free data block.
In the file backup process, the temperature of the file backup device is monitored in real time, if the temperature of the file backup device reaches the preset temperature, the fifth step of writing the data of the first file to be backed up of the terminal equipment into the file backup device is suspended or the transmission speed between the file backup device and the terminal equipment is reduced to the first transmission speed, so that the temperature of the file backup device can not continuously rise but fall, in the process of temperature reduction, the first step, the second step, the third step and the fourth step which do not cause the temperature of the file backup device to seriously rise in the file transmission step are continuously executed, the first step, the second step, the third step and the fourth step comprise writing metadata, searching for idle data blocks storing the data and establishing a corresponding relation between the backup file, the metadata and the data for storing the backup file, so that when the temperature of the file backup device is reduced to be less than the preset temperature, the step of writing data in the file transmission step five can be directly carried out, through the mode, the file transmission sequence steps carried out according to the sequence are reasonably decomposed, different steps are separately executed in different time periods, on one hand, the heating problem of the file backup device can be reasonably controlled, and on the other hand, the time periods are reasonably utilized, so that the transmission efficiency is improved.
The details of the present application are described below.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an embodiment of a file backup method according to the present application, where the method includes:
step S101: when the file backup device is connected with the terminal equipment, the temperature of the file backup device is monitored in real time in the process of backing up the file to be backed up in the terminal equipment to the file backup device.
Step S102: if the temperature of the file backup device reaches the preset temperature, the data of the first file to be backed up of the terminal device is temporarily stopped being written into the file backup device or the transmission speed between the file backup device and the terminal device is reduced to the first transmission speed, and the metadata of the first file to be backed up of the terminal device is written into the idle metadata position of the file backup device.
Step S103: and determining a free data block for storing the data of the first file to be backed up in the file backup device according to the metadata of the first file to be backed up, and establishing a first corresponding relation of the first file to be backed up, wherein the first corresponding relation of the first file to be backed up is the corresponding relation among the first file to be backed up, the metadata of the first file to be backed up and the free data block for storing the data of the first file to be backed up.
Step S104: and if the temperature of the file backup device is monitored to be reduced to be lower than the preset temperature, writing the data of the first file to be backed up into the idle data block corresponding to the data of the first file to be backed up according to the first corresponding relation.
The file backup device refers to an accessory device having a file backup function and externally connected to the terminal device, for example: a U disk of the mobile terminal, a mobile hard disk, a mobile charging power supply with a data backup function, and the like.
The connection between the file backup device and the terminal device may be a wired connection, such as a connection directly through a physical port (for example, a USB interface), or a wireless connection, such as a connection through bluetooth, wifi, or the like.
The process of backing up the file to be backed up in the terminal device to the file backup device refers to a process of writing the file to be backed up in the terminal device to the file backup device (including all processes in the first to fifth steps).
The temperature of the file backup device may represent a temperature change of the file backup device during a process of backing up a file by the file backup device, and in a specific practical application, the temperature of the file backup device may be a temperature of a processor of the file backup device, a temperature of a shell of the file backup device, or a temperature of other structural components of the file backup device. In one embodiment, the shell temperature of the file backup is selected as the temperature of the file backup in order to not affect the normal structure of the file backup too much and to facilitate monitoring the temperature change of the file backup.
The preset temperature is a temperature which can be reached by a file backup device preset by a system or a user, and when the preset temperature is reached, the data of the first file to be backed up of the terminal device is suspended from being written into the file backup device (namely, the step five is suspended), and the metadata of the first file to be backed up of the terminal device is written into the idle metadata position of the file backup device (which is equivalent to executing the step one and the step two).
Metadata (Metadata), also called intermediary data and relay data, is data (data about data) describing data, mainly information describing data attribute (property), and is used for supporting functions such as indicating storage location, history data, resource search, file record and the like; or structured data (structured data) for providing information about a resource. Metadata is data that describes an object such as an information resource or data, and is used for the purpose of: identifying a resource; evaluating the resources; tracking changes of the resource in the using process; the method realizes simple and efficient management of a large amount of networked data; the information resources are effectively discovered, searched and integrally organized, and the used resources are effectively managed.
Data in any file system is divided into data and metadata. Data refers to actual data in a common file, and metadata refers to system data used to describe characteristics of a file, such as access rights, file owner, and distribution information (inode.) of file data blocks, etc. In a cluster file system, the distribution information includes the location of the file on the disk and the location of the disk in the cluster. A user needs to manipulate a file to first obtain its metadata to locate the file and obtain the content or related attributes of the file.
And determining a free data block for storing the data of the first file to be backed up in the file backup device according to the metadata of the first file to be backed up (equivalent to executing the third step), and establishing a first corresponding relationship of the first file to be backed up (equivalent to executing the fourth step), wherein the first corresponding relationship of the first file to be backed up is the corresponding relationship among the first file to be backed up, the metadata of the first file to be backed up and the free data block for storing the data of the first file to be backed up.
And if the temperature of the file backup device is monitored to be reduced to be lower than the preset temperature, writing the data of the first file to be backed up into the idle data block corresponding to the data of the first file to be backed up according to the first corresponding relation (equivalently, continuously executing the step five).
In another implementation manner of this embodiment, if it is monitored that the temperature of the file backup device reaches a preset temperature, the transmission speed between the file backup device and the terminal device is reduced to a first transmission speed, and the metadata of the first file to be backed up of the terminal device is written into the idle metadata position of the file backup device. The execution continues with step S103 and step S104. The terminal device may continue to transmit the file to the file backup device for backup at the first transmission speed, which will be described in detail later.
According to the method and the device, when the file backup device is connected with the terminal equipment, the temperature of the file backup device is monitored in real time in the process of backing up the file to be backed up in the terminal equipment to the file backup device; if the temperature of the file backup device is monitored to reach the preset temperature, the data of the first file to be backed up of the terminal device is temporarily stopped being written into the file backup device or the transmission speed between the file backup device and the terminal device is reduced to the first transmission speed, and the metadata of the first file to be backed up of the terminal device is written into the idle metadata position of the file backup device; determining a free data block for storing data of a first file to be backed up in a file backup device according to metadata of the first file to be backed up, and establishing a first corresponding relation of the first file to be backed up, wherein the first corresponding relation of the first file to be backed up is a corresponding relation among the first file to be backed up, the metadata of the first file to be backed up and the free data block for storing the data of the first file to be backed up; and if the temperature of the file backup device is monitored to be reduced to be lower than the preset temperature, writing the data of the first file to be backed up into the idle data block corresponding to the data of the first file to be backed up according to the first corresponding relation. In the process of file backup, the temperature of the file backup device is monitored in real time, if the temperature of the file backup device reaches the preset temperature, the fifth step of writing the data of the first file to be backed up of the terminal equipment into the file backup device is suspended, or the transmission speed between the file backup device and the terminal equipment is reduced to the first transmission speed, so that the temperature of the file backup device can not continuously rise but fall, in the process of temperature fall, other first, second, third and fourth steps which do not cause the temperature of the file backup device to seriously rise in the file transmission step are continuously executed, wherein the first, second, third and fourth steps comprise writing metadata, searching for idle data blocks storing the data and establishing a corresponding relation between the backup file, the metadata and the data for storing the backup file, and therefore when the temperature of the file backup device is reduced to be less than the preset temperature, the step of writing data in the file transmission step five can be directly carried out, through the mode, the file transmission sequence steps carried out according to the sequence are reasonably decomposed, different steps are separately executed in different time periods, on one hand, the heating problem of the file backup device can be reasonably controlled, and on the other hand, the time periods are reasonably utilized, so that the transmission efficiency is improved.
In an embodiment, if the first correspondence between the file to be backed up, the metadata of the file to be backed up, and the free data block for storing the data of the file to be backed up is already established, and an interruption (for example, a user directly issues a pause instruction, or a connection between the file backup device and the terminal device is interrupted) occurs during writing the data of the file to be backed up, that is, only a part of the data of the file to be backed up is written, and another part of the data of the file to be backed up is not written, or the data of the file to be backed up is not written at all, and when it is detected that the file backup device is connected with the terminal device, another part of the data which is not written can be continuously written into the file backup device, that is, the method may further include:
when the file backup device is connected with the terminal device, if the file backup device detects that metadata of a second file to be backed up is written and data of the second file to be backed up is not written, writing the data of the second file to be backed up in the terminal device into a free data block of the file backup device according to an established first corresponding relation of the second file to be backed up, wherein the first corresponding relation of the second file to be backed up is a corresponding relation among the second file to be backed up, the metadata of the second file to be backed up and the free data block for storing the data of the second file to be backed up.
It should be noted that, when the second file to be backed up may be a file in the first file to be backed up, or may be a new file different from the first file to be backed up.
By the above mode, in the process of writing the data of the file to be backed up, no matter what reason causes the interruption of the writing process, when the file backup device is connected with the terminal device, the original interrupted writing process can be continued, and another part of the data which is not written is continuously written into the file backup device.
In an embodiment, when the number of the files to be backed up is multiple, the expression of the first correspondence relationship may be a first list, and specifically, the first list stores a plurality of ordered files to be backed up, a plurality of metadata of the files to be backed up, and a plurality of correspondence relationships between free data blocks for storing a plurality of data of the files to be backed up.
For example, referring to Table 1, Table 1 is a representation of a first list in a practical application.
Table 1 representation of the first list in practical applications
Figure BDA0001721171180000081
Figure BDA0001721171180000091
The first corresponding relation is expressed in a first list mode, so that the first corresponding relation is simple and clear, and system management is facilitated.
In an embodiment, if it is monitored that the temperature of the file backup device reaches a preset temperature, the terminal device may also be prepared in advance, and information about metadata of a file to be backed up is organized in advance, so as to improve the interaction efficiency between the file backup device and the terminal device, that is, the method may further include:
if the temperature of the file backup device reaches the preset temperature, the terminal device sorts the information of the metadata of the third file to be backed up to obtain a second corresponding relation of the third file to be backed up, and transmits the second corresponding relation to the file backup device, wherein the second corresponding relation of the third file to be backed up is the corresponding relation between the third file to be backed up and the metadata of the third file to be backed up.
It should be noted that the third file to be backed up may be a file in the first file to be backed up, or a file in the second file to be backed up, or may be a new file different from the first file to be backed up or a file in a different second file to be backed up.
By the method, when the temperature of the file backup device reaches the preset temperature, the terminal device sorts the information of the metadata of the third file to be backed up to obtain the second corresponding relation of the third file to be backed up, and transmits the second corresponding relation to the file backup device, so that the file backup efficiency can be further improved, and the backup time can be shortened.
Further, when the number of the files to be backed up is multiple, the expression form of the second corresponding relationship may be a second list, and multiple corresponding relationships among the multiple sorted files to be backed up and multiple metadata of the multiple files to be backed up are stored in the second list. The second corresponding relation is expressed in a second list mode, so that the second corresponding relation is simple and clear, system management is facilitated, the efficiency of establishing the subsequent first corresponding relation is improved, and backup time is shortened.
For example, referring to Table 2, Table 2 is a representation of a second list in a practical application.
TABLE 2 representation of the second list in practical applications
Figure BDA0001721171180000092
Figure BDA0001721171180000101
In one embodiment, the temperature of the file-backup is a shell temperature of the file-backup.
Wherein, if the step of monitoring that the temperature of the file backup device reaches the preset temperature can further comprise: reducing the transmission speed between the file backup device and the terminal equipment to a first transmission speed;
further, the method also includes: determining a third corresponding relation between the transmission speed between the file backup device and the terminal equipment and the shell temperature of the file backup device; and determining the preset temperature and the first transmission speed according to the third corresponding relation.
The preset temperature is any temperature value in the range of 40-50 ℃, and the first transmission speed is any transmission speed in the range of 20-150 MB/s.
Wherein determining a third correspondence between the transmission speed between the file backup and the terminal device and the shell temperature of the file backup comprises:
and at least utilizing three different transmission speeds to transmit the files, recording the change condition of the shell temperature rise of the file backup device under different transmission speeds, and further determining a third corresponding relation.
In general, reference may be made to the variation in the temperature rise of the shell due to different document transfer speeds at the last 3 times of document transfer. For example, in a practical application, according to the acquired historical data, it is found that when the shell temperature is changed to 45 degrees celsius at 44 degrees celsius, the threshold limit of the transmission speed is 150MB/s, and at this time, the preset temperature can be set to 45 degrees celsius, and the first transmission speed is 150 MB/s.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an embodiment of the file backup system of the present application, the file backup system 100 includes a file backup device 1 and a terminal device 2, the file backup device 2 includes a first processor 11, a first memory 12 and a first communication circuit 13 respectively coupled to the first processor 11, the terminal device 2 includes a second processor 21, a second memory 22 and a second communication circuit 23 respectively coupled to the second processor 21, when the file backup device 1 establishes a connection with the terminal device 2, the file backup device 1 communicates with the terminal device 2 through the first communication circuit 13 and the second communication circuit 23, and the first processor 11 of the file backup device 1 controls itself and the first memory 12 through the first communication circuit 13 during operation, the second processor 21 of the terminal device 2 controls itself and the second memory 22 through the second communication circuit 23 during operation, to carry out the steps of any of the above methods. For a detailed description of the related matters, please refer to the above method section, which is not described herein in detail.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an embodiment of the apparatus with storage function of the present application, where the apparatus 50 stores program data 501, and the program data 501 can be executed to implement the steps in any of the above methods. For a detailed description of the related matters, please refer to the above method section, which is not described herein in detail.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A method for file backup, the method comprising:
when a file backup device is connected with a terminal device, monitoring the temperature of the file backup device in real time in the process of backing up a file to be backed up in the terminal device to the file backup device;
if the temperature of the file backup device is monitored to reach the preset temperature, the data of the first file to be backed up of the terminal device is temporarily stopped being written into the file backup device or the transmission speed between the file backup device and the terminal device is reduced to the first transmission speed, and the metadata of the first file to be backed up of the terminal device is written into the idle metadata position of the file backup device;
determining a free data block for storing the data of the first file to be backed up in the file backup device according to the metadata of the first file to be backed up, and establishing a first corresponding relation of the first file to be backed up, wherein the first corresponding relation of the first file to be backed up is the corresponding relation among the first file to be backed up, the metadata of the first file to be backed up and the free data block for storing the data of the first file to be backed up;
and if the temperature of the file backup device is monitored to be reduced to be lower than the preset temperature, writing the data of the first file to be backed up into an idle data block corresponding to the data of the first file to be backed up according to the first corresponding relation.
2. The method of claim 1, further comprising:
when the file backup device is connected with the terminal device, if the file backup device detects that metadata of a second file to be backed up is written and data of the second file to be backed up is not written, writing the data of the second file to be backed up in the terminal device into an idle data block of the file backup device according to an established first corresponding relation of the second file to be backed up, wherein the first corresponding relation of the second file to be backed up is the corresponding relation among the second file to be backed up, the metadata of the second file to be backed up and the idle data block for storing the data of the second file to be backed up.
3. The method according to claim 1, wherein the first correspondence is represented by a first list, and the first list stores a plurality of ordered files to be backed up, a plurality of metadata of the plurality of files to be backed up, and a plurality of correspondences with a plurality of free data blocks for storing a plurality of data of the plurality of files to be backed up, wherein each of the correspondences is a correspondence between one of the files to be backed up, one of the metadata, and one of the free data blocks.
4. The method of claim 1, further comprising:
if the temperature of the file backup device reaches the preset temperature, the terminal device sorts information of metadata of a third file to be backed up to obtain a second corresponding relation of the third file to be backed up, and transmits the second corresponding relation to the file backup device, wherein the second corresponding relation of the third file to be backed up is a corresponding relation between the third file to be backed up and the metadata of the third file to be backed up.
5. The method according to claim 4, wherein the representation of the second correspondence relationship is a second list, and the second list stores therein a plurality of ordered one-to-one correspondence relationships between the plurality of files to be backed up and the plurality of metadata of the plurality of files to be backed up.
6. The method of claim 1, wherein the temperature of the file-backup is a shell temperature of the file-backup;
the method further comprises the following steps:
determining a third corresponding relation between the transmission speed between the file backup device and the terminal equipment and the shell temperature of the file backup device;
and determining the preset temperature and the first transmission speed according to the third corresponding relation.
7. The method according to claim 6, wherein the preset temperature is any temperature value of 40-50 degrees Celsius and the first transfer speed is any transfer speed of 20-150 MB/s.
8. The method of claim 6, wherein determining a third correspondence between the transfer speed between the file-backup and the terminal device and the shell temperature of the file-backup comprises:
and at least utilizing three different transmission speeds to transmit files, recording the change condition of the shell temperature rise of the file backup device under different transmission speeds, and further determining the third corresponding relation.
9. A file backup system, characterized in that the file backup system comprises a file backup device and a terminal device, the file backup device comprises a first processor, a first memory and a first communication circuit respectively coupled with the first processor, the terminal device comprises a second processor, a second memory and a second communication circuit respectively coupled with the second processor, when the file backup device establishes connection with the terminal device, the file backup device and the terminal device communicate through the first communication circuit and the second communication circuit, the first processor of the file backup device controls itself and the first memory through the first communication circuit when working, the second processor of the terminal device controls itself and the second memory through the second communication circuit when working, to carry out the steps of the method according to any one of claims 1 to 8.
10. An apparatus having a memory function, characterized in that program data are stored, which can be executed to implement the steps in the method according to any of claims 1 to 8.
CN201810732187.2A 2018-07-05 2018-07-05 File backup method, system and device Expired - Fee Related CN109117304B (en)

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 CN109117304A (en) 2019-01-01
CN109117304B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515768B (en) * 2019-08-09 2021-10-15 苏州浪潮智能科技有限公司 Background transmission method and device for backup data

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
《分布式存储***中的能耗管理策略研究》;刘霖;《中国博士学位论文全文数据库信息科技辑》;20131115(第11期);I137-2 *

Also Published As

Publication number Publication date
CN109117304A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN103765373B (en) Date storage method, data storage device and memory device
CN101673192B (en) Method for time-sequence data processing, device and system therefor
US20120119577A1 (en) Smart Power Sockets, Boards, and Plugs
CN106412091A (en) Method, device and system for controlling data transmission
CN104915306B (en) A kind of data manipulation control method and equipment manager
CN103548004B (en) The method and apparatus of dynamic data attemper is realized in file system
CN103399781A (en) Cloud server and virtual machine management method thereof
CN105187564A (en) Method for breakpoint resuming of mobile phone side file
CN103973516A (en) Method and device for achieving monitoring function in data processing system
CN109327526B (en) Portable storage device based on cloud storage
CN109117304B (en) File backup method, system and device
CN104753992A (en) Method, device and system for data storage and method and device for virtual platform failure recovery
CN103500108A (en) System memory access method, node processor and multi-processor system
CN105471955A (en) Writing method of distributed file system, client device and distributed file system
US9098451B1 (en) Shingled repair set for writing data
CN104038566A (en) Virtual switching device address learning method, apparatus and system
CN103714059A (en) Data updating method and device
US20140040900A1 (en) Storage managing device and method and electronic apparatus
CN104268231A (en) File access method, device and intelligent file system
CN110661869B (en) Node online method, system, device, equipment and computer storage medium
CN104023056A (en) Method of updating data and associated equipment
CN102624732A (en) Network storage system based on cloud computing
CN203119921U (en) Intelligent digital network system
CN109491600B (en) Portable storage device control method based on cloud storage
CN106331036B (en) Server control method and 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220218

CF01 Termination of patent right due to non-payment of annual fee