WO2017045277A1 - 搜索方法、装置、设备及非易失性计算机存储介质 - Google Patents

搜索方法、装置、设备及非易失性计算机存储介质 Download PDF

Info

Publication number
WO2017045277A1
WO2017045277A1 PCT/CN2015/096533 CN2015096533W WO2017045277A1 WO 2017045277 A1 WO2017045277 A1 WO 2017045277A1 CN 2015096533 W CN2015096533 W CN 2015096533W WO 2017045277 A1 WO2017045277 A1 WO 2017045277A1
Authority
WO
WIPO (PCT)
Prior art keywords
trigger element
search
gesture
user
page
Prior art date
Application number
PCT/CN2015/096533
Other languages
English (en)
French (fr)
Inventor
李翔
唐呈光
Original Assignee
百度在线网络技术(北京)有限公司
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 百度在线网络技术(北京)有限公司 filed Critical 百度在线网络技术(北京)有限公司
Publication of WO2017045277A1 publication Critical patent/WO2017045277A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • 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/957Browsing optimisation, e.g. caching or content distillation
    • 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

Definitions

  • the present invention relates to the field of search technologies, and in particular, to a search method, apparatus, device, and non-volatile computer storage medium.
  • search has been called the Internet function most commonly used by users.
  • users can not only search by opening the search home page on the browser, but also search using the search client.
  • the search function when the user uses the search function, if the current search type is not the search type required by the user, the user needs to first switch the search type, and then the browser or the client jumps to the search page of the search type, the user Enter a keyword in the search page of the search type to trigger a search operation. Therefore, the operation of switching the search type in the prior art is cumbersome, so that the operation cost is relatively high, and the efficiency of switching the search type is relatively low.
  • the embodiment of the present invention provides a search method, device, device, and non-volatile computer storage medium, which reduces the operation cost of switching the search type and improves the switching search.
  • the efficiency of the cable type is the efficiency of the cable type.
  • An aspect of an embodiment of the present invention provides a search method, including:
  • the first gesture of the user for the trigger element belongs to a preset switching gesture, switching the current search type
  • the switched search type is displayed by the trigger element.
  • the method further includes:
  • the trigger element displayed on a search result page, the trigger element being implemented using a selection control or using a hovering control having a selection function; and/or,
  • the page pointed to by the link displayed in the search result page displays the trigger element, the trigger element is implemented using a hovering control having a selection function; and/or,
  • the trigger element is displayed on a third party page, the trigger element being implemented using a hovering control having a selection function.
  • an input box is displayed within a specified range of the trigger element.
  • Searching is performed based on the keyword and the type of search after switching.
  • the method further includes:
  • a search is performed according to the picture to obtain a search result that matches the picture.
  • Another aspect of the embodiments of the present invention provides a search apparatus, including:
  • a detecting unit configured to detect a first gesture of the user for the trigger element
  • a switching unit configured to switch the current search type if the first gesture of the user for the trigger element belongs to a preset switching gesture
  • a first processing unit configured to display, by using the trigger element, a search type after switching.
  • the device further includes:
  • a second processing unit configured to display the trigger element on a search homepage, the trigger element is implemented by using a selection control; and/or, for displaying the trigger element on a search result page, the trigger element is implemented by using a selection control or Implemented with a hovering control having a selection function; and/or a page pointed to by a link for display in a search results page displaying the trigger element, the trigger element being implemented using a hovering control having a selection function; and/or, The trigger element is displayed on a third party page, and the trigger element is implemented by using a floating control having a selection function.
  • the detecting unit is further configured to detect a second gesture of the user for the trigger element
  • the device further includes: a third processing unit, configured to: if the user is for the trigger element The second gesture of the element belongs to a preset input gesture, and the input box is displayed within a specified range of the trigger element.
  • the device further includes:
  • the first searching unit is configured to perform searching according to the keyword and the search type after the switching.
  • the apparatus further includes:
  • a second searching unit configured to perform a search according to the picture to obtain a search result that matches the picture if the trigger element is moved to an upper layer of a picture displayed in a page.
  • an apparatus comprising:
  • One or more processors are One or more processors;
  • One or more programs the one or more programs being stored in the memory, when executed by the one or more processors:
  • the first gesture of the user for the trigger element belongs to a preset switching gesture, switching the current search type
  • the switched search type is displayed by the trigger element.
  • a nonvolatile computer storage medium storing one or more programs when the one or more programs are executed by a device causes The device:
  • the first gesture of the user for the trigger element belongs to a preset switching gesture, switching the current search type
  • the switched search type is displayed by the trigger element.
  • the switching of the search type can be directly switched on the displayed trigger element by using a gesture.
  • the embodiment of the present invention can reduce the operation process of switching the search type, thereby reducing the switching search type.
  • the operating cost increases the efficiency of switching search types and improves search efficiency.
  • FIG. 1 is a schematic flowchart of a search method provided by an embodiment of the present invention.
  • FIGS. 2(a) to 2(d) are diagrams showing an example of displaying a trigger element on a search home page according to an embodiment of the present invention
  • 3(a) to 3(b) are diagrams showing an example of displaying a trigger element on a search result page according to an embodiment of the present invention
  • FIG. 4 is a diagram showing an example of displaying a trigger element by a page pointed to by a link displayed in a search result page according to an embodiment of the present invention
  • FIGS. 5(a) to 5(d) are diagrams showing an example of Embodiment 1 of displaying an input box within a specified range of a trigger element according to an embodiment of the present invention
  • FIGS. 6(a)-6(c) are diagrams showing an example of Embodiment 2 of displaying an input box within a specified range of a trigger element according to an embodiment of the present invention
  • FIGS. 7(a)-7(c) are diagrams showing an example of triggering a search by moving a trigger element onto a picture according to an embodiment of the present invention
  • FIG. 8 is a functional block diagram of a search apparatus according to an embodiment of the present invention.
  • first, second, etc. may be used in the embodiments of the present invention. Gestures, but these gestures should not be limited to these terms. These terms are only used to distinguish gestures from each other. For example, a first gesture may also be referred to as a second gesture without departing from the scope of the embodiments of the invention. Similarly, the second gesture may also be referred to as a first gesture.
  • the word “if” as used herein may be interpreted as “when” or “when” or “in response to determining” or “in response to detecting.”
  • the phrase “if determined” or “if detected (conditions or events stated)” may be interpreted as “when determined” or “in response to determination” or “when detected (stated condition or event) “Time” or “in response to a test (condition or event stated)”.
  • FIG. 1 it is a schematic flowchart of a search method according to an embodiment of the present invention. As shown in the figure, the method includes the following steps:
  • a gesture-based operation type switching function is provided on the page.
  • the trigger element is first displayed on the page, and then the user can input a gesture on the page for the displayed trigger element, so that the current search type can be switched by detecting the gesture of the trigger element targeted by the user.
  • the trigger element may include, but is not limited to, at least one of a button, an icon, and an identifier.
  • the method for displaying a trigger element on a page may include, but is not limited to, the following four types:
  • the first type the trigger element is displayed on the search homepage, and the trigger element is implemented by using a selection control.
  • the server may configure the selection control in the data of the search home page returned to the client, so that the client can use the page template to render the data of the search home page, thereby realizing the display of the search home page, and The trigger element is displayed by searching the home page.
  • FIG. 2( a ) to FIG. 2( d ) are exemplary diagrams for displaying a trigger element on a search home page according to an embodiment of the present invention, as shown in FIG. 2( a ) to FIG. 2( d ).
  • the trigger element can be displayed to the right of the input box in the search home page.
  • the trigger element is displayed on the search result page, and the trigger element is implemented by using a selection control or by using a floating control having a selection function.
  • the server may configure the selection control in the data of the search result page returned to the client, so that the client may use the page template to render the data of the search result page, thereby implementing the search result page.
  • an input box of a keyword and a trigger element for triggering a search are generally displayed at the top or bottom of the search result page, and the trigger element can utilize the selection control in order to facilitate the user to switch the search type.
  • the trigger element can utilize the selection control in order to facilitate the user to switch the search type.
  • FIG. 3( a ) to FIG. 3( b ) are exemplary diagrams of displaying trigger elements on a search result page according to an embodiment of the present invention, as shown in FIG. 3( a ), according to the keyword “Wuhan The University searches and displays the top of the search results page. It also displays the input box and displays the trigger elements implemented with the selection controls on the right side of the input box.
  • the server may configure a hovering control with a selection function in the data of the search result page returned to the client, so that the client may use the page template to render the data of the search result page.
  • the presentation of the search result page is realized, and the trigger element implemented by the floating control with the selection function is displayed through the search result page.
  • a search is performed according to the keyword “Wuhan University”, and in the displayed search result page, a trigger element implemented by a floating control having a selection function may be utilized, so that the trigger element may be suspended.
  • the hover button shown in the lower right corner of Figure 3(b).
  • the page pointed to by the link displayed in the search result page displays the trigger element, which is implemented by a hovering control having a selection function.
  • the client needs to request the page data pointed to by the link from the server, and the server can configure the page data in the page data returned to the client.
  • a floating control with a selection function so that the client can use the page template to render the page data pointed to by a link in the search result page, thereby realizing the presentation of the page pointed to by the link displayed in the search result page, and
  • This page displays trigger elements that are implemented using a floating control with a selection function.
  • the link displayed in the search result page may point to a page provided by the same server as the search home page, or may be a third party page provided by a third party website.
  • FIG. 4 is an example diagram of displaying a trigger element on a page pointed to by a link displayed in a search result page according to an embodiment of the present invention, according to the keyword “Wuhan "University” searches, and then in the displayed search results page, click on the encyclopedia page provided by the same server as the search home page, as shown in Figure 4, using the floating control with the selection function to display the trigger element on the encyclopedia page, so that The trigger element can be hovered on the search results page, such as the hover button shown in the lower right corner of Figure 4.
  • the trigger element is displayed on a third party page, and the trigger element is implemented using a hovering control having a selection function.
  • the client needs to request the third-party server for the page data pointed to by the link, and the third-party server can return the page to the client.
  • the floating control with the selection function is configured in the page data, so that the client can use the page template to render the page data of the third-party page pointed to by the third-party link clicked in the search result page, thereby realizing the first The presentation of the three-party page, and the triggering element implemented by the third-party page using the floating control with the selection function.
  • the trigger element implemented by the floating control of the selection function needs to have a certain transparency to avoid blocking the page content of the page where the page is located.
  • the trigger element implemented by the floating control of the selection function can be moved on the page according to the mouse drag.
  • the user's operation behavior on the page needs to be monitored to detect the first gesture of the user for the trigger element.
  • a touch event can be configured for the client so that the location of the user's finger can be tracked to detect the user's first gesture for the triggering element.
  • the current search type is switched. On the other hand, if it is determined that the first gesture does not belong to the preset switching gesture, the current search type is kept unchanged, and the current search type is not switched.
  • the preset switching gesture may include sliding up and down, and if the first gesture of the user for the triggering element is sliding up, switching the current search type to switch the search type to the previous search type. If the first gesture of the user for the trigger element is to slide down, the current search type is switched, and the search type is switched to the next search type.
  • the search type after the switch may also be displayed by using the trigger element.
  • the switched search type can be presented to the user, so that the user can know the type of search switched to determine whether to further switch the search type.
  • the user needs to perform the search type switching first, and then the browser or the client jumps to the search page of the search type, and the user inputs keywords in the search page of the search type.
  • the user only needs to use the finger to slide up and down on the trigger element to implement the search type switching. Therefore, the embodiment of the present invention can reduce the operation of switching the search type, reduce the operation cost, and improve the efficiency of switching the search type. .
  • the input box and the button for triggering the search are generally displayed at the top or the bottom of the search result page. If the user needs to initiate a new search while browsing the search result page, the search result page is required. Scroll to the top or bottom to navigate to the input box and the button that triggered the search to enter new keywords and select a search type. Therefore, the operation of re-initiating the search in the search result page in the prior art is cumbersome and the operation cost is relatively high.
  • a new search can be quickly initiated by using a floating control with a selection function on the search result page, without scrolling the search result page to the top or bottom, thereby reducing operating costs and improving Search efficiency.
  • the keyword may be further acquired, and the search is performed according to the keyword and the search type after the switch.
  • keywords input by the user in the input box can be received.
  • the voice signal input by the user may be received, and the voice signal may be identified to obtain a recognition result that matches the voice signal, and the recognition result is used as a keyword.
  • the manner of acquiring keywords is not particularly limited in the embodiment of the present invention.
  • the interface of the server corresponding to the search type may be obtained according to the search type after the switch; then, the interface is invoked according to the obtained keyword, so that the server corresponding to the interface can be based on the keyword Search and get the search results, and finally the server returns the search results to the client for presentation.
  • detecting a second gesture of the user for the trigger element if the second gesture of the user for the trigger element belongs to a preset input gesture, An input box is displayed within a specified range of the trigger element.
  • a second gesture of the user for the trigger element is detected.
  • the second gesture of the user for the trigger element if it is determined whether the second gesture belongs to the preset input gesture. If it is determined that the second gesture belongs to a preset input gesture, an input box is displayed within a specified range of the trigger element. On the other hand, if it is determined that the second gesture does not belong to the preset input gesture, the input box is not displayed.
  • the keyword input by the user or the voice signal input by the user may be received through the input box displayed.
  • the preset input gesture may be sliding to the left, and if the second gesture of the user for the triggering element is sliding to the left, the input box is displayed to the left of the triggering element.
  • the preset input gesture may be sliding to the right, and if the second gesture of the user for the triggering element is sliding to the right, the input box is displayed to the right of the triggering element.
  • FIG. 5(a) to FIG. 5(d) are exemplary diagrams of Embodiment 1 for displaying an input box within a specified range of a trigger element according to an embodiment of the present invention, as shown in FIG. 5(a).
  • the user Before the second gesture of the user for the trigger element is detected, only one trigger element can be displayed on the page.
  • the user can first click on the trigger element with a finger, and the transparency of the trigger element becomes low.
  • FIG. 5(c) after the user slides the finger to the left on the trigger element, an input box is displayed on the left side of the trigger element, and the keyword “Wuhan University” input by the user can be received by the input box.
  • FIG. 5(d) it is also possible to obtain and display a plurality of recommended keywords under the input box according to the keyword.
  • FIG. 6( a ) to FIG. 6( c ) are exemplary diagrams of Embodiment 2 of displaying an input box within a specified range of a trigger element according to an embodiment of the present invention, as shown in FIG. 6( a ).
  • the user uses the gesture of swiping left to trigger the client to further display the input box on the left side of the trigger element.
  • Figure 6(b) In the input box, the user inputs the keyword “Xiamen University”, and then the user slides the finger up on the trigger element, and then switches the current search type from the default type to “picture” according to the gesture.
  • the server can search for a picture matching "Xiamen University” according to the keyword "Xiamen University” to display the search result.
  • the trigger element is displayed on the page by using the floating control with the option function, so that the search type can be directly switched by using the gesture in the displayed page, and the search type can be further initiated.
  • the search operation of the present invention avoids the operation process of the search type switching, reduces the operation cost, and improves the search. effectiveness.
  • the trigger element is implemented by using a floating control having a selection function, if the trigger element is moved to an upper layer of a picture displayed in a page, according to the The image is searched to obtain search results that match the image.
  • the trigger element when the trigger element is implemented by using a floating control having a selection function, the trigger element may move in a page according to a drag of a mouse, if the trigger element is moved to be displayed in a page
  • the client sends the picture to the server, so that the server extracts the feature data of the picture, and performs a search according to the feature data of the picture to obtain a search result that matches the picture
  • the search results that match the picture are returned to the client.
  • the search result that matches the picture may be other pictures, or may be other types of search results, which are not specifically limited in the embodiment of the present invention.
  • FIG. 7(a)-7(c) is a touch provided by an embodiment of the present invention.
  • An example diagram in which the element is moved to the picture to trigger a search as shown in FIG. 7(a), the trigger element is moved to the related picture of "Wuhan University". Then, as shown in FIG. 7(b), the picture can be displayed on the page now, and further, as shown in FIG. 7(c), the search for the picture is triggered to obtain a search result that matches the picture.
  • Embodiments of the present invention further provide an apparatus embodiment for implementing the steps and methods in the foregoing method embodiments.
  • FIG. 8 is a functional block diagram of a search apparatus according to an embodiment of the present invention. As shown, the device includes:
  • a detecting unit 81 configured to detect a first gesture of the user for the trigger element
  • the switching unit 82 is configured to switch the current search type if the first gesture of the user for the trigger element belongs to a preset switching gesture
  • the first processing unit 83 is configured to display the search type after the switching by using the trigger element.
  • the apparatus further includes:
  • a second processing unit 84 configured to display the trigger element on a search homepage, where the trigger element is implemented by using a selection control; and/or to display the trigger element on a search result page, where the trigger element is implemented by using a selection control Or using a hovering control with a selection function; and/or, the page pointed to by the link for display in the search results page displays the trigger element, the trigger element being implemented with a hovering control having a selection function; and/or For displaying the trigger element on a third party page, the trigger element is implemented by using a floating control with a selection function.
  • the detecting unit 81 is further configured to detect a second gesture of the user for the trigger element.
  • the device further includes: a third processing unit 85, configured to: if the user is for the trigger The second gesture of the element belongs to a preset input gesture, and the input box is displayed within a specified range of the trigger element.
  • the apparatus further includes:
  • An obtaining unit 86 configured to acquire a keyword
  • the first searching unit 87 is configured to perform searching according to the keyword and the search type after the switching.
  • the apparatus further includes:
  • the second searching unit 88 is configured to perform a search according to the picture to obtain a search result that matches the picture if the trigger element is moved to an upper layer of a picture displayed in a page.
  • the first gesture of the trigger element is detected by the user; thus, if the first gesture of the user for the trigger element belongs to a preset switching gesture, the current search type is switched; The element shows the type of search after switching.
  • the switching of the search type can be directly switched on the displayed trigger element by using a gesture.
  • the embodiment of the present invention can reduce the operation process of switching the search type, thereby reducing the switching search type.
  • the operating cost increases the efficiency of switching search types and improves search efficiency.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined. Or it can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, and a read only memory. (Read-Only Memory, ROM), Random Access Memory (RAM), disk or optical disk, and other media that can store program code.

