CN107391593A - A kind of document handling method, mobile terminal and computer-readable recording medium - Google Patents

A kind of document handling method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107391593A
CN107391593A CN201710515448.0A CN201710515448A CN107391593A CN 107391593 A CN107391593 A CN 107391593A CN 201710515448 A CN201710515448 A CN 201710515448A CN 107391593 A CN107391593 A CN 107391593A
Authority
CN
China
Prior art keywords
file
detect
mark
catalogue
need
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
CN201710515448.0A
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 CN201710515448.0A priority Critical patent/CN107391593A/en
Publication of CN107391593A publication Critical patent/CN107391593A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • H04M1/72472User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons wherein the items are sorted according to specific criteria, e.g. frequency of use

Abstract

Disclosed herein is a kind of document handling method, mobile terminal and computer-readable recording medium, this document processing method includes:When detect need to classify to file when, be one file of this document mark in the catalogue pre-set;Hard link file corresponding with this document is established in marked file.The embodiment of the present invention is classified by way of hard link to file, is improved the efficiency of document classification, is saved memory space.

Description

A kind of document handling method, mobile terminal and computer-readable recording medium
Technical field
The present embodiments relate to but be not limited to intelligent terminal technology, espespecially a kind of document handling method, mobile terminal and Computer-readable recording medium.
Background technology
With the development and popularization of mobile terminal, the file stored in mobile terminal is more and more, it is therefore desirable to various The file of various kinds enters every trade and effectively classified to meet the needs of user.
Mostly in the prior art is that file is classified by way of database, and such document classification mode efficiency is low Under, more memory space can be taken.
The content of the invention
It is the general introduction of the theme to being described in detail herein below.It is to limit the protection model of claim that this general introduction, which is not, Enclose.
, can the embodiments of the invention provide a kind of document handling method, mobile terminal and computer-readable recording medium The efficiency of document classification is improved, saves memory space.
In order to reach the application purpose, the embodiments of the invention provide a kind of document handling method, including:
When detect need to classify to file when, be described one file of file mark in the catalogue pre-set Folder;
Hard link file corresponding with the file is established in marked file.
Alternatively, it is described be one file of file mark in the catalogue pre-set the step of before, institute Stating document handling method also includes:Detect whether to need to classify to the file.
Alternatively, it is described to detect whether to need to include the step of classifying to the file:
Detect whether the pressing operation for exceeding preset duration to the file be present;
When detect the presence of to the file exceed the preset duration pressing operation when, then need to divide file Class;
When being not detected by the presence of the pressing operation for exceeding the preset duration to the file, then file need not be entered Row classification.
Alternatively, described the step of being the file mark file in the catalogue pre-set, includes:
Display label menu interface;
Receive the input operation information to the tab menu interface;
According to the file of input operation information creating one as it is described be the file in the catalogue pre-set The file of mark.
Alternatively, it is described in marked file establish hard link file corresponding with the file the step of it Afterwards, the document handling method also includes:
Detect whether to enter file manager;
When detecting into the file manager, the file of the mark is shown;
Detect whether to open the marked file;
When detect open the marked file when, show that the hard link in the marked file is corresponding File.
On the other hand, the embodiment of the present invention additionally provides a kind of mobile terminal, including:Memory, processor and communication are total Line;
Communication bus is used to realize the connection communication between processor and memory;
Processor is used to perform the documentor stored in memory, to realize following steps:
When detect need to classify to file when, be described one file of file mark in the catalogue pre-set Folder;
Hard link file corresponding with the file is established in marked file.
Alternatively, it is described in the catalogue pre-set be described one file of file mark before, the processing Device is additionally operable to perform the documentor, to realize following steps:Detect whether to need to classify to the file.
Alternatively, whether be used for processing detection in the processor needs to carry out classification to file to include:
Detect whether the pressing operation for exceeding preset duration to the file be present;
When detect the presence of to the file exceed the preset duration pressing operation when, then need to divide file Class;
When being not detected by the presence of the pressing operation for exceeding the preset duration to the file, then file need not be entered Row classification.
Alternatively, it is described one file of file mark to be used to handle in the catalogue pre-set in the processor Including:
Display label menu interface;
Receive the input operation information to the tab menu interface;
According to the file of input operation information creating one as it is described be the file in the catalogue pre-set The file of mark.
On the other hand, the embodiment of the present invention additionally provides a kind of computer-readable recording medium, described computer-readable to deposit One or more documentors are stored with storage media, one or more of documentors can be one or more Computing device, the step of to realize the document handling method described in any of the above-described.
Compared with correlation technique, technical scheme includes:When detect need to classify to file when, advance It is one file of this document mark in the catalogue of setting;Hard link corresponding with this document is established in marked file File.The embodiment of the present invention is classified by way of hard link to file, is improved the efficiency of document classification, is saved and deposit Store up space.
After reading and understanding accompanying drawing and being described in detail, it can be appreciated that other aspects.
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 architecture diagram for realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the flow chart of image processing method of the embodiment of the present invention;
Fig. 4 is the schematic diagram for the human-computer interaction interface that the embodiment of the present invention sets preset duration;
Fig. 5 is the schematic diagram at tab menu of embodiment of the present invention interface;
Fig. 6 is the flow chart of another embodiment of the present invention image processing method.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
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 Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic 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 UMTS Terrestrial 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.
It has been found that in Linux file system can by hard link (wherein, Hard link refer to by index save Point is attached) mode, can be the file being stored in disk partition all allocates it one (regardless of type) Individual numbering, referred to as inode number (Inode Index), wherein, the effect of hard link is to allow a file to possess multiple to have Imitate pathname (can be understood as the shortcut in Windos systems).Therefore, applicant is proposed in the terminal by hard The mode of link is document classification, can lift the efficiency of document classification, because the memory space shared by hard link is smaller, therefore Memory space can be saved.
Fig. 3 is the flow chart of image processing method of the embodiment of the present invention, as shown in figure 3, including:
Step 301:When detect need to classify to file when, be this document mark one in the catalogue pre-set Individual file.
Alternatively, before the step of being one file of this document mark in the catalogue pre-set, the present invention is real Applying a document handling method also includes:
Detect whether to need to classify to file.
Wherein, the step of embodiment of the present invention detects whether to need to classify to file includes:
Detect whether the pressing operation for exceeding preset duration to file be present;
When detect the presence of to file exceed preset duration pressing operation when, then need to classify to file;
When being not detected by the presence of the pressing operation for exceeding preset duration to file, then file need not be classified.
Wherein, preset duration of the embodiment of the present invention can be the default value pre-set by the system of mobile terminal, A human-computer interaction interface can also be provided to be configured according to the demand of itself by user, as shown in figure 4, being the embodiment of the present invention The schematic diagram of the human-computer interaction interface of preset duration is set, can be set when user inputs preset duration and clicks on " confirmation " button Complete, preset duration can be re-entered after user clicks on " cancellation " button.For example, preset duration can be 5 seconds, can also It is 8 seconds or 10 seconds.
Wherein, the step of embodiment of the present invention is one file of this document mark in the catalogue pre-set includes:
Display label menu interface;
Receive the input operation information to tab menu interface;
According to the file of input operation information creating one as the file in the catalogue pre-set being this document mark Folder.
Wherein, input operation of embodiment of the present invention information is label (or the name that user is named by the file of mark Claim).
Wherein, the embodiment of the present invention includes according to the step of input operation one file of information creating:
Create a file named with input operation information.
As shown in figure 5, it is the schematic diagram at tab menu of embodiment of the present invention interface, when user is at tab menu interface It is that this document marked label " to dote in the catalogue pre-set after " pet " is inputted in " label " column and clicks on " confirmation " The file of thing ".
Wherein, the catalogue that the embodiment of the present invention is pre-set is the catalogue that user can not operate, such as/data/ subregions The subdirectory of this catalogue or/data/ subregions (such as/data/data/lable/).
Wherein, input operation of embodiment of the present invention information can be title (mark of the user for the file folder definition of mark Label), such as personage, landscape, pet.For example, user is pet for the title (label) of file folder definition of mark, then with this The path of file corresponding to file is:/ data/data/lable/ pets/.
Step 302:Hard link file corresponding with this document is established in marked file.
It should be noted that how to create hard link file belongs to conventional techniques hand well-known to those skilled in the art Section, here is omitted is not intended to limit the application.
Example is connected, the hard link file corresponding with this document now established is:/ data/data/label/ pets/ Test, the hard link file point to this document actual stored path (for example ,/data/data/label/ pets/test-> DICM/Camera/text.jpg), wherein, what test was marked is the hard link of this document.
Alternatively, after the step of hard link file corresponding with this document is established in marked file, this Inventive embodiments document handling method also includes:
Detect whether to enter file manager;
When detect enter file manager when, show the file of mark;
Detect whether to open marked file;
When detect open marked file when, show file corresponding to the hard link in marked file.
Wherein, file of the embodiment of the present invention includes various types of files in mobile terminal, is specifically including but not limited to wrap Include:Picture file, video file .doc files, electrical form (Excel) file, Portable document form (PDF, Portable Document Format) file .txt files .png files etc..
If for example, have an A.txt file, a B.txt file and a C.png file in mobile terminal, Wherein, A, B, C are the titles of file, are " liking " this label (i.e. pre- by A.txt file marks by the above method The label of file in the catalogue first set for A.txt file marks is " liking "), it is " work " by B.txt file marks This label (label of the file i.e. in the catalogue pre-set for B.txt file marks is " work "), by C.png texts Labeled as " pet " this label, (label of the file i.e. in the catalogue pre-set for C.png file marks is " happiness to part Vigorously "), then the file of the label such as " liking ", " work ", " pet " just occurs in file manager, in these files Corresponding A .txt files, B.txt files, C.png files are just distinguished in underedge face, once label is opened in file manager as " happiness File can vigorously " shows A.txt files, and label is opened in file manager and is shown for the file can of " work " Show B.txt files, label is opened in file manager and shows C.png files for the file can of " pet ".
In embodiment of the present invention, by being one file of this document mark in the catalogue pre-set, Yi Ji Hard link file corresponding with this document is established in marked file, so as to improve the efficiency of document classification, is saved Memory space.
Fig. 6 is the flow chart of another embodiment of the present invention image processing method, as shown in fig. 6, including:
Step 601:Detect whether to need to classify to file.When needing to classify to file, step is transferred to 602;Otherwise, step 601 is continued executing with.
Wherein, file of the embodiment of the present invention includes various types of files in mobile terminal, is specifically including but not limited to wrap Include:Picture file, video file .doc files, electrical form (Excel) file, Portable document form (PDF, Portable Document Format) file .txt files .png files etc..
Wherein, the step of embodiment of the present invention detects whether to need to classify to file includes:
Detect whether the pressing operation for exceeding preset duration to file be present;
When detect the presence of to file exceed preset duration pressing operation when, then need to classify to file;
When being not detected by the presence of the pressing operation for exceeding preset duration to file, then file need not be classified.
Wherein, preset duration of the embodiment of the present invention can be the default value pre-set by the system of mobile terminal, A human-computer interaction interface can also be provided to be configured according to the demand of itself by user, as shown in figure 4, being the embodiment of the present invention The schematic diagram of the human-computer interaction interface of preset duration is set, can be set when user inputs preset duration and clicks on " confirmation " button Complete, preset duration can be re-entered after user clicks on " cancellation " button.For example, preset duration can be 5 seconds, can also It is 8 seconds or 10 seconds.
Step 602:It is one file of this document mark in the catalogue pre-set.
Wherein, the step of embodiment of the present invention is one file of this document mark in the catalogue pre-set includes:
Display label menu interface;
Receive the input operation information to tab menu interface;
According to the file of input operation information creating one as the file in the catalogue pre-set being this document mark Folder.
Wherein, input operation of embodiment of the present invention information is label (or the name that user is named by the file of mark Claim).
Wherein, the embodiment of the present invention includes according to the step of input operation one file of information creating:
Create a file named with input operation information.
As shown in figure 5, it is the schematic diagram at tab menu of embodiment of the present invention interface, when user is at tab menu interface It is that this document marked label " to dote in the catalogue pre-set after " pet " is inputted in " label " column and clicks on " confirmation " The file of thing ".
Wherein, the catalogue that the embodiment of the present invention is pre-set is the catalogue that user can not operate, such as/data/ subregions The subdirectory of this catalogue or/data/ subregions (such as/data/data/lable/).
Wherein, input operation of embodiment of the present invention information can be title (mark of the user for the file folder definition of mark Label), such as personage, landscape, pet.For example, user is pet for the title (label) of file folder definition of mark, then with this The path of file corresponding to file is:/ data/data/lable/ pets/.
Step 603:Hard link file corresponding with this document is established in marked file.
It should be noted that how to create hard link file belongs to conventional techniques hand well-known to those skilled in the art Section, here is omitted is not intended to limit the application.
Example is connected, the hard link file corresponding with this document now established is:/ data/data/label/ pets/ Test, the hard link file point to this document actual stored path (for example ,/data/data/label/ pets/test-> DICM/Camera/text.jpg), wherein, what test was marked is the hard link of this document.
Step 604:Detect whether to enter file manager.When detect enter file manager when, be transferred to step 605; Otherwise, this flow is terminated.
Step 605:(or more than one) file for display mark.
Step 606:Detect whether to open marked file.When detect open marked file when, be transferred to Step 607.
Step 607:Show file corresponding to the hard link in the file opened.
It should be noted that one or more hard links can be included in the file of a mark in the embodiment of the present invention File, as labeled as in the file of pet, one or more hard link files can be included, do not have a hard link file corresponding one The actual storage path of individual file.
Present invention also provides a kind of mobile terminal, including:Memory, processor and communication bus;
Communication bus is used to realize the connection communication between processor and memory;
Processor is used to perform the documentor stored in memory, to realize following steps:
When detect need to classify to file when, be one file of this document mark in the catalogue pre-set Folder;
Hard link file corresponding with this document is established in marked file.
Alternatively, before being one file of this document mark in the catalogue pre-set, processor is additionally operable to hold Row documentor, to realize following steps:Detect whether to need to classify to file.
Wherein, whether be used for processing detection in processor of the embodiment of the present invention needs to carry out classification to file to include:
Detect whether the pressing operation for exceeding preset duration to file be present;
When detect the presence of to file exceed preset duration pressing operation when, then need to classify to file;
When being not detected by the presence of the pressing operation for exceeding preset duration to file, then file need not be classified.
Wherein, it is one text of this document mark to be used to handle in the catalogue pre-set in processor of the embodiment of the present invention Part folder includes:
Display label menu interface;
Receive the input operation information to tab menu interface;
According to the file of input operation information creating one as the file in the catalogue pre-set being this document mark Folder.
Alternatively, after hard link file corresponding with this document is established in marked file, processor is also For performing documentor, to realize following steps:
Detect whether to enter file manager;
When detect enter file manager when, show the file of mark;
Detect whether to open marked file;
When detect open marked file when, show file corresponding to the hard link in marked file.
In embodiment of the present invention, documentor that processor is stored by performing in memory is following to realize Step:It is one file of this document mark in the catalogue pre-set, and establishes and be somebody's turn to do in marked file Hard link file corresponding to file, so as to improve the efficiency of document classification, save memory space.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, it is characterised in that computer-readable storage One or more documentors are stored with medium, one or more documentors can be by one or more processors Perform, to realize following steps:
When detect need to classify to file when, be one file of this document mark in the catalogue pre-set Folder;
Hard link file corresponding with this document is established in marked file.
Alternatively, before being one file of this document mark in the catalogue pre-set, one or more text Part processing routine can also be by one or more computing device, to realize following steps:Detect whether to need to carry out file Classification.
Wherein, the embodiment of the present invention detects whether to need to carry out classification to file to include:
Detect whether the pressing operation for exceeding preset duration to file be present;
When detect the presence of to file exceed preset duration pressing operation when, then need to classify to file;
When being not detected by the presence of the pressing operation for exceeding preset duration to file, then file need not be classified.
Wherein, the embodiment of the present invention includes in the catalogue pre-set for one file of this document mark:
Display label menu interface;
Receive the input operation information to tab menu interface;
According to the file of input operation information creating one as the file in the catalogue pre-set being this document mark Folder.
Alternatively, after corresponding with this document hard link file is established in marked file, one or Multiple documentors can also be by one or more computing device, to realize following steps:
Detect whether to enter file manager;
When detect enter file manager when, show the file of mark;
Detect whether to open marked file;
When detect open marked file when, show file corresponding to the hard link in marked file.
In embodiment of the present invention, it can be executed by one or more processors by one or more documentors, To realize following steps:It is one file of this document mark in the catalogue pre-set, and in marked file It is middle to establish hard link file corresponding with this document, so as to improve the efficiency of document classification, save memory space.
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.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program Related hardware (such as processor) is completed, and described program can be stored in computer-readable recording medium, as read-only storage, Disk or CD etc..Alternatively, all or part of step of above-described embodiment can also be come using one or more integrated circuits Realize.Correspondingly, each module/unit in above-described embodiment can be realized in the form of hardware, such as pass through integrated electricity Its corresponding function is realized on road, can also be realized in the form of software function module, such as be stored in by computing device Program/instruction in memory realizes its corresponding function.The present invention is not restricted to the hardware and software of any particular form With reference to.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use Embodiment, it is not limited to the present invention.Technical staff in any art of the present invention, taken off not departing from the present invention On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

  1. A kind of 1. document handling method, it is characterised in that including:
    When detect need to classify to file when, be described one file of file mark in the catalogue pre-set;
    Hard link file corresponding with the file is established in marked file.
  2. 2. document handling method according to claim 1, it is characterised in that it is described be institute in the catalogue pre-set Before the step of stating one file of file mark, the document handling method also includes:Detect whether to need to the file Classified.
  3. 3. document handling method according to claim 2, it is characterised in that described to detect whether to need to enter the file The step of row classification, includes:
    Detect whether the pressing operation for exceeding preset duration to the file be present;
    When detect the presence of to the file exceed the preset duration pressing operation when, then need to classify to file;
    When being not detected by the presence of the pressing operation for exceeding the preset duration to the file, then file need not be divided Class.
  4. 4. document handling method according to claim 1, it is characterised in that described is described in the catalogue pre-set The step of file mark file, includes:
    Display label menu interface;
    Receive the input operation information to the tab menu interface;
    According to the file of input operation information creating one as it is described be the file mark in the catalogue pre-set File.
  5. 5. the document handling method according to claim 1 or 4, it is characterised in that described in marked file After the step of establishing hard link file corresponding with the file, the document handling method also includes:
    Detect whether to enter file manager;
    When detecting into the file manager, the file of the mark is shown;
    Detect whether to open the marked file;
    When detect open the marked file when, show text corresponding to the hard link in the marked file Part.
  6. A kind of 6. mobile terminal, it is characterised in that including:Memory, processor and communication bus;
    Communication bus is used to realize the connection communication between processor and memory;
    Processor is used to perform the documentor stored in memory, to realize following steps:
    When detect need to classify to file when, be described one file of file mark in the catalogue pre-set;
    Hard link file corresponding with the file is established in marked file.
  7. 7. mobile terminal according to claim 6, it is characterised in that it is described be the text in the catalogue pre-set Before one file of part mark, the processor is additionally operable to perform the documentor, to realize following steps:Detection Whether need to classify to the file.
  8. 8. mobile terminal according to claim 7, it is characterised in that be used for whether processing detection to need in the processor Carrying out classification to file includes:
    Detect whether the pressing operation for exceeding preset duration to the file be present;
    When detect the presence of to the file exceed the preset duration pressing operation when, then need to classify to file;
    When being not detected by the presence of the pressing operation for exceeding the preset duration to the file, then file need not be divided Class.
  9. 9. mobile terminal according to claim 6, it is characterised in that be used in the processor handle pre-setting It is that described one file of file mark includes in catalogue:
    Display label menu interface;
    Receive the input operation information to the tab menu interface;
    According to the file of input operation information creating one as it is described be the file mark in the catalogue pre-set File.
  10. A kind of 10. computer-readable recording medium, it is characterised in that be stored with the computer-readable recording medium one or Multiple documentors, one or more of documentors can be executed by one or more processors, to realize such as The step of document handling method any one of claim 1 to 5.
