CN107451244B - Folder naming method, mobile terminal and computer readable storage medium - Google Patents

Folder naming method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN107451244B
CN107451244B CN201710625863.1A CN201710625863A CN107451244B CN 107451244 B CN107451244 B CN 107451244B CN 201710625863 A CN201710625863 A CN 201710625863A CN 107451244 B CN107451244 B CN 107451244B
Authority
CN
China
Prior art keywords
application
folder
category attribute
creating
mobile terminal
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.)
Expired - Fee Related
Application number
CN201710625863.1A
Other languages
Chinese (zh)
Other versions
CN107451244A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710625863.1A priority Critical patent/CN107451244B/en
Publication of CN107451244A publication Critical patent/CN107451244A/en
Application granted granted Critical
Publication of CN107451244B publication Critical patent/CN107451244B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING 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/113Details of archiving
    • 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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation

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)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

The invention is suitable for the technical field of communication, and provides a folder naming method, a mobile terminal and a computer readable storage medium, wherein the folder naming method comprises the following steps: when an application is downloaded from a server, acquiring a category attribute of the application from the server, wherein the category attribute is used for indicating a category to which the application belongs; when the operation of creating the folder for the application is detected, the folder containing the application is created, and the folder is named according to the category attribute of the application. By the method and the device, each application installed on the mobile terminal has the corresponding category attribute, and the new folder on the desktop of the mobile terminal is named accurately.

Description