Landscapes

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

Abstract

一种搜索方法、装置、设备及非易失性计算机存储介质。一方面,通过检测用户针对触发元素的第一手势(S101);从而,若所述用户针对触发元素的第一手势属于预设的切换手势,对当前搜索类型进行切换(S102);进而,通过所述触发元素显示切换后的搜索类型(S103)。降低了切换搜索类型的操作成本,提高了切换搜索类型的效率。

Description

搜索方法、装置、设备及非易失性计算机存储介质
本申请要求了申请日为2015年09月16日,申请号为201510591132.0发明名称为“一种搜索方法及装置”的中国专利申请的优先权。
技术领域
本发明涉及搜索技术领域,特别涉及一种搜索方法、装置、设备及非易失性计算机存储介质。
背景技术
目前,搜索已经称为用户最常使用的互联网功能,随着互联网技术以及通信技术的不断发展,用户不仅可以通过在浏览器上打开搜索首页进行搜索,还可以使用搜索客户端来进行搜索。
现有技术中,用户在使用搜索功能时,如果当前搜索类型不是用户所需要的搜索类型,用户需要先进行搜索类型的切换,然后浏览器或者客户端跳转到该搜索类型的搜索页面,用户在该搜索类型的搜索页面中输入关键词进而触发搜索操作。因此,现有技术中切换搜索类型的操作比较繁琐,使得操作成本比较高,导致切换搜索类型的效率比较低。
发明内容
有鉴于此,本发明实施例提供了一种搜索方法、装置、设备及非易失性计算机存储介质,降低了切换搜索类型的操作成本,提高了切换搜 索类型的效率。
本发明实施例的一方面,提供一种搜索方法,包括:
检测用户针对触发元素的第一手势;
若所述用户针对触发元素的第一手势属于预设的切换手势,对当前搜索类型进行切换;以及,
通过所述触发元素显示切换后的搜索类型。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述检测用户针对触发元素的第一手势之前,所述方法还包括:
在搜索首页显示所述触发元素,所述触发元素利用选择控件实现;和/或,
在搜索结果页显示所述触发元素,所述触发元素利用选择控件实现或者利用具有选择功能的悬浮控件实现;和/或,
在搜索结果页中显示的链接所指向的页面显示所述触发元素,所述触发元素利用具有选择功能的悬浮控件实现;和/或,
在第三方页面显示所述触发元素,所述触发元素利用具有选择功能的悬浮控件实现。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述方法还包括:
检测用户针对所述触发元素的第二手势;
若所述用户针对所述触发元素的第二手势属于预设的输入手势,在所述触发元素的指定范围内显示输入框。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述方法还包括:
获取关键词;
根据所述关键词和切换后的搜索类型进行搜索。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,若所述触发元素利用具有选择功能的悬浮控件实现,所述方法还包括:
若所述触发元素被移动至所在页面中所显示的图片上层,根据所述图片进行搜索,以获得与所述图片相匹配的搜索结果。
本发明实施例的另一方面,提供一种搜索装置,包括:
检测单元,用于检测用户针对触发元素的第一手势;
切换单元,用于若所述用户针对触发元素的第一手势属于预设的切换手势,对当前搜索类型进行切换;以及,
第一处理单元,用于通过所述触发元素显示切换后的搜索类型。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述装置还包括:
第二处理单元,用于在搜索首页显示所述触发元素,所述触发元素利用选择控件实现;和/或,用于在搜索结果页显示所述触发元素,所述触发元素利用选择控件实现或者利用具有选择功能的悬浮控件实现;和/或,用于在搜索结果页中显示的链接所指向的页面显示所述触发元素,所述触发元素利用具有选择功能的悬浮控件实现;和/或,用于在第三方页面显示所述触发元素,所述触发元素利用具有选择功能的悬浮控件实现。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述检测单元,还用于检测用户针对所述触发元素的第二手势;
所述装置还包括:第三处理单元,用于若所述用户针对所述触发元 素的第二手势属于预设的输入手势,在所述触发元素的指定范围内显示输入框。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述装置还包括:
获取单元,用于获取关键词;
第一搜索单元,用于根据所述关键词和切换后的搜索类型进行搜索。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,若所述触发元素利用具有选择功能的悬浮控件实现,所述装置还包括:
第二搜索单元,用于若所述触发元素被移动至所在页面中所显示的图片上层,根据所述图片进行搜索,以获得与所述图片相匹配的搜索结果。
本发明的另一方面,提供一种设备,包括:
一个或者多个处理器;
存储器;
一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时:
检测用户针对触发元素的第一手势;
若所述用户针对触发元素的第一手势属于预设的切换手势,对当前搜索类型进行切换;以及,
通过所述触发元素显示切换后的搜索类型。
本发明的另一方面,提供一种非易失性计算机存储介质,所述非易失性计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备:
检测用户针对触发元素的第一手势;
若所述用户针对触发元素的第一手势属于预设的切换手势,对当前搜索类型进行切换;以及,
通过所述触发元素显示切换后的搜索类型。
由以上技术方案可以看出,本发明实施例具有以下有益效果:
本发明实施例提供的技术方案中,能够利用手势,在所显示的触发元素上直接切换进行搜索类型的切换。与现有技术中,需要先跳转到搜索类型对应的搜索页面,然后再输入关键词并触发搜索的方式相比,本发明实施例能够减少切换搜索类型的操作过程,从而降低了切换搜索类型的操作成本,提高了切换搜索类型的效率,提高了搜索效率。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。
图1是本发明实施例所提供的搜索方法的流程示意图;
图2(a)~图2(d)是本发明实施例所提供的在搜索首页显示触发元素的示例图;
图3(a)~图3(b)是本发明实施例所提供的在搜索结果页显示触发元素的示例图;
图4是本发明实施例所提供的在搜索结果页中显示的链接所指向的页面显示所述触发元素的示例图;
图5(a)~5(d)是本发明实施例所提供的在触发元素的指定范围内显示输入框的实施例一的示例图;
图6(a)~6(c)是本发明实施例所提供的在触发元素的指定范围内显示输入框的实施例二的示例图;
图7(a)~7(c)是本发明实施例所提供的将触发元素移动到图片上来触发搜索的示例图;
图8是本发明实施例所提供的搜索装置的功能方块图。
具体实施方式
为了更好的理解本发明的技术方案,下面结合附图对本发明实施例进行详细描述。
应当明确,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
应当理解,尽管在本发明实施例中可能采用术语第一、第二等来描 述手势,但这些手势不应限于这些术语。这些术语仅用来将手势彼此区分开。例如,在不脱离本发明实施例范围的情况下,第一手势也可以被称为第二手势,类似地,第二手势也可以被称为第一手势。
取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。
本发明实施例给出一种搜索方法,请参考图1,其为本发明实施例所提供的搜索方法的流程示意图,如图所示,该方法包括以下步骤:
S101,检测用户针对触发元素的第一手势。
S102,若所述用户针对触发元素的第一手势属于预设的切换手势,对当前搜索类型进行切换。
S103,通过所述触发元素显示切换后的搜索类型。
本发明实施例中,为了解决现有技术中切换搜索类型的操作比较繁琐,操作成本比较高的技术问题,在页面上提供基于手势的操作类型切换功能,为了实现这一目的,本发明实施例中,在页面上先显示触发元素,然后用户可以在该页面上针对显示的触发元素输入手势,这样,可以通过检测用户针对的触发元素的手势,实现对当前搜索类型的切换。
本发明实施例中,所述触发元素可以包括但不限于按钮、图标和标识中至少一种。
举例说明,本发明实施例中,在页面上显示触发元素的方法可以包括但不限于以下四种:
第一种:在搜索首页显示所述触发元素,所述触发元素利用选择控件实现。
在一个具体的实现过程中,服务器可以在返回给客户端的搜索首页的数据中,配置该选择控件,这样,客户端可以利用页面模板对搜索首页的数据进行渲染,从而实现搜索首页的展现,以及通过搜索首页显示所述触发元素。
例如,请参考图2(a)~图2(d),其为本发明实施例所提供的在搜索首页显示触发元素的示例图,如图2(a)~图2(d)所示,可以在搜索首页中的输入框右侧显示所述触发元素。
第二种:在搜索结果页显示所述触发元素,所述触发元素利用选择控件实现或者利用具有选择功能的悬浮控件实现。
在一个具体的实现过程中,服务器可以在返回给客户端的搜索结果页的数据中,配置所述选择控件,这样,客户端可以利用页面模板对搜索结果页的数据进行渲染,从而实现搜索结果页的展现,以及通过搜索结果页显示利用选择控件实现的触发元素。
可以理解的是,在搜索结果页的顶部或者底部一般还会显示关键词的输入框,以及用于触发搜索的触发元素,为了方便用户进行搜索类型的切换,该触发元素可以利用所述选择控件实现,从而可以利用手势在搜索结果页的触发元素上触发搜索类型的切换。
例如,请参考图3(a)~图3(b),其为本发明实施例所提供的在搜索结果页显示触发元素的示例图,如图3(a)所示,根据关键词“武汉大学”进行搜索,并展现的搜索结果页的顶部,还可以显示输入框以及在输入框右侧显示利用选择控件实现的触发元素。
或者,在另一个具体的实现过程中,服务器可以在返回给客户端的搜索结果页的数据中,配置具有选择功能的悬浮控件,这样,客户端可以利用页面模板对搜索结果页的数据进行渲染,从而实现搜索结果页的展现,以及通过搜索结果页显示利用具有选择功能的悬浮控件实现的触发元素。
例如,如图3(b)所示,根据关键词“武汉大学”进行搜索,在展现的搜索结果页中,可以利用具有选择功能的悬浮控件实现的触发元素,这样,所述触发元素可以悬浮在搜索结果页上,如图3(b)中右下角显示的悬浮按钮。
第三种:在搜索结果页中显示的链接所指向的页面显示所述触发元素,所述触发元素利用具有选择功能的悬浮控件实现。
在一个具体的实现过程中,如果用户在搜索结果页中点击某链接,客户端需要向服务器请求该链接所指向的页面数据,服务器可以在返回给客户端的该页面数据时,在页面数据中配置具有选择功能的悬浮控件,这样,客户端可以利用页面模板对在搜索结果页中点击某链接所指向的页面数据进行渲染,从而实现在搜索结果页中显示的链接所指向的页面的展现,以及通过该页面显示利用具有选择功能的悬浮控件实现的触发元素。
可以理解的是,在搜索结果页中显示的链接所指向的可以是与搜索首页相同的服务器提供的页面,或者,也可以是第三方网站提供的第三方页面。
例如,请参考图4,其为本发明实施例所提供的在搜索结果页中显示的链接所指向的页面显示所述触发元素的示例图,根据关键词“武汉 大学”进行搜索,然后在展现的搜索结果页中,点击与搜索首页相同的服务器提供的百科页面,如图4所示,在该百科页面利用具有选择功能的悬浮控件显示触发元素,这样,所述触发元素可以悬浮在搜索结果页上,如图4中右下角显示的悬浮按钮。
第四种:在第三方页面显示所述触发元素,所述触发元素利用具有选择功能的悬浮控件实现。
在一个具体的实现过程中,如果用户在搜索结果页中点击某第三方网站的链接,客户端需要向第三方服务器请求该链接所指向的页面数据,第三方服务器可以在返回给客户端该页面数据时,在页面数据中配置具有选择功能的悬浮控件,这样,客户端可以利用页面模板,对在搜索结果页中点击的第三方链接所指向的第三方页面的页面数据进行渲染,从而实现第三方页面的展现,以及通过该第三方页面显示利用具有选择功能的悬浮控件实现的触发元素。
可以理解的是,上述四种实现方法可以同时存在其中至少一种。
本发明实施例中,对于利用选择功能的悬浮控件实现的触发元素,需要具有一定的透明度,以避免遮挡所在页面的页面内容。另外,利用选择功能的悬浮控件实现的触发元素可以根据鼠标拖动在页面上移动。
在一个具体的实现过程中,在显示所述触发元素之后,需要对用户在页面上的操作行为进行监测,以检测到用户针对触发元素的第一手势。
例如,可以为客户端配置Touch事件,这样可以对用户手指的位置进行跟踪,以检测到用户针对触发元素的第一手势。
在一个具体的实现过程中,若检测到用户针对触发元素的第一手势,则判断该第一手势是否属于预设的切换手势。如果判断出该第一手势属 于预设的切换手势,则对当前搜索类型进行切换。反之,如果判断出该第一手势不属于预设的切换手势,则保持当前搜索类型不变,不切换当前搜索类型。
例如,预设的切换手势可以包括向上滑动和向下滑动,如果用户针对触发元素的第一手势是向上滑动,则对当前搜索类型进行切换,将搜索类型切换到上一个搜索类型。如果用户针对触发元素的第一手势是向下滑动,则对当前搜索类型进行切换,将搜索类型切换到下一个搜索类型。
例如,如图2(a)~2(d)所示,用户在图2(a)所示的触发元素上点击不松开,然后手指向下滑动,如图2(b)所示,当前搜索类型发生切换,由“百度一下”切换到“知道”。或者,又例如,用户在图2(c)所示的触发元素上手指向上滑动,如图2(d)所示,当前搜索类型发生切换,由“图片”切换到“知道”。
本发明实施例中,在切换当前搜索类型之后,还可以通过所述触发元素显示切换后的搜索类型。这样,可以将切换后的搜索类型展现给用户,以便于用户获知切换到的搜索类型,以决定是否进一步进行搜索类型的切换。
需要说明的是,现有技术中,用户需要先进行搜索类型的切换,然后浏览器或者客户端跳转到该搜索类型的搜索页面,用户在该搜索类型的搜索页面中输入关键词。本发明实施例中,用户只需要利用手指在触发元素上进行上下滑动就可以实现搜索类型的切换,因此本发明实施例能够减少切换搜索类型的操作,降低操作成本,从而提高切换搜索类型的效率。
此外,现有技术中,一般将输入框和触发搜索的按钮固定显示在搜索结果页的顶部或者底部,如果用户在浏览搜索结果页的过程中,需要发起新的搜索,则需要将搜索结果页滚动到顶部或者底部,才能浏览到输入框和触发搜索的按钮,才能输入新的关键词,并选择搜索类型。因此,现有技术中在搜索结果页中重新发起搜索的操作比较繁琐,操作成本比较高。本发明实施例中,可以在搜索结果页上可以通过具有选择功能的悬浮控件,实现快速发起新的搜索,而不需要将搜索结果页滚动到顶部或者底部,因此,减少了操作成本,提高了搜索效率。
可选地,在本实施例的一个可能的实现方式中,对当前搜索类型进行切换之后,还可以进一步获取关键词,并根据所述关键词和切换后的搜索类型进行搜索。
在一个具体的实现过程中,可以接收用户在输入框中输入的关键词。或者,也可以接收用户输入的语音信号,并对语音信号进行识别,以获得与语音信号相匹配的识别结果,将该识别结果作为关键词。本发明实施例对关键词的获取方式不进行特别限定。
在一个具体的实现过程中,可以根据切换后的搜索类型,获得该搜索类型对应的服务器的接口;然后,根据获得的关键词调用该接口,以使得该接口对应的服务器能够根据所述关键词进行搜索,并获得搜索结果,最后所述服务器将搜索结果返回给客户端进行展现。
可选地,在本实施例的一个可能的实现方式中,检测用户针对所述触发元素的第二手势;若所述用户针对所述触发元素的第二手势属于预设的输入手势,在所述触发元素的指定范围内显示输入框。
本发明实施例中,通过对用户在页面上的操作行为进行监测,可以 在客户端显示触发元素之后,检测到用户针对所述触发元素的第二手势。
在一个具体的实现过程中,若检测到用户针对触发元素的第二手势,则判断该第二手势是否属于预设的输入手势。如果判断出该第二手势属于预设的输入手势,则在所述触发元素的指定范围内显示输入框。反之,如果判断出该第二手势不属于预设的输入手势,则不显示输入框。
进一步的,可以通过显示的所述输入框接收用户输入的关键词或者用户输入的语音信号。
例如,预设的输入手势可以是向左滑动,如果用户针对触发元素的第二手势是向左滑动,则在所述触发元素左侧显示输入框。或者,又例如,预设的输入手势可以是向右滑动,如果用户针对触发元素的第二手势是向右滑动,则在所述触发元素右侧显示输入框。
例如,请参考图5(a)~5(d),其为本发明实施例所提供的在触发元素的指定范围内显示输入框的实施例一的示例图,如图5(a)所示,在检测到用户针对触发元素的第二手势之前,在页面上可以只显示一个触发元素。如图5(b)所示,用户可以先用手指点击该触发元素,该触发元素的透明度变低。然后如图5(c)所示,用户在该触发元素上利用手指向左滑动后,在触发元素的左侧显示一输入框,可以利用该输入框接收用户输入的关键词“武汉大学”。进一步的,如图5(d)所示,还可以根据该关键词,获得并在输入框下方显示若干推荐关键词。
又例如,请参考图6(a)~6(c),其为本发明实施例所提供的在触发元素的指定范围内显示输入框的实施例二的示例图,如图6(a)所示,在搜索结果页中显示的链接所指向的页面上,用户利用向左滑动的手势,触发客户端进一步在触发元素的左侧显示输入框。如图6(b)所 示,用户在输入框中输入关键词“厦门大学”,然后用户在该触发元素上利用手指向上滑动后,根据该手势将当前搜索类型由默认类型切换到“图片”。如图6(c)所示,服务器可以根据关键词“厦门大学”,搜索与“厦门大学”相匹配的图片,进而展现这一搜索结果。
需要说明的是,本发明实施例中,利用具有选项功能的悬浮控件在页面显示触发元素,实现可以在所展现的页面中,利用手势直接进行搜索类型的切换,还可以进一步发起在该搜索类型下的搜索操作,避免了现有技术中从当前页面回到搜索首页后再发起搜索,因此本发明实施例所提供的技术方案减少了搜索类型切换的操作过程,降低了操作成本,提高了搜索效率。
可选地,在本实施例的一个可能的实现方式中,若所述触发元素利用具有选择功能的悬浮控件实现,若所述触发元素被移动至所在页面中所显示的图片上层,根据所述图片进行搜索,以获得与所述图片相匹配的搜索结果。
在一个具体的实现过程中,当所述触发元素是利用具有选择功能的悬浮控件实现时,所述触发元素可以根据鼠标的拖动在页面中移动,如果所述触发元素移动至所在页面中所显示的图片上层时,客户端将该图片发送给服务器,以便于所述服务器提取所述图片的特征数据,并根据所述图片的特征数据进行搜索,以获得与所述图片相匹配的搜索结果,并将与所述图片相匹配的搜索结果返回给所述客户端。这里,与所述图片相匹配的搜索结果可以是其它图片,或者也可以是其他类型的搜索结果,本发明实施例对此不进行特别限定。
例如,请参考图7(a)~7(c),其为本发明实施例所提供的将触 发元素移动到图片上来触发搜索的示例图,如图7(a)所示,所述触发元素被移动至“武汉大学”的相关图片上。然后,如图7(b)所示,可以现在页面上显示该图片,进而,如图7(c)所示,触发对该图片的搜索,以获得与该图片相匹配的搜索结果。
本发明实施例进一步给出实现上述方法实施例中各步骤及方法的装置实施例。
请参考图8,其为本发明实施例所提供的搜索装置的功能方块图。如图所示,该装置包括:
检测单元81,用于检测用户针对触发元素的第一手势;
切换单元82,用于若所述用户针对触发元素的第一手势属于预设的切换手势,对当前搜索类型进行切换;以及,
第一处理单元83,用于通过所述触发元素显示切换后的搜索类型。
可选地,在本实施例的一个可能的实现方式中,所述装置还包括:
第二处理单元84,用于在搜索首页显示所述触发元素,所述触发元素利用选择控件实现;和/或,用于在搜索结果页显示所述触发元素,所述触发元素利用选择控件实现或者利用具有选择功能的悬浮控件实现;和/或,用于在搜索结果页中显示的链接所指向的页面显示所述触发元素,所述触发元素利用具有选择功能的悬浮控件实现;和/或,用于在第三方页面显示所述触发元素,所述触发元素利用具有选择功能的悬浮控件实现。
可选地,在本实施例的一个可能的实现方式中,所述检测单元81,还用于检测用户针对所述触发元素的第二手势;
所述装置还包括:第三处理单元85,用于若所述用户针对所述触发 元素的第二手势属于预设的输入手势,在所述触发元素的指定范围内显示输入框。
可选地,在本实施例的一个可能的实现方式中,所述装置还包括:
获取单元86,用于获取关键词;
第一搜索单元87,用于根据所述关键词和切换后的搜索类型进行搜索。
可选地,在本实施例的一个可能的实现方式中,若所述触发元素利用具有选择功能的悬浮控件实现,所述装置还包括:
第二搜索单元88,用于若所述触发元素被移动至所在页面中所显示的图片上层,根据所述图片进行搜索,以获得与所述图片相匹配的搜索结果。
由于本实施例中的各单元能够执行图1所示的方法,本实施例未详细描述的部分,可参考对图1的相关说明。
本发明实施例的技术方案具有以下有益效果:
本发明实施例中,通过检测用户针对触发元素的第一手势;从而,若所述用户针对触发元素的第一手势属于预设的切换手势,对当前搜索类型进行切换;进而,通过所述触发元素显示切换后的搜索类型。
本发明实施例提供的技术方案中,能够利用手势,在所显示的触发元素上直接切换进行搜索类型的切换。与现有技术中,需要先跳转到搜索类型对应的搜索页面,然后再输入关键词并触发搜索的方式相比,本发明实施例能够减少切换搜索类型的操作过程,从而降低了切换搜索类型的操作成本,提高了切换搜索类型的效率,提高了搜索效率。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上 述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机装置(可以是个人计算机,服务器,或者网络装置等)或处理器(Processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器 (Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。

Claims (12)

  1. 一种搜索方法,其特征在于,所述方法包括:
    检测用户针对触发元素的第一手势;
    若所述用户针对触发元素的第一手势属于预设的切换手势,对当前搜索类型进行切换;以及,
    通过所述触发元素显示切换后的搜索类型。
  2. 根据权利要求1所述的方法,其特征在于,所述检测用户针对触发元素的第一手势之前,所述方法还包括:
    在搜索首页显示所述触发元素,所述触发元素利用选择控件实现;和/或,
    在搜索结果页显示所述触发元素,所述触发元素利用选择控件实现或者利用具有选择功能的悬浮控件实现;和/或,
    在搜索结果页中显示的链接所指向的页面显示所述触发元素,所述触发元素利用具有选择功能的悬浮控件实现;和/或,
    在第三方页面显示所述触发元素,所述触发元素利用具有选择功能的悬浮控件实现。
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:
    检测用户针对所述触发元素的第二手势;
    若所述用户针对所述触发元素的第二手势属于预设的输入手势,在所述触发元素的指定范围内显示输入框。
  4. 根据权利要求1~3任一权利要求所述的方法,其特征在于,所述方法还包括:
    获取关键词;
    根据所述关键词和切换后的搜索类型进行搜索。
  5. 根据权利要求2所述的方法,其特征在于,若所述触发元素利用具有选择功能的悬浮控件实现,所述方法还包括:
    若所述触发元素被移动至所在页面中所显示的图片上层,根据所述图片进行搜索,以获得与所述图片相匹配的搜索结果。
  6. 一种搜索装置,其特征在于,所述装置包括:
    检测单元,用于检测用户针对触发元素的第一手势;
    切换单元,用于若所述用户针对触发元素的第一手势属于预设的切换手势,对当前搜索类型进行切换;以及,
    第一处理单元,用于通过所述触发元素显示切换后的搜索类型。
  7. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    第二处理单元,用于在搜索首页显示所述触发元素,所述触发元素利用选择控件实现;和/或,用于在搜索结果页显示所述触发元素,所述触发元素利用选择控件实现或者利用具有选择功能的悬浮控件实现;和/或,用于在搜索结果页中显示的链接所指向的页面显示所述触发元素,所述触发元素利用具有选择功能的悬浮控件实现;和/或,用于在第三方页面显示所述触发元素,所述触发元素利用具有选择功能的悬浮控件实现。
  8. 根据权利要求6或7所述的装置,其特征在于,
    所述检测单元,还用于检测用户针对所述触发元素的第二手势;
    所述装置还包括:第三处理单元,用于若所述用户针对所述触发元素的第二手势属于预设的输入手势,在所述触发元素的指定范围内显示 输入框。
  9. 根据权利要求6~8任一权利要求所述的装置,其特征在于,所述装置还包括:
    获取单元,用于获取关键词;
    第一搜索单元,用于根据所述关键词和切换后的搜索类型进行搜索。
  10. 根据权利要求7所述的装置,其特征在于,若所述触发元素利用具有选择功能的悬浮控件实现,所述装置还包括:
    第二搜索单元,用于若所述触发元素被移动至所在页面中所显示的图片上层,根据所述图片进行搜索,以获得与所述图片相匹配的搜索结果。
  11. 一种设备,包括:
    一个或者多个处理器;
    存储器;
    一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时:
    检测用户针对触发元素的第一手势;
    若所述用户针对触发元素的第一手势属于预设的切换手势,对当前搜索类型进行切换;以及,
    通过所述触发元素显示切换后的搜索类型。
  12. 一种非易失性计算机存储介质,所述非易失性计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备:
    检测用户针对触发元素的第一手势;
    若所述用户针对触发元素的第一手势属于预设的切换手势,对当前搜索类型进行切换;以及,
    通过所述触发元素显示切换后的搜索类型。
PCT/CN2015/096533 2015-09-16 2015-12-07 搜索方法、装置、设备及非易失性计算机存储介质 WO2017045277A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510591132.0A CN105205137A (zh) 2015-09-16 2015-09-16 一种搜索方法及装置
CN201510591132.0 2015-09-16

Publications (1)

Publication Number Publication Date
WO2017045277A1 true WO2017045277A1 (zh) 2017-03-23

Family

ID=54952820

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/096533 WO2017045277A1 (zh) 2015-09-16 2015-12-07 搜索方法、装置、设备及非易失性计算机存储介质

Country Status (2)

Country Link
CN (1) CN105205137A (zh)
WO (1) WO2017045277A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327196A (zh) * 2021-12-31 2022-04-12 北京字节跳动网络技术有限公司 一种交互方法、装置、计算机设备以及存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808764A (zh) 2016-03-21 2016-07-27 百度在线网络技术(北京)有限公司 推荐内容的展示方法和装置
CN107526736A (zh) * 2016-06-20 2017-12-29 百度在线网络技术(北京)有限公司 搜索方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003308335A (ja) * 2002-04-15 2003-10-31 Just Syst Corp 文書検索システム及び方法、並びにプログラム
CN103365872A (zh) * 2012-03-28 2013-10-23 百度在线网络技术(北京)有限公司 一种在移动终端中实现平面化搜索的方法及系统
CN103455590A (zh) * 2013-08-29 2013-12-18 百度在线网络技术(北京)有限公司 在触屏设备中进行检索的方法和装置
CN103577415A (zh) * 2012-07-20 2014-02-12 百度在线网络技术(北京)有限公司 用于更新移动搜索应用所对应的搜索配置的方法与设备
CN104699700A (zh) * 2013-12-05 2015-06-10 腾讯科技(深圳)有限公司 搜索方法及装置
CN105138246A (zh) * 2015-07-29 2015-12-09 百度在线网络技术(北京)有限公司 一种切换搜索类型的方法和装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103207744B (zh) * 2012-01-16 2016-03-30 联想(北京)有限公司 图标切换方法、系统及具有该系统的设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003308335A (ja) * 2002-04-15 2003-10-31 Just Syst Corp 文書検索システム及び方法、並びにプログラム
CN103365872A (zh) * 2012-03-28 2013-10-23 百度在线网络技术(北京)有限公司 一种在移动终端中实现平面化搜索的方法及系统
CN103577415A (zh) * 2012-07-20 2014-02-12 百度在线网络技术(北京)有限公司 用于更新移动搜索应用所对应的搜索配置的方法与设备
CN103455590A (zh) * 2013-08-29 2013-12-18 百度在线网络技术(北京)有限公司 在触屏设备中进行检索的方法和装置
CN104699700A (zh) * 2013-12-05 2015-06-10 腾讯科技(深圳)有限公司 搜索方法及装置
CN105138246A (zh) * 2015-07-29 2015-12-09 百度在线网络技术(北京)有限公司 一种切换搜索类型的方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327196A (zh) * 2021-12-31 2022-04-12 北京字节跳动网络技术有限公司 一种交互方法、装置、计算机设备以及存储介质
CN114327196B (zh) * 2021-12-31 2023-10-24 抖音视界有限公司 一种交互方法、装置、计算机设备以及存储介质

Also Published As

Publication number Publication date
CN105205137A (zh) 2015-12-30

Similar Documents

Publication Publication Date Title
US20210109924A1 (en) User interface for searching
US10841265B2 (en) Apparatus and method for providing information
US20140285456A1 (en) Screen control method and the apparatus
KR101597844B1 (ko) 터치 스크린 상의 모호한 입력들의 해석
US9104299B2 (en) Method and corresponding apparatus for displaying arc menu index
WO2017032005A1 (zh) 一种操作菜单显示方法及终端
US20130191781A1 (en) Displaying and interacting with touch contextual user interface
US9632693B2 (en) Translation of touch input into local input based on a translation profile for an application
US20140143688A1 (en) Enhanced navigation for touch-surface device
KR20140078629A (ko) 인플레이스 방식으로 값을 편집하는 사용자 인터페이스
US20150309690A1 (en) Method and system for searching information records
US20140372402A1 (en) Enhanced Searching at an Electronic Device
WO2014121626A1 (zh) 一种移动终端快捷方式的显示方法、装置及存储介质
WO2013182141A1 (zh) 一种人机交互方法、装置及其电子设备
JP2019505024A (ja) タッチ感知面−ディスプレイによるジェスチャー制御式インタラクティブ方法及び装置
US20150213148A1 (en) Systems and methods for browsing
WO2017045277A1 (zh) 搜索方法、装置、设备及非易失性计算机存储介质
JP2015094978A (ja) 電子機器および方法
WO2018196668A1 (zh) 一种对选定的对象内容执行搜索操作的方法及终端
CN106970899B (zh) 一种文本处理方法及装置
US20170083201A1 (en) Method and system for navigation and selection in electronic device
WO2017049765A1 (zh) 搜索结果的展现方法、装置、系统、设备及计算机存储介质
US20150268805A1 (en) User interface to open a different ebook responsive to a user gesture
EP3210101B1 (en) Hit-test to determine enablement of direct manipulations in response to user actions
CN110568989A (zh) 业务处理方法、业务处理装置、终端及介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15903964

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15903964

Country of ref document: EP

Kind code of ref document: A1