CN111221782B - File searching method and device, storage medium and mobile terminal - Google Patents

File searching method and device, storage medium and mobile terminal Download PDF

Info

Publication number
CN111221782B
CN111221782B CN202010054489.6A CN202010054489A CN111221782B CN 111221782 B CN111221782 B CN 111221782B CN 202010054489 A CN202010054489 A CN 202010054489A CN 111221782 B CN111221782 B CN 111221782B
Authority
CN
China
Prior art keywords
electric signal
file
target
stored
information
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
CN202010054489.6A
Other languages
Chinese (zh)
Other versions
CN111221782A (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202010054489.6A priority Critical patent/CN111221782B/en
Publication of CN111221782A publication Critical patent/CN111221782A/en
Application granted granted Critical
Publication of CN111221782B publication Critical patent/CN111221782B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/783Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/7847Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using low-level visual features of the video content
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The application relates to a file searching method, a device, a storage medium and a mobile terminal, wherein the file searching method is applied to the mobile terminal and comprises the following steps: acquiring a file searching instruction, wherein the file searching instruction carries first target characteristic information; determining a first target electric signal corresponding to the first target characteristic information, and determining a positioning electric signal corresponding to each stored file in the mobile terminal according to the file searching instruction, wherein the first target electric signal and the positioning electric signal are discrete electric signals; the stored file conforming to the first target characteristic information is searched according to the first target electric signal and the positioning electric signal, so that when the picture or video file stored in the mobile terminal is searched, the picture or video file required by a user can be quickly positioned, and meanwhile, the power consumption is reduced.

Description

File searching method and device, storage medium and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for searching a file, a storage medium, and a mobile terminal.
Background
With the improvement of the configuration of the mobile terminal camera and the expansion and portability of the storage function thereof, the mobile terminal camera is becoming more and more popular for users. Users use mobile terminals to take pictures or record videos more and more widely, so that more and more pictures or video files are stored in the mobile terminals of the users, and how to quickly find the pictures or video files needed by the users becomes a problem of headache of the users more and more.
In the prior art, a user needs to search for a required picture by browsing hundreds of pictures or video files stored in the mobile terminal, and the searching method is extremely inconvenient, long in time and long in searching and consuming the electric quantity of the mobile terminal.
Disclosure of Invention
The invention aims to provide a file searching method, a file searching device, a storage medium and a mobile terminal, which can rapidly locate pictures or video files stored in the mobile terminal and reduce power consumption.
In order to solve the above problems, an embodiment of the present application provides a file searching method, which is applied to a mobile terminal, including: acquiring a file searching instruction, wherein the file searching instruction carries first target characteristic information; determining a first target electric signal corresponding to the first target characteristic information, and determining a positioning electric signal corresponding to each stored file in the mobile terminal according to the file searching instruction, wherein the first target electric signal and the positioning electric signal are discrete electric signals; searching a stored file conforming to the first target characteristic information according to the first target electric signal and the positioning electric signal.
The method comprises the steps of searching a stored file conforming to first target characteristic information according to a first target electric signal and a positioning electric signal, and specifically comprises the following steps: judging whether a signal segment matched with the first target electric signal exists in the positioning electric signal or not; if so, taking the stored file corresponding to the corresponding positioning electric signal as the stored file conforming to the first target characteristic information.
The method for determining the positioning electric signals corresponding to each stored file in the mobile terminal specifically comprises the following steps: acquiring first digital information of each stored file in the mobile terminal; and loading the first digital information on a preset discrete electric signal to obtain a positioning electric signal corresponding to each stored file.
The determining the first target electrical signal corresponding to the first target characteristic information specifically includes: when the first target feature information is a keyword, determining second digital information corresponding to the first target feature information; and loading the second digital information onto a preset discrete electric signal to obtain a first target electric signal corresponding to the first target characteristic information.
The determining the first target electrical signal corresponding to the first target characteristic information specifically includes: when the first target feature information is a template file, carrying out analog-to-digital conversion on the first target feature information to obtain third digital information of the first target feature information; and loading the third digital information onto a preset discrete electric signal to obtain a first target electric signal corresponding to the first target characteristic information.
The file searching instruction further carries second target characteristic information, and after searching the stored file conforming to the first target characteristic information according to the first target electric signal and the positioning electric signal, the file searching instruction further comprises: determining a second target electrical signal corresponding to the second target characteristic information; searching the stored file conforming to the first target characteristic information and the second target characteristic information according to the second target electric signal and the positioning electric signal corresponding to the stored file conforming to the first target characteristic information.
In order to solve the above problem, an embodiment of the present application further provides a file searching apparatus, where the file searching apparatus is applied to a mobile terminal, and includes: the acquisition module is used for acquiring a file searching instruction, wherein the file searching instruction carries first target characteristic information; the determining module is used for determining a first target electric signal corresponding to the first target characteristic information, determining a positioning electric signal corresponding to each stored file in the mobile terminal according to the file searching instruction, wherein the first target electric signal and the positioning electric signal are discrete electric signals; and the searching module is used for searching the stored file conforming to the first target characteristic information according to the first target electric signal and the positioning electric signal.
The searching module is specifically configured to: judging whether a signal segment matched with the first target electric signal exists in the positioning electric signal or not; if so, taking the stored file corresponding to the corresponding positioning electric signal as the stored file conforming to the first target characteristic information.
The method for determining the positioning electric signals corresponding to each stored file in the mobile terminal specifically comprises the following steps: acquiring first digital information of each stored file in the mobile terminal; and loading the first digital information on a preset discrete electric signal to obtain a positioning electric signal corresponding to each stored file.
The determining the first target electrical signal corresponding to the first target characteristic information specifically includes: when the first target feature information is a keyword, determining second digital information corresponding to the first target feature information; and loading the second digital information onto a preset discrete electric signal to obtain a first target electric signal corresponding to the first target characteristic information.
The determining the first target electrical signal corresponding to the first target characteristic information specifically includes: when the first target feature information is a template file, carrying out analog-to-digital conversion on the first target feature information to obtain third digital information of the first target feature information; and loading the third digital information onto a preset discrete electric signal to obtain a first target electric signal corresponding to the first target characteristic information.
The file searching instruction also carries second target characteristic information, and the searching module is further used for: determining a second target electrical signal corresponding to the second target characteristic information; searching the stored file conforming to the first target characteristic information and the second target characteristic information according to the second target electric signal and the positioning electric signal corresponding to the stored file conforming to the first target characteristic information.
To solve the above-mentioned problems, embodiments of the present application further provide a computer-readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the file finding method of any one of the above.
In order to solve the above problems, the embodiments of the present application further provide a mobile terminal, where the mobile terminal includes a processor and a memory, the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing steps in the file searching method of any one of the above steps.
The beneficial effects of this application are: compared with the prior art, the file searching method is applied to the mobile terminal, the file searching instruction is obtained, the file searching instruction carries the first target feature information, then the first target electric signal corresponding to the first target feature information is determined, the positioning electric signal corresponding to each stored file in the mobile terminal is determined according to the file searching instruction, the first target electric signal and the positioning electric signal are discrete electric signals, and then the stored file conforming to the first target feature information is searched according to the first target electric signal and the positioning electric signal, so that when searching the picture or video file stored in the mobile terminal, the picture or video file required by a user can be quickly positioned, and meanwhile power consumption is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a file searching method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a file search interface according to an embodiment of the present disclosure;
FIG. 3 is another flow chart of a file searching method according to an embodiment of the present disclosure;
FIG. 4 is another schematic illustration of a file search interface according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a file searching apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 7 is another schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The present application provides a file searching method, a device, a storage medium and a mobile terminal, so that the purposes, technical schemes and technical effects of the present application are more clear and clarified, and the following further describes the present application in detail, and it should be understood that the specific embodiments described herein are only for explaining the present application and are not intended to limit the present application.
Referring to fig. 1, fig. 1 is a flow chart of a file searching method provided in an embodiment of the present application, which is applied to a mobile terminal, and the specific flow of the file searching method may be as follows:
s101: and acquiring a file searching instruction, wherein the file searching instruction carries the first target characteristic information.
Specifically, when the user needs to search for a picture or video file stored in the mobile terminal, the user may enter a file search interface (as shown in fig. 2) of the mobile terminal, and may input the first target feature information in the file search interface, and then the mobile terminal may receive a file search instruction triggered by an input operation of the user on the first target feature information. The first target feature information may be a keyword or a template file, when the first target feature information is a keyword, the keyword may be a type name of a shot object in a picture or a video file that a user needs to search, for example, "person", "animal", "landscape", "building" or "food", and when the first target feature information is a template file, the template file may be a template video (for example, a video that a shooting subject is a child) or a template picture (for example, a baby face picture).
S102: determining a first target electric signal corresponding to the first target characteristic information, and determining a positioning electric signal corresponding to each stored file in the mobile terminal according to the file searching instruction, wherein the first target electric signal and the positioning electric signal are discrete electric signals.
The storage mode of the stored file in the mobile terminal may include two modes of decentralized storage and whole storage, specifically, when the stored file is stored in the mobile terminal in a decentralized storage mode, the information stored in the mobile terminal by each stored file is a positioning electric signal corresponding to the stored file, the positioning electric signal is a discrete electric signal, the discrete electric signal refers to an electric signal with discontinuous time and continuous amplitude, for example, the positioning electric signal corresponding to the picture 1 may be a discrete electric signal f [ (D11 p, D12p,..1 m) p ] formed by a group of electric signals with discontinuous time and continuous amplitude, the positioning electric signal corresponding to the picture 2 may be a discrete electric signal f [ (D21 p, D22p,..d (2 m) p) ] formed by another group of electric signals with discontinuous time and continuous amplitude, and so on, so the mobile terminal may directly obtain the positioning electric signal corresponding to each stored file from the local memory.
In other embodiments, when the stored files are stored in the mobile terminal in a manner of being stored entirely, the information stored in the mobile terminal by each stored file is generally digital information, for example, digital information representing the stored files formed by using different combinations of numbers 0 and 1, where the S102 may specifically include:
S1021: first digital information of each stored file in the mobile terminal is acquired.
The first digital information is stored data of the stored file in the mobile terminal, and specifically, the first digital information may be obtained by performing analog-to-digital conversion on a corresponding file in a storage process of the file.
S1022: and loading the first digital information on a preset discrete electric signal to obtain a positioning electric signal corresponding to each stored file.
The preset discrete electric signal can be a sinusoidal discrete electric signal, and the amplitude of the sinusoidal discrete electric signal can be set to be [ -W, W ], wherein W >1, and the frequency of the sinusoidal discrete electric signal is n/2 pi. If the information is expected to be loaded quickly, the frequency of the sinusoidal discrete electric signal is increased, namely n is increased; if more information is desired to be loaded, the amplitude, i.e. the W, is increased, which can be considered in detail.
In specific implementation, the length of the first digital information can be obtained, the information loading length of the corresponding preset discrete electric signal is determined according to the length of the first digital information, and then the corresponding first digital information is loaded onto the preset discrete electric signal according to the information loading length of the preset discrete electric signal, so that the positioning electric signal corresponding to the corresponding stored file is obtained. Thus, by loading the digital information of each stored file on a corresponding preset discrete electrical signal, the resulting locating electrical signal of that stored file is also a discrete electrical signal, i.e., the locating electrical signal may be understood as a discrete electrical signal loaded with the digital information of the stored file.
In some embodiments, when the stored file is stored in the mobile terminal in a scattered storage manner, correspondingly, before S102, the method may further include: in the process of storing files, storing each file to be stored in a scattered storage mode to obtain storage information of the corresponding stored file (namely positioning electric signals corresponding to the stored file), and in the implementation, each file to be stored can be subjected to analog-to-digital conversion to obtain digital information of each file to be stored; acquiring the length of digital information of each file to be stored, and determining the information loading length of a corresponding preset discrete electric signal according to the length of the digital information; according to the information loading length of the preset discrete electric signal, loading the digital information of the file to be stored onto the preset discrete electric signal to obtain the corresponding storage information of the file to be stored (namely the positioning electric signal corresponding to the stored file), and storing the corresponding relation between the positioning electric signal and the stored picture, so that the user can check the stored file conveniently. Therefore, the file storage process and the file searching process can be matched, so that the time for converting the digital information of the stored file into discrete electric signals can be saved in the subsequent searching process of the stored file, and the searching efficiency is improved.
In this embodiment, when the first target feature information is a keyword, the S102 may further include:
s1023: and determining second digital information corresponding to the first target characteristic information.
Specifically, the mobile terminal may store second digital information corresponding to different first target feature information, and after obtaining the first target feature information input by the user, the corresponding second digital information may be found according to the first target feature information. The second digital information may be main file information representing a picture or video file having the first target feature information, the main file information being capable of distinguishing the file having the first target feature information from the file not having the first target feature information, for example, when the first target feature information is a keyword of "face", the second digital information may be face partial image information or video frame information representing a face picture or a face shot video existing using different combinations of the numbers 0, 1.
S1024: and loading the second digital information onto a preset discrete electric signal to obtain a first target electric signal corresponding to the first target characteristic information.
Specifically, the length of the second digital information can be obtained, and the information loading length of the corresponding preset discrete signal is determined according to the length of the second digital information; and loading the second digital information onto the corresponding preset discrete signal according to the information loading length to obtain a first target electric signal, wherein the first target electric signal can be understood as the discrete electric signal loaded with the second digital information.
In other embodiments, when the first target feature information is a template file, the S102 may include:
s1025: and carrying out analog-to-digital conversion on the first target characteristic information to obtain third digital information of the first target characteristic information.
The template file may be a picture or video file temporarily shot by a camera of the mobile terminal when the user inputs the first target feature information on the file searching interface, or may be a template picture or template video stored locally in advance, or may be a template picture or template video stored in a server connected to the mobile terminal through a network in advance.
Specifically, after obtaining a template picture or video input by a user, performing analog-to-digital conversion on the template picture or video to obtain third digital information of the template picture or video, where the third digital information is used to represent main file information of the target picture or video. For example, when the first target feature information is a template picture, boundary contour recognition of a photographed object may be performed on the template picture to obtain contour information of the photographed object in the template picture, then a local image corresponding to the photographed object in the template picture is determined according to the contour information of the photographed object, the local image is used as main file information of the template picture, and then analog-to-digital conversion is performed on the main file information of the template picture to obtain third digital information of the first target feature information.
S1026: and loading the third digital information onto a preset discrete electric signal to obtain a first target electric signal corresponding to the first target characteristic information.
Specifically, the length of the third digital information can be obtained, and the information loading length of the corresponding preset discrete signal is determined according to the length of the third digital information; and loading the third digital information onto the corresponding preset discrete signal according to the information loading length to obtain a first target electric signal, wherein the first target electric signal can be understood as the discrete electric signal loaded with the third digital information.
S103: searching a stored file conforming to the first target characteristic information according to the first target electric signal and the positioning electric signal.
As shown in fig. 3, S103 may specifically include:
s1031: judging whether a signal segment matched with the first target electric signal exists in the positioning electric signal, if so, executing S1032, and if not, prompting a user to redetermine the first target characteristic information.
The positioning electric signal and the first target electric signal are both discrete electric signals, that is, both the positioning electric signal and the first target electric signal include a plurality of electric signal segments with discontinuous time and continuous amplitude, and because the amount of information loaded on the positioning electric signal is generally greater than the amount of information loaded on the first target electric signal, the number of electric signal segments in the positioning electric signal is generally greater than the number of electric signal segments in the first target electric signal.
S1032: and taking the stored file corresponding to the corresponding positioning electric signal as the stored file conforming to the first target characteristic information.
In some embodiments, the file searching instruction may further carry second target feature information, and after S103, the method may further include:
s104: and determining a second target electric signal corresponding to the second target characteristic information.
Specifically, as shown in fig. 4, when a user needs to search a picture or a video file stored in the mobile terminal, the user may input second target feature information in addition to the first target feature information in the file search interface, and then the mobile terminal may receive a file search instruction triggered by an input operation of the user on the first target feature information and the second target feature information, where the file search instruction may carry the first target feature information and the second target feature information.
The first target feature information and the second target feature information may be two types of feature information of a picture or a video file that the user needs to search, for example, the first target feature information is a keyword "face", the second target feature information is a keyword "building", and then the picture or the video file that the user needs to search should have the picture information or the video information of the face and the building at the same time. In other embodiments, the second target feature information may be further detailed in the first target feature information, for example, the first target feature information is a keyword "face", and the second target feature information is an "old face".
In this embodiment, the second target feature information may be the same as the first target feature information, and the specific embodiment of S104 may refer to the specific implementation manners of S1023, S1024, S1025 and S1026, so that the description is omitted here.
S105: searching the stored file conforming to the first target characteristic information and the second target characteristic information according to the second target electric signal and the positioning electric signal corresponding to the stored file conforming to the first target characteristic information.
Wherein, the step S105 may specifically include:
s1051: and judging whether a signal segment matched with the second target electric signal exists in the positioning electric signal corresponding to the stored file conforming to the first target characteristic information, if so, executing S1052, and if not, prompting a user to redetermine the second target characteristic information.
The positioning electric signal and the second target electric signal are both discrete electric signals, that is, both the positioning electric signal and the second target electric signal include a plurality of electric signal segments with discontinuous time and continuous amplitude, and because the amount of information loaded on the positioning electric signal is generally greater than the amount of information loaded on the second target electric signal, the number of electric signal segments in the positioning electric signal is generally greater than the number of electric signal segments in the second target electric signal.
S1052: and taking the stored file corresponding to the corresponding positioning electric signal as the stored file conforming to the first target characteristic information.
And by analogy, when a user needs to search the picture or video file stored in the mobile terminal, besides the first target feature information and the second target feature information, a plurality of target feature information such as third target feature information and fourth target feature information can be input in a file searching interface, so that the picture or video file which the user needs to search can be positioned in multiple layers, and file searching efficiency is improved.
In other alternative embodiments, when the number of the stored files that meet the first target feature information is found to be greater, for example, greater than a preset number threshold (e.g., 100), after S103, the method may further include: displaying a prompt dialog to the user to enable the user to determine whether to input the second target feature information; after the user inputs the second target feature information, the second target feature information input by the user is acquired, and a second target positioning signal corresponding to the second target feature information is determined, so that the range of the picture or video file to be searched by the user is reduced layer by layer, and the accuracy of file searching can be improved.
Compared with the prior art, the file searching method in the embodiment is applied to the mobile terminal, the file searching instruction is obtained, the file searching instruction carries the first target feature information, then the first target electric signal corresponding to the first target feature information is determined, the positioning electric signal corresponding to each stored file in the mobile terminal is determined according to the file searching instruction, the first target electric signal and the positioning electric signal are discrete electric signals, and then the stored file conforming to the first target feature information is searched according to the first target electric signal and the positioning electric signal, so that when searching the picture or video file stored in the mobile terminal, the picture or video file required by a user can be quickly positioned, and meanwhile power consumption is reduced.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a file searching apparatus according to an embodiment of the present application. As shown in fig. 5, the file searching apparatus 50 includes:
(1) Acquisition module 51
The obtaining module 51 is configured to obtain a file searching instruction, where the file searching instruction carries the first target feature information.
Specifically, when the user needs to search for a picture or a video file stored in the mobile terminal, the user may enter a file search interface (as shown in fig. 2) of the mobile terminal, and may input the first target feature information in the file search interface, and then the obtaining module 51 may receive a file search instruction triggered by an input operation of the user on the first target feature information. The first target feature information may be a keyword or a template file, when the first target feature information is a keyword, the keyword may be a type name of a shot object in a picture or a video file that a user needs to search, for example, "person", "animal", "landscape", "building" or "food", and when the first target feature information is a template file, the template file may be a template video (for example, a video that a shooting subject is a child) or a template picture (for example, a baby face picture).
(2) Determination module 52
The determining module 52 is configured to determine a first target electrical signal corresponding to the first target feature information, and determine a positioning electrical signal corresponding to each stored file in the mobile terminal according to the file search instruction, where the first target electrical signal and the positioning electrical signal are discrete electrical signals.
The stored file may be a video or picture file stored in a memory of the mobile terminal, and the storage manner of the stored file in the mobile terminal may include two manners of decentralized storage and whole storage, specifically, when the stored file is stored in the mobile terminal in a decentralized storage manner, the information stored in the mobile terminal by each stored file is a positioning electric signal corresponding to the stored file, where the positioning electric signal is a discrete electric signal, and the discrete electric signal refers to an electric signal with a discontinuous time and a continuous amplitude, for example, the positioning electric signal corresponding to the picture 1 may be a discrete electric signal f [ (D11 p, D12p,..1 m) p ] formed by a set of electric signals with a discontinuous time and a continuous amplitude, and the positioning electric signal corresponding to the picture 2 may be a discrete electric signal f [ (D21 p, D22p,.., D (2 m) p) ] formed by another set of electric signals with a discontinuous time and a continuous amplitude, so on, so the determining module 52 may directly obtain the positioning electric signal corresponding to each stored file from the local memory.
In other embodiments, when the stored files are stored in the mobile terminal in a whole storage manner, the information stored in the mobile terminal by each stored file is generally digital information, for example, digital information representing the stored file formed by using different combinations of numbers 0 and 1, where the determining module 52 may specifically be configured to:
s1021: first digital information of each stored file in the mobile terminal is acquired.
The first digital information is stored data of the stored file in the mobile terminal, and specifically, the first digital information may be obtained by performing analog-to-digital conversion on a corresponding file in a storage process of the file.
S1022: and loading the first digital information on a preset discrete electric signal to obtain a positioning electric signal corresponding to each stored file.
The preset discrete electric signal can be a sinusoidal discrete electric signal, and the amplitude of the sinusoidal discrete electric signal can be set to be [ -W, W ], wherein W >1, and the frequency of the sinusoidal discrete electric signal is n/2 pi. If the information is expected to be loaded quickly, the frequency of the sinusoidal discrete electric signal is increased, namely n is increased; if more information is desired to be loaded, the amplitude, i.e. the W, is increased, which can be considered in detail.
In specific implementation, the length of the first digital information can be obtained, the information loading length of the corresponding preset discrete electric signal is determined according to the length of the first digital information, and then the corresponding first digital information is loaded onto the preset discrete electric signal according to the information loading length of the preset discrete electric signal, so that the positioning electric signal corresponding to the corresponding stored file is obtained. Thus, by loading the digital information of each stored file on a corresponding preset discrete electrical signal, the resulting locating electrical signal of that stored file is also a discrete electrical signal, i.e., the locating electrical signal may be understood as a discrete electrical signal loaded with the digital information of the stored file.
In some embodiments, when the stored file is stored in the mobile terminal in a decentralized manner, the determining module 52 may be further configured to, before executing the step S102: in the process of storing files, storing each file to be stored in a scattered storage mode to obtain storage information of the corresponding stored file (namely positioning electric signals corresponding to the stored file), and in the implementation, each file to be stored can be subjected to analog-to-digital conversion to obtain digital information of each file to be stored; acquiring the length of digital information of each file to be stored, and determining the information loading length of a corresponding preset discrete electric signal according to the length of the digital information; according to the information loading length of the preset discrete electric signal, loading the digital information of the file to be stored onto the preset discrete electric signal to obtain the corresponding storage information of the file to be stored (namely the positioning electric signal corresponding to the stored file), and storing the corresponding relation between the positioning electric signal and the stored picture, so that the user can check the stored file conveniently. Therefore, the file storage process and the file searching process can be matched, so that the time for converting the digital information of the stored file into discrete electric signals can be saved in the subsequent searching process of the stored file, and the searching efficiency is improved.
In this embodiment, when the first target feature information is a keyword, the determining module 52 may be further configured to:
s1023: and determining second digital information corresponding to the first target characteristic information.
Specifically, the mobile terminal may store second digital information corresponding to different first target feature information, and after obtaining the first target feature information input by the user, the corresponding second digital information may be found according to the first target feature information. The second digital information may be main file information representing a picture or video file having the first target feature information, the main file information being capable of distinguishing the file having the first target feature information from the file not having the first target feature information, for example, when the first target feature information is a keyword of "face", the second digital information may be face partial image information or video frame information representing a face picture or a face shot video existing using different combinations of the numbers 0, 1.
S1024: and loading the second digital information onto a preset discrete electric signal to obtain a first target electric signal corresponding to the first target characteristic information.
Specifically, the length of the second digital information can be obtained, and the information loading length of the corresponding preset discrete signal is determined according to the length of the second digital information; and loading the second digital information onto the corresponding preset discrete signal according to the information loading length to obtain a first target electric signal, wherein the first target electric signal can be understood as the discrete electric signal loaded with the second digital information.
In other embodiments, when the first target feature information is a template file, the determining module 52 may be further configured to:
s1025: and carrying out analog-to-digital conversion on the first target characteristic information to obtain third digital information of the first target characteristic information.
The template file may be a picture or video file temporarily shot by a camera of the mobile terminal when the user inputs the first target feature information on the file searching interface, or may be a template picture or template video stored locally in advance, or may be a template picture or template video stored in a server connected to the mobile terminal through a network in advance.
Specifically, after obtaining a template picture or video input by a user, performing analog-to-digital conversion on the template picture or video to obtain third digital information of the template picture or video, where the third digital information is used to represent main file information of the target picture or video. For example, when the first target feature information is a template picture, boundary contour recognition of a photographed object may be performed on the template picture to obtain contour information of the photographed object in the template picture, then a local image corresponding to the photographed object in the template picture is determined according to the contour information of the photographed object, the local image is used as main file information of the template picture, and then analog-to-digital conversion is performed on the main file information of the template picture to obtain third digital information of the first target feature information.
S1026: and loading the third digital information onto a preset discrete electric signal to obtain a first target electric signal corresponding to the first target characteristic information.
Specifically, the length of the third digital information can be obtained, and the information loading length of the corresponding preset discrete signal is determined according to the length of the third digital information; and loading the third digital information onto the corresponding preset discrete signal according to the information loading length to obtain a first target electric signal, wherein the first target electric signal can be understood as the discrete electric signal loaded with the third digital information.
(3) Lookup module 53
The searching module 53 is configured to search a stored file according to the first target characteristic information according to the first target electrical signal and the positioning electrical signal.
The above-mentioned searching module 53 may be specifically configured to:
s1031: judging whether a signal segment matched with the first target electric signal exists in the positioning electric signal, if so, executing S1032, and if not, prompting a user to redetermine the first target characteristic information.
The positioning electric signal and the first target electric signal are both discrete electric signals, that is, both the positioning electric signal and the first target electric signal include a plurality of electric signal segments with discontinuous time and continuous amplitude, and because the amount of information loaded on the positioning electric signal is generally greater than the amount of information loaded on the first target electric signal, the number of electric signal segments in the positioning electric signal is generally greater than the number of electric signal segments in the first target electric signal.
S1032: and taking the stored file corresponding to the corresponding positioning electric signal as the stored file conforming to the first target characteristic information.
In some embodiments, the file search instruction may further carry second target feature information, and after performing the step S103, the search module 53 may further be configured to:
s104: and determining a second target electric signal corresponding to the second target characteristic information.
Specifically, as shown in fig. 4, when the user needs to search for a picture or a video file stored in the mobile terminal, the user may input, in addition to the first target feature information, second target feature information in the file search interface, and then the obtaining module 51 may receive a file search instruction triggered by an input operation of the user on the first target feature information and the second target feature information, where the file search instruction may carry the first target feature information and the second target feature information.
The first target feature information and the second target feature information may be two types of feature information of a picture or a video file that the user needs to search, for example, the first target feature information is a keyword "face", the second target feature information is a keyword "building", and then the picture or the video file that the user needs to search should have the picture information or the video information of the face and the building at the same time. In other embodiments, the second target feature information may be further detailed in the first target feature information, for example, the first target feature information is a keyword "face", and the second target feature information is an "old face".
S105: searching the stored file conforming to the first target characteristic information and the second target characteristic information according to the second target electric signal and the positioning electric signal corresponding to the stored file conforming to the first target characteristic information.
In executing the step S105, the searching module 53 may be specifically configured to:
s1051: and judging whether a signal segment matched with the second target electric signal exists in the positioning electric signal corresponding to the stored file conforming to the first target characteristic information, if so, executing S1052, and if not, prompting a user to redetermine the second target characteristic information.
The positioning electric signal and the second target electric signal are both discrete electric signals, that is, both the positioning electric signal and the second target electric signal include a plurality of electric signal segments with discontinuous time and continuous amplitude, and because the amount of information loaded on the positioning electric signal is generally greater than the amount of information loaded on the second target electric signal, the number of electric signal segments in the positioning electric signal is generally greater than the number of electric signal segments in the second target electric signal.
S1052: and taking the stored file corresponding to the corresponding positioning electric signal as the stored file conforming to the first target characteristic information.
And by analogy, when a user needs to search the picture or video file stored in the mobile terminal, besides the first target feature information and the second target feature information, a plurality of target feature information such as third target feature information and fourth target feature information can be input in a file searching interface, so that the picture or video file which the user needs to search can be positioned in multiple layers, and file searching efficiency is improved.
In other alternative embodiments, when the number of the stored files that meet the first target feature information is found to be greater, for example, greater than a preset number threshold (e.g., 100), the search module 53 may be further configured to, after executing the step S103: displaying a prompt dialog to the user to enable the user to determine whether to input the second target feature information; after the user inputs the second target feature information, the second target feature information input by the user is acquired, and a second target positioning signal corresponding to the second target feature information is determined, so that the range of the picture or video file to be searched by the user is reduced layer by layer, and the accuracy of file searching can be improved.
In the implementation, each module and/or unit may be implemented as an independent entity, or may be combined arbitrarily and implemented as the same entity or a plurality of entities, where the implementation of each module and/or unit may refer to the foregoing method embodiment, and the specific beneficial effects that may be achieved may refer to the beneficial effects in the foregoing method embodiment, which are not described herein again.
Compared with the prior art, the file searching device in the embodiment is applied to a mobile terminal, the file searching instruction is obtained, the file searching instruction carries first target feature information, then a first target electric signal corresponding to the first target feature information is determined, positioning electric signals corresponding to each stored file in the mobile terminal are determined according to the file searching instruction, the first target electric signals and the positioning electric signals are discrete electric signals, and then the stored file conforming to the first target feature information is searched according to the first target electric signals and the positioning electric signals, so that when searching the picture or video file stored in the mobile terminal, the picture or video file required by a user can be quickly positioned, and meanwhile power consumption is reduced.
Correspondingly, the embodiment of the application also provides a mobile terminal which can be a smart phone, a tablet personal computer and other devices. As shown in fig. 6, the mobile terminal 800 includes a processor 801, a memory 802. The processor 801 is electrically connected to the memory 802.
The processor 801 is a control center of the mobile terminal 800, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or loading application programs stored in the memory 802 and calling data stored in the memory 802, thereby performing overall monitoring of the mobile terminal.
In this embodiment, the processor 801 in the mobile terminal 800 loads instructions corresponding to the processes of one or more application programs into the memory 802 according to the following steps, and the processor 801 executes the application programs stored in the memory 802, thereby implementing various functions:
acquiring a file searching instruction, wherein the file searching instruction carries first target characteristic information;
determining a first target electric signal corresponding to the first target characteristic information, and determining a positioning electric signal corresponding to each stored file in the mobile terminal according to the file searching instruction, wherein the first target electric signal and the positioning electric signal are discrete electric signals;
searching a stored file conforming to the first target characteristic information according to the first target electric signal and the positioning electric signal.
The mobile terminal can realize the steps in any embodiment of the file searching method provided by the embodiment of the present application, so that the beneficial effects that any file searching method provided by the embodiment of the present invention can realize can be realized, and detailed descriptions of the previous embodiments are omitted herein.
Fig. 7 shows a specific block diagram of a mobile terminal according to an embodiment of the present invention, which may be used to implement the file searching method provided in the foregoing embodiment. The mobile terminal 900 may be a flip phone or a notebook computer.
The RF circuit 910 is configured to receive and transmit electromagnetic waves, and to perform mutual conversion between the electromagnetic waves and the electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 910 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and the like. The RF circuitry 910 may communicate with various networks such as the internet, intranets, wireless networks, or with other devices via wireless networks. The wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. The wireless network may use various communication standards, protocols, and technologies including, but not limited to, global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communications technology (Enhanced Data GSM Environment, EDGE), wideband code division multiple access technology (Wideband Code Division Multiple Access, WCDMA), code division multiple access technology (Code Division Access, CDMA), time division multiple access technology (Time Division Multiple Access, TDMA), wireless fidelity technology (Wireless Fidelity, wi-Fi) (e.g., american society of electrical and electronic engineers standard IEEE802.11a, IEEE 802.11.11 b, IEEE802.11g, and/or IEEE802.11 n), internet telephony (Voice over Internet Protocol, voIP), worldwide interoperability for microwave access (Worldwide Interoperability for Microwave Access, wi-Max), other protocols for mail, instant messaging, and short messaging, and any other suitable communication protocols, even those not currently developed.
The memory 920 may be used to store software programs and modules, such as program instructions/modules corresponding to the file search method in the above embodiments, and the processor 980 executes various functional applications and data processing by running the software programs and modules stored in the memory 920, that is, implementing functions of charging a battery backup, charging a battery, and the like. Memory 920 may include high-speed random access memory, but may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 920 may further include memory located remotely from processor 980, which may be connected to mobile terminal 900 by a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 930 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 930 may comprise a touch-sensitive surface 931 and other input devices 932. The touch-sensitive surface 931, also referred to as a touch display screen or touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on or thereabout the touch-sensitive surface 931 using a finger, stylus, or any other suitable object or accessory) and actuate the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 931 may include two portions, a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device and converts it into touch point coordinates, which are then sent to the processor 980, and can receive commands from the processor 980 and execute them. In addition, the touch-sensitive surface 931 may be implemented in various types of resistive, capacitive, infrared, surface acoustic wave, and the like. In addition to the touch-sensitive surface 931, the input unit 930 may also include other input devices 932. In particular, other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 940 may be used to display information input by a user or information provided to the user and various graphical user interfaces of the mobile terminal 900, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 940 may include a display panel 941, and alternatively, the display panel 941 may be configured in the form of an LCD (Liquid Crystal Display ), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 931 may overlay the display panel 941, and upon detection of a touch operation thereon or thereabout, the touch-sensitive surface 931 is communicated to the processor 680 to determine the type of touch event, which then the processor 980 provides a corresponding visual output on the display panel 941 based on the type of touch event. Although in the figures the touch-sensitive surface 931 and the display panel 941 are implemented as two separate components, in some embodiments the touch-sensitive surface 931 may be integrated with the display panel 941 to implement the input and output functions.
The mobile terminal 900 may also include at least one sensor 950, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, where the ambient light sensor may adjust the brightness of the display panel 941 according to the brightness of ambient light, and the proximity sensor may generate an interruption when the flip cover is closed or closed. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile phone is stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the mobile terminal 900 are not described in detail herein.
Audio circuitry 960, speaker 961, and microphone 962 may provide an audio interface between a user and the mobile terminal 900. Audio circuit 960 may transmit the received electrical signal converted from audio data to speaker 961, where it is converted to a sound signal by speaker 961 for output; on the other hand, microphone 962 converts the collected sound signals into electrical signals, which are received by audio circuit 960 and converted into audio data, which are processed by audio data output processor 980 for transmission to, for example, another terminal via RF circuit 910 or for output to memory 920 for further processing. Audio circuitry 960 may also include an ear bud jack to provide communication of a peripheral ear bud with mobile terminal 900.
The mobile terminal 900 may facilitate user reception of requests, transmission of information, etc. via the transmission module 970 (e.g., wi-Fi module), which provides wireless broadband internet access to the user. Although the transmission module 970 is shown in the drawings, it is understood that it does not belong to the essential constitution of the mobile terminal 900 and can be omitted entirely as required within the scope of not changing the essence of the invention.
Processor 980 is a control center of mobile terminal 900, connecting various parts of the overall handset using various interfaces and lines, performing various functions of mobile terminal 900 and processing data by running or executing software programs and/or modules stored in memory 920, and invoking data stored in memory 920, thereby performing overall monitoring of the mobile terminal. Optionally, processor 980 may include one or more processing cores; in some embodiments, processor 980 may integrate an application processor with a modem processor, where the application processor primarily handles operating systems, user interfaces, applications programs, and the like, and the modem processor primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into the processor 980.
The mobile terminal 900 also includes a power supply 990 (e.g., a battery backup and battery) for powering the various components, which in some embodiments may be logically connected to the processor 980 by a power management system, thereby performing functions such as managing charging, discharging, and power consumption by the power management system. The power source 990 may also include one or more of any components, such as a direct current or alternating current power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 900 further includes a camera (e.g., front camera, rear camera), a bluetooth module, etc., which will not be described in detail herein. In particular, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:
acquiring a file searching instruction, wherein the file searching instruction carries first target characteristic information;
determining a first target electric signal corresponding to the first target characteristic information, and determining a positioning electric signal corresponding to each stored file in the mobile terminal according to the file searching instruction, wherein the first target electric signal and the positioning electric signal are discrete electric signals;
Searching a stored file conforming to the first target characteristic information according to the first target electric signal and the positioning electric signal.
In the implementation, each module may be implemented as an independent entity, or may be combined arbitrarily, and implemented as the same entity or several entities, and the implementation of each module may be referred to the foregoing method embodiment, which is not described herein again.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, an embodiment of the present invention provides a storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the steps of any one of the embodiments of the file finding method provided by the embodiment of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The steps in any embodiment of the file searching method provided in the embodiment of the present application may be executed due to the instructions stored in the storage medium, so that the beneficial effects that any file searching method provided in the embodiment of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
The foregoing describes in detail a file searching method, apparatus, storage medium and mobile terminal provided in the embodiments of the present application, and specific examples are applied to illustrate the principles and implementations of the present application, where the foregoing description of the embodiments is only used to help understand the method and core idea of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (8)

