CN103870603A - Directory management method and electronic device - Google Patents
Directory management method and electronic device Download PDFInfo
- Publication number
- CN103870603A CN103870603A CN201410133464.XA CN201410133464A CN103870603A CN 103870603 A CN103870603 A CN 103870603A CN 201410133464 A CN201410133464 A CN 201410133464A CN 103870603 A CN103870603 A CN 103870603A
- Authority
- CN
- China
- Prior art keywords
- catalogue
- application
- electronic equipment
- database
- management method
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/162—Delete operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/248—Presentation of query results
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)
- Human Computer Interaction (AREA)
- Computational Linguistics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a directory management method and an electronic device. The directory management method is applied to the electronic device. The method comprises the following steps that a directory in a storage of the electronic device is read; a preset data base is inquired, and establishment of application of the directory is ensured, wherein in the preset data base, and at least one set of corresponding relation between the application and the directory established by the application is saved; a name of the application establishing the directory is correspondingly displayed when the directory is displayed according to a determined result.
Description
Technical field
The application relates to catalog management method and electronic equipment.
Background technology
Current, various software application have become the part of electronic equipment necessity, and user installs or unload various application on electronic equipment according to the hobby of oneself.But in use for some time, it is very chaotic that the root directory of storage card becomes electronic equipment, this is that even application unloading, these catalogues can't be deleted because a lot of application all can generate the catalogue of oneself, and these catalogues cause following puzzlement to user:
1, catalogue confusion, being difficult to identification from file directory name is that application generates;
2, catalogue is very assorted, is difficult to the catalogue that finds user to want;
3, after application unloading, these catalogues can't be deleted, and take up room always, produce some rubbish, thereby take the storage space of electronic equipment.
For this reason, expect to provide a kind of novelty with improved catalog management method and electronic equipment, it can facilitate user easily identify application corresponding to catalogue and manage, thereby improves user's experience.
Summary of the invention
According to the embodiment of the present application, a kind of catalog management method is provided, be applied in electronic equipment, described method comprises:
Catalogue in the storer of read electric equipment;
Inquire about default database, determine the application that creates described catalogue, wherein, in described default database, preserve at least one group about the corresponding relation of applying and apply the catalogue creating;
According to definite result, in the time showing described catalogue, the corresponding Apply Names that creates described catalogue that shows.
Preferably, described catalog management method also comprises:
According to determined application, judge whether this application installs in described electronic equipment;
For be in the situation that, read the application icon of this application in judged result; And
In the time showing described catalogue, the corresponding application icon reading that shows.
Preferably, described catalog management method also comprises:
Be no in the situation that, in the time showing described catalogue, this catalogue is designated to invalid catalogue in judged result.
Preferably, described catalog management method also comprises:
In the time the catalogue that is designated invalid catalogue being detected, be designated the catalogue of invalid catalogue described in deletion.
Preferably, described database creates or obtains from server in described electronic equipment this locality.
According to another embodiment of the application, a kind of electronic equipment is provided, comprising:
Reading unit, for reading the catalogue of described electronic device memory;
Query unit, for inquiring about default database, determines the application that creates described catalogue, wherein, in described default database, preserves at least one group about the corresponding relation of applying and apply the catalogue creating;
Control module, for according to determining result, in the time showing described catalogue, the corresponding Apply Names that creates described catalogue that shows.
Preferably, query unit also for: according to determined application, judge whether this application installs in described electronic equipment;
Reading unit also for: for be in the situation that, read the application icon of this application in judged result;
Control module also for: showing when described catalogue, the corresponding application icon reading that shows.
Preferably, control module also for: be no in the situation that, in the time showing described catalogue, this catalogue is designated to invalid catalogue in judged result.
Preferably, described electronic equipment also comprises:
Delete cells, in the time the catalogue that is designated invalid catalogue being detected, is designated the catalogue of invalid catalogue described in deletion.
Preferably, described electronic equipment also comprises:
Database obtains unit, for creating described database in described electronic equipment this locality, or obtains described database from server.
Therefore, according to the catalog management method of the embodiment of the present application and electronic equipment, it can facilitate user easily identify application corresponding to catalogue and manage, thereby improves user's experience.
Accompanying drawing explanation
Fig. 1 is that explanation is according to the process flow diagram of the catalog management method of the application the first embodiment;
Fig. 2 a and 2b are explanation prior aries and according to the key diagram of the application example of the catalog management method of the application the first embodiment;
Fig. 3 is that explanation is according to the process flow diagram of the catalog management method of the application the first embodiment;
Fig. 4 is that explanation is according to the functional configuration block diagram of the electronic equipment of the application the second embodiment.
Embodiment
Below, describe in detail according to the catalog management method of the application the first embodiment with reference to accompanying drawing.Be applied in electronic equipment according to the control method of the embodiment of the present application, such electronic equipment can be any electronic equipment, as long as this electronic equipment comprises display unit and processing unit.The example of such electronic equipment includes but not limited to smart mobile phone, panel computer, PDA(personal digital assistant), music player etc.In the present embodiment, the example using smart mobile phone as electronic equipment is described.
As shown in Figure 1, comprise according to the catalog management method 100 of the application the first embodiment:
Step S101: the catalogue in the storer of read electric equipment;
Step S102: inquire about default database, determine the application that creates described catalogue, wherein, in described default database, preserve at least one group about the corresponding relation of applying and apply the catalogue creating;
Step S103: according to definite result, in the time showing described catalogue, the corresponding Apply Names that creates described catalogue that shows.
Describe in detail according to the catalog management method 100 of the application the first embodiment below in conjunction with Fig. 2 a and 2b.
As shown in Figure 2 a, in traditional mobile phone memory card, when by should being used for when managing folder of for example file manager, first, file manager is by all catalogues that read in mobile phone memory card.As shown in Figure 2, now, 4 catalogues have been read in file manager application: " QQbrower ", " 91PandaReader ", " sogou " and " Baidu ".Although it should be noted that in Fig. 2 a and only show 4 catalogues, one skilled in the art will appreciate that the quantity of the catalogue reading is not limited to 4, can or be less than 4 more than 4.
But according to this directory name reading, user is difficult to identify each catalogue and by which application is generated, and that is to say, user is according to corresponding which application of this catalogue of directory name None-identified.In addition,, in the time that the catalogue quantity in storage card is a lot, be difficult to the catalogue that finds user to want.In addition,, after application is unloaded, corresponding catalogue can be not deleted, takes up room always.And being also difficult to identify which catalogue from the catalogue reading is effective catalogue, which catalogue is invalid catalogue.
Therefore, according to the catalog management method 100 of the embodiment of the present application, in step S101, the catalogue in the storer of read electric equipment.
Then, in step S102, inquire about default database, determine the application that creates described catalogue, wherein, in described default database, preserve at least one group about the corresponding relation of applying and apply the catalogue creating.
Particularly, in this step S102, before the catalogue reading in demonstration, first inquire about default database, in this database, the corresponding relation of the pre-stored catalogue creating about each application and application.
For example, in this database, can pre-stored multiple projects, each project at least can comprise: the catalogue that Apply Names and application create.Preferably, each project can also comprise the identification information (for example, bag name) for identifying uniquely application.Operating system can be identified this application uniquely by the bag name of each application.
By Query Database, can determine the Apply Names of the corresponding application of each catalogue of reading.
Then,, in step S103, according to definite result, in the time showing described catalogue, show accordingly the Apply Names that creates described catalogue.
Utilize according to the catalog management method of the embodiment of the present application, when the catalogue that reads in demonstration, show accordingly the Apply Names that creates described catalogue, thereby user can easily identify application corresponding to catalogue.
Particularly, as shown in Figure 2 b, in correspondingly display application title of each application back: " QQbrowerQQ browser ", " reading of 91PandaReader panda ", " sogou search dog input method " and " Baidu hundred degree search ".
According to the information of this demonstration, it is to be created by application " QQ browser " that user can easily identify catalogue " QQbrower ", catalogue " Qiezi " is to be created by application " eggplant passes soon ", catalogue " sogou " is to be created by application " search dog input method ", and catalogue " sina " is to be created by application " Sina ".
In another embodiment, as shown in Figure 3, also comprise according to the catalog management method 100 of the embodiment of the present application:
Step S301: according to determined application, judge whether this application installs in described electronic equipment;
Step S302: for be in the situation that, read the application icon of this application in judged result; And
Step S303: in the time showing described catalogue, the corresponding application icon reading that shows.
Particularly, in step S301, determined the application createing directory in step S102 after, can also further judge that this catalogue is effective catalogue or invalid catalogue.That is to say, judge whether application corresponding to this catalogue has installed or unloaded in electronic equipment.
Can whether apply and install or unload by recognized in various manners.For example, whether a kind of mode can inquire about this application by the bag name of this application and install.As well known to the skilled person, after application is installed, in operating system, can record the identification information (, bag name) for identifying uniquely this application.Therefore,, by whether there is the bag name corresponding with this application to system queries, can determine whether application installs.
Therefore,, in step S302, after judging that this application has been installed at present, can read the application icon of this application.
Then, in step S303, in the time showing described catalogue, the corresponding application icon reading that shows.Thereby indicating this target by the icon of this application is effective catalogue.
On the other hand, judge this application do not install at present or unloaded after (that is, in operating system, cannot inquire the bag name of this application),, showing when described catalogue, this catalogue is designated to invalid catalogue.For example, can identify by icon or the words identification of the invalid catalogue of specific indication.
As shown in Figure 3, show accordingly icon separately with application " Qiezi eggplant passes soon ", application " QQbrower QQ browser " and application " sogou search dog input method ", indicating these three catalogues is effective catalogue.In addition, show accordingly invalid icon with application " sina Sina ", indicating this catalogue is invalid catalogue.
After this, in the time the catalogue that is designated invalid catalogue being detected, be designated the catalogue of invalid catalogue described in can deleting, to save the storage space of storage card, and the minimizing of the quantity of invalid catalogue also can facilitate user easily to find the catalogue of expectation.
User can manually delete invalid catalogue, also can in the time invalid catalogue being detected, automatically delete.
In one embodiment, described database is in the local establishment of described electronic equipment.For example, user can be pre-created database in electronic equipment, records the bag name, Apply Names of each application, automatically generates catalogue in this database.Can also record accordingly such as version number, update time etc. information.
In another embodiment, can also obtain similar database from server.In this database, record the bag name, Apply Names of multiple application, automatically generated the information such as catalogue.
Therefore, according to the catalog management method of the embodiment of the present application, can facilitate user easily identify application corresponding to catalogue and manage, thereby improve user's experience.
< the second embodiment >
Below, describe according to the functional configuration block diagram of the electronic equipment of the application the second embodiment with reference to figure 4.
Comprise according to the electronic equipment 400 of the application the second embodiment:
Reading unit 401, for reading the catalogue of described electronic device memory;
Preferably, query unit 402 also for: according to determined application, judge whether this application installs in described electronic equipment;
Reading unit 401 also for: for be in the situation that, read the application icon of this application in judged result;
Preferably, control module 403 also for: be no in the situation that, in the time showing described catalogue, this catalogue is designated to invalid catalogue in judged result.
Preferably, described electronic equipment 400 also comprises:
Preferably, described electronic equipment 400 also comprises:
Database obtains unit 405, for creating described database in described electronic equipment this locality, or obtains described database from server.
Therefore, according to the electronic equipment of the embodiment of the present application, can facilitate user easily identify application corresponding to catalogue and manage, thereby improve user's experience.
Therefore, according to the control method of the embodiment of the present application and electronic equipment, can change easily the state of the application moving on electronic equipment and do not need to change the state of display screen, thereby improve user's experience.
Each functional block that it should be noted that electronic equipment 400 be configured to carry out with according to each step of the control method of the first embodiment, thereby carry out according to the control method of the application the first embodiment, omit its detailed description at this.
Described electronic equipment 400 comprises processing unit and display unit.Such electronic equipment can be any electronic equipment, as long as this electronic equipment comprises processing unit and display unit.The example of such electronic equipment includes but not limited to smart mobile phone, panel computer, PDA(personal digital assistant), music player etc.
It should be noted that, only show its functional unit during according to the electronic equipment of each embodiment in diagram, do not specifically describe the annexation of each functional unit, it will be understood by those skilled in the art that, each functional unit can pass through bus, internal connection line etc. and suitably connect, and such connection is known to those skilled in the art.
It should be noted that, in this manual, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Finally, also it should be noted that, above-mentioned a series of processing not only comprise the processing of carrying out by time series with order described here, and comprise processing parallel or that carry out respectively rather than in chronological order.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add essential hardware platform by software and realize, and can certainly all implement by hardware.Based on such understanding, what the application's technical scheme contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the application or embodiment.
Above the application is described in detail, has applied principle and the embodiment of specific case to the application herein and set forth, the explanation of above embodiment is just for helping to understand the application's method and core concept thereof; , for one of ordinary skill in the art, according to the application's thought, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application meanwhile.
Claims (10)
1. a catalog management method, is applied in electronic equipment, and described method comprises:
Catalogue in the storer of read electric equipment;
Inquire about default database, determine the application that creates described catalogue, wherein, in described default database, preserve at least one group about the corresponding relation of applying and apply the catalogue creating;
According to definite result, in the time showing described catalogue, the corresponding Apply Names that creates described catalogue that shows.
2. catalog management method as claimed in claim 1, also comprises:
According to determined application, judge whether this application installs in described electronic equipment;
For be in the situation that, read the application icon of this application in judged result; And
In the time showing described catalogue, the corresponding application icon reading that shows.
3. catalog management method as claimed in claim 2, also comprises:
Be no in the situation that, in the time showing described catalogue, this catalogue is designated to invalid catalogue in judged result.
4. catalog management method as claimed in claim 3, also comprises:
In the time the catalogue that is designated invalid catalogue being detected, be designated the catalogue of invalid catalogue described in deletion.
5. catalog management method as claimed in claim 1, wherein, described database creates or obtains from server in described electronic equipment this locality.
6. an electronic equipment, comprising:
Reading unit, for reading the catalogue of described electronic device memory;
Query unit, for inquiring about default database, determines the application that creates described catalogue, wherein, in described default database, preserves at least one group about the corresponding relation of applying and apply the catalogue creating;
Control module, for according to determining result, in the time showing described catalogue, the corresponding Apply Names that creates described catalogue that shows.
7. electronic equipment as claimed in claim 6, wherein,
Query unit also for: according to determined application, judge whether this application installs in described electronic equipment;
Reading unit also for: for be in the situation that, read the application icon of this application in judged result;
Control module also for: showing when described catalogue, the corresponding application icon reading that shows.
8. electronic equipment as claimed in claim 7, wherein,
Control module also for: be no in the situation that, in the time showing described catalogue, this catalogue is designated to invalid catalogue in judged result.
9. electronic equipment as claimed in claim 8, also comprises:
Delete cells, in the time the catalogue that is designated invalid catalogue being detected, is designated the catalogue of invalid catalogue described in deletion.
10. electronic equipment as claimed in claim 6, also comprises:
Database obtains unit, for creating described database in described electronic equipment this locality, or obtains described database from server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410133464.XA CN103870603A (en) | 2014-04-03 | 2014-04-03 | Directory management method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410133464.XA CN103870603A (en) | 2014-04-03 | 2014-04-03 | Directory management method and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103870603A true CN103870603A (en) | 2014-06-18 |
Family
ID=50909133
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410133464.XA Pending CN103870603A (en) | 2014-04-03 | 2014-04-03 | Directory management method and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103870603A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104636455A (en) * | 2015-01-30 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Acquisition method and device for application mapping information |
CN105138662A (en) * | 2015-09-02 | 2015-12-09 | Tcl移动通信科技(宁波)有限公司 | Application icon processing method and system |
CN113760856A (en) * | 2020-06-05 | 2021-12-07 | 京东数字科技控股有限公司 | Database management method and device, computer readable storage medium and electronic device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1155116A (en) * | 1995-12-05 | 1997-07-23 | 国际商业机器公司 | Method for marking origin of document, storage unit and apparatus thereof |
US20120266106A1 (en) * | 2011-04-13 | 2012-10-18 | Pugazendhi Asaimuthu | Method and system for multi-level browsing |
CN103092938A (en) * | 2013-01-07 | 2013-05-08 | 浙江鸿程计算机系统有限公司 | Method for intelligently cleaning garbage file of secure digital (SD) card of Android mobile phone |
CN103092664A (en) * | 2013-02-07 | 2013-05-08 | 珠海市君天电子科技有限公司 | Processing method and device of data file of android system |
CN103246595A (en) * | 2013-04-08 | 2013-08-14 | 北京小米科技有限责任公司 | Method, device, server and terminal units for managing application programs |
CN103617209A (en) * | 2013-11-19 | 2014-03-05 | 华为终端有限公司 | File management method and file management device for mobile terminal |
CN103677880A (en) * | 2012-09-17 | 2014-03-26 | 联想(北京)有限公司 | Information processing method and electronic equipment |
-
2014
- 2014-04-03 CN CN201410133464.XA patent/CN103870603A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1155116A (en) * | 1995-12-05 | 1997-07-23 | 国际商业机器公司 | Method for marking origin of document, storage unit and apparatus thereof |
US20120266106A1 (en) * | 2011-04-13 | 2012-10-18 | Pugazendhi Asaimuthu | Method and system for multi-level browsing |
CN103677880A (en) * | 2012-09-17 | 2014-03-26 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN103092938A (en) * | 2013-01-07 | 2013-05-08 | 浙江鸿程计算机系统有限公司 | Method for intelligently cleaning garbage file of secure digital (SD) card of Android mobile phone |
CN103092664A (en) * | 2013-02-07 | 2013-05-08 | 珠海市君天电子科技有限公司 | Processing method and device of data file of android system |
CN103246595A (en) * | 2013-04-08 | 2013-08-14 | 北京小米科技有限责任公司 | Method, device, server and terminal units for managing application programs |
CN103617209A (en) * | 2013-11-19 | 2014-03-05 | 华为终端有限公司 | File management method and file management device for mobile terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104636455A (en) * | 2015-01-30 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Acquisition method and device for application mapping information |
CN104636455B (en) * | 2015-01-30 | 2018-03-02 | 腾讯科技(深圳)有限公司 | The acquisition methods and device of application program map information |
CN105138662A (en) * | 2015-09-02 | 2015-12-09 | Tcl移动通信科技(宁波)有限公司 | Application icon processing method and system |
CN113760856A (en) * | 2020-06-05 | 2021-12-07 | 京东数字科技控股有限公司 | Database management method and device, computer readable storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6419319B2 (en) | Synchronize shared folders and files | |
CN106031127B (en) | Method and apparatus for management of applications | |
CN106164908A (en) | Modern document storing and sync status | |
US20130227085A1 (en) | Terminal and method for using cloud services | |
CN109522751B (en) | Access right control method and device, electronic equipment and computer readable medium | |
CN108134696A (en) | A kind of micro services configuration update method and device | |
CN108932286B (en) | Data query method and device | |
US11275795B2 (en) | System and method for in-place record content management | |
KR101709790B1 (en) | Creating an aggregate report of a presence of a user on a network | |
CN109213604A (en) | A kind of management method and device of data source | |
CN105512294A (en) | Multi-media file update prompting method and device | |
CN112464625B (en) | Document generation method, device, computer equipment and storage medium | |
CN104169902A (en) | Synchronizing local and remote data | |
CN104484358A (en) | Process template displaying method and system | |
CN105574163A (en) | File processing method and device and electronic equipment | |
CN105094811A (en) | Method can device for processing events | |
KR101512296B1 (en) | File associated with application processing terminal and processing method of file associated with application | |
CN103870603A (en) | Directory management method and electronic device | |
CN110119386A (en) | Data processing method, data processing equipment, medium and calculating equipment | |
CN114461691A (en) | Control method and device of state machine, electronic equipment and storage medium | |
US9741060B2 (en) | Recursive navigation in mobile CRM | |
US9449036B2 (en) | Handling an increase in transactional data without requiring relocation of preexisting data between shards | |
CN111193804A (en) | Distributed storage method and device, network node and storage medium | |
CN110263006A (en) | A kind of method and apparatus for downloading file on a user device | |
CN106980685B (en) | Data processing method and data processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140618 |
|
RJ01 | Rejection of invention patent application after publication |