Folder naming method, mobile terminal and computer readable storage medium
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a folder naming method, a mobile terminal and a computer readable storage medium.
Background
Currently, most mobile terminals (e.g., mobile phones, tablet computers, etc.) are installed with a large number of applications, such as WeChat, QQ, Tianmao, Jingdong, etc. In the process of organizing the mobile terminal desktop, application icons with the same type of functions are usually placed in the same folder, and the folder is named for convenience of searching. For example, a skatecat and a kyoton are placed in a folder named shopping. In the prior art, attributes of common applications are generally classified to form a list. When a folder is created according to a certain application, the application is searched from the list, and the folder is named according to the searched attribute. However, when some applications that are not on the above list create folders, their folders are often named as default "unnamed" because there are no corresponding category attributes, resulting in an inability to name the folders accurately.
Therefore, a new technical solution is needed to solve the above technical problems.
Disclosure of Invention
In view of this, embodiments of the present invention provide a folder naming method, a mobile terminal, and a computer-readable storage medium, so that each application installed in the mobile terminal has a corresponding category attribute, and a new folder on a desktop of the mobile terminal is named accurately.
A first aspect of an embodiment of the present invention provides a folder naming method, where the folder naming method includes:
when an application is downloaded from a server, acquiring a category attribute of the application from the server, wherein the category attribute is used for indicating a category to which the application belongs;
when the operation of creating the folder for the application is detected, the folder containing the application is created, and the folder is named according to the category attribute of the application.
A second aspect of an embodiment of the present invention provides a mobile terminal, including:
the device comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining the category attribute of an application from a server when the application is downloaded from the server, and the type attribute is used for indicating the category to which the application belongs;
and the folder creating module is used for creating a folder containing the application when the operation of creating the folder for the application is detected, and naming the folder by using the category attribute of the application.
A third aspect of embodiments of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the folder naming method according to the first aspect when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, implements the steps of the folder naming method as described in the first aspect above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: according to the method and the device for naming the folder, when the application is downloaded from the server, the category attribute of the application is acquired at the same time, so that each application installed on the mobile terminal is guaranteed to have the corresponding category attribute, when the operation of creating the folder aiming at the application is detected, the folder containing the application is created, and the folder is named according to the category attribute of the application, so that the situation that the folder is named as 'unnamed' can be avoided, and the new folder on the desktop of the mobile terminal is named accurately.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation of a folder naming method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation of a folder naming method according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a schematic diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of a mobile terminal according to a fifth embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, mobile terminals described in embodiments of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a mobile terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the mobile terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The mobile terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the mobile terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 1, which is a schematic diagram illustrating an implementation flow of a folder naming method provided in an embodiment of the present invention, where the folder naming method is applied to a mobile terminal, as shown in the figure, the folder naming method may include the following steps:
step S101, when downloading an application from a server, obtaining a category attribute of the application from the server, wherein the category attribute is used for indicating a category to which the application belongs.
In the embodiment of the invention, when the mobile terminal downloads the application from the server, the mobile terminal simultaneously acquires the class attribute of the application from the server. The server is a source for downloading the application by the mobile terminal, and includes, but is not limited to, a server of an application store installed on the mobile terminal, a server of an application store not installed on the mobile terminal, a server of a browser-stored application, and the like. The category attribute refers to a category to which the application belongs, for example, the category attribute of a tianmao is shopping, the category attribute of an arcade is video, and the like.
It should be noted that, when the server stores the application, the server simultaneously stores the category attribute of the application, so that when the mobile terminal downloads the application from the server, the mobile terminal simultaneously downloads the category attribute of the application. For example, a mapping relationship table between an application (i.e., a name of the application) and a category attribute is set in the server, and when the mobile terminal downloads the application from the server, the category attribute of the application may be obtained by searching the mapping relationship table, and the category attribute of the application may be sent to the mobile terminal. The application category attribute may be stored in an installation package of the application, and when the mobile terminal downloads the application from the server, the application category attribute may be acquired from the downloaded installation package of the application.
Step S102, when detecting the operation of creating the folder aiming at the application, creating the folder containing the application, and naming the folder by the category attribute of the application.
In the embodiment of the present invention, the operation of creating the folder for the application may be an operation triggered by a user through an icon of the application, or an operation triggered by downloading the application from a server. The operation triggered by the user through the application icon may be a long-press, sliding or dragging operation on the application icon, and the like, which is not limited herein. Specifically, when an operation such as long pressing, sliding, or dragging of an icon of an application is detected, a folder containing the application may be set in the mobile terminal in advance. For example, when a long press, slide, or drag operation on the icon of a skatecat on the desktop of a mobile phone is detected, a folder containing the skatecat is created and named shopping. It should be noted that the operation of creating the folder for the application may also be an operation of dragging an icon of the application onto an icon of another application (the two applications are different applications), and when the operation is detected, the folder including the two applications may be created at a position where the icon of the another application is located, and the folder may be named by the category attribute of the dragged application. The operation triggered by downloading the application from the server can mean that the mobile terminal establishes a folder containing the application after downloading the application from the server, and user operation is not needed.
When the operation of creating the folder for the application is an operation of dragging an icon of the application onto an icon of another application, when the operation is detected, it may be detected first whether the category attribute of the application is the same as the category attribute of the another application, and if the category attribute of the application is the same as the category attribute of the another application, a folder containing the two applications (i.e., the application and the another application) is created at the position of the icon of the another application, and the folder is named by the category attribute of the application; if not, prompting the user that the category attributes of the two applications are different in a popup window mode, and displaying the category attributes of the two applications for the user to select; if the selection operation of the user (for example, clicking the name of a certain category attribute) is detected within a preset time (for example, 5 seconds), naming the folder by the selected category attribute; if the selection operation of the user is not detected within the preset time, the popup window is hidden, and an input frame is displayed for the user to input the name of the folder or not create the folder.
Optionally, the creating a folder containing the application when detecting the operation of creating the folder for the application includes:
if the application is displayed with an icon on the desktop, when the dragging operation aiming at the icon is detected, a folder containing the application is created.
Optionally, after obtaining the category attribute of the application from the server, the method further includes:
storing the corresponding relation between the application and the category attribute of the application into a local database;
the creating a folder containing the application and naming the folder with the category attribute of the application upon detecting the operation of creating the folder for the application includes:
when the operation of creating the folder for the application is detected, the folder containing the application is created, the category attribute corresponding to the application is obtained from a local database, and the folder is named according to the category attribute corresponding to the application.
In the embodiment of the present invention, after the mobile terminal obtains the category attribute of the application from the server, the mobile terminal establishes the corresponding relationship between the application and the category attribute thereof, and stores the corresponding relationship into the local database of the mobile terminal, so that it can be ensured that all applications installed in the mobile terminal have corresponding category attributes, and the category attribute of any application installed in the mobile terminal can be found in the local database of the mobile terminal.
Optionally, after naming the folder with the category attribute of the application, the method further includes:
when the application is updated, acquiring the updated category attribute of the application from the server;
if the updated application type attribute is different from the application type attribute before updating, updating the application type attribute before updating stored in the local database into the updated application type attribute.
In the embodiment of the present invention, when the installed application is updated by the mobile terminal, the updated category attribute of the application may be different from the category attribute before the update, and in order to reduce the cost of maintaining the local database of the mobile terminal in the later period, the category attribute of the application stored in the local database may be updated correspondingly following the change of the category attribute of the application, so as to ensure the accuracy of the category attribute of the application stored in the local database.
According to the method and the device for naming the folder, when the application is downloaded from the server, the category attribute of the application is acquired at the same time, so that each application installed on the mobile terminal is guaranteed to have the corresponding category attribute, when the operation of creating the folder aiming at the application is detected, the folder containing the application is created, and the folder is named according to the category attribute of the application, so that the situation that the folder is named as 'unnamed' can be avoided, and the new folder on the desktop of the mobile terminal is named accurately.
Referring to fig. 2, which is a schematic diagram illustrating an implementation flow of a folder naming method provided in the second embodiment of the present invention, where the folder naming method is applied to a mobile terminal, as shown in the figure, the folder naming method may include the following steps:
step S201, when downloading an application from a server, obtaining a category attribute of the application from the server, where the category attribute is used to indicate a category to which the application belongs.
The step is the same as step S101, and reference may be made to the related description of step S101, which is not repeated herein.
Step S202, when detecting the operation of creating the folder for the application, detecting whether the category attribute of the application is matched with the name of the created folder in the mobile terminal.
In the embodiment of the present invention, the operation of creating the folder for the application may be an operation triggered by a user through an icon of the application, or an operation triggered by downloading the application from a server. The operation triggered by the user through the application icon may be a long-press, sliding or dragging operation on the application icon, and the like, which is not limited herein. Specifically, when detecting operations such as long pressing, sliding, or dragging of an application icon, it may be set in the mobile terminal in advance, and it may be detected whether the category attribute of the application matches a name of a folder created on a desktop of the mobile terminal. For example, when long pressing, sliding or dragging operation on an icon of a Tianmao on a mobile phone desktop is detected, the category attribute of the Tianmao is shopping, if a folder named shopping does not exist on the mobile phone desktop, a folder containing the Tianmao is created and named shopping; if a folder named shopping exists on the desktop of the mobile phone, the icon of the Tianmao is directly moved into the folder named shopping. It should be noted that the operation of creating the folder for the application may also be an operation of dragging an icon of the application onto an icon of another application (the two applications are different applications), and when the operation is detected, the folder including the two applications may be created at a position where the icon of the another application is located, and the folder may be named by the category attribute of the dragged application. The operation triggered by downloading the application from the server can mean that the mobile terminal establishes a folder containing the application after downloading the application from the server, and user operation is not needed.
When the operation of creating the folder for the application is an operation of dragging an icon of the application to an icon of another application, when the operation is detected and a folder with a name matched with the category attribute of the application does not exist on a desktop of the mobile terminal, whether the category attribute of the application is the same as the category attribute of the another application is detected, if so, a folder containing the two applications (namely the application and the another application) is created at the position of the icon of the another application, and the folder is named by the category attribute of the application; if not, prompting the user that the category attributes of the two applications are different in a popup window mode, and displaying the category attributes of the two applications for the user to select; if the selection operation of the user (for example, clicking the name of a certain category attribute) is detected within a preset time (for example, 5 seconds), naming the folder by the selected category attribute; if the selection operation of the user is not detected within the preset time, the popup window is hidden, and an input frame is displayed for the user to input the name of the folder or not create the folder.
Optionally, when detecting the operation of creating a folder for the application, the detecting whether the category attribute of the application matches the name of the created folder in the mobile terminal includes:
if the application is displayed with an icon on the desktop, detecting whether the category attribute of the application is matched with the name of a folder created in the mobile terminal when the dragging operation aiming at the icon is detected.
Optionally, after obtaining the category attribute of the application, the method further includes:
storing the corresponding relation between the application and the category attribute of the application into a local database;
the detecting whether the category attribute of the application is matched with the name of the created folder in the mobile terminal when the operation of creating the folder for the application is detected comprises:
when the operation of creating the folder for the application is detected, the category attribute corresponding to the application is obtained from a local database, and whether the category attribute of the application is matched with the name of the created folder in the mobile terminal is detected.
In the embodiment of the present invention, after the mobile terminal obtains the category attribute of the application from the server, the mobile terminal establishes the corresponding relationship between the application and the category attribute thereof, and stores the corresponding relationship into the local database of the mobile terminal, so that it can be ensured that all applications installed in the mobile terminal have corresponding category attributes, and the category attribute of any application installed in the mobile terminal can be found in the local database of the mobile terminal.
Step S203, if the category attribute of the application is not matched with the name of the created folder in the mobile terminal, creating the folder containing the application, and naming the folder by the category attribute of the application.
Optionally, if the category attribute of the application matches the name of the folder created in the mobile terminal, the application is moved into the folder whose name matches the category attribute of the application.
In the embodiment of the present invention, before creating the folder containing the application, it may be detected whether the category attribute of the application matches the name of the created folder in the mobile terminal, so as to avoid creating folders with the same name on the desktop of the mobile terminal, and reduce the number of folders on the desktop of the mobile terminal.
Optionally, after naming the folder with the category attribute of the application, the method further includes:
when the application is updated, acquiring the updated category attribute of the application;
if the updated application type attribute is different from the application type attribute before updating, updating the application type attribute before updating stored in the local database into the updated application type attribute.
In the embodiment of the present invention, when the installed application is updated by the mobile terminal, the updated category attribute of the application may be different from the category attribute before the update, and in order to reduce the cost of maintaining the local database of the mobile terminal in the later period, the category attribute of the application stored in the local database may be updated correspondingly following the change of the category attribute of the application, so as to ensure the accuracy of the category attribute of the application stored in the local database.
When the operation of creating the folder for the application is detected, whether the category attribute of the application is matched with the name of the created folder in the mobile terminal is detected, and the folder containing the application is created when the category attribute of the application is not matched with the name of the created folder in the mobile terminal, so that the folders with the same name can be prevented from being created on the desktop of the mobile terminal, and the number of the folders on the desktop of the mobile terminal is reduced.
Fig. 3 is a schematic diagram of a mobile terminal according to a third embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown.
The mobile terminal includes:
a first obtaining module 31, configured to obtain, when an application is downloaded from a server, a category attribute of the application from the server, where the type attribute is used to indicate a category to which the application belongs;
the folder creating module 32 is configured to, when an operation of creating a folder for the application is detected, create a folder containing the application, and name the folder by a category attribute of the application.
Optionally, the mobile terminal further includes:
a storage module 33, configured to store the corresponding relationship between the application and the category attribute of the application in a local database;
the folder creating module 32 is specifically configured to, when an operation of creating a folder for the application is detected, create a folder containing the application, acquire a category attribute corresponding to the application from a local database, and name the folder by using the category attribute corresponding to the application.
Optionally, the mobile terminal further includes:
a second obtaining module 34, configured to, when the application is updated, obtain the updated category attribute of the application from the server;
an updating module 35, configured to update the category attribute of the application before the update stored in the local database to the category attribute of the application after the update if the updated category attribute of the application is different from the category attribute of the application before the update.
Optionally, the folder creating module 32 includes:
a detecting unit 321, configured to detect whether a category attribute of the application matches a name of a created folder in the mobile terminal when an operation of creating a folder for the application is detected;
a creating unit 322, configured to create a folder containing the application if the category attribute of the application is not matched with the name of the created folder in the mobile terminal;
a moving-in unit 323, configured to, if the category attribute of the application matches the name of the folder already created in the mobile terminal, move the application into the folder whose name matches the category attribute of the application.
Optionally, the folder creating module 32 is specifically configured to:
if the application is displayed with an icon on the desktop, when the dragging operation aiming at the icon is detected, a folder containing the application is created.
According to the method and the device for naming the folder, when the application is downloaded from the server, the category attribute of the application is acquired at the same time, so that each application installed on the mobile terminal is guaranteed to have the corresponding category attribute, when the operation of creating the folder aiming at the application is detected, the folder containing the application is created, and the folder is named according to the category attribute of the application, so that the situation that the folder is named as 'unnamed' can be avoided, and the new folder on the desktop of the mobile terminal is named accurately.
Fig. 4 is a schematic diagram of a mobile terminal according to a fourth embodiment of the present invention. The mobile terminal as shown in the figure may include: one or more processors 401 (only one shown); one or more input devices 402 (only one shown), one or more output devices 403 (only one shown), and memory 404. The processor 401, the input device 402, the output device 403, and the memory 404 are connected by a bus 405. The memory 404 is used for storing instructions and the processor 401 is used for executing the instructions stored by the memory 404. Wherein:
the processor 401 is configured to, when an application is downloaded from a server, obtain a category attribute of the application from the server, where the category attribute is used to indicate a category to which the application belongs; when the operation of creating the folder for the application is detected, the folder containing the application is created, and the folder is named according to the category attribute of the application.
Optionally, the processor 401 is further configured to store the corresponding relationship between the application and the category attribute of the application in a local database.
Optionally, the processor 401 is specifically configured to, when an operation of creating a folder for the application is detected, create a folder containing the application, acquire a category attribute corresponding to the application from a local database, and name the folder by using the category attribute corresponding to the application.
Optionally, the processor 401 is further configured to, when the application is updated, obtain the updated category attribute of the application from the server; if the updated application type attribute is different from the application type attribute before updating, updating the application type attribute before updating stored in the local database into the updated application type attribute.
Optionally, the processor 401 is specifically configured to detect, when an operation of creating a folder for the application is detected, whether a category attribute of the application matches a name of the created folder in the mobile terminal; and if the category attribute of the application is not matched with the name of the created folder in the mobile terminal, creating the folder containing the application.
Optionally, the processor 401 is further configured to, if the category attribute of the application matches the name of a folder already created in the mobile terminal, move the application into the folder whose name matches the category attribute of the application.
Optionally, the processor 401 is specifically configured to, if an icon is displayed on the desktop of the application, create a folder containing the application when a drag operation for the icon is detected.
It should be understood that, in the embodiment of the present invention, the Processor 401 may be a Central Processing Unit (CPU), and the Processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 402 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, a data receiving interface, and the like. The output devices 403 may include a display (LCD, etc.), speakers, a data transmission interface, and the like.
The memory 404 may include a read-only memory and a random access memory, and provides instructions and data to the processor 401. A portion of the memory 404 may also include non-volatile random access memory. For example, the memory 404 may also store device type information.
In a specific implementation, the processor 401, the input device 402, the output device 403, and the memory 404 described in this embodiment of the present invention may execute the implementation described in the embodiment of the folder naming method provided in this embodiment of the present invention, or may execute the implementation described in the mobile terminal described in the third embodiment, which is not described herein again.
Fig. 5 is a schematic diagram of a mobile terminal according to a fifth embodiment of the present invention. As shown in fig. 5, the mobile terminal 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and executable on said processor 50. The processor 50, when executing the computer program 52, implements the steps in the above-described embodiments of the folder naming method, such as the steps S101 to S102 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of the modules/units in the above-described mobile terminal embodiment, such as the functions of the modules 31 to 35 shown in fig. 3.
Illustratively, the computer program 52 may be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 52 in the mobile terminal 5. For example, the computer program 52 may be divided into a first event obtaining module, a folder creating module, a storage module, a second obtaining module, and an updating module, and the specific functions of the modules are as follows:
the device comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining the category attribute of an application from a server when the application is downloaded from the server, and the type attribute is used for indicating the category to which the application belongs;
and the folder creating module is used for creating a folder containing the application when the operation of creating the folder for the application is detected, and naming the folder by using the category attribute of the application.
Optionally, the mobile terminal further includes:
the storage module is used for storing the corresponding relation between the application and the category attribute of the application into a local database;
the folder creating module is specifically configured to create a folder containing the application when an operation of creating the folder for the application is detected, acquire a category attribute corresponding to the application from a local database, and name the folder by using the category attribute corresponding to the application.
Optionally, the mobile terminal further includes:
the second obtaining module is used for obtaining the updated category attribute of the application from the server when the application is updated;
and the updating module is used for updating the class attribute of the application before updating stored in the local database into the class attribute of the application after updating if the class attribute of the application after updating is different from the class attribute of the application before updating.
Optionally, the folder creating module includes:
the detection unit is used for detecting whether the category attribute of the application is matched with the name of the created folder in the mobile terminal or not when the operation of creating the folder for the application is detected;
the creating unit is used for creating a folder containing the application if the category attribute of the application is not matched with the name of the created folder in the mobile terminal;
and the moving-in unit is used for moving the application into the folder with the name matched with the category attribute of the application if the category attribute of the application is matched with the name of the created folder in the mobile terminal.
Optionally, the folder creating module is specifically configured to:
if the application is displayed with an icon on the desktop, when the dragging operation aiming at the icon is detected, a folder containing the application is created. The mobile terminal 5 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The mobile terminal may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a mobile terminal 5 and does not constitute a limitation of the mobile terminal 5 and may include more or less components than those shown, or some of the components may be combined, or different components, e.g., the mobile terminal may also include input-output devices, network access devices, buses, etc.
The processor 50 may be a central processing unit CPU, but may also be other general purpose processors, digital signal processors DSP, application specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the mobile terminal 5, such as a hard disk or a memory of the mobile terminal 5. The memory 51 may also be an external storage device of the mobile terminal 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the mobile terminal 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the mobile terminal 5. The memory 51 is used for storing the computer program and other programs and data required by the mobile terminal. The memory 51 may also be used to temporarily store data that has been output or is to be output. It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed mobile terminal and method may be implemented in other ways. For example, the above-described embodiments of the mobile terminal are merely illustrative, and for example, the division of the modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (9)

