Control method, mobile terminal and storage medium

文档序号:1834822 发布日期:2021-11-12 浏览:14次 中文

阅读说明:本技术 控制方法、移动终端及存储介质 (Control method, mobile terminal and storage medium ) 是由 刘欢 于 2021-08-09 设计创作,主要内容包括:本申请公开了一种控制方法、移动终端及存储介质,所述方法包括:在获取到至少一个检索结果时,获取文件和/或应用程序的历史记录;根据历史记录确定至少一个检索结果之间的排序;按照排序显示至少一个检索结果。本申请通过获取文件和/或应用程序的历史记录,并根据历史记录来确定用户更有可能想要查找的文件的排序,并按照排序来显示至少一个检索结果,以便于用户更快地找到想要查找的文件,使得文件检索更加方便。(The application discloses a control method, a mobile terminal and a storage medium, wherein the method comprises the following steps: when at least one retrieval result is obtained, obtaining a history record of a file and/or an application program; determining a ranking between at least one retrieval result according to the history; and displaying at least one retrieval result according to the sorting. According to the file searching method and device, the history records of the files and/or the application programs are obtained, the sequence of the files which are more likely to be searched by a user is determined according to the history records, and at least one searching result is displayed according to the sequence, so that the user can find the files which are likely to be searched more quickly, and the file searching is more convenient.)

1. A control method, characterized in that the method comprises:

s11, acquiring the history of the file and/or the application program when at least one retrieval result is acquired;

s12, determining the ranking among at least one retrieval result according to the history;

and S13, displaying at least one retrieval result according to the sorting.

2. The method of claim 1, wherein the step of S12 includes:

determining the file type and/or the application program type to which the retrieval result belongs;

acquiring the weight of at least one file type and/or application program type according to the history record;

determining an ordering between at least one of the file types and/or application types according to the weight;

and determining the sequencing between at least one retrieval result corresponding to the file type and/or the application program type according to the sequencing.

3. The method of claim 2, wherein the history record comprises at least one of:

the method comprises the steps that in a preset historical time period, at least one opened file and/or type of an application program belongs to;

opening time points corresponding to at least one opened file and/or application program in a preset historical time period;

the time during which the at least one opened file and/or application stays within a preset historical period of time.

4. The method according to any one of claims 1 to 3, wherein, before the step of S11, further comprising:

determining a retrieval range according to the history of the file and/or the application program;

and acquiring at least one retrieval result according to the retrieval key words and/or the retrieval range.

5. The method of claim 4, wherein the search scope includes at least one file type and/or file storage path; and/or the presence of a gas in the gas,

the retrieval range comprises at least one application type and/or application location.

6. The method according to any one of claims 1 to 3, wherein, before the step of S11, further comprising:

when the input voice is monitored, acquiring a retrieval keyword according to the text information of the voice;

and in the file and/or the application program, acquiring at least one retrieval result according to the retrieval keyword.

7. The method of claim 6, wherein the step of obtaining at least one of the search results according to the search keyword in the document and/or the application comprises:

acquiring files and/or application programs which are provided with or bound with labels corresponding to the retrieval keywords in all files;

and determining at least one retrieval result according to the file and/or the application program which is provided with or bound with the label corresponding to the retrieval keyword.

8. The method of claim 6, wherein the step of obtaining a search keyword from the text information of the speech comprises:

acquiring preset library data;

and analyzing the text information according to the preset database data to obtain the retrieval key words.

9. A mobile terminal, characterized in that the mobile terminal comprises: memory, processor, wherein the memory has stored thereon a control program which, when executed by the processor, implements the steps of the control method according to any one of claims 1 to 8.

10. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the control method according to any one of claims 1 to 8.

Technical Field

The present application relates to the field of mobile terminal technologies, and in particular, to a control method, a mobile terminal, and a storage medium.

Background

When a user searches for a file in a mobile phone, the user often directly searches for the file containing the input keyword, and sorts and displays the file according to a fixed sequence, for example, according to a file name, and in the process of designing and implementing the application, the inventor finds that at least the following problems exist: the fixed sorting mode often makes the user difficult to quickly find the desired target file after the target file desired by the user is ranked, so that the file retrieval is very inconvenient, and further the user experience is influenced.

The foregoing description is provided for general background information and is not admitted to be prior art.

Disclosure of Invention

