CN112799600A - Software moving method, and moving software restoration method and device - Google Patents

Software moving method, and moving software restoration method and device Download PDF

Info

Publication number
CN112799600A
CN112799600A CN202110186815.3A CN202110186815A CN112799600A CN 112799600 A CN112799600 A CN 112799600A CN 202110186815 A CN202110186815 A CN 202110186815A CN 112799600 A CN112799600 A CN 112799600A
Authority
CN
China
Prior art keywords
software
folder
directory
moving
moved
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110186815.3A
Other languages
Chinese (zh)
Inventor
杨全海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Baoqu Technology Co Ltd
Original Assignee
Zhuhai Baoqu Technology 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 Zhuhai Baoqu Technology Co Ltd filed Critical Zhuhai Baoqu Technology Co Ltd
Priority to CN202110186815.3A priority Critical patent/CN112799600A/en
Publication of CN112799600A publication Critical patent/CN112799600A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0647Migration mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools

Abstract

The embodiment of the invention discloses a software moving method, a moving software restoring method and a moving software restoring device, relates to the technical field of computers, and can effectively adjust disk loads and improve system operation efficiency. The moving method comprises the following steps: copying the software to be moved under the moving source directory of the first disk partition to a moving target directory of the second disk partition to obtain moved software; creating a soft link pointing to the moved software from the moving source directory, wherein the soft link is used for jumping the running directory from the moving source directory to the moving target directory when the moved software runs; and deleting the software to be moved so as to release the space of the first disk partition. The invention can be used in computer technology.

Description