1. The file searching method is characterized by being applied to the mobile terminal and comprising the following steps:
in the process of storing files, storing each file to be stored in a scattered storage mode so as to obtain positioning electric signals corresponding to the corresponding stored files; specifically, each file to be stored is subjected to analog-to-digital conversion to obtain digital information of each file to be stored; acquiring the length of digital information of each file to be stored, and determining the information loading length of a corresponding preset discrete electric signal according to the length of the digital information; loading digital information of a file to be stored onto the preset discrete electric signal according to the information loading length of the preset discrete electric signal so as to obtain the positioning electric signal corresponding to the stored file, and storing the corresponding relation between the positioning electric signal and the stored file;
Acquiring a file searching instruction, wherein the file searching instruction carries first target characteristic information;
determining a first target electric signal corresponding to the first target characteristic information, and determining a positioning electric signal corresponding to each stored file in the mobile terminal according to the file searching instruction, wherein the first target electric signal and the positioning electric signal are discrete electric signals, the first target electric signal and the positioning electric signal comprise a plurality of electric signal fragments with discontinuous time and continuous amplitude, the positioning electric signal is a discrete electric signal loaded with digital information of the corresponding stored file, and the first target electric signal is a discrete electric signal loaded with the digital information of the first target characteristic information;
searching the stored file conforming to the first target characteristic information according to the first target electric signal and the positioning electric signal;
the searching the stored file conforming to the first target characteristic information according to the first target electric signal and the positioning electric signal specifically comprises the following steps:
judging whether a signal segment matched with the first target electric signal exists in the positioning electric signal or not, specifically: the method comprises the steps of taking electric signal fragments, the number of which is the same as that of the electric signal fragments in the first target electric signal, one by one according to the distribution sequence of the electric signal fragments in the positioning electric signal, and comparing the electric signal fragments with the first target electric signal, wherein the comparison mode is to calculate the similarity between the electric signal fragments and the first target electric signal, if the similarity between the electric signal fragments and the first target electric signal is greater than a preset threshold value, the stored file corresponding to the positioning electric signal is considered to have the first target characteristic information, and if the similarity between the electric signal fragments and the first target electric signal is not greater than the preset threshold value, the stored file which does not accord with the first target characteristic information in the stored file is indicated;
And if so, taking the stored file corresponding to the corresponding positioning electric signal as the stored file conforming to the first target characteristic information.
2. The method for searching files according to claim 1, wherein determining the positioning electrical signal corresponding to each stored file in the mobile terminal specifically includes:
acquiring first digital information of each stored file in the mobile terminal;
and loading the first digital information to a preset discrete electric signal to obtain a positioning electric signal corresponding to each stored file.
3. The method for searching for a file according to claim 1, wherein the determining the first target electrical signal corresponding to the first target feature information specifically includes:
when the first target feature information is a keyword, determining second digital information corresponding to the first target feature information;
and loading the second digital information onto a preset discrete electric signal to obtain a first target electric signal corresponding to the first target characteristic information.
4. The method for searching for a file according to claim 1, wherein the determining the first target electrical signal corresponding to the first target feature information specifically includes:
When the first target feature information is a template file, carrying out analog-to-digital conversion on the first target feature information to obtain third digital information of the first target feature information;
and loading the third digital information on a preset discrete electric signal to obtain a first target electric signal corresponding to the first target characteristic information.
5. The file searching method according to claim 1, wherein the file searching instruction further carries second target feature information, and after searching the stored file conforming to the first target feature information according to the first target electrical signal and the positioning electrical signal, further comprising:
determining a second target electrical signal corresponding to the second target characteristic information;
searching the stored file conforming to the first target characteristic information and the second target characteristic information according to the second target electric signal and the positioning electric signal corresponding to the stored file conforming to the first target characteristic information.
6. A file searching apparatus, applied to a mobile terminal, comprising:
the determining module is used for storing each file to be stored in a scattered storage mode in the process of storing the files so as to obtain positioning electric signals corresponding to the corresponding stored files; specifically, each file to be stored is subjected to analog-to-digital conversion to obtain digital information of each file to be stored; acquiring the length of digital information of each file to be stored, and determining the information loading length of a corresponding preset discrete electric signal according to the length of the digital information; loading digital information of a file to be stored onto the preset discrete electric signal according to the information loading length of the preset discrete electric signal so as to obtain the positioning electric signal corresponding to the stored file, and storing the corresponding relation between the positioning electric signal and the stored file;
The acquisition module is used for acquiring a file searching instruction, wherein the file searching instruction carries first target characteristic information;
the determining module is used for determining a first target electric signal corresponding to the first target characteristic information, determining a positioning electric signal corresponding to each stored file in the mobile terminal according to the file searching instruction, wherein the first target electric signal and the positioning electric signal are discrete electric signals, the first target electric signal and the positioning electric signal comprise a plurality of electric signal fragments with discontinuous time and continuous amplitude, the positioning electric signal is a discrete electric signal loaded with digital information of the corresponding stored file, and the first target electric signal is a discrete electric signal loaded with the digital information of the first target characteristic information;
the searching module is used for searching the stored file conforming to the first target characteristic information according to the first target electric signal and the positioning electric signal;
the searching module is specifically configured to:
judging whether a signal segment matched with the first target electric signal exists in the positioning electric signal or not; the searching the stored file conforming to the first target characteristic information according to the first target electric signal and the positioning electric signal specifically comprises the following steps: judging whether a signal segment matched with the first target electric signal exists in the positioning electric signal or not, specifically: the method comprises the steps of taking electric signal fragments, the number of which is the same as that of the electric signal fragments in the first target electric signal, one by one according to the distribution sequence of the electric signal fragments in the positioning electric signal, and comparing the electric signal fragments with the first target electric signal, wherein the comparison mode is to calculate the similarity between the electric signal fragments and the first target electric signal, if the similarity between the electric signal fragments and the first target electric signal is greater than a preset threshold value, the stored file corresponding to the positioning electric signal is considered to have the first target characteristic information, and if the similarity between the electric signal fragments and the first target electric signal is not greater than the preset threshold value, the stored file which does not accord with the first target characteristic information in the stored file is indicated;
And if so, taking the stored file corresponding to the corresponding positioning electric signal as the stored file conforming to the first target characteristic information.
7. A computer readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the file finding method of any one of claims 1 to 5.
8. A mobile terminal comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the file finding method of any one of claims 1 to 5.
CN202010054489.6A 2020-01-17 2020-01-17 File searching method and device, storage medium and mobile terminal Active CN111221782B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010054489.6A CN111221782B (en) 2020-01-17 2020-01-17 File searching method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010054489.6A CN111221782B (en) 2020-01-17 2020-01-17 File searching method and device, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN111221782A CN111221782A (en) 2020-06-02
CN111221782B true CN111221782B (en) 2024-04-09