In view of the above technical problems, the present application provides a control method, a mobile terminal and a storage medium, which are convenient for a user to find a file to be searched more quickly, so that file retrieval is more convenient.

In order to solve the above technical problem, the present application provides a control method, including:

s11, acquiring the history of the file and/or the application program when at least one retrieval result is acquired;

s12, determining the ranking among at least one retrieval result according to the history;

and S13, displaying at least one retrieval result according to the sorting.

Optionally, the step of S12 includes:

determining the file type and/or the application program type to which the retrieval result belongs;

acquiring the weight of at least one file type and/or application program type according to the history record;

determining an ordering between at least one of the file types and/or application types according to the weight;

and determining the sequencing between at least one retrieval result corresponding to the file type and/or the application program type according to the sequencing.

Optionally, the history may include at least one of:

the method comprises the steps that in a preset historical time period, at least one opened file and/or type of an application program belongs to; and/or the presence of a gas in the gas,

opening time points corresponding to at least one opened file and/or application program in a preset historical time period; and/or the presence of a gas in the gas,

the time during which the at least one opened file and/or application stays within a preset historical period of time.

Optionally, before the step S11, the method further includes:

determining a retrieval range according to the history of the file and/or the application program;

and acquiring at least one retrieval result according to the retrieval key words and/or the retrieval range.

Optionally, the retrieval range comprises at least one file type and/or file storage path; and/or the presence of a gas in the gas,

the retrieval range comprises at least one application type and/or application location.

Optionally, before the step S11, the method further includes:

when the input voice is monitored, acquiring a retrieval keyword according to the text information of the voice;

and in the file and/or the application program, acquiring at least one retrieval result according to the retrieval keyword.

Optionally, in the file and/or the application program, the step of obtaining at least one search result according to the search keyword includes:

acquiring files and/or application programs which are provided with or bound with labels corresponding to the retrieval keywords in all files;

and determining at least one retrieval result according to the file and/or the application program which is provided with or bound with the label corresponding to the retrieval keyword.

Optionally, the step of obtaining the search keyword according to the text information of the voice includes:

acquiring preset library data;

and analyzing the text information according to the preset database data to obtain the retrieval key words.

The present application further provides a mobile terminal, the mobile terminal including: the device comprises a memory and a processor, wherein the memory stores a control program, and the control program realizes the steps of the method when being executed by the processor.

The present application also provides a readable storage medium, characterized in that the readable storage medium has stored thereon a computer program, which, when executed by a processor, implements the steps of the method as described above.

As described herein, the control method of the present application includes: s11, acquiring the history of the file and/or the application program when at least one retrieval result is acquired; s12, determining the ranking among at least one retrieval result according to the history; and S13, displaying at least one retrieval result according to the sorting. By the method, the history records of the files and/or the application programs are acquired, the sequence of the files which are more likely to be searched by a user is determined according to the history records, and at least one search result is displayed according to the sequence, so that the user can find the files which are desired to be searched more quickly, and the file search is more convenient.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.

Fig. 1 is a schematic hardware structure diagram of a mobile terminal implementing various embodiments of the present application;

fig. 2 is a communication network system architecture diagram according to an embodiment of the present application;

FIG. 3 is a schematic flow chart diagram of a first embodiment of the control method of the present application;

fig. 4 is a schematic flow chart of a second embodiment of the control method of the present application;

fig. 5 is a schematic flow chart of a third embodiment of the control method of the present application;

FIG. 6 is a pictorial view of a display interface for a selection interface of the type described in the present document;

FIG. 7 is a diagram of a display interface for the ordering of documents according to the present application;

FIG. 8 is a diagram of a display interface for the results of the search of the present application;

FIG. 9 is a diagram of another display interface for the results of the search of the present application;

FIG. 10 is a diagram of still another display interface for the results of the search of the present application;

FIG. 11 is a diagram of still another display interface for the results of the search of the present application;

fig. 12 is a flowchart illustrating an exemplary embodiment of the control method of the present application.

The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.

Detailed Description

Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or apparatus that comprises the element, and further, where similarly-named elements, features, or elements in different embodiments of the disclosure may have the same meaning, or may have different meanings, that particular meaning should be determined by their interpretation in the embodiment or further by context with the embodiment.

It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or," "and/or," "including at least one of the following," and the like, as used herein, are to be construed as inclusive or mean any one or any combination. For example, "includes at least one of: A. b, C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C ", again for example," A, B or C "or" A, B and/or C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C'. An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.

