CN107203325B - Searching method and device, computer device and readable storage medium - Google Patents

Searching method and device, computer device and readable storage medium Download PDF

Info

Publication number
CN107203325B
CN107203325B CN201710398618.1A CN201710398618A CN107203325B CN 107203325 B CN107203325 B CN 107203325B CN 201710398618 A CN201710398618 A CN 201710398618A CN 107203325 B CN107203325 B CN 107203325B
Authority
CN
China
Prior art keywords
search
control operation
application
display screen
searching
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
CN201710398618.1A
Other languages
Chinese (zh)
Other versions
CN107203325A (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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710398618.1A priority Critical patent/CN107203325B/en
Publication of CN107203325A publication Critical patent/CN107203325A/en
Application granted granted Critical
Publication of CN107203325B publication Critical patent/CN107203325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a searching method and device, a computer device and a readable storage medium, which are used for realizing quick searching. The method provided by the embodiment of the invention comprises the following steps: detecting a first control operation acting on a preset area of a display screen; if the first control operation meets a first preset condition, entering an input mode to detect a second control operation acting on the display screen; identifying keywords corresponding to the track formed by the second control operation; searching according to the keywords to obtain a search result; and displaying the search result on a display screen.

Description

Searching method and device, computer device and readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a search method and apparatus, a computer apparatus, and a readable storage medium.
Background
In the course of use of mobile terminals, search engines have become the primary tool for information query. With the explosive growth of information, the intelligent and efficient search method can accelerate the query speed and improve the recall ratio and precision ratio, so that a user can acquire required information as much as possible in the shortest time, and great convenience is brought to the user.
At present, when a user queries information by using a search engine, generally, after a search interface of the search engine is called, a keyword of the queried information is input in a search box of the search interface, and then a search result is selected from displayed search results by querying the keyword, so that the mobile terminal can start a corresponding application according to the selected search result. However, the searching process needs to operate in a specific searching interface and a specific writing area, which is not beneficial for a user to search quickly.
Disclosure of Invention
The embodiment of the invention provides a searching method and device, a computer device and a readable storage medium, which are used for realizing quick searching.
In view of the above, a first aspect of the present invention provides a search method applied to a terminal having a display screen, the search method including:
detecting a first control operation acting on a preset area of a display screen;
if the first control operation meets a first preset condition, entering an input mode to detect a second control operation acting on the display screen;
identifying keywords corresponding to the track formed by the second control operation;
searching according to the keywords to obtain a search result;
and displaying the search result on the display screen.
Further, identifying a keyword corresponding to the trajectory formed by the second control operation includes:
if the release aiming at the first control operation is received, exiting the input mode and determining a keyword corresponding to a track formed by the second control operation;
the searching according to the keywords to obtain the search result comprises:
and searching according to the determined keywords to obtain a search result.
Further, searching according to the keyword to obtain a search result includes:
searching the character class object of the terminal according to the keywords to obtain a search result related to the target character; or,
searching a plurality of applications installed on the terminal according to the keywords to obtain a search result about the target application; or,
and searching a plurality of pictures of the terminal according to the keywords to obtain a search result about the target picture.
Further, searching according to the keyword to obtain a search result includes:
switching a current interface of a display screen to a search interface of a preset application;
and filling the keywords into a search box of a search interface of the preset application to perform search.
Further, the predetermined application includes at least one of a contact book application, an instant chat application, an information application, a shopping application, a payment application, and a browser application.
A second aspect of the present invention provides a search apparatus applied to a terminal having a display screen, the search apparatus comprising:
a first detection unit for detecting a first control operation acting on a preset region of a display screen;
the second detection unit is used for entering an input mode to detect a second control operation acting on the display screen when the first control operation meets a first preset condition;
the recognition unit is used for recognizing keywords corresponding to the track formed by the second control operation;
the searching unit is used for searching according to the keywords to obtain a searching result;
and the display unit is used for displaying the search result on the display screen.
Further, the identification unit is specifically configured to:
if the release aiming at the first control operation is received, exiting the input mode and determining a keyword corresponding to a track formed by the second control operation;
the search unit is specifically configured to:
and searching according to the determined keywords to obtain a search result.
Further, the search unit is specifically configured to:
searching the character class object of the terminal according to the keywords to obtain a search result related to the target character; or,
searching a plurality of applications installed on the terminal according to the keywords to obtain a search result about the target application; or,
searching a plurality of pictures of the terminal according to the keywords to obtain a search result about the target picture; or,
switching a current interface of a display screen to a search interface of a preset application;
filling the keywords into a search box of a search interface of a preset application to search;
the predetermined application includes at least one of an address book application, an instant chat application, an information application, a shopping application, a payment application, and a browser application.
A third aspect of the invention provides a computer arrangement comprising a processor arranged, when executing a computer program stored in a memory, to carry out the steps of:
detecting a first control operation acting on a preset area of a display screen;
if the first control operation meets a first preset condition, entering an input mode to detect a second control operation acting on the display screen;
identifying keywords corresponding to the track formed by the second control operation;
searching according to the keywords to obtain a search result;
and displaying the search result on the display screen.
A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, causes the processor to perform the steps of:
detecting a first control operation acting on a preset area of a display screen;
if the first control operation meets a first preset condition, entering an input mode to detect a second control operation acting on the display screen;
identifying keywords corresponding to the track formed by the second control operation;
searching according to the keywords to obtain a search result;
and displaying the search result on the display screen.
According to the technical scheme, the embodiment of the invention has the following advantages:
the invention provides a searching method, which can perform corresponding searching on a keyword corresponding to a track formed by second control operation acting on a display screen and display a corresponding searching result on the display screen under the condition that the first control operation acting on a preset area of the display screen is detected to meet a first preset condition, so that the input mode can be directly entered and the searching purpose can be achieved under the triggering of the first control operation without calling a specific searching interface or performing writing operation in a specific writing area, the operation steps of a user can be simplified, and the quick searching can be realized.
Drawings
FIG. 1 is a schematic diagram of an embodiment of a search method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of another embodiment of a search method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another embodiment of the searching method according to the embodiment of the present invention;
FIG. 4 is a schematic diagram of an embodiment of a searching apparatus according to the present invention;
FIG. 5 is a schematic diagram of an embodiment of a computer apparatus according to the present invention.
Detailed Description
The embodiment of the invention provides a searching method and device, a computer device and a readable storage medium, which are used for realizing quick searching.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In order to better understand a search method disclosed in the embodiment of the present invention, a terminal suitable for the embodiment of the present invention is described first. The terminal described in the embodiments of the present invention may include any device having a display screen, for example: the intelligent equipment such as panel computer, cell-phone, this terminal can install including following operating system: the terminal may further have a plurality of application programs installed based on the installed operating system, where the application program may be a system application preinstalled before the terminal leaves a factory, such as a setting application, a music application, a photographing application, or a third-party application installed by the user, such as a WeChat application, and the specific details are not limited herein.
For convenience of understanding, a specific flow in the embodiment of the present invention is described below, and referring to fig. 1, an embodiment of a search method in the embodiment of the present invention includes:
101. detecting a first control operation acting on a preset area of a display screen;
in this embodiment, the terminal may be provided with a display screen, and the display screen may be a touch display screen, so as to collect touch information of the user and identify an operation of the user. For example, to implement fast search, a preset area may be set in advance on the display screen of the terminal, for example, the lower left corner of the display screen, and a user of the terminal may trigger the terminal to enter an input mode by performing corresponding operation on the lower left corner of the display screen. The preset area on the display screen is set to be different from the existing normal multi-point touch control, so that misoperation of a user is avoided.
In practical application, after a user starts the terminal, when the touch operation is performed on the lower left corner of the display screen, the terminal can acquire touch information formed by the touch operation of the user through a sensor on the display screen, and can detect a first control operation, which is performed by the user on the lower left corner of the display screen, according to the touch information, so as to perform further analysis.
It can be understood that, in addition to the content described above, in practical applications, the position of the preset area may also be other, for example, the lower right corner of the display screen, and the user may perform custom setting according to needs or habits, or may perform setting before the terminal leaves a factory, which is not limited herein.
It should be noted that, in this embodiment, when detecting the first control operation applied to the preset area of the display screen, the display interface of the terminal at this time may be any interface such as a desktop or an operation interface of any application, and is not limited herein.
102. If the first control operation meets a first preset condition, entering an input mode to detect a second control operation acting on the display screen;
in this embodiment, if it is detected that the first control operation on the preset area of the display screen satisfies the first preset condition, the input mode may be entered to detect the second control operation acting on the display screen.
Specifically, a first preset condition can be preset in the terminal and stored, where the first preset condition is a detection standard of a first control operation applied to a preset area of the display screen, and if the first preset condition is a continuous pressing operation applied to the preset area of the display screen, that is, only if the continuous pressing operation is detected in the preset area of the display screen, the terminal enters the input mode, so that the user can perform a touch operation on the display screen except the continuous pressing operation in the preset area, and can detect a second control operation applied to the display screen according to the touch operation.
Meanwhile, in the embodiment, by using the multi-point touch principle of the display screen of the terminal, after the input mode is entered, the first control operation is still continuously performed, that is, when the second control operation acting on the display screen is detected, the first control operation acting on the preset area of the display screen can be still detected, so that the first control operation is uninterrupted in the process of detecting the second control operation.
It is understood that the first control operation and the second control operation in the present embodiment do not coincide, and the areas of the display screen on which both operations are performed do not coincide, and the detection of the second control operation is based on the trigger of the first control operation.
It should be noted that, in addition to the above description, in practical applications, the first preset condition in this embodiment may also be other conditions, such as continuous multi-touch acting on a preset area, and the specific details are not limited herein.
103. Identifying keywords corresponding to the track formed by the second control operation;
in this embodiment, after the input mode is entered and the second control operation acting on the display screen is detected, the trajectory formed by the second control operation may be identified to determine the keyword corresponding to the trajectory.
Specifically, in the input mode, the terminal may recognize a keyword corresponding to a trajectory formed by the same continuous second control operation, or may recognize a keyword corresponding to a trajectory formed by a plurality of continuous second control operations until the input mode is released, where the trajectory formed by the second control operations may be recognized as the keyword.
It is understood that the keywords in the present embodiment may include, but are not limited to, words, letters, numbers, symbols, expressions, or combinations thereof. The keyword such as the expression may be obtained by matching the simple trajectory formed by the second control operation with the stored expression series, or may be selected by the user, which is not limited herein.
For example, assuming that the trajectory formed by the second control operation is "20 days", the corresponding keyword is "20 days", and if the trajectory formed by the second control operation is "UC", the corresponding keyword is "UC".
104. Searching according to the keywords to obtain a search result;
in this embodiment, after the keyword is identified, a search may be performed according to the keyword to obtain a corresponding search result.
Specifically, the terminal may perform a search for related content according to the identified keyword, so as to obtain content matched with the keyword as a search result, where the search result may be content related to the keyword, and if the keyword is assumed to be "chat", the search result may include chat-type applications such as a QQ application and a wechat application; the search results may also be content that contains keywords, such as assuming that the keywords are "QQ," the search results may include QQ applications and other content that includes "QQ.
In practical application, the search range of the terminal according to the keyword may be local to the terminal, or may be on the side of the server, so as to search for information required by the user in the search range desired by the user as much as possible, and this search manner may be set by the user in a self-defined manner, or may be set before the terminal leaves the factory, and is not limited herein specifically.
It should be noted that, in addition to the content described above, the search result in this embodiment may also include other content, such as content similar to the keyword, in practical application, and the specific content is not limited herein.
It can be understood that, in this embodiment, when a search is performed according to a keyword, the first control operation may be released, that is, the terminal exits the input mode and enters the search mode, so as to relieve the user's operation, and when the user needs to perform a search again, the first control operation acting on the preset area of the display screen may be triggered again to enter the input mode.
105. And displaying the search result on the display screen.
In this embodiment, after the search result is obtained, the search result may be displayed on the display screen.
Specifically, the search results may be displayed on the display screen in a predetermined manner, for example, when there are a plurality of search results, the search results may be arranged from top to bottom according to the frequency of use. The display mode of the search result can be name, diagram and the like.
It should be noted that, in this embodiment, when the search result is displayed on the display screen, the interface on the display screen may be a search interface of the terminal, may also be a display layer suspended from the current interface, and may also be other interfaces, such as a search interface or a desktop of an application, which is not limited herein.
In this embodiment, when it is detected that the first control operation applied to the preset area of the display screen satisfies the first preset condition, corresponding search may be performed on the keyword corresponding to the trajectory formed by the second control operation applied to the display screen, and a corresponding search result may be displayed on the display screen.
It can be understood that, in this embodiment, when performing a search after identifying a keyword, the search may be performed manually by a user, or may be performed automatically by a terminal, and the following specifically describes a case of automatic search:
referring to fig. 2, another embodiment of the searching method according to the embodiment of the present invention includes:
steps 201 to 202 in this embodiment are the same as steps 101 to 102 in the embodiment shown in fig. 1, and are not repeated here.
203. If the release aiming at the first control operation is received, exiting the input mode and determining a keyword corresponding to a track formed by the second control operation;
in this embodiment, after the input mode is entered and the second control operation acting on the display screen is detected, if the release for the first control operation is received, the input mode may be exited and the keyword corresponding to the trajectory formed by the second control operation may be determined.
Specifically, since the input mode is triggered by the first control operation, and the first control operation is still continuously performed in the process of detecting the second control operation acting on the display screen, if the first control operation is not released, the terminal may default that the second control operation has not been completed, that is, the input of the keyword is not complete, and the user may be in an interval input state and needs to wait for the user to continue inputting, or needs to manually perform a search by the user to indicate that the keyword is completely input.
Preferably, in order to improve convenience of the user operation, in this embodiment, once the first control operation applied to the preset area of the display screen is released, the terminal may determine that the input of the keyword is complete, and may exit the input mode, and determine the keyword corresponding to the trajectory formed by the second control operation in the input mode, so as to trigger the automatic search according to the determined keyword.
It can be understood that, in practical applications, when the second control operation acting on the display screen is detected in the input mode, the track formed by the second control operation may be identified in real time, and then all recognized keywords in the input mode may be determined, or after the input mode exits, the recorded track formed by the second control operation may be identified and determined, which is not limited herein.
204. Searching according to the determined keywords to obtain a search result;
in this embodiment, after determining a keyword corresponding to a trajectory formed by a second control operation applied to the display screen, a search may be performed according to the determined keyword to obtain a search result.
For example, assuming that the lower left corner of the display screen of the terminal is a preset area, when one finger of the user presses the preset area and the finger continuously presses the preset area without lifting, the terminal may be triggered to enter an input mode, at this time, the finger of the user continuously presses, but another finger may perform a touch operation on the screen, such as drawing a keyword, that is, a track formed by the second control operation, and may directly perform a search according to the keyword corresponding to the track, so as to obtain a corresponding search result.
It can be understood that, in this embodiment, when directly performing a search according to the keyword corresponding to the track, in addition to directly performing a search, the keyword may be filled in a search box of a search interface of the terminal for a search, and the details are not limited herein.
In this embodiment, the specific way of searching according to the keyword to obtain the search result may be:
searching the character class object of the terminal according to the keywords to obtain a search result related to the target character; or,
searching a plurality of applications installed on the terminal according to the keywords to obtain a search result about the target application; or,
and searching a plurality of pictures of the terminal according to the keywords to obtain a search result about the target picture.
Specifically, in this embodiment, taking the search range as the local terminal as an example, after determining a keyword of a trajectory formed by the second control operation, the text object of the terminal may be searched according to the determined keyword to obtain a search result about a target text, where the target text is matched with the keyword, or is the keyword, where the text object of the terminal may include text objects of different formats, such as documents like word, PDF, PPT, and the like, and may also include contents such as a chat record, a short message record, a memo record, and the like; or, a plurality of applications installed on the terminal may be searched according to the determined keyword to obtain a search result about the target application, for example, if the terminal is installed with a plurality of applications, when it is cumbersome to find the target application from the plurality of applications, the search method may be used to search by using the name of the target application as the keyword to quickly obtain the search result about the target application, which is beneficial for a user to quickly find and start the target application without repeatedly finding from a plurality of applications on the display screen of the terminal; or, a plurality of pictures of the terminal can be searched according to the keywords to obtain a search result about the target picture, and the application is beneficial to solving the problem that a user needs to search for a specific target picture in a time-consuming manner while storing a plurality of pictures at the terminal.
Further, in this embodiment, when searching for related content according to a keyword, the related content may be set by a user through self-definition, that is, before triggering to search according to the keyword, the user may set in advance what content of the terminal is to be searched for at the terminal, or before searching according to the keyword, the selection of what content of the terminal is to be searched for may be triggered in a preset manner, for example, by detecting a third control operation that acts on a preset region of the display screen, what content of the terminal is to be searched for may be determined according to corresponding content of the third control operation, and if the content of the terminal is to be searched for is indicated according to inputs of different biological features, if the content of the terminal is indicated to be searched for according to different key information input by the user, which is not limited herein.
It should be noted that, in addition to the above contents, in practical applications, the description of performing related content search according to the keyword in this embodiment may also be other, and may be set according to user needs or main functions provided by the terminal, for example, a plurality of videos of the terminal may also be searched according to the keyword to obtain a search result about the target video, and for example, a plurality of songs of the terminal may also be searched according to the keyword to obtain a search result about the target song.
Based on the occurrence scenario of this embodiment, the content of the part of the same content may refer to the content described in step 204 in the embodiment shown in fig. 1, and is not described herein again.
Step 205 in this embodiment is the same as step 105 in the embodiment shown in fig. 1, and is not described here again.
It can be understood that, in this embodiment, in addition to performing a search on any interface of the terminal, a keyword may be input into any interface to perform a search on a certain specific interface, so as to search for related content about the certain specific interface according to the keyword, which is specifically described below:
referring to fig. 3, another embodiment of the searching method in the embodiment of the present invention includes:
steps 301 to 303 in this embodiment are the same as steps 101 to 103 in the embodiment shown in fig. 1, and are not described again here.
304. Switching a current interface of a display screen to a search interface of a preset application;
in this embodiment, after the keyword corresponding to the trajectory formed by the second control operation is identified, the current interface of the display screen may be switched to the search interface of the predetermined application.
Specifically, in order to search for the relevant content of a certain specific application, the user may set the predetermined application in advance at the terminal, so that after the keyword is identified, the user may switch from any current interface to the search interface of the predetermined application. The predetermined application may include at least one of a contact book application, an instant chat application, an information application, a shopping application, a payment application, and a browser application.
The predetermined applications are different, and the corresponding search interfaces are different, for example, when the predetermined application is a microblog application, the current interface can be directly switched to a discovery interface of the microblog application (the discovery interface has a search box and can be searched), and for example, when the predetermined application is a wechat application, the current interface can be directly switched to a home page interface of the wechat application (the home page interface has a search box and can be searched), and for example, when the predetermined application is a UC application, the current interface can be switched to any display interface of the UC application, which has a search box.
Further, when there are a plurality of predetermined applications, a target predetermined application may be determined from the plurality of predetermined applications to switch from the current interface to the search interface of the target predetermined application. In practical applications, a preset method may be installed from a plurality of predetermined applications or a target predetermined application may be determined, for example, a user may trigger selection of a target predetermined application from the plurality of predetermined applications by performing a certain operation on the terminal, or the target predetermined application from the plurality of predetermined applications may be selected according to a recognized keyword, for example, if the recognized keyword is "WeChat," the target predetermined application may be determined to be a WeChat application.
It is to be understood that, in addition to the above description, in practical applications, other methods may be used alone or in combination, as long as the target predetermined application can be determined from a plurality of predetermined applications, and the specific application is not limited herein.
305. Filling the keywords into a search box of a search interface of a preset application to search;
in this embodiment, after the current interface of the display screen is switched to the search interface of the predetermined application, the keyword may be filled in the search box of the search interface of the predetermined application to perform the search.
For example, assuming that the predetermined application is a wechat application, after the current interface of the display screen is switched to the home page interface of the wechat application, the identified keywords may be automatically filled into the search box of the home page interface of the wechat application for searching, so as to obtain the search result. Therefore, the search range is limited to the WeChat application, and the search result is related to related content in the WeChat application, such as chat records, contents of contacts and friend circles, related articles and the like in the WeChat application, so that the content which needs to be searched by the user can be more clearly determined by narrowing the search range, and the search experience of the user can be improved.
Step 306 in this embodiment is the same as step 205 in the embodiment shown in fig. 1, and is not described here again.
With reference to fig. 4, the searching method in the embodiment of the present invention is described above, and a searching apparatus in the embodiment of the present invention is described below, where the searching apparatus is applied to a terminal having a display screen, and an embodiment of the searching apparatus in the embodiment of the present invention includes:
a first detection unit 401 for detecting a first control operation acting on a preset region of the display screen;
a second detecting unit 402, configured to enter an input mode to detect a second control operation acting on the display screen when the first control operation satisfies a first preset condition;
an identifying unit 403, configured to identify a keyword corresponding to a trajectory formed by the second control operation;
a searching unit 404, configured to perform a search according to the keyword to obtain a search result;
and a display unit 405 for displaying the search result on a display screen.
In this embodiment, when the second detecting unit 402 detects that the first control operation applied to the preset area of the display screen satisfies the first preset condition, the second detecting unit 402 may detect the second control operation applied to the display screen, so that the searching unit 404 may perform corresponding search on the keyword corresponding to the trajectory formed by the second control operation applied to the display screen, which is identified by the identifying unit 403, and the displaying unit 405 may display a corresponding search result on the display screen, which means that the input mode may be directly entered and the search may be achieved under the trigger of the first control operation, without calling a specific search interface or performing a writing operation in a specific writing area, thereby facilitating to simplify the operation steps of the user and achieving a fast search.
Optionally, in some embodiments of the present invention, the identifying unit 403 may be further specifically configured to:
if the release aiming at the first control operation is received, exiting the input mode and determining a keyword corresponding to a track formed by the second control operation;
the searching unit 404 may be further specifically configured to:
and searching according to the determined keywords to obtain a search result.
Optionally, in some embodiments of the present invention, the searching unit 404 may be further specifically configured to:
searching the character class object of the terminal according to the keywords to obtain a search result related to the target character; or,
searching a plurality of applications installed on the terminal according to the keywords to obtain a search result about the target application; or,
searching a plurality of pictures of the terminal according to the keywords to obtain a search result about the target picture; or,
switching a current interface of a display screen to a search interface of a preset application;
filling the keywords into a search box of a search interface of a preset application to search;
the predetermined application includes at least one of an address book application, an instant chat application, an information application, a shopping application, a payment application, and a browser application.
In the above, the search apparatus in the embodiment of the present invention is described from the perspective of the modular functional entity, and in the following, the computer apparatus in the embodiment of the present invention is described from the perspective of the hardware processing, referring to fig. 5, an embodiment of the computer apparatus in the embodiment of the present invention includes:
a processor 501 and a memory 502;
the memory 502 is used for storing computer programs, and the processor 501 is used for implementing the computer programs stored in the memory 502, and the following steps can be implemented:
detecting a first control operation acting on a preset area of a display screen;
if the first control operation meets a first preset condition, entering an input mode to detect a second control operation acting on the display screen;
identifying keywords corresponding to the track formed by the second control operation;
searching according to the keywords to obtain a search result;
and displaying the search result on the display screen.
In some embodiments of the present invention, the processor 501 may be further configured to implement the following steps:
if the release aiming at the first control operation is received, exiting the input mode and determining a keyword corresponding to a track formed by the second control operation;
the searching according to the keywords to obtain the search result comprises:
and searching according to the determined keywords to obtain a search result.
In some embodiments of the present invention, the processor 501 may be further configured to implement the following steps:
searching the character class object of the terminal according to the keywords to obtain a search result related to the target character; or,
searching a plurality of applications installed on the terminal according to the keywords to obtain a search result about the target application; or,
and searching a plurality of pictures of the terminal according to the keywords to obtain a search result about the target picture.
In some embodiments of the present invention, the processor 501 may be further configured to implement the following steps:
switching a current interface of a display screen to a search interface of a preset application;
and filling the keywords into a search box of a search interface of the preset application to perform search.
It is understood that, when the processor in the computer device executes the computer program, the functions of the units in the corresponding device embodiments may also be implemented, and are not described herein again. Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the search apparatus/terminal device. For example, the computer program may be divided into units in the above-described search apparatus, and each unit may realize specific functions as described above as follows.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing equipment. The computer device may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that the schematic diagram of fig. 5 is merely an example of a computer apparatus and is not intended to limit the computer apparatus, and may include more or less components than those shown, or some components may be combined, or different components may be included, for example, the computer apparatus may also include input and output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like which is the control center for the computer device and which connects the various parts of the overall computer device using various interfaces and lines.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the computer device by running or executing the computer programs and/or modules stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, the processor is operable to perform the steps of:
detecting a first control operation acting on a preset area of a display screen;
if the first control operation meets a first preset condition, entering an input mode to detect a second control operation acting on the display screen;
identifying keywords corresponding to the track formed by the second control operation;
searching according to the keywords to obtain a search result;
and displaying the search result on the display screen.
In some embodiments of the invention, the computer program stored on the computer-readable storage medium, when executed by the processor, may be specifically configured to perform the steps of:
if the release aiming at the first control operation is received, exiting the input mode and determining a keyword corresponding to a track formed by the second control operation;
the searching according to the keywords to obtain the search result comprises:
and searching according to the determined keywords to obtain a search result.
In some embodiments of the invention, the computer program stored on the computer-readable storage medium, when executed by the processor, may be specifically configured to perform the steps of:
searching the character class object of the terminal according to the keywords to obtain a search result related to the target character; or,
searching a plurality of applications installed on the terminal according to the keywords to obtain a search result about the target application; or,
and searching a plurality of pictures of the terminal according to the keywords to obtain a search result about the target picture.
In some embodiments of the invention, the computer program stored on the computer-readable storage medium, when executed by the processor, may be specifically configured to perform the steps of:
switching a current interface of a display screen to a search interface of a preset application;
and filling the keywords into a search box of a search interface of the preset application to perform search.
It will be appreciated that the integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A search method is applied to a terminal with a display screen, and is characterized by comprising the following steps:
detecting a first control operation acting on a preset area of the display screen;
if the first control operation meets a first preset condition, entering an input mode to detect a second control operation acting on the display screen, wherein the first control operation is still continuously carried out in the process of detecting the second control operation acting on the display screen;
identifying keywords corresponding to the track formed by the second control operation;
searching according to the keywords to obtain a search result;
displaying the search result on the display screen;
the identifying of the keyword corresponding to the track formed by the second control operation comprises:
if the first control operation is released, exiting the input mode and determining keywords corresponding to the track formed by the second control operation;
the searching according to the keyword to obtain a search result comprises:
and searching according to the determined keywords to obtain a search result.
2. The method according to claim 1, wherein the searching according to the keyword to obtain a search result comprises:
searching the character class object of the terminal according to the keyword to obtain a search result related to the target character; or,
searching a plurality of applications installed on the terminal according to the keywords to obtain a search result about a target application; or,
and searching a plurality of pictures of the terminal according to the keywords to obtain a search result about the target picture.
3. The method according to claim 1, wherein the searching according to the keyword to obtain a search result comprises:
switching the current interface of the display screen to a search interface of a preset application;
and filling the keywords into a search box of a search interface of the preset application to search.
4. The search method of claim 3, wherein the predetermined application comprises at least one of a directory application, an instant chat application, an information application, a shopping application, a payment application, and a browser application.
5. A search device applied to a terminal with a display screen is characterized by comprising:
the first detection unit is used for detecting a first control operation acting on a preset area of the display screen;
the second detection unit is used for entering an input mode to detect a second control operation acting on the display screen when the first control operation meets a first preset condition, and the first control operation is continuously carried out in the process of detecting the second control operation acting on the display screen;
the recognition unit is used for recognizing keywords corresponding to the track formed by the second control operation;
the searching unit is used for searching according to the keywords to obtain a searching result;
the display unit is used for displaying the search result on the display screen;
the identification unit is specifically configured to:
if the first control operation is released, exiting the input mode and determining keywords corresponding to the track formed by the second control operation;
the search unit is specifically configured to:
and searching according to the determined keywords to obtain a search result.
6. The apparatus according to claim 5, wherein the search unit is specifically configured to:
searching the character class object of the terminal according to the keyword to obtain a search result related to the target character; or,
searching a plurality of applications installed on the terminal according to the keywords to obtain a search result about a target application; or,
searching a plurality of pictures of the terminal according to the keywords to obtain a search result about a target picture; or,
switching the current interface of the display screen to a search interface of a preset application;
filling the keywords into a search box of a search interface of the preset application to search;
the predetermined application comprises at least one of an address book application, an instant chat application, an information application, a shopping application, a payment application and a browser application.
7. A computer arrangement, characterized in that the computer arrangement comprises a processor for implementing the steps of the search method according to any one of claims 1 to 4 when executing a computer program stored in a memory.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the search method according to any one of claims 1 to 4.
CN201710398618.1A 2017-05-31 2017-05-31 Searching method and device, computer device and readable storage medium Active CN107203325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710398618.1A CN107203325B (en) 2017-05-31 2017-05-31 Searching method and device, computer device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710398618.1A CN107203325B (en) 2017-05-31 2017-05-31 Searching method and device, computer device and readable storage medium

Publications (2)

Publication Number Publication Date
CN107203325A CN107203325A (en) 2017-09-26
CN107203325B true CN107203325B (en) 2020-09-08

Family

ID=59907260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710398618.1A Active CN107203325B (en) 2017-05-31 2017-05-31 Searching method and device, computer device and readable storage medium

Country Status (1)

Country Link
CN (1) CN107203325B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108459813A (en) * 2018-01-23 2018-08-28 维沃移动通信有限公司 A kind of searching method and mobile terminal
CN109917979B (en) * 2019-02-22 2021-02-23 维沃移动通信有限公司 Searching method and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183279A (en) * 2015-08-27 2015-12-23 广东欧珀移动通信有限公司 Search method and terminal
CN105210025A (en) * 2013-03-15 2015-12-30 博世汽车服务解决方案公司 Graphical user interface with various functions
CN105511783A (en) * 2015-11-30 2016-04-20 东莞酷派软件技术有限公司 Search method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101397080B1 (en) * 2007-10-05 2014-05-21 엘지전자 주식회사 Portable terminal having multi-function executing capability and executing method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105210025A (en) * 2013-03-15 2015-12-30 博世汽车服务解决方案公司 Graphical user interface with various functions
CN105183279A (en) * 2015-08-27 2015-12-23 广东欧珀移动通信有限公司 Search method and terminal
CN105511783A (en) * 2015-11-30 2016-04-20 东莞酷派软件技术有限公司 Search method and mobile terminal

Also Published As

Publication number Publication date
CN107203325A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
US11314386B2 (en) Human-computer interaction method of user terminal, apparatus, and user terminal
CN108170342B (en) Application program interface display method and device, terminal and readable storage medium
US20150234938A1 (en) Method and electronic terminal for searching for contact in directory
CN107193598B (en) Application starting method, mobile terminal and computer readable storage medium
CN106991179B (en) Data deleting method and device and mobile terminal
CN105095221B (en) The method and its device of information record are searched in a kind of touch screen terminal
CN108122161B (en) Commodity recommendation method and device, terminal and readable storage medium
CN105511783A (en) Search method and mobile terminal
CN104809174A (en) Opening method of terminal application
CN104216971A (en) Method and device for indexing applications
CN113126838A (en) Application icon sorting method and device and electronic equipment
CN105094603B (en) Method and device for associated input
CN111611502A (en) Label page display method and device
CN105912586B (en) Information searching method and electronic equipment
CN107885449B (en) Photographing search method and device, terminal equipment and storage medium
CN107203325B (en) Searching method and device, computer device and readable storage medium
US20150134641A1 (en) Electronic device and method for processing clip of electronic document
CN104808899A (en) Terminal
CN110489032B (en) Dictionary query method for electronic book and electronic equipment
CN111078102B (en) Method for determining point reading area through projection and terminal equipment
CN104376095A (en) Information processing method and electronic equipment
CN108133048B (en) File sorting method and device and mobile terminal
CN106970899B (en) Text processing method and device
CN112416143B (en) Text information editing method and device and electronic equipment
CN103970463A (en) Information searching method and system

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