1. A folder naming method is characterized by comprising the following steps:
when an application is downloaded from a server, acquiring a category attribute of the application from the server, wherein the category attribute is used for indicating a category to which the application belongs;
storing the corresponding relation between the application and the category attribute of the application into a local database;
when detecting an operation of creating a folder for the application, creating the folder containing the application, and naming the folder by using the category attribute of the application, specifically: when the operation of creating a folder for the application is detected, creating the folder containing the application, acquiring the category attribute corresponding to the application from a local database, and naming the folder by using the category attribute corresponding to the application;
the operation of creating the folder for the application is an operation triggered by an icon of the application by a user, and the operation triggered by the icon of the application by the user refers to a long-time pressing, sliding or dragging operation on the icon of the application; when the operation for creating the folder for the application is an operation of dragging the icon of the application to the icon of another application, firstly detecting whether the category attribute of the application is the same as the category attribute of the other application, if so, creating the folder containing the two applications at the position of the icon of the other application, and naming the folder by using the category attribute of the application; if not, prompting the user that the category attributes of the two applications are different in a popup window mode, and displaying the category attributes of the two applications for the user to select; if the selection operation of the user is detected within the preset time, naming the folder by the selected category attribute; if the selection operation of the user is not detected within the preset time, hiding the popup window, and displaying an input frame for the user to input the name of the folder or not creating the folder;
after naming the folder with the category attribute of the application, further comprising:
when the application is updated, acquiring the updated category attribute of the application from the server;
if the updated application type attribute is different from the application type attribute before updating, updating the application type attribute before updating stored in the local database into the updated application type attribute.
2. The folder naming method as claimed in claim 1, wherein said creating a folder containing said application upon detection of an operation to create a folder for said application comprises:
when the operation of creating the folder for the application is detected, detecting whether the category attribute of the application is matched with the name of the created folder in the mobile terminal;
and if the category attribute of the application is not matched with the name of the created folder in the mobile terminal, creating the folder containing the application.
3. The folder name method as recited in claim 2, wherein the folder name method further comprises:
and if the category attribute of the application is matched with the name of the created folder in the mobile terminal, moving the application into the folder with the name matched with the category attribute of the application.
4. The folder naming method as claimed in claim 1, wherein upon detecting an operation to create a folder for the application, creating a folder containing the application comprises:
if the application is displayed with an icon on the desktop, when the dragging operation aiming at the icon is detected, a folder containing the application is created.
5. A mobile terminal, characterized in that the mobile terminal comprises:
the system comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining the category attribute of an application from a server when the application is downloaded from the server, and the category attribute is used for indicating the category of the application;
the folder creating module is used for creating a folder containing the application when detecting the operation of creating the folder aiming at the application, and naming the folder by the category attribute of the application;
the storage module is used for storing the corresponding relation between the application and the category attribute of the application into a local database;
the folder creating module is specifically configured to create a folder containing the application when an operation of creating the folder for the application is detected, acquire a category attribute corresponding to the application from a local database, and name the folder by using the category attribute corresponding to the application;
the operation of creating the folder for the application is an operation triggered by an icon of the application by a user, and the operation triggered by the icon of the application by the user refers to a long-time pressing, sliding or dragging operation on the icon of the application; when the operation for creating the folder for the application is an operation of dragging the icon of the application to the icon of another application, firstly detecting whether the category attribute of the application is the same as the category attribute of the other application, if so, creating the folder containing the two applications at the position of the icon of the other application, and naming the folder by using the category attribute of the application; if not, prompting the user that the category attributes of the two applications are different in a popup window mode, and displaying the category attributes of the two applications for the user to select; if the selection operation of the user is detected within the preset time, naming the folder by the selected category attribute; if the selection operation of the user is not detected within the preset time, hiding the popup window, and displaying an input frame for the user to input the name of the folder or not creating the folder;
the second obtaining module is used for obtaining the updated category attribute of the application from the server when the application is updated;
and the updating module is used for updating the class attribute of the application before updating stored in the local database into the class attribute of the application after updating if the class attribute of the application after updating is different from the class attribute of the application before updating.
6. The mobile terminal of claim 5, wherein the folder creation module comprises:
the detection unit is used for detecting whether the category attribute of the application is matched with the name of the created folder in the mobile terminal or not when the operation of creating the folder for the application is detected;
the creating unit is used for creating a folder containing the application if the category attribute of the application is not matched with the name of the created folder in the mobile terminal;
and the moving-in unit is used for moving the application into the folder with the name matched with the category attribute of the application if the category attribute of the application is matched with the name of the created folder in the mobile terminal.
7. The mobile terminal of claim 5, wherein the folder creation module is specifically configured to:
if the application is displayed with an icon on the desktop, when the dragging operation aiming at the icon is detected, a folder containing the application is created.
8. A mobile terminal comprising a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor implements the steps of the folder naming method according to any of claims 1 to 4 when executing said computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the folder naming method as claimed in any one of claims 1 to 4.
CN201710625863.1A 2017-07-27 2017-07-27 Folder naming method, mobile terminal and computer readable storage medium Expired - Fee Related CN107451244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710625863.1A CN107451244B (en) 2017-07-27 2017-07-27 Folder naming method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710625863.1A CN107451244B (en) 2017-07-27 2017-07-27 Folder naming method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107451244A CN107451244A (en) 2017-12-08
CN107451244B true CN107451244B (en) 2021-01-29