It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.

The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.

It should be noted that step numbers such as S11 and S12 are used herein for the purpose of more clearly and briefly describing the corresponding content, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S12 first and then S11 in specific implementation, which should be within the scope of the present application.

It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.

In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.

The mobile terminal may be implemented in various forms. For example, the mobile terminal described in the present application may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like.

The following description will be given taking a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.

Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.

The following describes each component of the mobile terminal in detail with reference to fig. 1:

the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).

WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.

The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.

The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.

The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor that may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 1061 and/or the backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.

The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.

The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects a touch orientation of a user, detects a signal caused by a touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Optionally, other input devices 1072 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, a mouse, a joystick, and the like, and are not limited thereto.

Alternatively, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.

The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.

The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a program storage area and a data storage area, and optionally, the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

The processor 110 is a control center of the mobile terminal, 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 operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, optionally, the application processor mainly handles operating systems, user interfaces, application programs, etc., and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.

The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.

Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.

In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based is described below.

Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.

Optionally, the UE201 may be the terminal 100 described above, and is not described herein again.

The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Alternatively, the eNodeB2021 may be connected with other enodebs 2022 through a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.

The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. Optionally, the MME2031 is a control node that handles signaling between the UE201 and the EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).

The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.

Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.

Based on the above mobile terminal hardware structure and communication network system, various embodiments of the present application are provided.

First embodiment

Referring to fig. 3, the control method includes:

s11, acquiring the history of the file and/or the application program when at least one retrieval result is acquired;

optionally, after the user searches for the file and/or the application stored in the mobile terminal through the mobile terminal, the mobile terminal may obtain at least one search result, where each search result is one file and/or application stored in the mobile terminal.

Alternatively, the mobile terminal may employ local database technology to store a user's history of files and/or installed applications stored in the mobile terminal. The history may include a record that the user opened a certain file or a certain application. It will be appreciated that the history of files and/or applications characterizes the user's habits in using the mobile terminal. According to the habit of using the mobile terminal by the user, the files and/or the application programs which the user is more likely to want to retrieve when the files and/or the application programs stored by the mobile terminal are retrieved by the user can be determined.

Optionally, the history may include at least one of: the method comprises the steps that in a preset historical time period, the type of at least one file and/or application program in the opened mobile terminal belongs to, in the preset historical time period, the opening time point corresponding to the at least one file and/or application program in the opened mobile terminal is within, and in the preset historical time period, the staying time of the at least one file and/or application program in the opened mobile terminal is within. For example, the history may include the type of files opened in the last week, and for another example, the history may include the corresponding opening time points of the opened applications in the last day, and the history may include the files and/or applications opened by the user through the mobile terminal in the last day and the time duration of stay in the opened files and/or applications.

Alternatively, the history may be a user's history of files and/or applications in the mobile terminal via the voice assistant application. For example, a user may open files and/or applications in a mobile terminal through voice control of a voice assistant.

Alternatively, as shown in fig. 6, the type to which the file belongs may include jpg, ppt, mp3, png, mp4, txt, doc, xlsx, rar, zip, etc., and of course, the type to which the file belongs may also be a multimedia file, an office file, a compressed file, etc.

Alternatively, the types to which the application belongs may include office tools, social communications, entertainment, photography beautification, shopping, financial commerce, and the like.

And S12, determining the ranking among at least one retrieval result according to the history.

And S13, displaying at least one retrieval result according to the sorting.

Alternatively, the possibility that the at least one retrieval result is a file which the user wants to retrieve more can be determined according to the history, and the at least one retrieval result is displayed according to the ranking corresponding to the ranking between the at least one retrieval result. For example, the top ranked search results in the ranking may be displayed at the top of the page, and the bottom ranked search results in the ranking may be displayed at the bottom of the page. For example, the type to which the at least one file opened in the last week belongs may be determined according to the history, the number of times the user opened the at least one type of file is counted, the at least one file type is sorted according to the number of times the user opened, the file type to which each search result belongs is determined, and the sorting of the search results corresponding to the file type is determined according to the sorting of the at least one file type. For another example, the opening time point of the at least one application program opened in the last day may be determined according to the history, the at least one application program may be sorted according to the sequence of the opening time points, the application program corresponding to the file type of the at least one search result may be determined, or the file of the application program to which the at least one search result belongs may be determined, and the sorting of the corresponding search result may be determined according to the sorting of the at least one application program. For another example, the retention time of the user in the at least one application program opened in the last day may be determined according to the history, the at least one application program may be ranked according to the size relationship of the retention time, the application program corresponding to the file type of the at least one search result may be determined, or the file of the application program to which the at least one search result belongs may be determined, and the ranking of the corresponding search results may be determined according to the ranking of the at least one application program.

