Summary of the invention
In view of above content, be necessary to provide a kind of file towing method, can realize the direct storage of operating process File, need not to carry out the modification of memory location afterwards.
In view of above content, also be necessary to provide a kind of file towing system, can realize the direct storage of operating process File, need not to carry out the modification of memory location afterwards.
Described file towing method is applied to the file towing, and the method may further comprise the steps: determining step: the detecting user's request, need to judge whether the towing file, when needs towing file, then carry out the detecting step, when not needing to pull file, then continue the detecting user's request; The detecting step: the detecting user will pull file is towed to the purpose file by the original position touch control operation; Storing step: when touch point fell into the scope of purpose file, storage file was to this purpose file.
Described file towing system runs in the electronic installation, and this system comprises: judge module, be used for the detecting user's request, and need to judge whether the towing file; Detecting module is used for when needs towing file, and the detecting user will pull file is towed to the purpose file by the original position touch control operation; Memory module is used for when touch point falls into the scope of purpose file, and storage file is to this purpose file.
Compared to prior art, described file towing method and system can realize the direct storage of operating process File, utilize touch-control that file directly is stored to assigned address, need not to carry out the modification of memory location afterwards.
Embodiment
As shown in Figure 1, be the Organization Chart of file towing system of the present invention preferred embodiment.
File towing system 20 runs in theelectronic installation 10, and describedelectronic installation 10 has the device of Touch Screen for computing machine, panel computer, mobile phone etc.
Described file towing system 20 comprises judge module 200, detecting module 201, memory module 202.
Described judge module 200 is used for the detecting user's request, need to judge whether the towing file.
When the user editor, search or the process of the action such as reading in, when wanting that file is stored to other folder location by the original position, then need carry out drag kick to file, at this moment, before drag kick, file is chosen by the user, presents highlighted state.Described judge module 200 is judged that file is whether selected and is highlighted state, can learn whether the user has the demand of towing file.Described file can be general storage-type document, the single page, application program or the file etc. of storage-type document.Described file is chosen by the user, except highlighted state, can also have other state to show, as is suspended in the display mode such as screen.
Described detecting module 201 is used for when needs towing file, and the detecting user will pull file is towed to the purpose file by the original position touch control operation.
In the process that the user is editing, want file is stored in the file storage of the part of then must advancedly composing a piece of writing.This process does not need manual storage, system's meeting autostore, as do not change the memory location, then do not need to carry out the action of file towing.
Edit the user, in the process of the actions such as inquiry or reading, want file is stored in a certain file, then file directly can be chosen, and towed to the purpose file.Described file and purpose file are under the same catalogue.Described detecting module 201 is detected the user is towed to file the purpose file by the original position withhand 100 whole operating process by the movement locus of the touch point of detecting user's hand 100.As shown in Figure 3, be the towing exemplary plot of the present invention need pull file and purpose file and be in same catalogue the time.
As shown in Fig. 3 (a), file A, B, C and D and need towing file are under the same catalogue.Need the towing file to be chosen byhand 100, then this need towing file is highlighted state, shows that the user need pull file, and function hurdle wherein is used for carrying out the selection of all the other correlation functions at the editing process of file.
As shown in Fig. 3 (b), direction ofaction 101 shows the tow direction of file, and direction ofaction 101 is pointed to file C, shows that the user tows to file C with file by the original position.The movement locus of the touch point of described detecting module 201 detectinghands 100, this moment, the touch point ofhand 100 was shifted to file C position by the original position.File is towed to the process of file C from the original position, and the towing path of file is indefinite, and the user can freely determine.
As shown in Fig. 3 (c), when file was towed to the position of file C, described detecting module 201 detected file C and is in highlighted state.
And edit the user, in the process of the actions such as inquiry or reading, want file is stored in the remaining paper folder, then file directly can be chosen, pull out original file, and tow to the purpose file.The original file in described file place and purpose file are under the same catalogue.As shown in Figure 4, be the towing exemplary plot of the present invention need pull file place file and purpose file and be in same catalogue the time.
As shown in Fig. 4 (a), include file, the page 2, the page 3 and the page 4 among the file A.The described page 2, the page 3 and the page 4 can be the single page of file, also can be a document.File is chosen byhand 100, and then file is highlighted state, shows that the user need pull file.File is chosen byhand 100 and is not put, and figure as shown in Fig. 4 (b) appears in towing outfile folder A afterwards.
As shown in Fig. 4 (b), file A, file B, file C and file D are under the same catalogue, direction ofaction 101 shows the tow direction of file, and direction ofaction 101 is pointed to file C, show the user with file by towing among the file C among the file A.Described detecting module 201 detects file and is pulled withhand 100 by the user, pulls first outfile folder A, is towed to file C again.Need are pulled file tow to the process of file C from the original position, the towing path of file is indefinite, and the user can freely determine.
As shown in Fig. 4 (c), when file was towed to the position of file C, described detecting module 201 detected file C and is in highlighted state.
Definite method of purpose file: when the touch point of described detecting module 201 detectings in one'shands 100 falls into the scope of a file, if this touch point when the residence time surpasses a certain preset value in this file, shows that then this file is the purpose file.If this touch point residence time in this file is no more than a certain preset value, show that then this file is not the purpose file.Described preset value can be 30 seconds, or all the other time values.
Shown in Fig. 3 (c) or Fig. 4 (c), when need towing file is towed to file C, when a certain touch point residence time of this file C surpasses a certain preset value, show that then file C is the purpose file.
Described memory module 202 is used for when touch point falls into the scope of purpose file, and storage file is to the purpose file.
As shown in Figure 2, be the process flow diagram of file towing method of the present invention preferred embodiment.
Step S100, described judge module 200 detecting user's requests need to judge whether the towing file, and when needs towing file, execution in step S101 when not needing to pull file, then continues the detecting user's request.
Described judge module 200 is judged that file is whether selected and is highlighted state, can learn whether the user has the demand of towing file.
Step S101, described detecting module 201 detecting users will pull file is towed to the purpose file by the original position touch control operation.
Definite method of purpose file: when the touch point of described detecting module 201 detectings in one'shands 100 falls into the scope of a file, if this touch point when the residence time surpasses a certain preset value in this file, shows that then this file is the purpose file.If this touch point residence time in this file is no more than a certain preset value, show that then this file is not the purpose file.
Step S102, described memory module 202 is when touch point falls into the scope of purpose file, and storage file is to the purpose file.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.