CN106446014B - File searching method and mobile terminal - Google Patents

File searching method and mobile terminal Download PDF

Info

Publication number
CN106446014B
CN106446014B CN201610736294.3A CN201610736294A CN106446014B CN 106446014 B CN106446014 B CN 106446014B CN 201610736294 A CN201610736294 A CN 201610736294A CN 106446014 B CN106446014 B CN 106446014B
Authority
CN
China
Prior art keywords
file
characteristic value
mobile terminal
determining
characteristic
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.)
Active
Application number
CN201610736294.3A
Other languages
Chinese (zh)
Other versions
CN106446014A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610736294.3A priority Critical patent/CN106446014B/en
Publication of CN106446014A publication Critical patent/CN106446014A/en
Application granted granted Critical
Publication of CN106446014B publication Critical patent/CN106446014B/en
Active 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/14Details of searching files based on file metadata
    • G06F16/148File search processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Library & Information Science (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a file searching method and a mobile terminal, wherein the file searching method comprises the following steps: acquiring at least one characteristic value for identifying the characteristic type of the file, and determining a target file corresponding to the at least one characteristic value according to a pre-established corresponding relation between the file and the characteristic value. According to the scheme of the invention, the characteristic value of the file characteristic type to which the file belongs can be considered when the file is searched, and the file searching range can be quickly reduced and the file to be acquired can be determined when only the characteristic value of the file characteristic type to which the file to be acquired belongs is known.

Description

File searching method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a file searching method and a mobile terminal.
Background
With the development of terminal technology, the variety of various resources stored on the mobile terminal by a user is increasing, for example, phone book information, multimedia messages, short messages, videos, audios, pictures, games, application programs, and the like, which makes the data volume in the mobile terminal larger and larger, and makes it more and more difficult to accurately find target data in the data.
In the prior art, a required file is often acquired through keyword search. For example, matching resource file information is searched in a pre-established index file through keywords to determine a matching resource file. However, the method of searching for a file by a keyword does not take into consideration the classification of the file, and cannot search for a file desired to be acquired when only the type or source of the file desired to be acquired is known, or the like.
Disclosure of Invention
The embodiment of the invention provides a file searching method and a mobile terminal, which aim to solve the problem that a file to be acquired cannot be searched when the type, source and the like of the file to be acquired are only known in the conventional file searching method.
In one aspect, an embodiment of the present invention provides a file searching method, which is applied to a mobile terminal, and the method includes:
acquiring at least one characteristic value for identifying the characteristic type of the file;
and determining a target file corresponding to the at least one characteristic value according to the corresponding relation between the pre-established file and the characteristic value.
In another aspect, an embodiment of the present invention further provides a mobile terminal, including:
the acquisition module is used for acquiring at least one characteristic value for identifying the characteristic type of the file;
and the first determining module is used for determining a target file corresponding to at least one characteristic value acquired by the acquiring module according to the corresponding relation between the pre-established file and the characteristic value.
In this way, the file searching method according to the embodiment of the present invention determines the target file corresponding to the at least one feature value by obtaining the at least one feature value for identifying the feature type of the file and according to the pre-established correspondence between the file and the feature value, and can consider the feature value of the file feature type to which the file belongs when searching for the file, so that when only the feature value of the file feature type to which the file to be obtained belongs is known, the file searching range can be quickly narrowed, and the file to be obtained can be determined.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention 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 labor.
Fig. 1 shows a flowchart of a file searching method according to a first embodiment of the present invention.
Fig. 2 shows a flowchart of a file searching method according to a second embodiment of the present invention.
Fig. 3 shows a flowchart of a file searching method according to a third embodiment of the present invention.
Fig. 4 shows a flowchart of a file searching method according to a fourth embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
Fig. 6 is a second schematic structural diagram of a mobile terminal according to a fifth embodiment of the invention.
Fig. 7 is a third schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
Fig. 8 is a fourth schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
Fig. 9 is a schematic structural diagram of a mobile terminal according to a sixth embodiment of the present invention.
Fig. 10 is a schematic structural diagram of a mobile terminal according to a seventh embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention 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 labor.
First embodiment
Referring to fig. 1, a first embodiment of the present invention provides a file searching method applied to a mobile terminal, including steps 101 to 102, which are described in detail below.
Step 101: at least one feature value for identifying a feature type of the file is obtained.
In the embodiment of the present invention, the file feature type includes at least one of a file source, a file type, a file new period, a file update period, a file format, a file size, and the like.
The characteristic value for identifying the file characteristic type is specifically a characteristic value of a corresponding file characteristic type. For example, the characteristic value of the file source may be an application, a storage medium, or the like, the characteristic value of the file type may be a picture, a video, an audio, a compression package, an installation package, a document, or the like, the characteristic value of the file new creation time period or the file update time period may be one hour, one day, one week, one month, or the like, the characteristic value of the file format may be TXT, PDF, PNG, JPG, or the like, and the characteristic value of the file size may be greater than or equal to a certain threshold value, smaller than or equal to a certain threshold value (where the size of the threshold value may be preset), or the like.
The obtaining of at least one feature value for identifying a file feature type specifically obtains feature values of one or more file feature types, but only one corresponding feature value can be obtained in one file feature type.
It should be noted that the feature value of the file feature type may be selectively built in the mobile terminal by the mobile terminal manufacturer, or may be updated and supplemented by the server. When the server has the update information related to the characteristic value of the file characteristic type, the update information can be sent to the mobile terminal, so that the mobile terminal can select whether to update the characteristic value of the corresponding file characteristic type according to the requirement.
Step 102: and determining a target file corresponding to the at least one characteristic value according to the corresponding relation between the pre-established file and the characteristic value.
In the embodiment of the invention, the corresponding relation between the file and the characteristic value can be pre-established in the mobile terminal, so that after at least one characteristic value which is input or selected by a user and used for identifying the characteristic type of the file is obtained, the target file corresponding to the obtained characteristic value can be determined.
According to the file searching method, at least one characteristic value used for identifying the file characteristic type is obtained, the target file corresponding to the at least one characteristic value is determined according to the pre-established corresponding relation between the file and the characteristic value, the characteristic value of the file characteristic type to which the file belongs can be considered when the file is searched, the file searching range can be quickly reduced when only the characteristic value of the file characteristic type to which the file to be obtained belongs is known, and the file to be obtained is determined.
Second embodiment
Referring to fig. 2, a second embodiment of the present invention provides a file searching method applied to a mobile terminal, including steps 201 to 204, which are described in detail below.
Step 201: and displaying preset file feature types and feature value options of each file feature type.
In the embodiment of the present invention, the feature value option is an expression form of a corresponding feature value, and may exist in a form of a button or a pull-down menu, and is used for receiving an input operation of a user.
Step 202: receiving a first selection operation of a mobile terminal user on a feature value option of the displayed file feature type.
In the embodiment of the present invention, the first selection operation is, for example, a click operation, and the like, which is not limited in the present invention.
Step 203: and determining at least one characteristic value for identifying the characteristic type of the file according to the first selection operation.
In the embodiment of the invention, according to the first selection operation, a user can select one or more feature values of the file feature type, but only one corresponding feature value can be selected under one file feature type.
Step 204: and determining a target file corresponding to the at least one characteristic value according to the corresponding relation between the pre-established file and the characteristic value.
In the embodiment of the present invention, the pre-established correspondence between the file and the feature value may be embodied as a correspondence between a storage path of the file and the feature value, that is, a link relationship exists between the feature value and the storage path of the file, so that the corresponding file can be searched.
Thus, the determining the target file corresponding to the at least one feature value according to the pre-established correspondence between the file and the feature value may specifically be:
determining a storage path of a target file corresponding to the at least one characteristic value according to a corresponding relation between a pre-established file and the characteristic value;
and determining the target file according to the storage path.
The correspondence between the files and the feature values is pre-established, and is mainly obtained by screening all files (which may be pre-existing files or files just updated) in the mobile terminal and judging the screened files.
Specifically, the process of establishing the corresponding relationship between the file and the characteristic value specifically includes:
screening out all files in the mobile terminal;
determining a characteristic value of a file characteristic type to which each file belongs;
and establishing a corresponding relation between each file and the determined characteristic value.
The file searching method provided by the embodiment of the invention receives a first selection operation of a mobile terminal user on a feature value option of a displayed file feature type by displaying a preset file feature type and a feature value option of each file feature type, determines at least one feature value for identifying the file feature type according to the first selection operation, determines a target file corresponding to the at least one feature value according to a pre-established corresponding relationship between the file and the feature value, and can quickly narrow a file searching range and search a file to be acquired by means of the operation of the mobile terminal user on the feature value option of the displayed file feature type.
Third embodiment
Referring to fig. 3, a third embodiment of the present invention provides a file searching method applied to a mobile terminal, including steps 301 to 306, which are described in detail below.
Step 301: and acquiring keywords input by a mobile terminal user.
In the embodiment of the invention, the mode of inputting the keywords can be a mode supported by any input method, and the keywords can be input manually or by voice.
The keywords may be related to file types, file creation or update time periods, file formats, file sizes, and/or file contents, and may be appropriately adjusted according to actual requirements, which is not limited in the present invention. And the file content may be a key word of significant interest.
For example, the user may input keywords "health preserving related (corresponding to the file content)", "word (corresponding to the file format)", and "1 day (corresponding to the time period)" by voice to find the corresponding file. Alternatively, the user may manually enter the keyword "within 1 week + document + PDF" to find out the PDF document within one week.
Step 302: and determining at least one preselected file matched with the keyword according to the keyword.
Specifically, after the keywords input by the user are obtained, the matched preselected file can be searched according to the keywords. The pre-selected file is a result roughly selected according to the keywords, and a file which is required to be acquired is searched on the basis of the pre-selected file.
Step 303: and displaying the at least one preselected file, and displaying the feature value options of the file feature types to which the preselected files belong.
In the embodiment of the present invention, when displaying the at least one preselected file, the at least one preselected file may be sorted according to a preset sorting order, for example, sorted from the top to the bottom according to the number of times of opening or modifying, which is not limited by the present invention.
Step 304: and receiving a second selection operation of the mobile terminal user on the feature value option of the file feature type to which the displayed preselected file belongs.
In the embodiment of the present invention, the second selection operation is, for example, a click operation, and the like, which is not limited in the present invention.
Step 305: and determining at least one characteristic value for identifying the characteristic type of the file according to the second selection operation.
In the embodiment of the present invention, according to the second selection operation, the user may select one or more feature values of the file feature type, but only one corresponding feature value may be selected in one file feature type.
Step 306: and searching a target file corresponding to the at least one characteristic value in the at least one preselected file according to the corresponding relation between the pre-established file and the characteristic value.
In the embodiment of the present invention, when searching for the target file, in order to reduce the search load of the mobile terminal, the search may be performed in the roughed selection result, that is, the at least one preselected file.
The file searching method of the embodiment of the invention comprises the steps of obtaining a keyword input by a mobile terminal user, determining at least one preselected file matched with the keyword according to the keyword, displaying the at least one preselected file, displaying a characteristic value option of a file characteristic type to which the preselected file belongs, receiving a second selection operation of the mobile terminal user on the characteristic value option of the file characteristic type to which the displayed preselected file belongs, determining at least one characteristic value for identifying the file characteristic type according to the second selection operation, searching a target file corresponding to the at least one characteristic value in the at least one preselected file according to a pre-established corresponding relation between the file and the characteristic value, and searching a file to be obtained by successively according to the keyword and the characteristic value of the file characteristic type, the file searching range is quickly reduced, the interference of irrelevant files is reduced, and the file to be acquired is accurately found.
Fourth embodiment
Referring to fig. 4, a fourth embodiment of the present invention provides a file searching method applied to a mobile terminal, wherein a screen of the mobile terminal is a curved screen, and the method includes steps 401 to 403, which are described in detail as follows.
Step 401: and acquiring characters corresponding to gesture operation of a mobile terminal user on the side edge of the curved screen.
In the embodiment of the present invention, a feature value option of a file feature type is displayed on a side of the curved screen, and the feature value option is usually embodied in a character form, and is used to refer specifically to a feature value for identifying a file feature type, for example, a character "P" refers specifically to a PDF (preset in a mobile terminal) of a file format, and the like.
Step 402: and determining a characteristic value corresponding to the character.
Specifically, after the characters are obtained in step 401, according to the content preset in the mobile terminal, the feature value corresponding to the characters can be determined.
Step 403: and determining a target file matched with the characteristic value corresponding to the character according to the corresponding relation between the pre-established file and the characteristic value.
In the embodiment of the invention, the corresponding relation between the file and the characteristic value can be pre-established in the mobile terminal, so that the matched target file can be determined after the characteristic value corresponding to the first character is determined.
In addition, in order to improve the user experience, the initials of the target files may be displayed on the side of the curved screen, so that the corresponding target files are directly opened and an editing state is entered according to an operation (e.g., a click operation) on the initials.
According to the file searching method, the characters corresponding to the gesture operation of the mobile terminal user on the side edge of the curved screen are obtained, the characteristic values corresponding to the characters are determined, the target file matched with the characteristic values corresponding to the characters is determined according to the pre-established corresponding relation between the files and the characteristic values, the operation on the characteristic value options can be completed through the operation on the side edge of the curved screen, the file searching range is rapidly reduced, and the file to be obtained is determined.
Fifth embodiment
Referring to fig. 5, a fifth embodiment of the present invention provides a mobile terminal, which corresponds to the file searching method shown in fig. 1, and can implement details of the file searching method in the first embodiment to achieve the same effect. The mobile terminal comprises an acquisition module 51 and a first determination module 52, which are described in detail below.
The obtaining module 51 is configured to obtain at least one feature value for identifying a file feature type.
The first determining module 52 is configured to determine, according to a correspondence between a file and a feature value that are established in advance, a target file corresponding to at least one feature value that is obtained by the obtaining module 51.
In the embodiment of the present invention, referring to fig. 6, the obtaining module 51 includes a first display unit 511, a first receiving unit 512, and a first determining unit 513, which are described in detail below.
The first display unit 511 is configured to display preset file feature types and feature value options of each file feature type.
The first receiving unit 512 is configured to receive a first selection operation of the mobile terminal user on a feature value option of a file feature type displayed by the first display unit 511.
The first determining unit 513 is configured to determine the at least one feature value for identifying the feature type of the file according to the first selection operation received by the first receiving unit 512.
Further, referring to fig. 6, the mobile terminal further includes a screening module 53, a second determining module 54, and a establishing module 55, which are described in detail below.
The screening module 53 is configured to screen out all files in the mobile terminal.
The second determining module 54 is configured to determine a feature value of a file feature type to which each of the files belongs.
The establishing module 55 is configured to establish a corresponding relationship between each file and the determined feature value.
Further, referring to fig. 6, the first determining module 52 includes a fifth determining unit 521 and a sixth determining unit 522, which are described in detail below.
The fifth determining unit 521 is configured to determine, according to a correspondence between a file and a feature value that is established in advance, a storage path of a target file corresponding to at least one feature value that is acquired by the acquiring module 51.
The sixth determining unit 522 is configured to determine the target file according to the storage path determined by the fifth determining unit 521.
In the embodiment of the present invention, referring to fig. 7, the obtaining module 51 includes a first obtaining unit 514, a second determining unit 515, a second displaying unit 516, a second receiving unit 517, and a third determining unit 518, which are described in detail below.
The first obtaining unit 514 is configured to obtain a keyword input by a user of the mobile terminal.
The second determining unit 515 is configured to determine at least one preselected file matching the keyword according to the keyword acquired by the first acquiring unit 514.
The second display unit 516 is configured to display at least one preselected file determined by the second determining unit 515, and display a feature value option of a file feature type to which the preselected file belongs.
The second receiving unit 517 is configured to receive a second selection operation of the mobile terminal user on a feature value option of a file feature type to which the preselected file displayed by the second display unit 516 belongs.
The third determining unit 518 is configured to determine, according to the second selection operation received by the second receiving unit 517, the at least one feature value for identifying a file feature type.
And the pre-selected files are sorted according to a preset sorting sequence.
Further, in this embodiment of the present invention, the first determining module 52 is specifically configured to:
and searching a target file corresponding to the at least one characteristic value in the at least one preselected file according to the corresponding relation between the pre-established file and the characteristic value.
In the embodiment of the present invention, referring to fig. 8, when the screen of the mobile terminal is a curved screen, the obtaining module 51 includes a second obtaining unit 519 and a fourth determining unit 5110, which are described in detail below.
The second obtaining unit 519 is configured to obtain a character corresponding to a gesture operation of the mobile terminal user on the side of the curved screen;
the fourth determining unit 5110 is configured to determine a feature value corresponding to the character acquired by the second acquiring unit 519.
The first determining module 52 is specifically configured to: according to the pre-established correspondence between the file and the feature value, the target file determined by the fourth determining unit 5110 and matched with the feature value corresponding to the character is determined.
In the embodiment of the present invention, the file feature types include: at least one of a file source, a file type, a file new period, a file update period, a file format, and a file size.
The mobile terminal of the embodiment of the invention can determine the target file corresponding to at least one characteristic value by acquiring at least one characteristic value for identifying the characteristic type of the file according to the corresponding relation between the pre-established file and the characteristic value, can consider the characteristic value of the characteristic type of the file to which the file belongs when searching the file, can quickly narrow the file searching range and determine the file to be acquired when only knowing the characteristic value of the characteristic type of the file to which the file to be acquired belongs.
Sixth embodiment
Fig. 9 is a schematic structural diagram of a mobile terminal according to a sixth embodiment of the present invention. The mobile terminal 900 shown in fig. 9 includes: at least one processor 901, memory 902, at least one network interface 904, and a user interface 903. Various components in mobile terminal 900 are coupled together by bus system 905. It is understood that the bus system 905 is used to enable communications among the components. The bus system 905 includes a power bus, a control bus, and a status signal bus, in addition to a data bus. For clarity of illustration, however, the various buses are labeled in fig. 9 as bus system 905.
The user interface 903 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 902 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (ddr SDRAM ), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 902 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 902 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 9021 and application programs 9022.
The operating system 9021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is configured to implement various basic services and process hardware-based tasks. The application 9022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program implementing the method of an embodiment of the present invention may be included in application 9022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 902, specifically, a program or an instruction stored in the application 9022, the processor 901 is configured to obtain at least one feature value for identifying a feature type of a file through the user interface 903, and determine, according to a pre-established correspondence between the file and the feature value, a target file corresponding to the at least one feature value.
The method disclosed in the above embodiments of the present invention may be applied to the processor 901, or implemented by the processor 901. The processor 901 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 901. The Processor 901 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 902, and the processor 901 reads the information in the memory 902, and completes the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 901 is further configured to: controlling the user interface 903 to display preset file feature types and feature value options of each file feature type, receiving a first selection operation of the mobile terminal user on the feature value options of the displayed file feature types, and determining the at least one feature value for identifying the file feature types according to the first selection operation.
Optionally, the processor 901 is further configured to: acquiring keywords input by a mobile terminal user through a user interface 903, determining at least one preselected file matched with the keywords according to the keywords, controlling the user interface 903 to display the at least one preselected file, displaying feature value options of file feature types to which the preselected file belongs, receiving second selection operation of the mobile terminal user on the feature value options of the file feature types to which the displayed preselected file belongs, and determining the at least one feature value for identifying the file feature types according to the second selection operation, wherein the preselected files are sorted according to a preset sorting sequence.
Optionally, the processor 901 is further configured to: and searching a target file corresponding to the at least one characteristic value in the at least one preselected file according to the corresponding relation between the pre-established file and the characteristic value.
Optionally, when the screen of the mobile terminal is a curved screen, the processor 901 is further configured to: the method comprises the steps of obtaining characters corresponding to gesture operation of a mobile terminal user on the side edge of the curved screen through a user interface 903, determining characteristic values corresponding to the characters, and determining a target file matched with the characteristic values corresponding to the characters according to a pre-established corresponding relation between files and the characteristic values.
Optionally, the processor 901 is further configured to: screening all files in the mobile terminal, determining a characteristic value of a file characteristic type to which each file belongs, and establishing a corresponding relation between each file and the determined characteristic value.
Optionally, the processor 901 is further configured to: and determining a storage path of the target file corresponding to the at least one characteristic value according to a pre-established corresponding relationship between the file and the characteristic value, and determining the target file according to the storage path.
Wherein the file feature types include: at least one of a file source, a file type, a file new period, a file update period, a file format, and a file size.
The mobile terminal 900 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, the details are not described here.
The mobile terminal 900 of the embodiment of the present invention determines the target file corresponding to at least one feature value by obtaining at least one feature value for identifying a file feature type according to a pre-established correspondence between a file and the feature value, and can consider the feature value of the file feature type to which the file belongs when searching for the file, and can quickly narrow the file search range and determine the file to be acquired when only the feature value of the file feature type to which the file to be acquired belongs is known.
Seventh embodiment
Fig. 10 is a schematic structural diagram of a mobile terminal according to a seventh embodiment of the present invention. Specifically, the mobile terminal 1000 in fig. 10 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 1000 in fig. 10 includes a Radio Frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a processor 1060, an audio circuit 1070, a Wi-fi (wireless fidelity) module 1080, and a power supply 1090.
The input unit 1030 may be used to receive numeric or character information input by a user and generate signal inputs related to user settings and function control of the mobile terminal 1000, among other things. Specifically, in the embodiment of the present invention, the input unit 1030 may include a touch panel 1031. The touch panel 1031, also referred to as a touch screen, may collect touch operations by a user (e.g., operations of the user on the touch panel 1031 by using any suitable object or accessory such as a finger or a stylus) thereon or nearby, and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1031 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends it to the processor 1060 where it can receive and execute commands from the processor 1060. In addition, the touch panel 1031 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1031, the input unit 1030 may also include other input devices 1032, and the other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, a joystick, etc.
Among other things, the display unit 1040 may be used to display information input by a user or information provided to the user and various menu interfaces of the mobile terminal 1000. The display unit 1040 may include a display panel 1041, and optionally, the display panel 1041 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
It should be noted that the touch panel 1031 may cover the display panel 1041 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 1060 to determine the type of the touch event, and then the processor 1060 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 1060 is a control center of the mobile terminal 1000, connects various parts of the whole mobile phone by using various interfaces and lines, and executes various functions and processes data of the mobile terminal 1000 by running or executing software programs and/or modules stored in the first memory 1021 and calling data stored in the second memory 1022, thereby performing overall monitoring of the mobile terminal 1000. Optionally, processor 1060 may include one or more processing units.
In the embodiment of the present invention, the processor 1060 is configured to obtain at least one feature value for identifying a feature type of a file through the input unit 1030 by calling a software program and/or a module stored in the first memory 1021 and/or data stored in the second memory 1022, and determine a target file corresponding to the at least one feature value according to a pre-established correspondence between the file and the feature value.
Optionally, the processor 1060 is further configured to: the control display unit 1040 displays preset file feature types and feature value options of each file feature type, receives a first selection operation of the mobile terminal user on the feature value options of the displayed file feature types, and determines the at least one feature value for identifying the file feature types according to the first selection operation.
Optionally, the processor 1060 is further configured to: the method comprises the steps of obtaining keywords input by a mobile terminal user through an input unit 1030, determining at least one preselected file matched with the keywords according to the keywords, controlling a display unit 1040 to display the at least one preselected file, displaying feature value options of file feature types to which the preselected file belongs, receiving second selection operation of the mobile terminal user on the feature value options of the file feature types to which the displayed preselected file belongs, and determining at least one feature value for identifying the file feature types according to the second selection operation, wherein the preselected files are sorted according to a preset sorting sequence.
Optionally, the processor 1060 is further configured to: and searching a target file corresponding to the at least one characteristic value in the at least one preselected file according to the corresponding relation between the pre-established file and the characteristic value.
Optionally, when the mobile terminal screen is a curved screen, the processor 1060 is further configured to: the method comprises the steps of obtaining characters corresponding to gesture operation of a mobile terminal user on the side edge of the curved screen through an input unit 1030, determining characteristic values corresponding to the characters, and determining a target file matched with the characteristic values corresponding to the characters according to a pre-established corresponding relation between files and the characteristic values.
Optionally, the processor 1060 is further configured to: screening all files in the mobile terminal, determining a characteristic value of a file characteristic type to which each file belongs, and establishing a corresponding relation between each file and the determined characteristic value.
Optionally, the processor 1060 is further configured to: and determining a storage path of the target file corresponding to the at least one characteristic value according to a pre-established corresponding relationship between the file and the characteristic value, and determining the target file according to the storage path.
Wherein the file feature types include: at least one of a file source, a file type, a file new period, a file update period, a file format, and a file size.
It can be seen that, in the mobile terminal 1000 according to the embodiment of the present invention, by acquiring at least one feature value for identifying a file feature type, and determining a target file corresponding to the at least one feature value according to a pre-established correspondence between a file and the feature value, when searching for a file, the feature value of the file feature type to which the file belongs can be considered, and when only the feature value of the file feature type to which the file to be acquired belongs is known, a file search range can be quickly narrowed, and the file to be acquired can be determined.
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.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the 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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A file searching method is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring at least one characteristic value for identifying the characteristic type of the file;
determining a target file corresponding to the at least one characteristic value according to a corresponding relation between a pre-established file and the characteristic value;
the mobile terminal screen is a curved surface screen, a characteristic value option of a file characteristic type is displayed on the side of the curved surface screen, the characteristic value option is displayed in a character form, and the characteristic value option is used for identifying a characteristic value of the file characteristic type;
the step of obtaining at least one feature value for identifying a file feature type includes:
acquiring characters corresponding to gesture operation of the mobile terminal user on the side edge of the curved screen;
determining a feature value corresponding to the character;
the step of determining the target file corresponding to the at least one characteristic value according to the pre-established correspondence between the file and the characteristic value includes:
and determining a target file matched with the characteristic value corresponding to the character according to the corresponding relation between the pre-established file and the characteristic value.
2. The method according to claim 1, wherein before the step of determining the target file corresponding to the at least one feature value according to the pre-established correspondence between the file and the feature value, the method further comprises:
screening out all files in the mobile terminal;
determining a characteristic value of a file characteristic type to which each file belongs;
and establishing a corresponding relation between each file and the determined characteristic value.
3. The method according to claim 1, wherein the step of determining the target file corresponding to the at least one feature value according to the pre-established correspondence between the file and the feature value comprises:
determining a storage path of a target file corresponding to the at least one characteristic value according to a corresponding relation between a pre-established file and the characteristic value;
and determining the target file according to the storage path.
4. The method of any of claims 1-3, wherein the file feature types comprise: at least one of a file source, a file type, a file new period, a file update period, a file format, and a file size.
5. A mobile terminal, comprising:
the acquisition module is used for acquiring at least one characteristic value for identifying the characteristic type of the file;
the first determining module is used for determining a target file corresponding to at least one characteristic value acquired by the acquiring module according to a pre-established corresponding relation between the file and the characteristic value;
the mobile terminal screen is a curved surface screen, a characteristic value option of a file characteristic type is displayed on the side of the curved surface screen, the characteristic value option is displayed in a character form, and the characteristic value option is used for identifying a characteristic value of the file characteristic type;
the acquisition module includes:
the second acquisition unit is used for acquiring characters corresponding to gesture operation of the mobile terminal user on the side edge of the curved screen;
a fourth determining unit, configured to determine, according to the character acquired by the second acquiring unit, a feature value corresponding to the character;
the first determining module is specifically configured to: and determining the target file which is determined by the fourth determination unit and is matched with the characteristic value corresponding to the character according to the corresponding relation between the pre-established file and the characteristic value.
6. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
the screening module is used for screening out all files in the mobile terminal;
the second determining module is used for determining the characteristic value of the file characteristic type of each file;
and the establishing module is used for establishing the corresponding relation between each file and the determined characteristic value.
7. The mobile terminal of claim 5, wherein the first determining module comprises:
a fifth determining unit, configured to determine, according to a correspondence between a file and a feature value that is established in advance, a storage path of a target file corresponding to at least one feature value acquired by the acquiring module;
a sixth determining unit, configured to determine the target file according to the storage path determined by the fifth determining unit.
8. The mobile terminal according to any of claims 5 to 7, wherein the file feature type comprises: at least one of a file source, a file type, a file new period, a file update period, a file format, and a file size.
CN201610736294.3A 2016-08-26 2016-08-26 File searching method and mobile terminal Active CN106446014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610736294.3A CN106446014B (en) 2016-08-26 2016-08-26 File searching method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610736294.3A CN106446014B (en) 2016-08-26 2016-08-26 File searching method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106446014A CN106446014A (en) 2017-02-22
CN106446014B true CN106446014B (en) 2020-01-07

Family

ID=58182989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610736294.3A Active CN106446014B (en) 2016-08-26 2016-08-26 File searching method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106446014B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038114B (en) * 2017-10-17 2022-03-01 Oppo广东移动通信有限公司 Path query method, terminal and computer readable storage medium
CN109189981A (en) * 2018-09-14 2019-01-11 Oppo广东移动通信有限公司 Audio data scan method, device, storage medium and terminal
CN112328081A (en) * 2020-11-10 2021-02-05 珠海格力电器股份有限公司 File searching method and device, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882152A (en) * 2010-06-13 2010-11-10 博采林电子科技(深圳)有限公司 Portable learning machine and resource retrieval method thereof
CN105138586A (en) * 2015-07-30 2015-12-09 魅族科技(中国)有限公司 File searching method and apparatus
CN105354318A (en) * 2015-11-13 2016-02-24 北京金山安全软件有限公司 File searching method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073731A (en) * 2011-01-17 2011-05-25 宇龙计算机通信科技(深圳)有限公司 File processing method and terminal
CN102289451A (en) * 2011-06-17 2011-12-21 奇智软件(北京)有限公司 Method and device for searching files or folders
CN103902618A (en) * 2012-12-28 2014-07-02 华为技术有限公司 File search method and device
CN103914483B (en) * 2013-01-07 2018-09-25 深圳市腾讯计算机***有限公司 File memory method, device and file reading, device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882152A (en) * 2010-06-13 2010-11-10 博采林电子科技(深圳)有限公司 Portable learning machine and resource retrieval method thereof
CN105138586A (en) * 2015-07-30 2015-12-09 魅族科技(中国)有限公司 File searching method and apparatus
CN105354318A (en) * 2015-11-13 2016-02-24 北京金山安全软件有限公司 File searching method and device

Also Published As

Publication number Publication date
CN106446014A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106126077B (en) Display control method of application program icons and mobile terminal
CN107678644B (en) Image processing method and mobile terminal
CN106372110B (en) Recommendation method of application program and mobile terminal
US8458609B2 (en) Multi-context service
CN107526492B (en) Interface display method of application program and mobile terminal
CN107741820B (en) Input method keyboard display method and mobile terminal
CN106201632B (en) Application program access method and mobile terminal
CN107924283B (en) Human-computer interaction method, equipment and user graphical interface
CN105975152B (en) Fingerprint-based application program calling method and mobile terminal
CN107219988B (en) Interface operation guiding method and mobile terminal
CN107562345B (en) Information storage method and mobile terminal
CN106446180B (en) Song identification method and mobile terminal
CN106354373B (en) Icon moving method and mobile terminal
CN107221347B (en) Audio playing method and terminal
CN107506130B (en) Character deleting method and mobile terminal
CN106775378B (en) Method for determining candidate words of input method and mobile terminal
US10235017B2 (en) Integrated media user interface
CN107562473B (en) Application program display method and mobile terminal
CN106599246B (en) Display content interception method, mobile terminal and control server
CN106873891B (en) Touch operation method and mobile terminal
CN106446014B (en) File searching method and mobile terminal
CN107678813B (en) Desktop icon theme switching method and mobile terminal
CN107632761B (en) Display content viewing method, mobile terminal and computer readable storage medium
CN107562262B (en) Method for responding touch operation, terminal and computer readable storage medium
CN106991150B (en) Webpage data display method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant