CN110069446A - Mobile terminal document management method, mobile terminal, device and storage medium - Google Patents

Mobile terminal document management method, mobile terminal, device and storage medium Download PDF

Info

Publication number
CN110069446A
CN110069446A CN201910359853.7A CN201910359853A CN110069446A CN 110069446 A CN110069446 A CN 110069446A CN 201910359853 A CN201910359853 A CN 201910359853A CN 110069446 A CN110069446 A CN 110069446A
Authority
CN
China
Prior art keywords
file
mobile terminal
root
file destination
operation instruction
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
CN201910359853.7A
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 CN201910359853.7A priority Critical patent/CN110069446A/en
Publication of CN110069446A publication Critical patent/CN110069446A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/122File system administration, e.g. details of archiving or snapshots using management policies
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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 OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of mobile terminal document management method, mobile terminal, device and storage mediums, this method comprises: determining the associated target root of file types in preset root directory table when receiving the management operation instruction for carrying out the file destination of file types;According to the description information of the file destination, each subcatalog carries out traversal queries under the target root, with the determining and associated each associated documents of the file types;It establishes and each associated association catalogue listing of associated documents, and when receiving the selection instruction of the directory node in the association catalogue listing, the file destination in the association catalogue listing is determined based on the selection instruction, and the file destination is handled based on the management operation instruction.The file placement location solved in mobile terminal in the prior art is chaotic, the technical issues of can not quickly identifying.

Description