Software moving method, and moving software restoration method and device
Technical Field
The invention relates to the technical field of computers, in particular to a software moving method, a moving software restoring method and a moving software restoring device.
Background
Various application programs in terminals such as computers, mobile phones and the like are generally installed on a disk partition, but with the increasing installation of software, the disk partition is also increasingly burdened, and the system operation efficiency is seriously reduced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a software moving method, a software moving restoration method, and a software moving restoration device, which can effectively adjust a disk load and improve system operation efficiency.
In a first aspect, an embodiment of the present invention provides a software moving method, including: copying the software to be moved under the moving source directory of the first disk partition to a moving target directory of the second disk partition to obtain moved software; creating a soft link pointing to the moved software from the moving source directory, wherein the soft link is used for jumping the running directory from the moving source directory to the moving target directory when the moved software runs; and deleting the software to be moved so as to release the space of the first disk partition.
Optionally, the copying the software to be moved under the source directory of the first disk partition to the move target directory of the second disk partition to obtain the moved software includes: copying the contents of the moving source folder of the software to be moved under the moving source directory of the first disk partition to a moving target directory of a second disk partition to obtain a moving target folder; the creating a soft link pointing from the move source directory to the moved software comprises: and creating a soft link pointing to the moving target folder from the moving source directory.
Optionally, the creating a soft link pointing from the move source directory to the move target folder includes: modifying the folder name of the moved source folder from a first name to a second name; and establishing a soft link folder which is named by the first name and points to the moving target folder from the moving source directory.
Optionally, the modifying the folder name of the moved source folder from the first name to the second name includes: and in the process of modifying the folder name, if a first preset event occurs, stopping modifying the folder name, rolling back to the step of copying the moved source folder, and deleting the copied content in the moved target directory.
Optionally, the establishing a soft link folder includes: in the process of establishing the soft link folder, if a first preset event occurs, rolling back to the step of modifying the folder name, changing the folder name of the moved source folder from the second name to the first name, further rolling back to the step of copying the moved source folder, and deleting the copied content in the moved target directory.
Optionally, after the software to be moved is deleted, the method further includes: receiving an instruction for operating the moved software; searching registry information of the moved software according to the instruction; searching a corresponding running file from the moving source directory of the first disk partition according to the registry information; skipping to the target directory of the moving of the second disk partition according to the soft link under the source directory of the moving; and running the moved software under the moved target directory.
In a second aspect, an embodiment of the present invention further provides a method for restoring moving software, including: copying the software to be restored under the restoration source directory in the third disk partition to the restoration target directory of the fourth disk partition to obtain restored software; deleting a pre-established soft link pointing to the software to be restored from the restoration target directory, wherein the soft link is used for jumping the running directory from the restoration target directory to the restoration source directory when the software to be restored runs; and deleting the software to be restored so as to release the space of the third disk partition.
Optionally, the copying the software to be restored in the third disk partition under the restoration source directory to the restoration target directory of the fourth disk partition to obtain the restored software includes: copying a reduction source folder of the software to be reduced under a reduction source directory in the third disk partition to the reduction target directory of the fourth disk partition to obtain a reduction intermediate folder; the deleting of the pre-established soft link pointing from the restore target directory to the software to be restored comprises: deleting a pre-established soft link pointing from the restore target directory to the restore source folder.
Optionally, the deleting a pre-established soft link pointing from the restore target directory to the restore source folder includes: deleting a pre-established soft link folder named by the third name and pointing to the restoration source folder from the restoration target directory; and modifying the folder name of the reduction intermediate folder to obtain a reduction target folder, wherein the reduction intermediate folder is named by a fourth name, and the reduction target folder is named by the third name.
Optionally, the deleting the pre-established soft link folder includes: and in the process of deleting the soft link folder, if a second preset event occurs, recovering the deleted soft link folder, rolling back to the step of copying the reduction source folder, and deleting the copied content in the reduction target directory.
Optionally, the modifying the folder name of the restore intermediate folder includes: in the process of modifying the folder name, if a second preset event occurs, stopping modifying the folder name, rolling back to the step of deleting the soft link folder, recovering the deleted soft link folder, further rolling back to the step of copying the restore source folder, and deleting the copied content in the restore target directory.
In a third aspect, an embodiment of the present invention further provides a software moving device, including: the moving and copying unit is used for copying the software to be moved under the moving source directory of the first disk partition to the moving target directory of the second disk partition to obtain moved software; a creating unit, configured to create a soft link pointing to the moved software from the move source directory, where the soft link is used for jumping a running directory from the move source directory to the move target directory when the moved software runs; and the moving and deleting unit is used for deleting the software to be moved so as to release the space of the first disk partition.
Optionally, the moving copying unit is specifically configured to copy the content of the source folder to be moved of the software to be moved under the source directory of the first disk partition to the moving target directory of the second disk partition, so as to obtain a moving target folder; the creating unit is specifically configured to create a soft link pointing from the move source directory to the move target folder.
Optionally, the creating unit includes: the modification module is used for modifying the folder name of the moved source folder from a first name to a second name; and the establishing module is used for establishing a soft link folder which is named by the first name and points to the moving target folder from the moving source directory.
Optionally, the modifying module is specifically configured to, in a process of modifying the folder name, stop modifying the folder name if a first preset event occurs, roll back to the step of copying the moved source folder, and delete the copied content in the moved target directory.
Optionally, the establishing module is specifically configured to, in a process of establishing the soft link folder, if a first preset event occurs, roll back to a step of modifying a folder name, change the folder name of the moved source folder from the second name to the first name, further roll back to a step of copying the moved source folder, and delete the copied content in the moved target directory.
Optionally, the software moving device further includes: the receiving unit is used for receiving an instruction for operating the moved software after the software to be moved is deleted; the first searching unit is used for searching the registry information of the moved software according to the instruction; the second searching unit is used for searching a corresponding running file from the moving source directory of the first disk partition according to the registry information; a skip unit, configured to skip to the moving target directory of the second disk partition according to the soft link in the moving source directory; and the operation unit is used for operating the moved software under the moving target directory.
In a fourth aspect, an embodiment of the present invention further provides a restoring apparatus for moving software, including: the restoration copying unit is used for copying the software to be restored under the restoration source directory in the third disk partition to the restoration target directory of the fourth disk partition to obtain restored software; the link deleting unit deletes a pre-established soft link pointing to the software to be restored from the restoration target directory, wherein the soft link is used for jumping the running directory from the restoration target directory to the restoration source directory when the software to be restored runs; and the restoration deleting unit is used for deleting the software to be restored so as to release the space of the third disk partition.
Optionally, the restoration copying unit is specifically configured to copy a restoration source folder of the software to be restored in a restoration source directory in the third disk partition to the restoration target directory in the fourth disk partition, so as to obtain a restoration intermediate folder; the link deleting unit is specifically configured to delete a soft link that is established in advance and points to the restoration source folder from the restoration target directory.
Optionally, the link deleting unit includes: a deleting module, configured to delete a pre-established soft link folder named with the third name and pointing to the restoration source folder from the restoration target directory; and the modification module is used for modifying the folder name of the reduction intermediate folder to obtain a reduction target folder, wherein the reduction intermediate folder is named by a fourth name, and the reduction target folder is named by the third name.
Optionally, the deleting module is specifically configured to, in a process of deleting the soft link folder, if a second preset event occurs, restore the deleted soft link folder, roll back to the step of copying the restore source folder, and delete the copied content in the restore target directory.
Optionally, the modifying module is specifically configured to, in a process of modifying the folder name, stop modifying the folder name if a second preset event occurs, roll back to the step of deleting the soft-link folder, recover the deleted soft-link folder, further roll back to the step of copying the restore source folder, and delete the copied content in the restore target directory.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, including: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory, and is used for executing any one of the software moving method and the restoration method for moving the software provided by the embodiment of the invention.
In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs can be executed by one or more processors to implement any one of the software moving methods or the software moving restoration method provided by the embodiments of the present invention.
The software moving method or the moving software restoring method, device, electronic device, and storage medium provided in the embodiments of the present invention can copy software to be moved under a moving source directory of a first disk partition to a moving target directory of a second disk partition to obtain moved software, create a soft link pointing to the moved software from the moving source directory, where the soft link is used to jump an operating directory from the moving source directory to the moving target directory when the moved software is running, and delete the software to be moved, so as to release a space of the first disk partition. Therefore, after the software is moved, files required for operating the software can be found in the second disk partition through the soft link arranged under the moving source directory of the first disk partition, and the software can be operated smoothly, even if the software is registered in the first disk partition, the software can be operated smoothly under the condition that the information of the software registry is not modified. Because the files required by the software are transferred from the first disk partition to the second disk partition, a large amount of space is released in the first disk partition, the disk load is effectively adjusted, and the system operation efficiency of the first disk partition is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a software migration method according to an embodiment of the present invention;
FIG. 2 is a detailed flowchart of a software moving method according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for restoring the mobile software according to an embodiment of the present invention;
FIG. 4 is a detailed flowchart of a method for restoring the mobile software according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a software mover according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a restoring apparatus for moving software according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all 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 invention.
In a first aspect, embodiments of the present invention provide a software moving method, which can effectively adjust a disk load and improve system operation efficiency.
As shown in fig. 1, a software moving method provided in an embodiment of the present invention may include:
s11, copying the software to be moved under the moving source directory of the first disk partition to the moving target directory of the second disk partition to obtain moved software;
the first disk partition and the second disk partition are two different disk partitions of the terminal, for example, the first disk partition is a C disk, the second disk partition is an F disk, or the first disk partition is a D disk, the second disk partition is an E disk, and the like. In one embodiment of the present invention, the first disk partition may be a system disk, i.e., a disk partition in which an operating system is located.
The software to be moved is the software which needs to be moved. To enable the first disk partition to free up more space, software that occupies more space may be moved. And the directory where the software to be moved is the moving source directory. The directory to which the software to be moved is copied, namely the directory where the moved software is located, is the moving target directory.
S12, creating a soft link pointing to the moved software from the moving source directory, wherein the soft link is used for jumping the operation directory from the moving source directory to the moving target directory when the moved software operates;
the soft link is also called a symbolic link, that is, one file or directory contains the pathname of another file or directory. To convert C: the software qqmusic in the user \ software \ music \ qqmusic catalog was copied to E: for example, the created soft link is from C: \ user \ software \ music \ point E: \ collections \ qqmusic.
S13, deleting the software to be moved so as to release the space of the first disk partition.
The software to be moved is stored in the first disk partition, and after the software to be moved is deleted, the space occupied by the software to be moved in the first disk partition can be released, so that the burden of the first disk partition is reduced.
The software moving method provided by the embodiment of the invention can copy the software to be moved under the moving source directory of the first disk partition to the moving target directory of the second disk partition to obtain the moved software, create the soft link pointing to the moved software from the moving source directory, wherein the soft link is used for jumping the running directory from the moving source directory to the moving target directory when the moved software runs, and delete the software to be moved so as to release the space of the first disk partition. Therefore, after the software is moved, files required for operating the software can be found in the second disk partition through the soft link arranged under the moving source directory of the first disk partition, and the software can be operated smoothly, even if the software is registered in the first disk partition, the software can be operated smoothly under the condition that the information of the software registry is not modified. Because the files required by the software are transferred from the first disk partition to the second disk partition, a large amount of space is released in the first disk partition, the disk load is effectively adjusted, and the system operation efficiency of the first disk partition is improved.
Optionally, the software to be moved may be a single file, such as the installation-free software, or may be a folder containing a plurality of files, such as a folder formed by various installation files of the QQ.
When the software to be moved is a folder, the copying the software to be moved under the moving source directory of the first disk partition to the moving target directory of the second disk partition in step S11 to obtain the moved software may specifically include: copying the contents of the moving source folder of the software to be moved under the moving source directory of the first disk partition to a moving target directory of a second disk partition to obtain a moving target folder; based on this, the step S12 of creating the soft link pointing from the move source directory to the moved software may specifically include: and creating a soft link pointing to the moving target folder from the moving source directory.
The file folder to be moved corresponding to the software to be moved is a source file folder to be moved, and the directory where the source file folder is located is a source directory to be moved. The directory to which the moving source folder is copied is a moving target directory, and the moving target folder is obtained after the directory is copied to the moving target directory. For example, the ratio of C: the qqmusic folder in the \ user \ software \ music \ qqmusic directory is copied to E: under the collections catalog, E is obtained: \\ collections \ qqmusic, qqmusic in the C disk is a transfer source folder, and qqmusic copied from the E disk is a transfer target folder. The move source directory is C: \ user \ software \ music, the moved target directory is E: \ collections.
The software moving method provided by the embodiment of the invention can move files or software to other disks according to the needs of users. However, due to problems in the system itself or user operation, various obstacles may be encountered during software moving, and in order to avoid damage to software data or resulting in pile of residual data, which may result from these obstacles, and affect the user experience, in an embodiment of the present invention, the software moving process may be further decomposed into more detailed steps, where each step may be rolled back to the previous step when a problem or an obstacle occurs, and thus, data damage or data residual of software may not be caused. The following describes each step in the software movement in detail.
First, before the software is moved, a check related to the software movement may be performed, for example, to check whether the following conditions exist: no files are selected, software to be moved is occupied, a target directory for moving does not exist, the target disk is the same as the source disk (namely the first disk partition and the second disk partition are the same disk partition), the residual space of the target disk is insufficient (namely the residual space of the second disk partition is insufficient), and the like. If the above situation exists, the software transfer is not performed temporarily. For example, if the moving target directory of the software is "E: the \ Kingma Shifting catalog \ software' can acquire the size of the software to be shifted and whether the residual space of the E disk is larger than the size of the software to be shifted. And under the condition that the residual space of the E disk is smaller than the software to be moved, the software is not moved.
If the check is passed, a software move operation can be performed. Specifically, the copying of the transfer source folder of the software to be transferred under the transfer source directory of the first disk partition to the transfer destination directory of the second disk partition may include: in the process of copying the moved source folder, if a first preset event occurs, the copying operation is terminated and the copied content of the moved target directory is deleted. The first preset event may include various events that may cause a software movement obstacle, such as various system errors (e.g., data overflow, target lookup failure, etc.), or a cancel command issued by a user (e.g., cancel a copy operation, cancel a rename operation, etc.). That is, in the process of copying and pasting the moving source folder to the moving target directory of the second disk, once a first preset event occurs to cause a software moving obstacle, the copying operation can be terminated on one hand, and on the other hand, the copied files in the moving target directory can be deleted, so that file residues caused by software moving failure are effectively avoided.
Optionally, the function related to the first preset event may include one or more of the following:
enum enumSoftDirMoveError{
enumSoftDirMoveError_Unknow=0,
EnumSoftDirMoveError _ ProcLock,// File occupied by Process
enum SoftDirMoveError _ OpenHandleError,// folder open failure
enum SoftDirMoveError _ DeleteFileError,// delete File failure
enum SoftDirMoveError _ DeleteDirError,// folder delete failure
enum SoftDirMoveError _ TraversalError,// traverse folder error
enum SoftDirMoveError _ CreateDirError,// failure to create folder
enum SoftDirMoveError _ copyFileError,// copy file failure
enum SoftDirMoveError _ GetFileSizeError,// failure to acquire File size
enum SoftDirMoveError _ RenameFileError,// rename File failure
enum SoftDirMoveError _ CreateJunction DirError,// failure to create a soft link.
After the source file is successfully copied and moved to the moved target directory, a soft link pointing to the moved target folder from the moved source directory can be established, so that the relationship between the moved source directory and the moved target directory is established. Specifically, creating a soft link pointing from the move source directory to the move target folder may include: and in the process of creating the soft link, if a first preset event occurs, deleting residual data formed by creating the soft link, rolling back to the step of copying the moving source folder, and deleting the moving target folder. That is, in the process of creating the soft link, once the software moving obstacle is caused by the occurrence of the first preset event, the soft link in the creation may be deleted so as to avoid data residue, and the process is rolled back to the step of copying and copying the moving source folder, in which the moving target folder in the moving target directory is deleted so as to avoid data residue.
Optionally, in the process of creating a soft link, creating a soft link pointing from the move source directory to the move target folder may specifically include:
modifying the folder name of the moved source folder from a first name to a second name;
and establishing a soft link folder which is named by the first name and points to the moving target folder from the moving source directory.
In this embodiment, the created soft link is specifically a soft link folder, and the name of the soft link folder is the same as the name of the folder for moving the source folder, so that the software can accurately find the file body according to the name of the folder when running. In order to avoid duplication of names of the created soft link folder and the moved source folder, in an embodiment of the present invention, before the soft link folder is created, the folder name of the moved source folder may be modified to another name. For example, if the name of the moved source folder is namel, the name of the moved source folder may be modified from namel to temp, and then a soft link folder is established, where the name of the soft link folder is namel.
In an embodiment of the present invention, in a process of modifying the folder name, if a first preset event occurs, in order to prevent the software to be moved from being damaged and data residue from being generated, modifying the folder name may be stopped, rolling back to a step of copying the moved source folder, and deleting the copied content in the moved target directory. Therefore, even if the folder name is not modified, the normal use of the software is not influenced, and residual data formed in the moving process is not left.
In another embodiment of the present invention, in the process of creating the soft link folder, if a first preset event occurs, in order to prevent the software to be moved from being damaged and data residue from being generated, the method may roll back to the step of modifying the folder name, change the folder name of the moved source folder from the second name to the first name, further roll back to the step of copying the moved source folder, and delete the copied content in the moved target directory. For example, if the name of the move source folder is name1, the name of the move source folder is modified from name to temp successfully, and then a soft link folder is created, but the soft link folder is not created successfully, the process may roll back to the step of modifying the name of the move source folder, modify the name of the folder from temp back to name, then roll back to the step of copying the move source folder, and delete the copied contents, such as copied files and/or folders, in the move target directory.
In an embodiment of the present invention, a file ontology required for running software may be found through a soft link, and in order to ensure that the soft link can accurately and reliably find the file ontology corresponding to the software, before creating the soft link pointing from the migration source directory to the migration target folder, the software migration method provided in the embodiment of the present invention may further include: detecting whether a parent folder or a child folder of the moved source folder is provided with other soft links, namely detecting whether the parent folder or the child folder of the moved source folder is occupied by the soft links; based on this, creating a soft link pointing from the move source directory to the move target folder may specifically include: in response to no other soft link being set, creating a soft link pointing from the move source directory to the move target folder; or, in response to setting other soft links, rolling back to the step of copying the moving source folder, and deleting the moving target folder. That is, if other soft links are set in the parent folder or the child folder of the moving source folder, in order to avoid dead loops between the soft links, in this case, the soft links are not created any more, and the process is rolled back to the step of copying the moving source folder, and the moving target folder copied to the moving target directory is deleted.
Further, after the software is moved and the software to be moved is deleted, the software moving method provided in the embodiment of the present invention may further include:
receiving an instruction for operating the moved software;
searching registry information of the moved software according to the instruction;
searching a corresponding running file from the moving source directory of the first disk partition according to the registry information;
skipping to the target directory of the moving of the second disk partition according to the soft link under the source directory of the moving;
and running the moved software under the moved target directory.
That is, after the software is moved, the user can normally run the moved software, the registry information of the moved software is still the registry information before the movement, and when the corresponding running file is searched for in the movement source directory of the first disk partition according to the registry information, the software can be transferred to the movement target directory of the second disk partition through the soft link under the movement source directory, so as to run the moved software under the movement target directory.
For example, a detailed flow of the software moving method provided by the embodiment of the present invention may be as shown in fig. 2. It should be noted that the original folder in fig. 2 is the moved source folder described in the foregoing embodiment, and the temporary folder is the moved source folder, and the copied folder under the moved target directory is referred to as a temporary folder because the copied folder is in the copying and pasting process during the copying and pasting process. The cancellation or error in fig. 2 is that the first preset event has occurred.
Correspondingly, in a second aspect, an embodiment of the present invention further provides a method for restoring the moved software, which can restore the moved software, effectively adjust a disk load, and improve system operation efficiency.
As shown in fig. 3, the method for restoring the moving software according to the embodiment of the present invention may include:
s21, copying the software to be restored under the restoration source directory in the third disk partition to the restoration target directory of the fourth disk partition to obtain restored software;
the third disk partition and the fourth disk partition are two different disk partitions of the terminal, for example, the third disk partition is a C disk, the fourth disk partition is an F disk, or the third disk partition is a D disk, the fourth disk partition is a C disk, and the like. In an embodiment of the present invention, the fourth disk partition may be a system disk, i.e., a disk partition in which an operating system is located.
The software to be restored is the software which needs to be restored after the software moving operation of any one of the embodiments is executed. The directory where the software to be restored is the moving source directory. The directory to which the software to be moved is copied is the moving target directory. For example, the ratio of E: qqmusic in \ collections \ qqmusic catalog was copied to C: under the user \ software \ music directory, the qqmusic in the E disk is the software to be restored, C: \\ user \ software \ music is the restore target directory.
S22, deleting a pre-established soft link pointing to the software to be restored from the restoration target directory, wherein the soft link is used for jumping the running directory from the restoration target directory to the restoration source directory when the software to be restored runs;
the soft link is also called a symbolic link, that is, one file or directory contains another file or destination pathname. The ratio of E: qqmusic in \ collections \ qqmusic was copied to C: for example, the pre-established soft link is from C: \ user \ software \ music \ point E: \ collections \ qqmusic.
S23, deleting the software to be restored to release the space of the third disk partition.
After the software to be restored is copied to the restoration target directory and the soft link is deleted, in this step, the software to be restored can be deleted, so that the space is released for the third disk partition.
The method for restoring the moved software provided by the embodiment of the invention can copy the software to be restored under the restoration source directory in the third disk partition to the restoration target directory of the fourth disk partition to obtain the restored software, delete the pre-established soft link pointing to the software to be restored from the restoration target directory, wherein the soft link is used for jumping the running directory from the restoration target directory to the restoration source directory when the software to be restored runs, and delete the software to be restored so as to release the space of the third disk partition. Therefore, when the disk where the moved software is located is heavy in load or the disk where the software is located before the software is moved has a large residual space, the moved software can be restored to the disk where the software is located before the software is moved, so that the disk load can be effectively adjusted, and the system operation efficiency is improved.
Optionally, the software to be restored may be a single file, such as the installation-free software, or may be a folder containing a plurality of files, such as a folder formed by various installation files of the QQ.
In an embodiment of the present invention, if the software to be restored is a folder containing a plurality of files, the copying, in step S21, the software to be restored under the restoration source directory in the third disk partition to the restoration target directory of the fourth disk partition to obtain the restored software may include: and copying a reduction source folder of the software to be reduced under the reduction source directory in the third disk partition to the reduction target directory of the fourth disk partition to obtain a reduction intermediate folder, wherein the contents of the reduction intermediate folder and the contents of the reduction source folder are the same, and the names of the folders are different. Based on this, deleting the pre-established soft link pointing from the restore target directory to the software to be restored in step S22 may include: deleting a pre-established soft link pointing from the restore target directory to the restore source folder.
The software to be restored is the software which needs to be restored after being moved. The folder to be restored corresponding to the software to be restored is a restoration source folder, and the directory where the restoration source folder is located is a moving source directory. The directory to which the move source folder is copied is the move target directory. For example, the ratio of E: the qqmusic folder in the \ collections \ qqmusic directory is copied to C: under the user \ software \ music directory, qqmusic in the E disk is a reduction source folder, C: \\ user \ software \ music is the restore target directory. The ratio of E: the qqmusic folder in \ collections \ qqmusic is copied to C: for example, the pre-established soft link is from C: \ user \ software \ music \ point E: \ collections \ qqmusic.
The method for restoring the moved software provided by the embodiment of the invention can restore the moved file or software to the disk before moving according to the user requirement. However, due to problems in the system itself or user operation, various obstacles may be encountered during the software moving recovery, and in order to avoid the damage of software data or the stacking of residual data caused by these obstacles, in an embodiment of the present invention, the software moving recovery process may be further divided into more detailed steps, where each step may be rolled back to the previous step when a problem or an obstacle occurs, and thus, the data damage or the data residual of the software may not be caused. The following is a detailed description of each step in the migration software restore.
First, before the software is restored, a check related to the software restoration may be performed, for example, to check whether the following conditions exist: the method comprises the steps of not checking any software to be restored, occupying the software to be restored, not existing a restored target directory, having the same target disk and source disk (namely, the third disk partition and the fourth disk partition are the same disk partition), having insufficient residual space of the target disk (namely, insufficient residual space of the fourth disk partition), and the like. If the above situation exists, the restoration operation of the software moving is not performed temporarily.
If the check is passed, the restoration operation of the moving software can be performed. Specifically, the copying the restore source folder of the software to be restored in the third disk partition to the restore destination directory of the fourth disk partition may include: in the copying process, if a second preset event occurs, the copying operation is terminated and the copied content of the reduction target directory is deleted. The second preset event may include various events that can cause the moving software to be disabled from restoring, and may be various system errors (for example, data overflow, target lookup failure, etc.), or may be a cancel command issued by the user (for example, cancel the copy operation, cancel the rename operation, etc.). That is to say, in the process of copying and pasting the restoration source folder to the fourth disk restoration target directory, once a second preset event occurs to cause a software restoration obstacle, the copying operation can be terminated on one hand, and on the other hand, the copied files in the restoration target directory can be deleted, so that file residues caused by software restoration failure are effectively avoided.
Optionally, the function related to the second preset event may include one or more of the following:
enum enumSoftDirMoveError{
enumSoftDirMoveError_Unknow=0,
EnumSoftDirMoveError _ ProcLock,// File occupied by Process
enum SofiDirMoveError _ OpenHandleError,// folder open failure
enum SoftDirMoveError _ DeleteFileError,// delete File failure
enum SoftDirMoveError _ DeleteDirError,// folder delete failure
enum SoftDirMoveError _ TraversalError,// traverse folder error
enum SoftDirMoveError _ CreateDirError,// failure to create folder
enum SoftDirMoveError _ copyFileError,// copy file failure
enum SoftDirMoveError _ GetFileSizeError,// failure to acquire File size
enum SoftDirMoveError _ RenameFileError,// rename File failure
enum SoftDirMoveError _ CreateJunction DirError,// failure to create a soft link.
Specifically, in an embodiment of the present invention, deleting a pre-established soft link pointing from the restore target directory to the restore source folder may specifically include: in the process of deleting the soft link, if a second preset event occurs, recovering the deleted soft link, rolling back to the step of copying the restoration source folder, and deleting the restoration intermediate folder. That is, in the process of deleting the soft link, once a second preset event occurs to cause a software restoration obstacle, the deleted soft link can be recovered, and the step of copying the restoration source folder is rolled back, and the restoration intermediate folder under the restoration target directory is deleted in the step, so that data residue is avoided.
Optionally, in an embodiment of the present invention, the deleting a pre-established soft link pointing from the restore target directory to the restore source folder may include:
deleting a pre-established soft link folder named by the third name and pointing to the restoration source folder from the restoration target directory;
and modifying the folder name of the reduction intermediate folder to obtain a reduction target folder, wherein the reduction intermediate folder is named by a fourth name, and the reduction target folder is named by the third name.
In this embodiment, the name of the soft-link folder in the restored target directory is the same as the name of the restored source folder, so that when the restored source folder is copied to the restored target directory, the name of the restored source folder is not directly used, so that two folders with the same name in the same directory are not caused, but an intermediate folder is used as a transition, and after the soft-link folder in the restored target directory is deleted, the name of the intermediate folder is modified to be the same as the name of the restored source folder.
Optionally, in an embodiment of the present invention, deleting the pre-established soft link folder specifically may include: and in the process of deleting the soft link folder, if a second preset event occurs, recovering the deleted soft link folder, rolling back to the step of copying the reduction source folder, and deleting the copied content in the reduction target directory.
If the second preset event does not occur in the process of deleting the soft link and the soft link is successfully deleted, the folder name of the intermediate folder can be modified and restored. In the process of modifying the folder name, if a second preset event occurs, the modification of the folder name may be stopped, and the process returns to the step of deleting the soft-link folder, and recovers the deleted soft-link folder, and further returns to the step of copying the restore source folder, and deletes the copied content in the restore target directory. That is, even if the soft-linked folder has been successfully deleted, if the folder name of the restore intermediate folder has not been successfully modified, the original way can be rolled back, the deleted soft-linked folder is restored, and the copied contents in the restore target directory are deleted.
In the embodiment of the invention, the file body required by the running software can be found through the soft link, and when the soft link is deleted, whether the deletion of the soft link causes other influences can be considered. For example, before deleting a pre-established soft link pointing from the restore target directory to the restore source folder in an embodiment of the present invention, the restore method for moving files provided in an embodiment of the present invention may further include: detecting whether a parent folder or a child folder of the restored source folder is provided with other soft links, namely detecting whether the parent folder or the child folder of the restored source folder is occupied by soft links; based on this, deleting the pre-established soft link pointing from the restore target directory to the restore source folder may specifically include: deleting a pre-established soft link pointing to the restoration source folder from the restoration target directory in response to no other soft link being set; or, in response to setting other soft links, rolling back to the step of copying the restore source folder, and deleting the copied content in the restore target directory. That is, if other soft links are also set in the parent folder or the child folder of the restore source folder, in order to avoid that the other soft links are not available due to the deletion of the soft links, the soft links may be rolled back to the step of copying the restore source folder without deleting the soft links, and the copied content of the restore target directory is deleted.
For example, a detailed flow of the restoring method for moving software provided by the embodiment of the present invention may be as shown in fig. 4. It should be noted that, in fig. 4, the original folder, that is, the restore source folder described in the foregoing embodiment, and the temporary folder, that is, the restore source folder, restore the copied folder in the restore destination directory in the process of pasting to the restore destination directory, since the folder is in the process of copying and pasting, the folder is called a temporary folder. The cancellation or error in fig. 4 is that a second preset event has occurred.
In a third aspect, an embodiment of the present invention further provides a software moving device, which can effectively adjust a disk load and improve system operation efficiency.
As shown in fig. 5, the software moving apparatus provided in the embodiment of the present invention may include:
the moving copying unit 31 is configured to copy the software to be moved in the moving source directory of the first disk partition to the moving target directory of the second disk partition to obtain moved software;
a creating unit 32, configured to create a soft link pointing to the moved software from the move source directory, where the soft link is used for jumping the running directory from the move source directory to the move target directory when the moved software runs;
and a removal deleting unit 33, configured to delete the software to be removed, so as to release the space of the first disk partition.
The software to be moved under the moving source directory of the first disk partition can be copied to the moving target directory of the second disk partition to obtain the moved software, a soft link pointing to the moved software from the moving source directory is created, and the soft link is used for jumping the running directory from the moving source directory to the moving target directory when the moved software runs and deleting the software to be moved so as to release the space of the first disk partition. Therefore, after the software is moved, files required for operating the software can be found in the second disk partition through the soft link arranged under the moving source directory of the first disk partition, and the software can be operated smoothly, even if the software is registered in the first disk partition, the software can be operated smoothly under the condition that the information of the software registry is not modified. Because the files required by the software are transferred from the first disk partition to the second disk partition, a large amount of space is released in the first disk partition, the disk load is effectively adjusted, and the system operation efficiency of the first disk partition is improved.
Optionally, the moving copying unit 31 is specifically configured to copy the content of the source folder to be moved of the software to be moved under the moving source directory of the first disk partition to the moving target directory of the second disk partition, so as to obtain a moving target folder; the creating unit 32 is specifically configured to create a soft link pointing from the move source directory to the move target folder.
Optionally, the creating unit 32 may include:
the modification module is used for modifying the folder name of the moved source folder from a first name to a second name;
and the establishing module is used for establishing a soft link folder which is named by the first name and points to the moving target folder from the moving source directory.
Optionally, the modifying module is specifically configured to, in a process of modifying the folder name, stop modifying the folder name if a first preset event occurs, roll back to the step of copying the moved source folder, and delete the copied content in the moved target directory.
Optionally, the establishing module is specifically configured to, in a process of establishing the soft link folder, if a first preset event occurs, roll back to a step of modifying a folder name, change the folder name of the moved source folder from the second name to the first name, further roll back to a step of copying the moved source folder, and delete the copied content in the moved target directory.
Optionally, the software moving device may further include:
the receiving unit is used for receiving an instruction for operating the moved software after the software to be moved is deleted;
the first searching unit is used for searching the registry information of the moved software according to the instruction;
the second searching unit is used for searching a corresponding running file from the moving source directory of the first disk partition according to the registry information;
a skip unit, configured to skip to the moving target directory of the second disk partition according to the soft link in the moving source directory;
and the operation unit is used for operating the moved software under the moving target directory.
In a fourth aspect, an embodiment of the present invention further provides a device for restoring the moved software, which can restore the moved software, effectively adjust a disk load, and improve system operation efficiency.
As shown in fig. 6, the restoring apparatus for moving software according to an embodiment of the present invention may include:
the restoring and copying unit 41 is configured to copy the software to be restored in the restoring source directory in the third disk partition to the restoring target directory of the fourth disk partition, so as to obtain restored software;
a link deleting unit 42, configured to delete a soft link that is established in advance and points to the software to be restored from the restoration target directory, where the soft link is used to jump the running directory from the restoration target directory to the restoration source directory when the software to be restored runs;
and a restoring and deleting unit 43, configured to delete the software to be restored, so as to release the space of the third disk partition.
The restoration device for moving software provided by the embodiment of the present invention can copy software to be restored under a restoration source directory in a third disk partition to a restoration target directory of a fourth disk partition to obtain restored software, delete a pre-established soft link pointing to the software to be restored from the restoration target directory, where the soft link is used to jump a running directory from the restoration target directory to the restoration source directory when the software to be restored runs, and delete the software to be restored, so as to release a space of the third disk partition. Therefore, when the disk where the moved software is located is heavy in load or the disk where the software is located before the software is moved has a large residual space, the moved software can be restored to the disk where the software is located before the software is moved, so that the disk load can be effectively adjusted, and the system operation efficiency is improved.
Optionally, the restoration copying unit 41 is specifically configured to copy the restoration source folder of the software to be restored in the restoration source directory in the third disk partition to the restoration target directory in the fourth disk partition, so as to obtain a restoration intermediate folder; the link deleting unit 42 is specifically configured to delete a soft link that is established in advance and points from the restore target directory to the restore source folder.
Alternatively, the link deleting unit 42 may include:
a deleting module, configured to delete a pre-established soft link folder named with the third name and pointing to the restoration source folder from the restoration target directory;
and the modification module is used for modifying the folder name of the reduction intermediate folder to obtain a reduction target folder, wherein the reduction intermediate folder is named by a fourth name, and the reduction target folder is named by the third name.
Optionally, the deleting module is specifically configured to, in a process of deleting the soft link folder, if a second preset event occurs, restore the deleted soft link folder, roll back to the step of copying the restore source folder, and delete the copied content in the restore target directory.
Optionally, the modifying module is specifically configured to, in a process of modifying the folder name, stop modifying the folder name if a second preset event occurs, roll back to the step of deleting the soft-link folder, recover the deleted soft-link folder, further roll back to the step of copying the restore source folder, and delete the copied content in the restore target directory.
In a fifth aspect, embodiments of the present invention provide an electronic device, which can effectively adjust a disk load and improve system operation efficiency.
As shown in fig. 7, an electronic device provided in an embodiment of the present invention may include: the device comprises a shell 51, a processor 52, a memory 53, a circuit board 54 and a power circuit 55, wherein the circuit board 54 is arranged inside a space enclosed by the shell 51, and the processor 52 and the memory 53 are arranged on the circuit board 54; a power supply circuit 55 for supplying power to each circuit or device of the electronic apparatus; the memory 53 is used to store executable program code; the processor 52 reads the executable program code stored in the memory 53 to run a program corresponding to the executable program code, and is configured to execute the software moving method or the software moving restoration method provided in any of the foregoing embodiments.
For specific execution processes of the above steps by the processor 52 and further steps executed by the processor 52 by running the executable program code, reference may be made to the description of the foregoing embodiments, and details are not described herein again.
The above electronic devices exist in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic equipment with data interaction function.
Accordingly, in a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and the one or more programs can be executed by one or more processors to implement any one of the software moving methods or the software moving restoration methods provided in the foregoing embodiments, so that corresponding technical effects can also be achieved, and the foregoing has been described in detail, and are not described herein again.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The term "comprising", without further limitation, means that the element so defined is not excluded from the group consisting of additional identical elements in the process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
For convenience of description, the above devices are described separately in terms of functional division into various units/modules. Of course, the functionality of the units/modules may be implemented in one or more software and/or hardware implementations of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A software moving method is characterized by comprising the following steps:
copying the software to be moved under the moving source directory of the first disk partition to a moving target directory of the second disk partition to obtain moved software;
creating a soft link pointing to the moved software from the moving source directory, wherein the soft link is used for jumping the running directory from the moving source directory to the moving target directory when the moved software runs;
and deleting the software to be moved so as to release the space of the first disk partition.
2. The method according to claim 1, wherein the copying of the software to be migrated in the migration source directory of the first disk partition to the migration target directory of the second disk partition to obtain migrated software comprises:
copying the contents of the moving source folder of the software to be moved under the moving source directory of the first disk partition to a moving target directory of a second disk partition to obtain a moving target folder;
the creating a soft link pointing from the move source directory to the moved software comprises:
and creating a soft link pointing to the moving target folder from the moving source directory.
3. The method of claim 2, wherein the creating a soft link pointing from the move source directory to the move target folder comprises:
modifying the folder name of the moved source folder from a first name to a second name;
and establishing a soft link folder which is named by the first name and points to the moving target folder from the moving source directory.
4. The method of claim 3, wherein modifying the folder name of the migrated source folder from a first name to a second name comprises:
and in the process of modifying the folder name, if a first preset event occurs, stopping modifying the folder name, rolling back to the step of copying the moved source folder, and deleting the copied content in the moved target directory.
5. The method of claim 3, wherein the establishing a soft-link folder comprises:
in the process of establishing the soft link folder, if a first preset event occurs, rolling back to the step of modifying the folder name, changing the folder name of the moved source folder from the second name to the first name, further rolling back to the step of copying the moved source folder, and deleting the copied content in the moved target directory.
6. The method according to any one of claims 1 to 5, wherein after deleting the software to be moved, the method further comprises:
receiving an instruction for operating the moved software;
searching registry information of the moved software according to the instruction;
searching a corresponding running file from the moving source directory of the first disk partition according to the registry information;
skipping to the target directory of the moving of the second disk partition according to the soft link under the source directory of the moving;
and running the moved software under the moved target directory.
7. A restoration method for moving software comprises the following steps:
copying the software to be restored under the restoration source directory in the third disk partition to the restoration target directory of the fourth disk partition to obtain restored software;
deleting a pre-established soft link pointing to the software to be restored from the restoration target directory, wherein the soft link is used for jumping the running directory from the restoration target directory to the restoration source directory when the software to be restored runs;
and deleting the software to be restored so as to release the space of the third disk partition.
8. The method according to claim 7, wherein the copying the software to be restored in the third disk partition under the restoration source directory to the restoration target directory of the fourth disk partition to obtain the restored software comprises:
copying a reduction source folder of the software to be reduced under a reduction source directory in the third disk partition to the reduction target directory of the fourth disk partition to obtain a reduction intermediate folder;
the deleting of the pre-established soft link pointing from the restore target directory to the software to be restored comprises:
deleting a pre-established soft link pointing from the restore target directory to the restore source folder.
9. The method of claim 8, wherein deleting pre-established soft links pointing from the restore target directory to the restore source folder comprises:
deleting a pre-established soft link folder named by the third name and pointing to the restoration source folder from the restoration target directory;
and modifying the folder name of the reduction intermediate folder to obtain a reduction target folder, wherein the reduction intermediate folder is named by a fourth name, and the reduction target folder is named by the third name.
10. The method of claim 9, wherein deleting the pre-established soft-link folder comprises:
and in the process of deleting the soft link folder, if a second preset event occurs, recovering the deleted soft link folder, rolling back to the step of copying the reduction source folder, and deleting the copied content in the reduction target directory.
CN202110186815.3A 2021-02-09 2021-02-09 Software moving method, and moving software restoration method and device Pending CN112799600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110186815.3A CN112799600A (en) 2021-02-09 2021-02-09 Software moving method, and moving software restoration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110186815.3A CN112799600A (en) 2021-02-09 2021-02-09 Software moving method, and moving software restoration method and device

Publications (1)

Publication Number Publication Date
CN112799600A true CN112799600A (en) 2021-05-14

Family

ID=75815126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110186815.3A Pending CN112799600A (en) 2021-02-09 2021-02-09 Software moving method, and moving software restoration method and device

Country Status (1)

Country Link
CN (1) CN112799600A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115221117A (en) * 2022-08-31 2022-10-21 成都易我科技开发有限责任公司 Method and system capable of transferring data across disks

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214119A (en) * 2010-04-07 2011-10-12 腾讯科技(深圳)有限公司 Method and device for moving software
CN102567323A (en) * 2010-12-14 2012-07-11 腾讯科技(深圳)有限公司 Application program file moving method and application program file moving system
CN107239295A (en) * 2016-03-29 2017-10-10 腾讯科技(深圳)有限公司 The method and software updating apparatus of a kind of software upgrading
CN108363931A (en) * 2018-02-13 2018-08-03 北京奇安信科技有限公司 A kind of method and device that isolation area file is restored

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214119A (en) * 2010-04-07 2011-10-12 腾讯科技(深圳)有限公司 Method and device for moving software
CN102567323A (en) * 2010-12-14 2012-07-11 腾讯科技(深圳)有限公司 Application program file moving method and application program file moving system
CN107239295A (en) * 2016-03-29 2017-10-10 腾讯科技(深圳)有限公司 The method and software updating apparatus of a kind of software upgrading
CN108363931A (en) * 2018-02-13 2018-08-03 北京奇安信科技有限公司 A kind of method and device that isolation area file is restored

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115221117A (en) * 2022-08-31 2022-10-21 成都易我科技开发有限责任公司 Method and system capable of transferring data across disks

Similar Documents

Publication Publication Date Title
US20150213100A1 (en) Data synchronization method and system
WO2010098019A2 (en) Program update device, program update method, and information processing device
US9740562B2 (en) Method for checkpointing and restoring program state
US8095510B2 (en) Data restoration in a storage system using multiple restore points
CN102609328A (en) System difference upgrade method and device and mobile terminal
CN102193844A (en) Partial block based backup system
US8589647B2 (en) Apparatus and method for synchronizing a snapshot image
CN111752759A (en) Kafka cluster fault recovery method, device, equipment and medium
CN103493003A (en) Deploying a copy of a disk image from source storage to target storage
CN113032032A (en) System management method and device, computing equipment and readable storage medium
CN105573788B (en) The method and apparatus of patch processing and the method and apparatus for generating patch
CN112799600A (en) Software moving method, and moving software restoration method and device
JP5733239B2 (en) Application execution method and execution apparatus
US20190138386A1 (en) Recovering log-structured filesystems from physical replicas
CN110597660A (en) Data backup method, device, equipment and medium for virtual machine
CN112882746B (en) Application program updating method and device, storage medium and computer equipment
CN112269679B (en) Database persistence method, system, equipment and storage medium of cloud platform
JP5556192B2 (en) Storage system
CN111858173A (en) Data recovery method, device, equipment and medium
CN116627519A (en) Multisystem starting method of embedded equipment
CN110727545B (en) Power-down protection method based on joint file system
CN109325005A (en) A kind of data processing method and electronic equipment
CN107145501B (en) File updating method, file copying method and corresponding system
CN115495286A (en) Test method, system, equipment and storage medium for timed backup of configuration file
US20030131180A1 (en) Device for use in a network environment

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