CN201710515448.0A 2017-06-29 2017-06-29 A kind of document handling method, mobile terminal and computer-readable recording medium Pending CN107391593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710515448.0A CN107391593A (en) 2017-06-29 2017-06-29 A kind of document handling method, mobile terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710515448.0A CN107391593A (en) 2017-06-29 2017-06-29 A kind of document handling method, mobile terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107391593A true CN107391593A (en) 2017-11-24

Family

ID=60333790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710515448.0A Pending CN107391593A (en) 2017-06-29 2017-06-29 A kind of document handling method, mobile terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107391593A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992553A (en) * 2017-11-28 2018-05-04 维沃移动通信有限公司 A kind of multimedia file operating method and mobile terminal
CN109144956A (en) * 2018-08-27 2019-01-04 Tcl移动通信科技(宁波)有限公司 Mobile terminal multifile sorting processing method, mobile terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364438A (en) * 2011-10-10 2012-02-29 宇龙计算机通信科技(深圳)有限公司 Application program display and classification method, terminal and mobile terminal
CN104360880A (en) * 2014-11-03 2015-02-18 联想(北京)有限公司 Application installing method and electronic equipment
CN105468686A (en) * 2015-11-17 2016-04-06 北京奇虎科技有限公司 Method and device for reducing redundant data
EP3008635A1 (en) * 2013-06-14 2016-04-20 Proxem Method for automatic thematic classification of a digital text file
CN106776871A (en) * 2016-11-29 2017-05-31 维沃移动通信有限公司 The storage method and mobile terminal of a kind of multimedia file

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364438A (en) * 2011-10-10 2012-02-29 宇龙计算机通信科技(深圳)有限公司 Application program display and classification method, terminal and mobile terminal
EP3008635A1 (en) * 2013-06-14 2016-04-20 Proxem Method for automatic thematic classification of a digital text file
CN104360880A (en) * 2014-11-03 2015-02-18 联想(北京)有限公司 Application installing method and electronic equipment
CN105468686A (en) * 2015-11-17 2016-04-06 北京奇虎科技有限公司 Method and device for reducing redundant data
CN106776871A (en) * 2016-11-29 2017-05-31 维沃移动通信有限公司 The storage method and mobile terminal of a kind of multimedia file

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992553A (en) * 2017-11-28 2018-05-04 维沃移动通信有限公司 A kind of multimedia file operating method and mobile terminal
CN109144956A (en) * 2018-08-27 2019-01-04 Tcl移动通信科技(宁波)有限公司 Mobile terminal multifile sorting processing method, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
CN107357497A (en) A kind of multi-screen display method and mobile terminal
CN108536481A (en) A kind of application program launching method, mobile terminal and computer storage media
CN107329682A (en) Edge exchange method and mobile terminal
CN107707450A (en) A kind of method, apparatus and computer-readable recording medium for transmitting file
CN107657583A (en) A kind of screenshot method, terminal and computer-readable recording medium
CN107181865A (en) Processing method, terminal and the computer-readable recording medium of unread short messages
CN109032466A (en) Long screenshot method, mobile terminal and storage medium based on double screen
CN107633051A (en) Desktop searching method, mobile terminal and computer-readable recording medium
CN108572777A (en) A kind of terminal object method for sorting, terminal and computer readable storage medium
CN107506039A (en) Mobile terminal, data transmission method and computer-readable storage medium
CN107506468A (en) Application program searching method, terminal, server, computer-readable recording medium
CN107943397A (en) A kind of note generation method, mobile terminal and computer-readable recording medium
CN107844230A (en) A kind of advertisement page method of adjustment, mobile terminal and computer-readable recording medium
CN107809527A (en) A kind of method and apparatus that prompt operation is presented
CN107463324A (en) A kind of image display method, mobile terminal and computer-readable recording medium
CN107168626A (en) A kind of information processing method, equipment and computer-readable recording medium
CN107391593A (en) A kind of document handling method, mobile terminal and computer-readable recording medium
CN109584897A (en) Vedio noise reduction method, mobile terminal and computer readable storage medium
CN109522276A (en) Application icon management method, terminal and computer readable storage medium
CN109344876A (en) A kind of public platform sort management method, terminal and storage medium
CN108900696A (en) A kind of data processing method, terminal and computer readable storage medium
CN108566476A (en) A kind of information processing method, terminal and computer readable storage medium
CN108200287A (en) A kind of information processing method, terminal and computer readable storage medium
CN107894867A (en) Interface display method, mobile terminal and computer-readable recording medium
CN107566608A (en) A kind of system air navigation aid, equipment 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: 20171124

RJ01 Rejection of invention patent application after publication