Application program file moving method and application program file moving system

An application program and file technology, applied in the computer field, can solve the problems of low transfer success rate, complicated application program transfer process, difficulty in implementing application program file transfer, etc., and achieve the effect of improving the degree of automation and simplifying the transfer operation

Inactive Publication Date: 2012-07-11
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiments of the present invention is to provide a method and system for moving application files, aiming to solve the problem of when the application is running or the dynamic link library of the application is being used by other applications during the process of moving the application in the prior art When the program is in use, it is difficult to move the application file, which leads to the complicated process of moving the application and the low success rate of the move

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Application program file moving method and application program file moving system
  • Application program file moving method and application program file moving system
  • Application program file moving method and application program file moving system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] figure 1 The implementation flow of the application file moving method provided by the first embodiment of the present invention is shown, and the details are as follows:

[0035] In step S101, the source folder where the application file to be moved is copied to a preset target folder.

[0036] In the embodiment of the present invention, when the available space of the disk partition of the computer terminal or the server is less, or when the application file transfer request input by the user is received, the source folder where the application file to be moved is copied to the preset target file Folder, before the step of copying the source folder, you can preset the destination folder to which the application is moved, or you can preset the destination folder as the disk folder with the smallest disk occupation ratio by default.

[0037] In step S102, when the copying of the source folder is successful, the source folder where the application file to be moved is lo...

Embodiment 2

[0045] figure 2 The implementation flow of the application file moving method provided by the second embodiment of the present invention is shown, and the details are as follows:

[0046]In step S201, the source folder where the application file to be moved is copied to a preset target folder.

[0047] In step S202, it is judged whether the copying of the source folder is successful, and if the copying of the source folder is successful, step S203 is executed, otherwise, step S209 is executed.

[0048] In step S203, the source folder where the application file to be moved is located is deleted.

[0049] In step S204, it is determined whether the deletion of the source folder where the application file to be moved is located is successful, and if the deletion is successful, step S208 is executed; otherwise, step S205 is executed.

[0050] In step S205, the application file is unlocked according to the collected application file occupation information.

[0051] In step S206,...

Embodiment 3

[0056] In the embodiment of the present invention, when the application file is loaded, the application file is memory-mapped, or the application file is exclusively used, the application file will be locked, resulting in failure to delete the source folder. At this time, The application file should be unlocked according to the collected application file occupation information.

[0057] image 3 The implementation flow of the application file moving method provided by the third embodiment of the present invention is shown, and the details are as follows:

[0058] In step S301, the source folder where the application file to be moved is copied to a preset target folder.

[0059] In step S302, it is judged whether the copying of the source folder is successful, and if the copying of the source folder is successful, step S303 is executed, otherwise, step S315 is executed.

[0060] In step S303, the source folder where the application file to be moved is located is deleted.

[...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention is applicable to the technical field of computers, and provides an application program file moving method and an application program file moving system. The method includes the steps: copying a source folder of to-be-moved application program files to a preset target folder; when the source folder is successfully copied, deleting the source folder; when the source folder is unsuccessfully deleted, unlocking the application program files according to collected occupied information of the application program files; and when the application program files are successfully unlocked, deleting the source folder and setting up soft links of application files in the target folder. By the aid of the method, according to the collected occupied information of the to-be-moved application program files, when the source folder of the application program files is unsuccessfully deleted, and the application program files are subjected to unlocking, so that the application program files are moved, the problem of low moving success rate is solved, moving operations of the application program files are simplified, automation degree of moving the application program files is improved, and the success rate of moving is increased.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a method and system for moving application program files. Background technique [0002] When the space of the disk (especially the C disk) is full, it will cause the system to run slowly, and some operations cannot be carried out normally. In addition, in some cases, the user wishes to move the installed application program. During the process of moving, when the application is running or the dynamic link library (dll) of the application is being used by other programs (such as programs running in the background), it is difficult to move the application files, which makes the process of moving the application complicated , the transfer success rate is low. Contents of the invention [0003] The purpose of the embodiments of the present invention is to provide a method and system for moving application files, aiming to solve the problem of when the application is ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 拓鑫毕廷礼
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products