CN107861781A - A kind of file operation method and device - Google Patents

A kind of file operation method and device Download PDF

Info

Publication number
CN107861781A
CN107861781A CN201710912470.9A CN201710912470A CN107861781A CN 107861781 A CN107861781 A CN 107861781A CN 201710912470 A CN201710912470 A CN 201710912470A CN 107861781 A CN107861781 A CN 107861781A
Authority
CN
China
Prior art keywords
file
mapped
copy
instruction
path
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
CN201710912470.9A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710912470.9A priority Critical patent/CN107861781A/en
Publication of CN107861781A publication Critical patent/CN107861781A/en
Pending legal-status Critical Current

Links

Abstract

The embodiments of the invention provide a kind of file operation method and device, the file operation method includes:Receive the first file operation instruction to file;The first mapped file for being mapped to the file is created in the first object path of file operation, and the file is hidden.By the embodiment of the present invention, it is mapped to the first mapped file of file by creating, and the mode that file is hidden realizes the operation to file, without carrying out actual operation to file, the time of file operation is shortened, so as to improve Consumer's Experience.

Description

A kind of file operation method and device
Technical field
The present invention relates to intelligent terminal technology, espespecially a kind of file operation method and device.
Background technology
At present in mobile phone, file operation is in daily use (such as the operation such as duplication, mobile, shearing), often operates a text Part is required to the regular hour, and therefore, the quantity of documents of operation is more, and the required time is longer.If operate simultaneously multiple File, then the interim card of mobile phone is easily caused, cause user can not carry out other operations, Consumer's Experience is relatively low.
The content of the invention
The embodiments of the invention provide a kind of file operation method and device, the time of file operation can be shortened, so as to Improve Consumer's Experience.
The embodiments of the invention provide a kind of file operation method, including:
Receive the first file operation instruction to file;
Created in the first object path of file operation and be mapped to the first mapped file of the file, and by the file It is hidden.
Optionally, this method also includes:
When receiving the instruction of the first file operation to first mapped file, on the second target road of file operation Footpath, which creates, is mapped to the second mapped file of the file, and deletes first mapped file or by first mapped file It is hidden.
Optionally, this method also includes:
When receiving the instruction of the second file operation to first mapped file, obtain first mapped file and reflect The file being mapped to, the file being mapped to first mapped file carry out the second file operation.
Optionally, the second file operation instruction includes following any one or more:
Modification instruction, OPEN, out code, share instruction.
Optionally, this method also includes:
When receiving the instruction of the deletion to first mapped file, the text that first mapped file is mapped to is obtained Part, delete file and first mapped file that first mapped file is mapped to.
Optionally, the first file operation instruction is shearing instruction or move or duplicate instructions.
Optionally, first mapped file is the shortcut of the file.
Optionally, when first file operation instruction is duplicate instructions, this method also includes:
The first authentic copy of the file is created in the source path where the file.
Optionally, this method also includes:
When receiving the duplicate instructions to first mapped file, the text that first mapped file is mapped to is obtained Part, the source path where the file in acquisition create the triplicate of the file;
The second mapped file of the triplicate for being mapped to the file is created in the second destination path of file operation, and The triplicate of the file is hidden.
The embodiment of the present invention proposes a kind of file operation method, including:
The duplicate instructions to file are received, the copy of the file is created in the source path where the file;
The first mapped file of the copy for being mapped to the file is created in the first object path of file operation, and by institute The copy for stating file is hidden.
Optionally, this method also includes:
When receiving the duplicate instructions to first mapped file, the text that first mapped file is mapped to is obtained The copy of part, the copy of the copy of the file is created in the source path where the copy of the file of acquisition;
The second mapped file of the copy for the copy for being mapped to the file is created in the second destination path of file operation, And the copy of the copy of the file is hidden.
The embodiment of the present invention proposes a kind of terminal, including processor and computer-readable recording medium, the computer Instruction is stored with readable storage medium storing program for executing, when the instruction is by the computing device, realizes above-mentioned any one file behaviour Make method.
The embodiment of the present invention proposes a kind of computer-readable recording medium, is stored thereon with computer program, the meter When calculation machine program is executed by processor the step of any one above-mentioned file operation method.
Technical scheme of the embodiment of the present invention includes:Receive the first file operation instruction to file;In file operation First object path creates the first mapped file for being mapped to the file, and the file is hidden.Pass through the present invention Embodiment, the first mapped file of file is mapped to by creating, and the mode that file is hidden is realized to file Operation, without carrying out actual operation to file, the time of file operation is shortened, so as to improve Consumer's Experience.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the hardware configuration signal for the mobile terminal for realizing each embodiment of the present invention;
The schematic diagram for the communication system that Fig. 2 is communicated between support mobile terminal of the embodiment of the present invention;
Fig. 3 is the flow chart of the file operation method of one embodiment of the present of invention;
Fig. 4 is the schematic diagram that the embodiment of the present invention obtains the file that mapped file is mapped to;
Fig. 5 is the flow chart of the file operation method of an alternative embodiment of the invention;
Fig. 6 is the flow chart of the file operation method of the example 1 of the embodiment of the present invention;
Fig. 7 is the flow chart of the file operation method of the example 2 of the embodiment of the present invention;
Fig. 8 is the flow chart of the file operation method of the example 3 of the embodiment of the present invention;
Fig. 9 is the flow chart of the file operation method of the example 4 of the embodiment of the present invention;
Figure 10 is the flow chart of the file operation method of the example 5 of the embodiment of the present invention;
Figure 11 is the flow chart of the file operation method of the example 6 of the embodiment of the present invention;
Figure 12 is the structure composition schematic diagram of the terminal of another embodiment of the present invention.
Embodiment
Technical scheme is described in detail below in conjunction with drawings and Examples.
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal DigitalAssistant, PDA), portable matchmaker Body player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are mobile Terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used Family equipment) 201, E-UTRAN (Evolved UMTSTerrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc. The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
Referring to Fig. 3, according to one embodiment of present invention, there is provided a kind of file operation method, including:
Step 300, the first file operation received to file instruct.
In the present embodiment, the first file operation instruction is shearing instruction or move or duplicate instructions.
In the present embodiment, shearing instruction refers to the finger that the source path where file from file is clipped to first object path Order;Move refers to the instruction that the source path where file from file is moved to first object path;Duplicate instructions refer to Source path where file from file is copied to the instruction in first object path.
In the present embodiment, the first file operation instruction can be inputted by user, can be from other equipment.
In the present embodiment, the first file operation to a file can be received and instructed, can also be received to multiple The first file operation instruction of file.
Step 301, created in the first object path of file operation and be mapped to the first mapped file of file, and by file It is hidden.
In the present embodiment, the first mapped file can be the shortcut of file.And when showing the first mapped file, adopt The icon for the file being mapped to the first mapped file is shown, rather than is shown using the icon of shortcut, from And think that the first mapped file is exactly the file after carrying out the first file operation to file, improves user in user's perception aspect Experience.
Can also be directly in the mapped file of first object coordinates measurement first, and create between the first mapped file and file Corresponding relation, so, when subsequently being operated to the first mapped file, according to corresponding relation with regard to can find and first mapping text File corresponding to part.
In the present embodiment, file is hidden and refers to the state of file being changed to hidden state so that this document pair User is invisible.So, from the angle of user, file is there occurs movement, but in fact, file does not move, simply first Destination path creates the first mapped file for being mapped to file, and file is improved by way of creating the first mapped file Translational speed, so as to shorten the operating time of file, improve Consumer's Experience.
In the present embodiment, if receive the first file operation instruction to multiple files, exist for each file First object path creates the first mapped file for being mapped to respective file.
In the present embodiment, when the first file operation instruction is duplicate instructions, also text is created in the source path where file The first authentic copy of part.
In an optional embodiment of the present invention, this method also includes:
When receiving the duplicate instructions to first mapped file, the text that first mapped file is mapped to is obtained Part, the source path where the file in acquisition create the triplicate of the file;Created in the second destination path of file operation The second mapped file of the triplicate for being mapped to the file is built, and the triplicate of the file is hidden.
In the present embodiment, the second mapped file can be the shortcut of the triplicate of file.
The second mapped file directly can also be generated in the second destination path, and create the of the second mapped file and file Corresponding relation between two copies, so, when subsequently being operated to the second mapped file, according to corresponding relation with regard to can find with The triplicate of file corresponding to second mapped file.
In the present embodiment, the triplicate of file is hidden refer to the state of the triplicate of file being changed to it is hidden Tibetan state so that the triplicate of this document is invisible to user.So, occur from the angle of user, the triplicate of file Movement, but in fact, the triplicate of file does not move.
In an optional embodiment of the present invention, this method also includes:
When receiving the instruction of the first file operation to the first mapped file, created in the second destination path of file operation The second mapped file for being mapped to file is built, and deletes the first mapped file or is hidden the first mapped file.
In the present embodiment, the first mapped file is hidden and refers to be changed to the state of the first mapped file to hide shape State so that first mapped file is invisible to user.So, from the angle of user, the first mapped file there occurs movement, but In fact, the first mapped file does not move.
In an optional embodiment of the present invention, this method also includes:
When receiving the instruction of the second file operation to the first mapped file, the text that the first mapped file is mapped to is obtained Part, the file being mapped to the first mapped file carry out the second file operation.
In the present embodiment, the file that the first mapped file is mapped to can be obtained in the attribute of the first mapped file.Such as The target of shortcut label shown in Fig. 4 is the file that the first mapped file is mapped to.
Wherein, the second file operation instruction includes following any one or more:
Modification instruction, OPEN, out code, share instruction.
In an optional embodiment of the present invention, this method also includes:
When receiving the instruction of the deletion to the first mapped file, the file that the first mapped file is mapped to is obtained, is deleted The file and the first mapped file that first mapped file is mapped to.
Referring to Fig. 5, according to another embodiment of the present invention, there is provided a kind of file operation method, including:
Step 500, duplicate instructions to file are received, the pair of the file is created in the source path where the file This.
Step 501, file operation first object path create be mapped to the file copy first mapping text Part, and the copy of the file is hidden.
In the present embodiment, the first mapped file can be the shortcut of the copy of file.And in the mapping text of display first During part, the icon of the copy for the file being mapped to using the first mapped file is shown, rather than the figure using shortcut Mark is shown, so as to think that the first mapped file is exactly to carry out the first file operation to the copy of file in user's perception aspect File afterwards, improves Consumer's Experience.
Can also be directly in the mapped file of first object coordinates measurement first, and create the pair of the first mapped file and file Corresponding relation between this, so, when subsequently being operated to the first mapped file, according to corresponding relation with regard to that can find and first The copy of file corresponding to mapped file.
In the present embodiment, file is hidden and refers to the state of file being changed to hidden state so that this document pair User is invisible.So, from the angle of user, file is there occurs movement, but in fact, file does not move, simply first Destination path creates the first mapped file for being mapped to file, and file is improved by way of creating the first mapped file Translational speed, so as to shorten the operating time of file, improve Consumer's Experience.
In an optional embodiment of the present invention, this method also includes:
When receiving the duplicate instructions to first mapped file, the text that first mapped file is mapped to is obtained The copy of part, the copy of the copy of the file is created in the source path where the copy of the file of acquisition;In file operation Second destination path creates the second mapped file of the copy for the copy for being mapped to the file, and by the copy of the file Copy is hidden.
It is detailed below by several examples in order to which the file operation method preferably realized to above-described embodiment illustrates Illustrate the file operation method of above-described embodiment.
Example 1
File 1 is sheared or be moved to path 2 from path 1, is specifically included:
Step 600, receive the instruction that file 1 is sheared or is moved to from path 1 path 2.
Step 601, the mapped file 1 for being mapped to file 1 is created in path 2, and file 1 is hidden.
Step 602, receive the instruction that mapped file 1 is sheared or is moved to from path 2 path 3.
Step 603, the file 1 that mapped file 1 is mapped to is obtained, the mapped file 2 for being mapped to file 1 is created in path 3, And mapped file 1 is deleted.
Step 604, receive the instruction for opening mapped file 2.
Step 605, the file 1 that mapped file 2 is mapped to is obtained, open the file 1 of acquisition.
Step 606, receive the instruction for deleting mapped file 2.
Step 607, the file 1 that mapped file 2 is mapped to is obtained, delete file 1 and mapped file 2.
Example 2
File 1 is copied into path 2 from path 1, specifically included:
Step 700, receive the instruction that file 1 is copied to path 2 from path 1, the copy 1 of establishment file 1.
Step 701, the mapped file 1 for being mapped to file 1 is created in path 2, and file 1 is hidden.
Step 702, receive the instruction that mapped file 1 is copied to path 3 from path 2.
Step 703, the file 1 that mapped file 1 is mapped to is obtained, the copy 2 of establishment file 1, create and be mapped in path 3 The mapped file 2 of copy 2.
Step 704, receive the instruction for opening mapped file 2.
Step 705, the copy 2 that mapped file 2 is mapped to is obtained, open the copy 2 of acquisition.
Step 706, receive the instruction for deleting mapped file 2.
Step 707, the copy 2 that mapped file 2 is mapped to is obtained, delete copy 2 and mapped file 2.
Example 3
File 1 is copied into path 2 from path 1, specifically included:
Step 800, receive the instruction that file 1 is copied to path 2 from path 1, the copy 1 of establishment file 1.
Step 801, in path 2 mapped file 1 for the copy 1 for being mapped to file 1 is created, and the copy 1 of file 1 is carried out Hide.
Step 802, receive the instruction that mapped file 1 is copied to path 3 from path 2.
Step 803, obtain the copy 1 that is mapped to of mapped file 1, create a Copy 1 copy 1, create and be mapped in path 3 The mapped file 2 of the copy 1 of copy 1.
Step 804, receive the instruction for opening mapped file 2.
Step 805, the copy 1 for obtaining the copy 1 that mapped file 2 is mapped to, open the copy 1 of the copy 1 of acquisition.
Step 806, receive the instruction for deleting mapped file 2.
Step 807, the copy 1 for obtaining the copy 1 that mapped file 2 is mapped to, delete the copy 1 and mapped file of copy 1 2。
Example 4
File 1 and file 2 are sheared or are moved to path 2 from path 1, is specifically included:
Step 900, receive the instruction that file 1 and file 2 are sheared or are moved to from path 1 path 2.
Step 901, it is mapped to the mapped file 1 of file 1 in the establishment of path 2 and is mapped to the mapped file 2 of file 2, and File 1 and file 2 are hidden.
Step 902, receive the instruction that mapped file 1 and mapped file 2 are sheared or are moved to from path 2 path 3.
The file 2 that the file 1 and mapped file 2 that step 903, acquisition mapped file 1 are mapped to are mapped to, is created in path 3 The mapped file 3 for being mapped to file 1 and the mapped file 4 for being mapped to file 2 are built, and mapped file 1 and mapped file 2 are deleted Remove.
Step 904, receive the instruction for opening mapped file 3.
Step 905, the file 1 that mapped file 3 is mapped to is obtained, open the file 1 of acquisition.
Step 906, receive the instruction for deleting mapped file 3.
Step 907, the file 1 that mapped file 3 is mapped to is obtained, delete file 1 and mapped file 3.
Example 5
File 1 and file 2 are copied into path 2 from path 1, specifically included:
Step 1000, receive the instruction that file 1 and file 2 are copied to path 2 from path 1, the copy of establishment file 1 1 and the copy 1 of file 2.
Step 1001, it is mapped to the mapped file 1 of file 1 in the establishment of path 2 and is mapped to the mapped file 2 of file 2, and File 1 and file 2 are hidden.
Step 1002, receive the instruction that mapped file 1 and mapped file 2 are copied to path 3 from path 2.
The file 2 that the file 1 and mapped file 2 that step 1003, acquisition mapped file 1 are mapped to are mapped to, establishment file 1 Copy 2 and file 2 copy 2, path 3 create be mapped to file 1 copy 2 mapped file 3 and be mapped to file 2 The mapped file 4 of copy 2.
Step 1004, receive the instruction for opening mapped file 3.
Step 1005, the copy 2 for obtaining the file 1 that mapped file 3 is mapped to, open the copy 2 of the file 1 of acquisition.
Step 1006, receive the instruction for deleting mapped file 3.
Step 1007, the copy 2 for obtaining the file 1 that mapped file 3 is mapped to, delete the copy 2 and mapped file of file 1 3。
Example 6
File 1 and file 2 are copied into path 2 from path 1, specifically included:
Step 1100, receive the instruction that file 1 and file 2 are copied to path 2 from path 1, the copy of establishment file 1 1 and the copy 1 of file 2.
Step 1101, create the mapped file 1 for the copy 1 for being mapped to file 1 in path 2 and be mapped to the copy 1 of file 2 Mapped file 2, and the copy 1 of the copy 1 of file 1 and file 2 is hidden.
Step 1102, receive the instruction that mapped file 1 and mapped file 2 are copied to path 3 from path 2.
The file 2 that step 1103, the copy 1 for obtaining the file 1 that mapped file 1 is mapped to and mapped file 2 are mapped to The copy 1 of copy 1, the copy 1 of the copy 1 of establishment file 1 and the copy 1 of file 2, the pair for being mapped to file 1 is created in path 3 This 1 copy 1 mapped file 3 and be mapped to file 2 copy 1 copy 1.
Step 1104, receive the instruction for opening mapped file 3.
The copy 1 of the copy 1 for the file 1 that step 1105, acquisition mapped file 3 are mapped to, open the pair of the file 1 of acquisition This 1 copy 1.
Step 1106, receive the instruction for deleting mapped file 3.
The copy 1 of the copy 1 for the file 1 that step 1107, acquisition mapped file 3 are mapped to, deletes the copy 1 of file 1 Copy 1 and mapped file 3.
Referring to Figure 12, according to still another embodiment of the invention, there is provided a kind of terminal, including processor and computer-readable Storage medium, instruction is stored with the computer-readable recording medium, it is characterised in that when the instruction is by the processor Following steps are realized during execution:
Receive the first file operation instruction to file;
Created in the first object path of file operation and be mapped to the first mapped file of the file, and by the file It is hidden.
Optionally, following steps are also realized when the instruction is by the computing device:
When receiving the instruction of the first file operation to first mapped file, on the second target road of file operation Footpath, which creates, is mapped to the second mapped file of the file, and deletes first mapped file or by first mapped file It is hidden.
Optionally, following steps are also realized when the instruction is by the computing device:
When receiving the instruction of the second file operation to first mapped file, obtain first mapped file and reflect The file being mapped to, the file being mapped to first mapped file carry out the second file operation.
Optionally, following steps are also realized when the instruction is by the computing device:
When receiving the instruction of the deletion to first mapped file, the text that first mapped file is mapped to is obtained Part, delete file and first mapped file that first mapped file is mapped to.
Optionally, when first file operation instruction is duplicate instructions, when the instruction is by the computing device When also realize following steps:
The first authentic copy of the file is created in the source path where the file.
Optionally, following steps are also realized when the instruction is by the computing device:
When receiving the duplicate instructions to first mapped file, the text that first mapped file is mapped to is obtained Part, the source path where the file in acquisition create the triplicate of the file;
The second mapped file of the triplicate for being mapped to the file is created in the second destination path of file operation, and The triplicate of the file is hidden.
According to still another embodiment of the invention, there is provided a kind of terminal, including processor and computer-readable recording medium, Instruction is stored with the computer-readable recording medium, it is characterised in that real when the instruction is by the computing device Existing following steps:
The duplicate instructions to file are received, the copy of the file is created in the source path where the file;
The first mapped file of the copy for being mapped to the file is created in the first object path of file operation, and by institute The copy for stating file is hidden.
Optionally, following steps are also realized when the instruction is by the computing device:
When receiving the duplicate instructions to first mapped file, the text that first mapped file is mapped to is obtained The copy of part, the copy of the copy of the file is created in the source path where the copy of the file of acquisition;
The second mapped file of the copy for the copy for being mapped to the file is created in the second destination path of file operation, And the copy of the copy of the file is hidden.
According to still another embodiment of the invention, there is provided a kind of computer-readable recording medium, be stored thereon with computer Program, the program realize following steps when being executed by processor:
Receive the first file operation instruction to file;
Created in the first object path of file operation and be mapped to the first mapped file of the file, and by the file It is hidden.
Optionally, following steps are also realized when the instruction is by the computing device:
When receiving the instruction of the first file operation to first mapped file, on the second target road of file operation Footpath, which creates, is mapped to the second mapped file of the file, and deletes first mapped file or by first mapped file It is hidden.
Optionally, following steps are also realized when the instruction is by the computing device:
When receiving the instruction of the second file operation to first mapped file, obtain first mapped file and reflect The file being mapped to, the file being mapped to first mapped file carry out the second file operation.
Optionally, following steps are also realized when the instruction is by the computing device:
When receiving the instruction of the deletion to first mapped file, the text that first mapped file is mapped to is obtained Part, delete file and first mapped file that first mapped file is mapped to.
Optionally, when first file operation instruction is duplicate instructions, when the instruction is by the computing device When also realize following steps:
The first authentic copy of the file is created in the source path where the file.
Optionally, following steps are also realized when the instruction is by the computing device:
When receiving the duplicate instructions to first mapped file, the text that first mapped file is mapped to is obtained Part, the source path where the file in acquisition create the triplicate of the file;
The second mapped file of the triplicate for being mapped to the file is created in the second destination path of file operation, and The triplicate of the file is hidden.
According to still another embodiment of the invention, there is provided a kind of computer-readable recording medium, be stored thereon with computer Program, the program realize following steps when being executed by processor:
The duplicate instructions to file are received, the copy of the file is created in the source path where the file;
The first mapped file of the copy for being mapped to the file is created in the first object path of file operation, and by institute The copy for stating file is hidden.
Optionally, following steps are also realized when the instruction is by the computing device:
When receiving the duplicate instructions to first mapped file, the text that first mapped file is mapped to is obtained The copy of part, the copy of the copy of the file is created in the source path where the copy of the file of acquisition;
The second mapped file of the copy for the copy for being mapped to the file is created in the second destination path of file operation, And the copy of the copy of the file is hidden.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (13)

  1. A kind of 1. file operation method, it is characterised in that including:
    Receive the first file operation instruction to file;
    The first mapped file for being mapped to the file is created in the first object path of file operation, and the file is carried out Hide.
  2. 2. file operation method according to claim 1, it is characterised in that this method also includes:
    When receiving the instruction of the first file operation to first mapped file, created in the second destination path of file operation The second mapped file for being mapped to the file is built, and deletes first mapped file or carries out first mapped file Hide.
  3. 3. file operation method according to claim 1, it is characterised in that this method also includes:
    When receiving the instruction of the second file operation to first mapped file, obtain first mapped file and be mapped to File, the file that is mapped to first mapped file carries out the second file operation.
  4. 4. file operation method according to claim 3, it is characterised in that the second file operation instruction includes following It is any one or more:
    Modification instruction, OPEN, out code, share instruction.
  5. 5. file operation method according to claim 1, it is characterised in that this method also includes:
    When receiving the instruction of the deletion to first mapped file, the file that first mapped file is mapped to is obtained, Delete file and first mapped file that first mapped file is mapped to.
  6. 6. according to the file operation method described in Claims 1 to 5 any one, it is characterised in that first file operation Instruct as shearing instruction or move or duplicate instructions.
  7. 7. according to the file operation method described in Claims 1 to 5 any one, it is characterised in that first mapped file For the shortcut of the file.
  8. 8. file operation method according to claim 1, it is characterised in that when first file operation instruction is duplication During instruction, this method also includes:
    The first authentic copy of the file is created in the source path where the file.
  9. 9. file operation method according to claim 1, it is characterised in that this method also includes:
    When receiving the duplicate instructions to first mapped file, the file that first mapped file is mapped to is obtained, Source path where file in acquisition creates the triplicate of the file;
    The second mapped file of the triplicate for being mapped to the file is created in the second destination path of file operation, and by institute The triplicate for stating file is hidden.
  10. A kind of 10. file operation method, it is characterised in that including:
    The duplicate instructions to file are received, the copy of the file is created in the source path where the file;
    The first mapped file of the copy for being mapped to the file is created in the first object path of file operation, and by the text The copy of part is hidden.
  11. 11. file operation method according to claim 10, it is characterised in that this method also includes:
    When receiving the duplicate instructions to first mapped file, the file that first mapped file is mapped to is obtained Copy, the copy of the copy of the file is created in the source path where the copy of the file of acquisition;
    The second mapped file of the copy for the copy for being mapped to the file is created in the second destination path of file operation, and will The copy of the copy of the file is hidden.
  12. 12. a kind of terminal, including processor and computer-readable recording medium, it is stored with the computer-readable recording medium Instruction, it is characterised in that when the instruction is by the computing device, realize as described in claim 1~11 any one File operation method.
  13. 13. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The step of file operation method as described in claim 1~11 any one is realized when being executed by processor.
CN201710912470.9A 2017-09-29 2017-09-29 A kind of file operation method and device Pending CN107861781A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710912470.9A CN107861781A (en) 2017-09-29 2017-09-29 A kind of file operation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710912470.9A CN107861781A (en) 2017-09-29 2017-09-29 A kind of file operation method and device

Publications (1)

Publication Number Publication Date
CN107861781A true CN107861781A (en) 2018-03-30

Family

ID=61698676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710912470.9A Pending CN107861781A (en) 2017-09-29 2017-09-29 A kind of file operation method and device

Country Status (1)

Country Link
CN (1) CN107861781A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022068578A1 (en) * 2020-09-30 2022-04-07 华为技术有限公司 File sharing method and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419770A (en) * 2011-11-23 2012-04-18 中兴通讯股份有限公司 File sharing system, method for realizing file sharing, and file index service equipment
CN105306564A (en) * 2015-10-20 2016-02-03 浪潮集团有限公司 Database-based network disk file replication method and server
US20170262347A1 (en) * 2016-03-09 2017-09-14 Commvault Systems, Inc. Virtual server cloud file system for virtual machine restore to cloud operations

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419770A (en) * 2011-11-23 2012-04-18 中兴通讯股份有限公司 File sharing system, method for realizing file sharing, and file index service equipment
CN105306564A (en) * 2015-10-20 2016-02-03 浪潮集团有限公司 Database-based network disk file replication method and server
US20170262347A1 (en) * 2016-03-09 2017-09-14 Commvault Systems, Inc. Virtual server cloud file system for virtual machine restore to cloud operations

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022068578A1 (en) * 2020-09-30 2022-04-07 华为技术有限公司 File sharing method and electronic device

Similar Documents

Publication Publication Date Title
CN107562336A (en) A kind of method, equipment and computer-readable recording medium for controlling suspension ball
CN107436779A (en) A kind of application management method, equipment and computer-readable recording medium
CN109213401A (en) Double-sided screen application icon method for sorting, mobile terminal and readable storage medium storing program for executing
CN107707450A (en) A kind of method, apparatus and computer-readable recording medium for transmitting file
CN107145385A (en) A kind of multitask interface display methods, mobile terminal and computer-readable storage medium
CN107241494A (en) A kind of quick inspection method of data content, mobile terminal and storage medium
CN107657583A (en) A kind of screenshot method, terminal and computer-readable recording medium
CN106953684A (en) A kind of method for searching star, mobile terminal and computer-readable recording medium
CN107181865A (en) Processing method, terminal and the computer-readable recording medium of unread short messages
CN107729103A (en) A kind of method for switching theme, mobile terminal and computer-readable storage medium
CN108172161A (en) Display methods, mobile terminal and computer readable storage medium based on flexible screen
CN107463324A (en) A kind of image display method, mobile terminal and computer-readable recording medium
CN107678625A (en) Information Sharing menu display method, mobile terminal and computer-readable recording medium
CN107273433A (en) A kind of file scanning method, equipment and computer-readable recording medium
CN107506163A (en) Adjust method, terminal and the computer-readable recording medium of screen display
CN107172605A (en) A kind of Emmergency call method, mobile terminal and computer-readable recording medium
CN107229410A (en) Interactive operation method, mobile terminal and computer-readable recording medium
CN107135086A (en) One kind broadcast method for pushing and equipment, computer-readable recording medium
CN107566608A (en) A kind of system air navigation aid, equipment and computer-readable recording medium
CN107450796A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN107239218A (en) Control method, mobile terminal and the computer-readable recording medium of mobile terminal
CN109445660A (en) A kind of wearable device control method, mobile terminal and wearable device
CN109445945A (en) Memory allocation method, mobile terminal, server and the storage medium of application program
CN107809527A (en) A kind of method and apparatus that prompt operation is presented
CN107391593A (en) A kind of document handling method, mobile terminal and computer-readable recording medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180330

RJ01 Rejection of invention patent application after publication