Family

ID=60489216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710625863.1A Expired - Fee Related CN107451244B (en) 2017-07-27 2017-07-27 Folder naming method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107451244B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255372B (en) * 2018-01-24 2020-10-27 维沃移动通信有限公司 Desktop application icon sorting method and mobile terminal
CN109032720A (en) * 2018-06-27 2018-12-18 奇酷互联网络科技(深圳)有限公司 Folder icon display methods, system, readable storage medium storing program for executing and terminal
CN109522282B (en) * 2018-09-29 2024-02-02 中国平安人寿保险股份有限公司 Picture management method, device, computer device and storage medium
CN111581647B (en) * 2019-02-15 2023-07-25 武汉海康存储技术有限公司 File encryption and decryption method and device
CN110263007A (en) * 2019-06-28 2019-09-20 深圳市迅雷网络技术有限公司 A kind of file naming method, system and electronic equipment and storage medium
CN110727494B (en) * 2019-09-30 2023-06-23 Oppo广东移动通信有限公司 Application icon control method and related device
CN113691568A (en) * 2020-05-18 2021-11-23 青岛海信移动通信技术股份有限公司 Terminal and method for acquiring file information
CN111880872A (en) * 2020-06-28 2020-11-03 华为技术有限公司 Method, terminal device, server and system for managing application program APP

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521275A (en) * 2011-11-24 2012-06-27 宇龙计算机通信科技(深圳)有限公司 Classifying method, classifying device and a terminal of application program
CN106569860A (en) * 2016-11-04 2017-04-19 广东欧珀移动通信有限公司 Application management method and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080218808A1 (en) * 2007-03-07 2008-09-11 Altep, Inc. Method and System For Universal File Types in a Document Review System
CN102930444A (en) * 2012-09-25 2013-02-13 中兴通讯股份有限公司 Mobile terminal as well as application classified management method and system thereof
CN103955536A (en) * 2014-05-15 2014-07-30 深圳市中兴移动通信有限公司 Classification method and device of applications
CN106649633B (en) * 2016-12-07 2021-01-08 惠州Tcl移动通信有限公司 Desktop folder naming method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521275A (en) * 2011-11-24 2012-06-27 宇龙计算机通信科技(深圳)有限公司 Classifying method, classifying device and a terminal of application program
CN106569860A (en) * 2016-11-04 2017-04-19 广东欧珀移动通信有限公司 Application management method and terminal