Mobile terminal document management method, mobile terminal, device and storage medium
Technical field
The present invention relates to field of computer technology more particularly to a kind of mobile terminal document management methods, mobile terminal, dress It sets and storage medium.
Background technique
File in mobile terminal includes own files folder and installation software and calls using the file generated, and The file of long-time service due to user to mobile terminal (such as mobile phone), generation is more and more, and catalogue is also more and more chaotic, leads Cause certain files may be under plurality of layers catalogue;Or the naming method disunity due to file, so that working as external equipment Want access mobile terminal document folder when it is very troublesome, can waste a large amount of time locating file folder in.Also, When user wants to thoroughly remove mobile terminal garbage files, the file of deletion is wanted due to that can not identify, leads to not delete It removes, or deletes and be not thorough, so that the memory of mobile terminal is occupied more and more.Therefore, how quickly to identify mobile whole File position in end becomes a technical problem to be solved urgently.
Summary of the invention
The main purpose of the present invention is to provide a kind of mobile terminal document management method, mobile terminal, device and storages Medium, it is intended to which the file placement location solved in mobile terminal in the prior art is chaotic, the technical issues of can not quickly identifying.
To achieve the above object, the present invention provides a kind of mobile terminal document management method, the mobile terminal document pipe Reason method the following steps are included:
When receiving the management operation instruction for carrying out the file destination of file types, in preset root directory table Determine the associated target root of the file types;
According to the description information of the file destination, each subcatalog carries out traversal queries under the target root, with The determining and associated each associated documents of the file types;
Foundation and each associated association catalogue listing of associated documents, and receiving the catalogue in the association catalogue listing When the selection instruction of node, the file destination in the association catalogue listing is determined based on the selection instruction, and be based on the pipe Reason operation instruction handles the file destination.
Optionally, the described the step of file destination is handled based on the management operation instruction, comprising:
Detect whether the file destination is limitation file;
If the file destination is limitation file, the corresponding restrictive condition of the limitation file is obtained, and based on described Restrictive condition and the management operation instruction handle the file destination.
Optionally, described the file destination to be handled with the management operation instruction based on the restrictive condition Step, comprising:
Determine whether the management operation instruction meets the restrictive condition;
If the management operation instruction is unsatisfactory for the restrictive condition, according to the management operation instruction to the target File is adjusted, and file destination adjusted is shown in the terminal.
Optionally, the step of foundation associated with each associated documents association catalogue listing, comprising:
Obtain the location information of the quantity and each associated documents of each associated documents in the mobile terminal;
It is established and each associated association catalogue listing of associated documents with the quantity according to the positional information.
Optionally, described when receiving the management operation instruction for carrying out the file destination of file types, default Root directory table in front of the step of determining the file types associated target root, comprising:
The local file type of each local file in mobile terminal is obtained, and root is established according to each local file type Catalogue listing.
Optionally, the management operation instruction includes storage instruction,
It is described when receive carry out file types file destination management operation instruction when, in preset root The step of associated target root of the file types is determined in table, comprising:
When receiving the storage for carrying out the file destination of file types instruction, determined in preset root directory table With the presence or absence of with the associated target root of the file types;
If in preset root directory table exist and the associated target root of the file types, described Each subdirectory carries out traversal queries under target root object.
Optionally, described to be determined whether there is in preset root directory table and the associated mesh of the file types After the step of marking root, comprising:
If in preset root directory table there is no and the associated target root of described instruction type, at described It creates new root in catalogue listing, and the file destination is stored into the corresponding file of the new root.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal document managing device, the mobile terminals Document management apparatus includes:
Determining module, for when receive carry out file types file destination management operation instruction when, pre- If root directory table in determine the associated target root of file types;
Enquiry module, for the description information according to the file destination under the target root each subcatalog into Row traversal queries, with the determining and associated each associated documents of the file types;
Processing module for foundation and each associated association catalogue listing of associated documents, and is receiving the association When the selection instruction of the directory node in catalogue listing, the target text in the association catalogue listing is determined based on the selection instruction Part, and the file destination is handled based on the management operation instruction.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminals;
The mobile terminal includes: memory, processor and is stored on the memory and can be on the processor The computer program of operation, in which:
The computer program realizes mobile terminal document management method as described above when being executed by the processor Step.
In addition, to achieve the above object, the present invention also provides a kind of storage mediums;
It is stored with computer program on the storage medium, realizes when the computer program is executed by processor as above-mentioned Mobile terminal document management method the step of.
The application by when receive carry out file types file destination management operation instruction when, preset The associated target root of file types is determined in root directory table;Existed according to the description information of the file destination Each subcatalog carries out traversal queries under the target root, associated each related to the file types with determination File;Foundation and each associated association catalogue listing of associated documents, and receiving the catalogue section in the association catalogue listing When the selection instruction of point, the file destination in the association catalogue listing is determined based on the selection instruction, and be based on the management Operation instruction handles the file destination.By receive management operation instruction when, directly in preset root Middle determining target root, then each subdirectory carries out traversal queries to determine file destination under to target root, and right File destination is handled, to improve the efficiency for searching file destination, is avoided and is needed in the prior art to mobile terminal In all documents the phenomenon that being inquired, the file placement location solved in mobile terminal in the prior art is chaotic, nothing The technical issues of method quickly identifies.
Detailed description of the invention
Fig. 1 is the hardware structural diagram of the embodiment of the present invention one optional mobile terminal;
Fig. 2 is the wireless communication device schematic diagram of mobile terminal in Fig. 1;
Fig. 3 is the flow diagram of file management method first embodiment of the present invention;
Fig. 4 is the flow diagram of file management method second embodiment of the present invention;
Fig. 5 is the functional block diagram of document management apparatus of the present invention;
Fig. 6 is the schematic diagram of a scenario of each root in file management method of the present invention;
Fig. 7 is the schematic diagram of a scenario of Photo folder in file management method of the present invention;
Fig. 8 is the schematic diagram of a scenario for determining file in file management method of the present invention in root directory table.
The object of the invention is realized, the embodiments will be further described with reference to the accompanying drawings for functional characteristics and advantage.
Specific embodiment
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 subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special For moving except purpose element, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components 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 constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless 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, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex 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, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the 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 received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the still image or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent 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 (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further 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 sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of 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 sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of 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) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch 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 It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it 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, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, 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 storing software program and various data, and memory 109 can be situated between for a kind of storage of computer Matter, the memory 109 are stored with prompting message program of the present invention.Memory 109 can mainly include storing program area and storage number According to area, wherein storing program area can application program needed for storage program area, at least one function (for example sound plays function Energy, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as audio data, Phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-volatile memories Device, for example, at least a 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 entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Such as Processor 110 executes the prompting message program in memory 109, to realize the step of each embodiment of message prompt method of the present invention Suddenly.
Processor 110 may include one or more processing units;Optionally, processor 110 can integrate application processor and Modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation Processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110 In.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, optionally, power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN 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 details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may 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, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may 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 should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, mobile terminal document manager of the present invention is proposed The each embodiment of method.
The application provides a kind of mobile terminal document management method, which is mainly used in shifting On dynamic terminal device, but it is not limited to mobile terminal, is also possible to other intelligent terminal, mobile terminal document management method packet It includes:
When receiving the management operation instruction for carrying out the file destination of file types, in preset root directory table Determine the associated target root of the file types;
According to the description information of the file destination, each subcatalog carries out traversal queries under the target root, with The determining and associated each associated documents of the file types;
Foundation and each associated association catalogue listing of associated documents, and receiving the catalogue in the association catalogue listing When the selection instruction of node, the file destination in the association catalogue listing is determined based on the selection instruction, and be based on the pipe Reason operation instruction handles the file destination.
Referring to Fig. 3, the present invention provides a kind of file management method, in file management method first embodiment, file pipe Reason method the following steps are included:
Step S10, when receiving the management operation instruction for carrying out the file destination of specified type, in preset root The associated target root of file types is determined in table;
File types can be the file type needed when user is operated by mobile terminal.File destination can To be the file for needing to identify lookup in mobile terminal.Management operation instruction, which can be, to be updated file destination, deletes, is multiple One of operation such as system is a variety of.Root can be the most upper level catalogue of logical drive, that is, most initial catalogue. Root directory table can be the catalogue listing of storage file and directory information in root.Root directory table can be to be deposited in root Store up the catalogue listing of file and directory information.Each file and/or file are scanned in the terminal, it is found that mobile File and/or folder management catalogue in terminal is very chaotic, and the name of some files is unintelligible, has plenty of number, has Be character, can not confirm its actual content, be easy to cause and accidentally delete, in addition, some files are empty files, the inside does not have Content occupies catalogue structure, so that memory headroom becomes smaller.Therefore the first kind according to file each in mobile terminal is needed Type establishes root directory table, quickly to search the file that identification needs, avoids the generation of above-mentioned phenomenon.And determine each file The mode of the first kind can be using file identification technology automatic locating file type in the terminal, further according to finding File type establish root directory table, also can be to each second level mesh and under each root file in root directory table Record is divided again according to the different type of each file.
It should be noted that establishing the mode of root directory table in the terminal in addition to the different first kind according to file Other than establishing, the creation instruction of user's input can also be received, new catalogue is created in root directory table, and in root In table, some catalogues cannot allow user arbitrarily to modify.Such as system software configuration and application software configuration, system are soft Part configuration is the basic configuration of system unsuppressible-suppression, such as system property, master database etc.;Application software configuration refers to installation The files such as some dll, so, jar packets of software, the deletion of these files will affect software operation, therefore the corresponding text of these catalogues Part cannot allow user arbitrarily to modify.
Supplemented by setting of assistant's solution to root, be exemplified below.
For example, as shown in fig. 6, finding the file type of these files when each file being scanned in mobile terminal There are picture, text document, doc document, system software configuration, application software configuration, cache file, video, audio etc., at this time Corresponding root directory table can be established according to these file types, i.e., include picture, text document, doc text in root directory table Shelves, system software configuration, application software configuration, cache file, video, audio and alternative document catalogue.
In the present embodiment, when have in the terminal receive carry out specified type file destination management operation refer to When showing, then target root associated with file types can be searched in preset root directory table according to file types Catalogue, that is, determine in root directory table and then needed if it does not exist with the presence or absence of with the associated root of file types Newly-built root, and if it exists, then traversal queries directly can be carried out to subcatalog each under target root.
Step S20, each subcatalog progress time under the target root according to the description information of the file destination Inquiry is gone through, with the determining and associated each associated documents of the file types;
Associated documents can be the file with file destination there are relationship, that is, it is considered that associated documents include target Some or all the file informations of file.Subcatalog can be the combination of each catalogue after target root is opened. When detecting the presence of target root, then it can be directly entered the corresponding file of target root, determine that root is corresponding File in whether there is subcatalog, and if it exists, then directly to each subcatalog carry out traversal queries, until inquiring With the associated each associated documents of file types.For example, as shown in fig. 7, ought detect needs pair in the terminal When microblog picture carries out delete operation, Photo folder can be found in root directory table, and after entering Photo folder, It was found that microblog picture can be directly chosen there are when wechat picture, microblog picture, camera picture, U.S. figure picture and other pictures, And show microblog picture in the display interface of mobile terminal, so that user carries out delete operation.
Step S30, foundation and each associated association catalogue listing of associated documents, and receiving the association catalogue listing In directory node selection instruction when, the file destination in the association catalogue listing, and base are determined based on the selection instruction The file destination is handled in the management operation instruction.
Association catalogue listing can be the catalogue listing comprising each associated documents information, can directly be obtained according to association catalogue listing Get corresponding associated documents.Directory node can be some or multiple catalogues in association catalogue listing.It is each when getting When associated documents, the location information and quantity of each associated documents can be first determined, then resettle and close with each associated documents The association catalogue listing of connection, and this association catalogue listing is shown in the terminal.It is selected when receiving user in association catalogue listing When the selection instruction for the directory node selected, then the file destination in association catalogue listing can be directly determined according to selection instruction, It namely can be using the corresponding file of directory node as file destination.Then further according to management operation instruction to file destination into Row processing.
Supplemented by assistant's solution file destination is inquired in root directory table, be exemplified below.
For example, as shown in figure 8, the behaviour deleted wechat picture 1 and wechat picture 2 ought be received in the terminal When indicating, preset root directory table in mobile terminal is first obtained, it is assumed that include picture, video, cache file in root directory table When these three roots, then need to carry out these three roots traversal queries, and when the selection picture root mesh in root directory table After record, then the corresponding file of picture root is opened, and there is also have wechat picture, microblogging figure after finding file opening folder When piece and these three sub-goals of camera picture, then need to carry out traversal queries to these three sub-goals, it can be with based on query result The file of wechat picture sub-goal is determined and opened, can find that there are wechat picture 1, wechat picture 2 and wechat figures at this time These three photo-documents of piece 3 can then establish new association catalogue according to the position and quantity of wechat picture 2 and wechat picture 3 Table is shown in the terminal, so that user carries out selection delete operation.
The present embodiment is by presetting when receiving the management operation instruction for carrying out the file destination of file types Root directory table in determine the associated target root of file types;According to the description information of the file destination Each subcatalog carries out traversal queries under the target root, with the determining and associated each phase of the file types Close file;Foundation and each associated association catalogue listing of associated documents, and receiving the catalogue in the association catalogue listing When the selection instruction of node, the file destination in the association catalogue listing is determined based on the selection instruction, and be based on the pipe Reason operation instruction handles the file destination.By receive management operation instruction when, directly in preset mesh Target root is determined in record, then each subdirectory carries out traversal queries to determine file destination under to target root, and File destination is handled, to improve the efficiency for searching file destination, avoids and is needed in the prior art to mobile whole The phenomenon that all documents are inquired in end, the file placement location solved in mobile terminal in the prior art is chaotic, The technical issues of can not quickly identifying.
Further, on the basis of first embodiment of the invention, propose file management method of the present invention second is real Apply example, the present embodiment is the step S30 of first embodiment of the invention, based on the management operation instruction to the file destination into The refinement of the step of row processing, referring to Fig. 4, comprising:
Step S31 detects whether the file destination is limitation file;
When receiving selection instruction, so that it may directly determine the target text in association catalogue listing according to this selection instruction Part, but after determining file destination, it is also necessary to detect whether this file destination is limitation file.When by judging discovery mesh When to mark file be limitation file, then need to obtain the restrictive condition of limitation file, and according to this restrictive condition come by file destination Display in the terminal, still, then can be directly by target text when by judging that discovery file destination is not limitation file Part is shown in the terminal.Wherein, limitation file can be the file with restrictive condition, and restrictive condition, which can be, to be forbidden deleting Except modify, forbid duplication shearing etc..
Step S32 obtains the corresponding restrictive condition of the limitation file if the file destination is limitation file, and The file destination is handled based on the restrictive condition and the management operation instruction.
When by judging that discovery file destination is limitation file, need to obtain the corresponding restrictive condition of limitation file, such as Deletion disabled forbids the conditions such as shearing, and detects and determine whether management operation instruction is identical with restrictive condition, and based on detection knot Fruit executes different operations to file destination.For example, when restrictive condition is to forbid modifying, and manage operation instruction and be when checking, It then manages operation instruction and is unsatisfactory for restrictive condition, but when managing operation instruction is modification, then manages operation instruction and meet limit Condition processed.
It in the present embodiment, whether is limitation file by detection file destination, and when file destination is limitation file, It needs to handle the file destination according to restrictive condition and management operation instruction, to ensure file in mobile terminal The safety of processing.
Specifically, the step file destination handled based on the restrictive condition and the management operation instruction Suddenly, comprising:
Step a, determines whether the management operation instruction meets the restrictive condition;
It needs to obtain whether management operation instruction expires restrictive condition in the terminal, that is, determines management operation instruction It can normally be executed by mobile terminal, and execute different operations based on definitive result.For example, when restrictive condition is user account When only to file destination with checking permission, then file destination is shown and checked in the terminal for user, but when user thinks By user account modify, delete to file destination in the terminal etc. operation when, then will not be by mobile terminal execution.
Step b, if the management operation instruction is unsatisfactory for the restrictive condition, according to the management operation instruction to institute It states file destination to be adjusted, and file destination adjusted is shown in the terminal.
It, then can be directly according to management operation instruction when by judging that discovery management operation instruction is unsatisfactory for restrictive condition File destination is adjusted, and can directly be shown file destination adjusted in the terminal.But when by sentencing When disconnected discovery management operation instruction meets restrictive condition, then it can stop the management operation instruction to file destination.
When in the present embodiment, by determining that management operation instruction is unsatisfactory for restrictive condition, directly file destination is carried out Adjustment, to also improve the efficiency to file process while ensureing the safety of mobile terminal document.
Further, the step of establishing association catalogue listing associated with each associated documents, comprising:
Step c obtains the quantity and location information of each associated documents;
After determining each associated documents in each association catalogue, it is also necessary to determine each associated documents in mobile terminal In location information, that is, determine associated documents in which file in root directory table and its subcatalog, and also Need to obtain the quantity for determining all associated documents.
Step d is established and each associated association catalogue listing of associated documents with the quantity according to the positional information.
After the quantity of the location information and each associated documents that determine each associated documents, it is also necessary to according to each position Information and the quantity of associated documents establish in the terminal with the associated association catalogue listing of each associated documents, that is, can be with The quantity that can determine each associated documents in association catalogue listing and each associated documents are in which file.
In the present embodiment, it by the location information of each associated documents of determination and the quantity of associated documents, then builds again Vertical association catalogue listing.So as to allow user intuitively to determine that there are which associated documents and associated documents institute in subcatalog In position, the working efficiency of user is further increased.
Further, the present invention first to second embodiment any one on the basis of, propose file pipe of the present invention The 3rd embodiment of reason method, the present embodiment are the step S10 of first embodiment of the invention, carry out specified file class when receiving When the management operation instruction of the file destination of type, the associated mesh of file types is determined in preset root directory table Before the step of marking root, comprising:
Step e obtains the local file type of each local file in mobile terminal, and according to each local file type Establish root directory table.
It needs to detect the local file type for inquiring each local file in the terminal, such as determines that this file is figure Piece or it is video or is the file type informations such as document, and after determining each local file type, extracts each The characteristic point of ground file type, to establish root directory table.It should be noted that in root directory table, it can also be by user voluntarily Add root.
In the present embodiment, by sorting out to local file, root directory table is established, so that user be facilitated quickly to search To corresponding file, the usage experience sense of user is improved.
Further, when receiving the management operation instruction for carrying out the file destination of file types, preset The step of associated target root of the file types is determined in root directory table, comprising:
It should be noted that in the present embodiment, management operation instruction includes storage instruction.
Step f, when receiving the storage for carrying out the file destination of file types instruction, in preset root directory table In determine whether there is and the associated target root of the file types;
When receiving the storage for carrying out the file destination of file types instruction in the terminal, that is, can be with Think that mobile terminal has received new file, then needs to determine whether in preset root directory table related to file types The target root of connection, to store file destination.
Step g, if in preset root directory table exist and the associated target root of the file types, According to the description information of file destination, each subdirectory carries out traversal queries under the target root object.
When there is target root associated with file types in preset root directory table, then basis is needed The description information of file destination carries out traversal queries to subdirectory each under target root target, can store mesh until inquiring The file of file is marked, then file destination is stored in this document folder again.
In the present embodiment, whether there is and the associated mesh of file types by detecting in preset root directory table Root is marked, and is being determined there are when target root, traversal queries are carried out, to improve the usage experience sense of user.
Specifically, it is determined whether there is in preset root directory table and the associated target root of the file types After the step of catalogue, comprising:
Step h, if in preset root directory table there is no and the associated target root of described instruction type, It creates new root in the root directory table, and the file destination is stored into the corresponding file of the new root.
It there is no when target root associated with instruction type, is then needed in root mesh when in preset root directory table New root is created in record table, and by file destination storage into the corresponding file of new root.
When in the present embodiment, by the way that target root is not present in detection discovery root directory table, directly in root directory table The middle new root of creation, then file destination is stored into the corresponding file of new root, to ensure storage target text The accuracy of the file of part facilitates user quickly to find file destination next time.
In addition, the embodiment of the present invention also proposes a kind of mobile terminal document managing device, the mobile terminal referring to Fig. 5 Document management apparatus includes:
Determining module, for when receive carry out file types file destination management operation instruction when, pre- If root directory table in determine the associated target root of file types;
Enquiry module, for the description information according to the file destination under the target root each subcatalog into Row traversal queries, with the determining and associated each associated documents of the file types;
Processing module for foundation and each associated association catalogue listing of associated documents, and is receiving the association When the selection instruction of the directory node in catalogue listing, the target text in the association catalogue listing is determined based on the selection instruction Part, and the file destination is handled based on the management operation instruction.
Optionally, the processing module, is also used to:
Detect whether the file destination is limitation file;
If the file destination is limitation file, the corresponding restrictive condition of the limitation file is obtained, and based on described Restrictive condition and the management operation instruction handle the file destination.
Optionally, the processing module, is also used to:
Determine whether the management operation instruction meets the restrictive condition;
If the management operation instruction is unsatisfactory for the restrictive condition, according to the management operation instruction to the target File is adjusted, and file destination adjusted is shown in the terminal.
Optionally, the processing module, is also used to:
Obtain the quantity and location information of each associated documents;
It is established and each associated association catalogue listing of associated documents with the quantity according to the positional information.
Optionally, mobile terminal document managing device, further includes:
The local file type of each local file in mobile terminal is obtained, and root is established according to each local file type Catalogue listing.
Optionally, the management operation instruction includes storage instruction, and the determining module is also used to:
When receiving the storage for carrying out the file destination of file types instruction, determined in preset root directory table With the presence or absence of with the associated target root of the file types;
If in preset root directory table exist and the associated target root of the file types, according to mesh The description information of mark file each subdirectory under the target root object carries out traversal queries.
Optionally, the determining module, is also used to:
If in preset root directory table there is no and the associated target root of described instruction type, at described It creates new root in catalogue listing, and the file destination is stored into the corresponding file of the new root.
Wherein, the step of each Implement of Function Module of mobile terminal document managing device can refer to mobile terminal of the present invention Each embodiment of file management method, details are not described herein again.
The present invention also provides a kind of mobile terminal, the mobile terminal include: memory, processor, communication bus and The mobile terminal document management program being stored on the memory:
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing the mobile terminal document management program, to realize above-mentioned mobile terminal document management The step of each embodiment of method.
The present invention also provides a kind of storage medium, the storage medium is stored with one or more than one program, institute Stating one or more than one program can also be executed for realizing above-mentioned mobile whole by one or more than one processor The step of holding each embodiment of file management method.
Computer storage medium specific embodiment of the present invention and each embodiment base of above-mentioned mobile terminal document management method This is identical, and details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of mobile terminal document management method, which is characterized in that the mobile terminal document management method includes following step It is rapid:
When receiving the management operation instruction for carrying out the file destination of file types, determined in preset root directory table The associated target root of file types;
According to the description information of the file destination, each subcatalog carries out traversal queries under the target root, with determination With the associated each associated documents of the file types;
Foundation and each associated association catalogue listing of associated documents, and receiving the directory node in the association catalogue listing Selection instruction when, based on the selection instruction determine it is described association catalogue listing in file destination, and based on the management behaviour It indicates to handle the file destination.
2. mobile terminal document management method as described in claim 1, which is characterized in that described to be referred to based on management operation Show the step of handling the file destination, comprising:
Detect whether the file destination is limitation file;
If the file destination is limitation file, the corresponding restrictive condition of the limitation file is obtained, and be based on the limitation Condition and the management operation instruction handle the file destination.
3. mobile terminal document management method as claimed in claim 2, which is characterized in that it is described based on the restrictive condition and The step of management operation instruction handles the file destination, comprising:
Determine whether the management operation instruction meets the restrictive condition;
If the management operation instruction is unsatisfactory for the restrictive condition, according to the management operation instruction to the file destination It is adjusted, and file destination adjusted is shown in the terminal.
4. mobile terminal document management method as described in claim 1, which is characterized in that described to establish and each related text The step of part associated association catalogue listing, comprising:
Obtain the quantity and location information of each associated documents;
It is established and each associated association catalogue listing of associated documents with the quantity according to the positional information.
5. mobile terminal document management method as described in claim 1, which is characterized in that described ought receive carries out specified text When the management operation instruction of the file destination of part type, determine that the file types are associated in preset root directory table Target root the step of before, comprising:
The local file type of each local file in mobile terminal is obtained, and root is established according to each local file type Table.
6. mobile terminal document management method as described in claim 1, which is characterized in that the management operation instruction includes depositing Storage instruction,
It is described when receive carry out file types file destination management operation instruction when, in preset root directory table The step of determining the file types associated target root, comprising:
When receiving the storage for carrying out the file destination of file types instruction, determine whether in preset root directory table In the presence of with the associated target root of the file types;
If in preset root directory table exist and the associated target root of the file types, according to target text The description information of part each subdirectory under the target root object carries out traversal queries.
7. mobile terminal document management method as claimed in claim 6, which is characterized in that described in preset root directory table After the step of determining whether there is target root associated with the file types, comprising:
If in preset root directory table there is no and the associated target root of described instruction type, in the root It creates new root in table, and the file destination is stored into the corresponding file of the new root.
8. a kind of mobile terminal document managing device, which is characterized in that the mobile terminal document managing device includes:
Determining module, for when receive carry out file types file destination management operation instruction when, preset The associated target root of file types is determined in root directory table;
Enquiry module, each subcatalog progress time under the target root for the description information according to the file destination Inquiry is gone through, with the determining and associated each associated documents of the file types;
Processing module for foundation and each associated association catalogue listing of associated documents, and is receiving the association catalogue When the selection instruction of the directory node in table, the file destination in the association catalogue listing is determined based on the selection instruction, and The file destination is handled based on the management operation instruction.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes: memory, processor and is stored in the storage On device and the mobile terminal document management program that can run on the processor, the mobile terminal document management program is by institute State the step of realizing the mobile terminal document management method as described in any one of claims 1 to 7 when processor executes.
10. a kind of storage medium, which is characterized in that mobile terminal document management program is stored on the storage medium, it is described The mobile terminal text as described in any one of claims 1 to 7 is realized when mobile terminal document management program is executed by processor The step of part management method.
CN201910359853.7A 2019-04-28 2019-04-28 Mobile terminal document management method, mobile terminal, device and storage medium Pending CN110069446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910359853.7A CN110069446A (en) 2019-04-28 2019-04-28 Mobile terminal document management method, mobile terminal, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910359853.7A CN110069446A (en) 2019-04-28 2019-04-28 Mobile terminal document management method, mobile terminal, device and storage medium

Publications (1)

Publication Number Publication Date
CN110069446A true CN110069446A (en) 2019-07-30

Family

ID=67369658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910359853.7A Pending CN110069446A (en) 2019-04-28 2019-04-28 Mobile terminal document management method, mobile terminal, device and storage medium

Country Status (1)

Country Link
CN (1) CN110069446A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112069133A (en) * 2020-08-07 2020-12-11 深圳传音控股股份有限公司 File management method, mobile terminal and computer storage medium
CN112860632A (en) * 2021-01-22 2021-05-28 重庆六花网络科技有限公司 File processing method, terminal and computer readable storage medium
CN113947349A (en) * 2021-09-28 2022-01-18 安徽云星空信息科技有限公司 Material data processing method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226534A (en) * 2007-12-29 2008-07-23 深圳华为通信技术有限公司 Method, terminal and system for searching relevant document
CN102289475A (en) * 2011-07-29 2011-12-21 宇龙计算机通信科技(深圳)有限公司 Terminal and method for storing file
CN102722487A (en) * 2011-03-30 2012-10-10 腾讯科技(深圳)有限公司 Method and apparatus for file management
WO2015117426A1 (en) * 2014-07-24 2015-08-13 中兴通讯股份有限公司 File management method and device
CN106407831A (en) * 2015-07-31 2017-02-15 中兴通讯股份有限公司 File protection method and device, and mobile terminal
CN107122429A (en) * 2017-04-13 2017-09-01 北京安云世纪科技有限公司 The method and apparatus and mobile terminal of a kind of file management
CN107391593A (en) * 2017-06-29 2017-11-24 努比亚技术有限公司 A kind of document handling method, mobile terminal and computer-readable recording medium
CN107766523A (en) * 2017-10-25 2018-03-06 努比亚技术有限公司 A kind of file management method, mobile terminal and computer-readable recording medium
CN108334196A (en) * 2018-01-18 2018-07-27 维沃移动通信有限公司 A kind of document handling method and mobile terminal
CN109299039A (en) * 2018-08-30 2019-02-01 努比亚技术有限公司 A kind of file management method, equipment and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226534A (en) * 2007-12-29 2008-07-23 深圳华为通信技术有限公司 Method, terminal and system for searching relevant document
CN102722487A (en) * 2011-03-30 2012-10-10 腾讯科技(深圳)有限公司 Method and apparatus for file management
CN102289475A (en) * 2011-07-29 2011-12-21 宇龙计算机通信科技(深圳)有限公司 Terminal and method for storing file
WO2015117426A1 (en) * 2014-07-24 2015-08-13 中兴通讯股份有限公司 File management method and device
CN106407831A (en) * 2015-07-31 2017-02-15 中兴通讯股份有限公司 File protection method and device, and mobile terminal
CN107122429A (en) * 2017-04-13 2017-09-01 北京安云世纪科技有限公司 The method and apparatus and mobile terminal of a kind of file management
CN107391593A (en) * 2017-06-29 2017-11-24 努比亚技术有限公司 A kind of document handling method, mobile terminal and computer-readable recording medium
CN107766523A (en) * 2017-10-25 2018-03-06 努比亚技术有限公司 A kind of file management method, mobile terminal and computer-readable recording medium
CN108334196A (en) * 2018-01-18 2018-07-27 维沃移动通信有限公司 A kind of document handling method and mobile terminal
CN109299039A (en) * 2018-08-30 2019-02-01 努比亚技术有限公司 A kind of file management method, equipment and computer readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112069133A (en) * 2020-08-07 2020-12-11 深圳传音控股股份有限公司 File management method, mobile terminal and computer storage medium
CN112860632A (en) * 2021-01-22 2021-05-28 重庆六花网络科技有限公司 File processing method, terminal and computer readable storage medium
CN113947349A (en) * 2021-09-28 2022-01-18 安徽云星空信息科技有限公司 Material data processing method and system

Similar Documents

Publication Publication Date Title
CN107517153B (en) Message push control method and terminal
CN109725866A (en) Application interface display methods, terminal and computer readable storage medium
CN109697008A (en) A kind of content share method, terminal and computer readable storage medium
CN108021698A (en) Delet method, device and the computer-readable storage medium of storage file
CN107229390A (en) A kind of desktop icons aligning method, mobile terminal and computer-readable recording medium
CN109992183A (en) Preview picture and the method for selection, terminal and storage medium
CN109299039A (en) A kind of file management method, equipment and computer readable storage medium
CN110069446A (en) Mobile terminal document management method, mobile terminal, device and storage medium
CN109034317A (en) A kind of two-dimensional code scanning method, terminal and computer readable storage medium
CN108833690A (en) authority control method, terminal and computer readable storage medium
CN109729267A (en) Filter selection method, mobile terminal and computer readable storage medium
CN109274818A (en) Method for down loading, mobile terminal and the computer storage medium of application program
CN109144705A (en) Application management method, mobile terminal and computer readable storage medium
CN109525699A (en) Good friend's adding method, device, mobile terminal and readable storage medium storing program for executing
CN109978610A (en) Information processing method, mobile terminal and computer readable storage medium
CN109885325A (en) Terminal system upgrade method, terminal and computer readable storage medium
CN107133350A (en) Data-updating method, mobile terminal and storage medium based on search engine
CN109522276A (en) Application icon management method, terminal and computer readable storage medium
CN110286816A (en) Mobile terminal page switching method, mobile terminal and computer readable storage medium
CN109976860A (en) It is switched fast the method, terminal and storage medium of application
CN109902228A (en) Resource request, push control method, terminal, server and readable storage medium storing program for executing
CN109710338A (en) A kind of searching method of mobile terminal, mobile terminal and storage medium
CN108833717A (en) Information clearing method, device, mobile terminal and computer readable storage medium
CN108776566A (en) A kind of method for information display, mobile terminal and computer readable storage medium
CN108234979A (en) A kind of image pickup method, mobile terminal and computer readable storage 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