Optionally, when determining the ranking between the at least one retrieval result according to the history, the file type and/or the application type to which the at least one retrieval result belongs may be determined, and the weight of the file type and/or the application type may be determined according to the types of the files and/or the applications in the history, and when the files of the file type and/or the application type are more likely to be the files that the user wants to retrieve, the weight corresponding to the file type and/or the application type is also larger. And sequencing the at least one file type and/or application program type according to the weight of the at least one file type and/or application program type, and determining the sequencing between at least one retrieval result corresponding to the file type and/or application program type according to the sequencing between the at least one file type and/or application program type.

In the technical scheme disclosed in the embodiment, the history records of the files and/or the application programs are acquired, the sequence of the files which are more likely to be searched by the user is determined according to the history records, and at least one search result is displayed according to the sequence, so that the user can find the files and/or the application programs which are desired to be searched more quickly, and the files and/or the application programs are more conveniently searched.

Second embodiment

As shown in fig. 4, on the basis of the embodiment shown in fig. 3, before the step of S11, the method further includes:

s14, determining a retrieval range according to the history of the files and/or the application programs;

in this embodiment, before obtaining at least one search result, a search process needs to be performed, and at this time, the time consumption of the search process can be reduced by limiting the search range, and the search effect and accuracy can be improved. In particular, the extent to which a user is more likely to retrieve a file may also be determined based on the history of the file and/or application.

Optionally, the retrieval range may include a file type and/or a file storage path, and/or at least one application type and/or a location of an application, and the file storage path may be a directory at a higher level or a directory at a higher level of some files, or a file storage location of an application, and the location of the application is a storage path of the application.

Optionally, the type of the file and/or the application opened by the user in the last period of time may be determined according to the history of the file and/or the application, and the type of the file and/or the application in the retrieval range may be determined according to the type of the file and/or the application opened by the user in the last period of time, for example, the file opened by the user in the last week is a video file and/or an audio file, the type of the video file and/or the audio file is a multimedia file, the multimedia file is used as the retrieval range, file retrieval is performed in all multimedia files of the mobile terminal, and for example, the type of the application opened by the user in the last day is an office tool class, and the applications of all office tool classes in the mobile terminal are used as the retrieval range.

S15, obtaining at least one retrieval result according to the retrieval key words and/or the retrieval range.

In the embodiment, after the retrieval range is determined, all files and/or applications in the mobile terminal within the retrieval range can be retrieved based on the retrieval key words, so that at least one retrieval result is obtained, the retrieval in all files and/or applications in the mobile terminal is avoided through the limitation of the retrieval range, the retrieval effect is improved, and the retrieval precision is higher.

In the technical scheme disclosed in the embodiment, the retrieval range is determined according to the history of the file and/or the application program, and at least one retrieval result is obtained according to the retrieval keyword and/or the retrieval range, so that the retrieval efficiency and the retrieval accuracy are improved through the limitation of the retrieval range.

Third embodiment

As shown in fig. 5, on the basis of any one of the embodiments in fig. 3 to 4, before the step of S11, the method further includes:

s16, when the input voice is monitored, acquiring a retrieval keyword according to the text information of the voice;

alternatively, the mobile terminal may implement a retrieval function based on the user's voice through a voice assistant-related application. Optionally, when monitoring the input voice, the voice assistant of the mobile terminal may perform Automatic voice Recognition (ASR) on the voice to obtain text information of the voice, and obtain a search keyword based on the text information. Because the user can search the file and/or the application program through the voice, and the conversion of the voice into the text information is realized based on the prior experience of common words and the like, the condition that the file and/or the application program thought by the user cannot be searched due to the fact that the user manually inputs characters for searching and the input file is wrongly written is avoided.

Alternatively, the vocabulary in the text information may be directly extracted and used as the search keyword, or the search keyword corresponding to the text information may be obtained based on Natural Language Processing (NLP).