Also Published As

Publication number Publication date
CN107451244A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN107451244B (en) Folder naming method, mobile terminal and computer readable storage medium
CN108038112B (en) File processing method, mobile terminal and computer readable storage medium
US8816989B2 (en) User interface navigation utilizing pressure-sensitive touch
CN107181858B (en) Method and terminal for displaying notification message
CN109471626B (en) Page logic structure, page generation method, page data processing method and device
CN106991179B (en) Data deleting method and device and mobile terminal
WO2022194004A1 (en) Application icon arrangement method and apparatus, and electronic device
US10732719B2 (en) Performing actions responsive to hovering over an input surface
CN109359582B (en) Information searching method, information searching device and mobile terminal
CN111142650B (en) Screen brightness adjusting method, screen brightness adjusting device and terminal
CN106406938A (en) Application download method and terminal
CN109298907B (en) Application program display method, application program display device and terminal
CN107679222B (en) Picture processing method, mobile terminal and computer readable storage medium
CN107783932B (en) Information processing method of calculator, mobile terminal and computer readable storage medium
CN107609119B (en) File processing method, mobile terminal and computer readable storage medium
CN108521460B (en) Information pushing method and device, mobile terminal and computer readable storage medium
CN109492249B (en) Rapid generation method and device of design drawing and terminal equipment
CN108469938B (en) Electronic book reading reminding method and device and terminal equipment
WO2023005835A1 (en) Icon control method, apparatus, electronic device, and readable storage medium
WO2022194077A1 (en) Application program icon management method and apparatus, and electronic device
CN111226190A (en) List switching method and terminal
CN110874729A (en) Switching method and switching device for electronic red packet identification strategy and mobile terminal
CN108595569B (en) File path copying method, file path copying device and mobile terminal
CN110688035B (en) Photo album processing method, photo album processing device and mobile terminal
US9298692B2 (en) Real time data tagging in text-based documents

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210129

CF01 Termination of patent right due to non-payment of annual fee