Family

ID=70811018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010054489.6A Active CN111221782B (en) 2020-01-17 2020-01-17 File searching method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN111221782B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402593A (en) * 2010-11-05 2012-04-04 微软公司 Multi-modal approach to search query input
WO2017193263A1 (en) * 2016-05-09 2017-11-16 华为技术有限公司 Data query method, data query system determining method, apparatus
CN107704471A (en) * 2016-08-09 2018-02-16 中兴通讯股份有限公司 A kind of information processing method and device and file call method and device
CN109033237A (en) * 2018-07-04 2018-12-18 奇酷互联网络科技(深圳)有限公司 Image searching method, device, readable storage medium storing program for executing and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402593A (en) * 2010-11-05 2012-04-04 微软公司 Multi-modal approach to search query input
WO2017193263A1 (en) * 2016-05-09 2017-11-16 华为技术有限公司 Data query method, data query system determining method, apparatus
CN107704471A (en) * 2016-08-09 2018-02-16 中兴通讯股份有限公司 A kind of information processing method and device and file call method and device
CN109033237A (en) * 2018-07-04 2018-12-18 奇酷互联网络科技(深圳)有限公司 Image searching method, device, readable storage medium storing program for executing and terminal

Also Published As

Publication number Publication date
CN111221782A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN106778585B (en) A kind of face key point-tracking method and device
US20170193287A1 (en) Living body identification method, information generation method, and terminal
CN109714476B (en) Data processing method and device, mobile terminal and storage medium
CN109413256B (en) Contact person information processing method and device, storage medium and electronic equipment
CN106708554A (en) Program running method and device
CN111615101B (en) IMS registration method, device, storage medium and electronic terminal
CN111064847B (en) False touch prevention method and device, storage medium and electronic equipment
CN111026457B (en) Hardware configuration method and device, storage medium and terminal equipment
CN111045737B (en) Equipment identifier acquisition method, device, terminal equipment and storage medium
CN111221782B (en) File searching method and device, storage medium and mobile terminal
CN111355892B (en) Picture shooting method and device, storage medium and electronic terminal
CN112379905B (en) Kernel upgrading method, device, terminal and storage medium
CN111143580B (en) Multimedia data storage method and device, storage medium and electronic equipment
CN109831771B (en) Bluetooth searching method and device, mobile terminal and storage medium
CN111046215B (en) Image processing method and device, storage medium and mobile terminal
CN111538706B (en) Data compression method, device, storage medium and mobile terminal
CN111193558B (en) Radio frequency parameter calibration method and device, storage medium and mobile terminal
CN112367428A (en) Electric quantity display method and system, storage medium and mobile terminal
CN114721785B (en) Configuration method, device, equipment and storage medium of software application library of virtual machine
CN110990606B (en) Picture storage method and device, storage medium and electronic equipment
CN111447633B (en) Network list generation method, device, mobile terminal and storage medium
CN114095585B (en) Data transmission method, device, storage medium and electronic equipment
CN112558808B (en) Unlocking method and device for bang screen, terminal and storage medium
CN109995441B (en) Communication information processing method, device and storage medium
CN111405649B (en) Information transmission method and device and mobile terminal

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
GR01 Patent grant
GR01 Patent grant