Optionally, when the search keyword is obtained according to the text information, preset semantic database data of a local user of the mobile terminal may be obtained, and the text information may be analyzed through the semantic database of the remote server and/or the preset semantic database data of the local user of the mobile terminal to obtain the search keyword, which is a text intention result. The mobile terminal is provided with the preset semantic library of the local user, the preset semantic library of the local user can be used when the mobile terminal is not connected with the internet or is connected with the internet, and the preset semantic library of the local user can be adaptively adjusted according to the personal voice habit of the user when the user uses the voice assistant, so that personalized text analysis for the local user is realized, and the accuracy of the text analysis is improved.

S17, in the file and/or the application program, at least one search result is obtained according to the search keyword.

Optionally, the voice assistant application of the mobile terminal is an application self-contained in the system when the mobile terminal leaves a factory, that is, a system application, so that the voice assistant application of the mobile terminal is an application absolutely trusted by the mobile terminal, and the granted right of the mobile terminal is also high, for example, the voice assistant application self-contained in the mobile terminal system can access all files and/or applications stored in the mobile terminal, so that the file and/or application retrieval range can maximally cover all files and/or applications, and the situation that the files and/or applications wanted by the user cannot be retrieved due to the fact that the right of the voice assistant is low is avoided.

Optionally, at least one corresponding tag (tag) may be set in advance for the files and/or applications stored in the mobile terminal, and the tag represents information or types of information described by the corresponding files and/or applications. In the file and/or the application program of the mobile terminal, when a plurality of retrieval results are obtained according to the retrieval keyword, the tag corresponding to the retrieval keyword in the mobile terminal can be obtained, and at least one retrieval result is determined according to the file and/or the application program provided or bound with the tag corresponding to the retrieval keyword. For example, when the search keyword is "landscape picture", a picture type file labeled "landscape" is used as the search result, and when the search keyword is "statistics report", for example, an Excel, PPT, Word file labeled "statistics" is used as the search result.

In the technical scheme disclosed in this embodiment, when an input voice is monitored, a retrieval keyword is obtained according to text information of the voice, at least one retrieval result is obtained according to the retrieval keyword in a file and/or an application program of a mobile terminal through a voice assistant application program of the mobile terminal system, and the file and/or the application program is retrieved through the voice assistant application program of the mobile terminal system, so that the retrieval range of the file and/or the application program can be wider, and the possibility of retrieving a file and/or an application program desired by a user is improved.

In an exemplary illustration, based on any of the embodiments shown in fig. 3 to 5, the control manner is as follows:

1. defining a search range enumeration type, such as ALL (ALL document types), IMAGE (picture types), AUDIO (video types), MUSIC (MUSIC types), etc., defaulting to ALL types, mainly for determining the range of the user to search for documents and increasing the search speed.

2: the ranking of the search results, such as AI (intelligent ranking), TIME (TIME ranking), SIZE (file SIZE ranking), etc., is defined mainly for more friendly presentation of the search results.

3: using an Android local database technology, storing a history record of the user for the voice assistant in the near future; the main recording data includes: time of operation, ASR results, NLU results (keyword & intention)

4: a specific execution operation flow of the control method can be shown in fig. 12, and specifically includes:

s1, receiving the voice of the search file;

s2, ASR (automatic speech recognition): converting the voice instruction into text description;

s3, NLU (natural speech understanding): the ASR analyzes the text, and a text intention result is obtained through the analysis of a remote semantic database and/or a local user semantic database;

s4, file retrieval;

s5, searching a result set;

s6, sorting mode: (1) sorting the sizes: sorting according to the size of the files; (2) time sequencing: sorting in reverse order according to the last update time of the files; (3) intelligent sequencing: obtaining the occupation ratio of operation instructions such as audio and video files and the like according to the historical record of the voice assistant in the last week of the user, and if the occupation ratio of the video instructions in the last week is higher than that of the audio instructions and higher than other operations, sorting the retrieval results by prioritizing video types and audio types over other types;

and S7, presenting the search result.

In the control method, a part of semantic database data of the local user is added, so that the accuracy of text analysis is improved, and the effect of different users is achieved.

5. The control method may be exemplified as follows:

(1) basic setting of search function entry in voice assistant setting interface

(1.1): and setting the type of the retrieved file, and defaulting all types. The user can manually select the type of the searched file so as to improve the searching speed;

(1.2): setting a retrieval result sorting mode, defaulting intelligent sorting, and dynamically sorting according to the latest behavior of a user; the user can select a particular sorting mode, such as file size, modification time, App-specified type order (video, audio, pictures, files), etc.

(2): the voice assistant acquires the user's search intention and related keywords according to the input voice command, and then performs file search functions, such as:

(2.1): when the input voice command is 'search yesterday' for video ', yesterday' for video files are screened from all video files in the mobile phone, (even if the user manually checks the file type in the setting but does not check the video type, the video files can be searched because the file type which is explicitly specified in the user command);

(2.2): when the input voice command is 'search statistics report', searching files containing 'statistics report' in file names and Excel files, PPT, Word files and the like containing 'statistics' in all files in the mobile phone. (only the file type manually selected by the user is retrieved at this time);

(2.3): when the input voice instruction is 'search for landscape pictures', picture files with names including 'landscape' in all pictures of the mobile phone are searched, and then pictures with Tag labels of landscape in the picture files are searched.

(3): and after the file retrieval result is obtained, sorting the result according to the sorting setting of the retrieval function. And simultaneously, the user can click the file with the returned result to check, if the file is a multimedia file (video, audio and picture), the playing operation is executed, and if the file is a text file, a text editor is opened to execute the editing operation.

Optionally, an example of intelligent ordering for the embodiment shown in fig. 3 is as follows:

(3.1): the result sequence in (2.1), for example: the video played recently is prioritized, and the video created recently is prioritized;

(3.2): the result sequence in (2.2), for example: the files which are completely matched, the files which are firstly and recently checked and modified, and the files which are PPT, Execl, Word and txt in sequence;

(3.3): the result sequence in (2.3), for example: filename, followed by creation time.

6. Fig. 6 and 7 are setting interfaces of the search function, and a user can customize the type of a file to be searched in fig. 6, so as to improve the search speed, and the voice assistant searches all files in the mobile phone by default; meanwhile, the user can sort the retrieval results through the graph 7 so as to conveniently check the retrieval results, and the voice assistant defaults to intelligent sorting. The sequencing result is specially sequenced according to the history record of the voice assistant used by the user recently, and if the user uses the voice assistant recently to watch videos and listen to songs, the multimedia type files are prioritized; files of doc, TXT, PPT, xlsx types take precedence if the user has recently used office software using a voice assistant.

Fig. 8, 9, 10 and 11 are retrieval result interfaces, fig. 8 is a display interface when no result is retrieved, fig. 9 is a display mode when only a text type file is in the result, fig. 10 is a return result when only a picture is returned, and simultaneously more return results are returned, so that a button of "view more" is displayed, fig. 11 is a return result when more than one return type is returned, the file types of the return results are classified, and then sorting is performed according to the custom of the user or the return result sorting mode set by the user.

The present application further provides a mobile terminal, wherein the mobile terminal includes: the control method comprises a memory and a processor, wherein the memory stores a control program, and the control program realizes the steps of the control method in any one of the above embodiments when being executed by the processor.

The present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the control method in any one of the above embodiments.

In the embodiments of the mobile terminal and the computer-readable storage medium provided in the present application, all technical features of any one of the embodiments of the control method may be included, and the expanding and explaining contents of the specification are basically the same as those of the embodiments of the method, and are not described herein again.

Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method in the above various possible embodiments.

Embodiments of the present application further provide a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the method in the above various possible embodiments.

It is to be understood that the foregoing scenarios are only examples, and do not constitute a limitation on application scenarios of the technical solutions provided in the embodiments of the present application, and the technical solutions of the present application may also be applied to other scenarios. For example, as can be known by those skilled in the art, with the evolution of system architecture and the emergence of new service scenarios, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.

The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.

The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.

The units in the device in the embodiment of the application can be merged, divided and deleted according to actual needs.

In the present application, the same or similar term concepts, technical solutions and/or application scenario descriptions will be generally described only in detail at the first occurrence, and when the description is repeated later, the detailed description will not be repeated in general for brevity, and when understanding the technical solutions and the like of the present application, reference may be made to the related detailed description before the description for the same or similar term concepts, technical solutions and/or application scenario descriptions and the like which are not described in detail later.

In the present application, each embodiment is described with emphasis, and reference may be made to the description of other embodiments for parts that are not described or illustrated in any embodiment.

The technical features of the technical solution of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present application should be considered as being described in the present application.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.

In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, memory Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.

The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:终端的消息处理方法、终端、介质和电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类