CN103294363B - A kind of searching method and terminal - Google Patents

A kind of searching method and terminal Download PDF

Info

Publication number
CN103294363B
CN103294363B CN201310186364.9A CN201310186364A CN103294363B CN 103294363 B CN103294363 B CN 103294363B CN 201310186364 A CN201310186364 A CN 201310186364A CN 103294363 B CN103294363 B CN 103294363B
Authority
CN
China
Prior art keywords
slide
information
search
sliding trace
touch screen
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
CN201310186364.9A
Other languages
Chinese (zh)
Other versions
CN103294363A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310186364.9A priority Critical patent/CN103294363B/en
Publication of CN103294363A publication Critical patent/CN103294363A/en
Application granted granted Critical
Publication of CN103294363B publication Critical patent/CN103294363B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to a kind of searching method and terminal.Described method includes: identification user performs sliding trace during slide to the display content on described touch screen;The first information in the described display content that described sliding trace is corresponding is extracted from the display content of described touch screen;Obtain the search result information with the described first information as search condition;Show described search result information.Only need to identify user's sliding trace when mobile terminal slip gesture, identify the information as search condition and obtain in real time and show Search Results, decreasing operation complexity, decrease time cost, improve search efficiency.

Description

A kind of searching method and terminal
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of searching method and terminal.
Background technology
Along with the development of mobile network, utilizing the application of intelligent terminal's access to mobile network also to get more and more, such as net browses news, reading electronic book etc..
Epoch at information explosion, people are frequently encountered by vague or uncomprehending things in democratic meeting, the most increasing to the demand of search, when using mobile terminal when, it is desirable to can use search engine anywhere or anytime, and then get the information oneself wanted.
In the prior art, utilize mobile terminal to carry out information search, need to input search key by dummy keyboard, owing to being limited by screen size, character input process all can have inconvenience.Or from text browsing changing interface to text selecting state, under text selecting state, select character string to be searched by driving style;Character string is converted into URL(UniversalResourceLocator, URL), send the webserver through browser;The result searched is returned to browser by the webserver, and presents with the form of another one webpage;Original text browsing pages is returned to when user closes the page of display Search Results.
Therefore, prior art needs the premise selecting search key to be to have to switch over text selecting state, and the maloperation added may;Trigger after search behavior can only in single webpage query search result, if user thinks to contrast the content of current text browsing pages and result of page searching simultaneously, then need to toggle between two pages, search efficiency is the highest.
Summary of the invention
The searching method of embodiment of the present invention offer and terminal, can carry out information retrieval by sliding trace, thus improve search efficiency.
First aspect, the embodiment of the present invention provides a kind of searching method, and the method includes: identification user performs sliding trace during slide to the display content on described touch screen;The first information in the described display content that described sliding trace is corresponding is extracted from the display content of described touch screen;Obtain the search result information with the described first information as search condition;Show described search result information.
In conjunction with first aspect, in the first implementation, identify user's track to the slide in the first direction that the display content on described touch screen performs, the track of described slide in the first direction is the track on described first direction from slip starting position to slip end position, determine described in the track of slide in the first direction as sliding trace when performing slide.
In conjunction with first aspect, in the second implementation, identify user's track to the slide in the first direction that the display content on described touch screen performs, the track of described slide in the first direction is the track on described first direction from slip starting position to slip end position, and identify the slide in a second direction that the track of described slide in the first direction is performed by user, the starting position of described slide in a second direction overlaps with the end position of described slide in the first direction, the direction that described second direction is opposite to the first direction, the end position of slide in a second direction described in determining;Determine that the track between user is along the starting position of the slide of described first direction to the end position of the slide of described second direction is sliding trace during slide.
In conjunction with the first or the second implementation, in the third implementation, slip starting position and slip end position according to the described described sliding trace determined judge whether described sliding trace is closed curve;When described sliding trace is non-closed curve, obtaining the content that described sliding trace intersects with described display content is the described first information;When described sliding trace is closed curve, obtaining the display content that described sliding trace comprised is the described first information.
In conjunction with first aspect, the first implementation of first aspect, the second implementation or the third implementation, in the 4th kind of implementation, show the described first information by the first display window.
In conjunction with the 4th kind of implementation, in the 5th kind of implementation, described first display window floats on the upper strata of the display content of described touch screen.
In conjunction with the 4th kind or the 5th kind of implementation, in the 6th kind of implementation, it is highlighted the described first information by the first display window;Or, the translucent or nontransparent described first information of display by described first display window.
In conjunction with the 4th kind, the 5th kind or the 6th kind of implementation, in the 7th kind of implementation, when the current location of described slide is near described first display window, the current location being located away from described slide of described first display window.
In conjunction with first aspect or any of the above-described a kind of implementation of first aspect, in the 8th kind of implementation, with the described first information for search condition from local search, it is thus achieved that corresponding to the search result information of described search condition;Or, send the described first information to search server, receive the search result information with the described first information as search condition that described search server sends.
In conjunction with first aspect or any of the above-described a kind of implementation of first aspect, in the 9th kind of implementation, show described search result information by the second display window.
In conjunction with the 9th kind of implementation, in the tenth kind of implementation, described second display window floats on the upper strata of the display content of described touch screen.
In conjunction with the 8th kind of implementation or the 9th kind of implementation, in the tenth kind of implementation, it is highlighted described search result information by described second display window;Or, the translucent or nontransparent described search result information of display by described second display window.
In conjunction with first aspect or any of the above-described a kind of implementation of first aspect, in the 11st kind of implementation, before sliding trace when the described user of identification performs slide to the display content on described touch screen, described method also includes: obtain the instruction that user is started by the instruction search that described touch screen inputs.
In conjunction with the 11st kind of implementation, in the 12nd kind of implementation, the instruction that described instruction search starts includes that user exceedes default duration threshold value to the duration of the one click operation of optional position on described touch screen.
Second aspect, the embodiment of the present invention provides a kind of terminal, and this terminal includes: recognition unit, extraction unit, acquiring unit and display unit.Recognition unit, for identifying sliding trace when user performs slide to the display content on described touch screen;Extraction unit, for extracting the first information in the corresponding described display content of the described sliding trace of described recognition unit identification from the display content of described touch screen, and is sent to described acquiring unit;Acquiring unit, for receiving the described first information that described extraction unit sends, obtains the search result information with the described first information as search condition, and described search result information is sent to described display unit;Display unit, for receiving the described search result information that described acquiring unit sends, and shows described search result information.
In conjunction with second aspect, under the first implementation, described recognition unit specifically for: identify user's track of slide in the first direction to the display content execution on described touch screen, the track of described slide in the first direction is the track on described first direction from slip starting position to slip end position, determine described in the track of slide in the first direction as sliding trace when performing slide.
In conjunction with second aspect, under the second implementation, described recognition unit specifically for: identify user's track of slide in the first direction to the display content execution on described touch screen, the track of described slide in the first direction is the track on described first direction from slip starting position to slip end position, and identify the slide in a second direction that the track of described slide in the first direction is performed by user, the starting position of described slide in a second direction overlaps with the end position of described slide in the first direction, the direction that described second direction is opposite to the first direction, the end position of slide in a second direction described in determining;Determine that the track between user is along the starting position of the slide of described first direction to the end position of the slide of described second direction is sliding trace during slide.
In conjunction with the first or the second implementation, under the third implementation, described extraction unit specifically for: slip starting position and the slip end position of the described sliding trace determined according to described recognition unit judge whether described sliding trace is closed curve;When described sliding trace is non-closed curve, obtaining the content that described sliding trace intersects with described display content is the described first information;When described sliding trace is closed curve, obtaining the display content that described sliding trace comprised is the described first information.
Set second aspect, or any of the above-described kind of implementation of second aspect, under the 4th kind of implementation, described display unit is additionally operable to: show the described first information by the first display window.
In conjunction with the 4th kind of implementation, under the 5th kind of implementation, described display unit specifically for: be highlighted the described first information by the first display window;Or, the translucent or nontransparent described first information of display by the first display window.
In conjunction with the 4th kind or the 5th kind of implementation, under the 6th kind of implementation, this terminal also includes window mobile unit.Described window mobile unit is used for: when the current location of described slide is near described first display window, the current location being located away from described slide of described first display window.
In conjunction with second aspect or any of the above-described kind of implementation of second aspect, under the 7th kind of implementation, described acquiring unit specifically for: with the described first information for search condition from local search, it is thus achieved that corresponding to the search result information of described search condition;Or, send the described first information to search server, receive the search result information with the described first information as search condition that described search server sends.
In conjunction with second aspect or any of the above-described kind of implementation of second aspect, under the 8th kind of implementation, described display unit specifically for: show described search result information by the second display window.
In conjunction with second aspect or any of the above-described kind of implementation of second aspect, under the 9th kind of implementation, this terminal also includes searching for sign on unit, for obtaining the instruction that user is started by the instruction search that described touch screen inputs, and described instruction is sent to described recognition unit.Described recognition unit specifically for: when receiving described instruction, perform described to identify that user is to the step of sliding trace during display content execution slide on described touch screen.
In conjunction with the 9th kind of implementation, under the tenth kind of implementation, the instruction that described instruction search starts includes that user exceedes default duration threshold value to the duration of the one click operation of optional position on described touch screen.
The third aspect, the embodiment of the present invention also provides for another kind of terminal, and this terminal includes processor and touch screen.Described touch screen is used for: receive the slide that the display content on described touch screen is performed by user.Described processor is used for: identify described user on described touch screen display content perform described slide time sliding trace;The first information in the described display content that described sliding trace is corresponding is extracted from the display content of described touch screen;Obtain the search result information with the described first information as search condition.Described touch screen is additionally operable to: show the described search result information that described processor obtains.
In conjunction with the third aspect, under the first implementation, this terminal also includes memorizer;Described memorizer is used for: storage data;Described processor specifically for: be the data that search condition searches for the storage of described memorizer with the described first information, obtain search result information with the described first information as search condition.
In conjunction with the third aspect, under the second implementation, this terminal also includes network interface.Described processor specifically for: by described network interface to search server send the described first information, receive described search server send the search result information with the described first information as search condition.
Visible, the searching method of embodiment of the present invention offer and terminal, only need to identify user's sliding trace when mobile terminal performs slide to display content, and extract the first information in the described display content that described sliding trace is corresponding, and obtain in real time and show the search result information with the described first information as search condition, decrease the operation complexity of search, decrease time cost, improve search efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, in describing embodiment below, the required accompanying drawing used is briefly described, apparently, accompanying drawing in describing below is only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The schematic flow sheet of the searching method that Fig. 1 provides for the embodiment of the present invention;
One of interface schematic diagram of the searching method that Fig. 2 provides for the embodiment of the present invention;
The two of the interface schematic diagram of the searching method that Fig. 3 provides for the embodiment of the present invention;
Fig. 4 a-Fig. 4 d is respectively the embodiment of the present invention and provides the logical structure schematic diagram of two kinds of terminals;
Fig. 5 a-Fig. 5 c is respectively the logical structure schematic diagram of three kinds of terminals that the embodiment of the present invention provides;
Fig. 6 a-Fig. 6 b is respectively the logical structure schematic diagram of two kinds of terminals that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under not making creative work premise, broadly fall into the scope of protection of the invention.
The searching method of the embodiment of the present invention and terminal, solve to scan for during browse displays content in terminal to process that step is various, the problem of inefficiency, it is provided that a kind of way of search slided based on gesture.When user uses terminal unit to carry out browsing news, online reading, do not know about or during content interested running into, only need to carry out information search by slip gesture, the object information searched is shown at the same page, and do not use dummy keyboard to input search key, not at the switching page i.e. it can be seen that Search Results.
Fig. 1 is the schematic flow sheet of embodiment of the present invention searching method, the method can apply to any electronic equipment with touch screen, and this electronic equipment can be mobile terminal, such as mobile phone, panel computer, notebook computer etc., can also be fixed terminal, such as desktop computer, server etc..As it is shown in figure 1, the method that the present embodiment provides specifically includes:
Step 101, identification user performs sliding trace during slide to the display content on described touch screen;
One of interface schematic diagram of embodiment of the present invention searching method shown in Figure 2, as a example by mobile terminal, when user browses and read the display content of mobile terminal when, slide is performed in user's display content 2 on the touch screen 1 of mobile terminal, show as slip gesture, identify the sliding trace of this slip gesture.
Under a kind of implementation, identify when user performs slide to the display content on described touch screen, the sliding trace from slip starting position to slip end position.
Under this kind of implementation, one, electronic equipment can identify user's track to the slide in the first direction that the display content on described touch screen performs, the track of described slide in the first direction is the track on described first direction from slip starting position to slip end position, determine described in the track of slide in the first direction as sliding trace when performing slide.
They are two years old, electronic equipment can identify user's track to the slide in the first direction that the display content on described touch screen performs, the track of described slide in the first direction is the track on described first direction from slip starting position to slip end position, and identify the slide in a second direction that the track of described slide in the first direction is performed by user, the starting position of described slide in a second direction overlaps with the end position of described slide in the first direction, the direction that described second direction is opposite to the first direction, the end position of slide in a second direction described in determining;Determine that the track between user is along the starting position of the slide of described first direction to the end position of the slide of described second direction is sliding trace during slide.
It should be noted that, described in the embodiment of the present invention in the first direction or the track of slide of second direction can be straight path, it is also possible to being curvilinear path, this is not construed as limiting by the embodiment of the present invention.
Visible, if the user discover that some real content of oneself multiselect, so do not leave touch screen at finger to exceed certain time threshold value (this threshold value can be a concrete value, can also be a span) on the premise of, user can perform the reversible sliding action corresponding with slide (hereinafter referred to as forward slip) before.The forward slide that display content on described touch screen is performed by terminal recognition user, and the reversible sliding action along forward sliding trace, determine that user's track from the starting position of described forward slide to the end position of described reversible sliding action is described sliding trace from slip starting position to slip end position.For example, if display content 2 has passage " starting position of forward slide ", user starts to perform forward slide from " just " word, until "ON" word, now user is actual have selected " opening of forward slide ", and the user discover that two words of multiselect " open ", reverse slide can be performed to " work ", now cancel and choosing " open " two words.If terminating to this slide, the actual content chosen of user is " forward slide ".
Under another kind of implementation, can be that user is wanting the starting position selected and end position to perform respectively once to slide, starting position and the centre position, somewhere of such as a line text perform the most vertically slidable operation respectively, then from starting position to this at this section of text in centre position just belong to the text chosen by user.
It should be noted that, the embodiment of the present invention illustrates as a example by gesture is slided, but user's slip on the touchscreen can also use particular tool under other embodiments, such as, use felt pen to slide on the touchscreen.
Step 102, extracts the first information in the described display content that described sliding trace is corresponding from the display content of described touch screen.
Concrete, slip starting position and slip end position according to the described sliding trace determined in step 101 judge whether described sliding trace is closed curve;When described sliding trace is non-closed curve, obtaining the content that described sliding trace intersects with described display content is the described first information;When described sliding trace is closed curve, obtaining the display content that described sliding trace comprised is the described first information.
In Fig. 2 that the embodiment of the present invention provides, in the display content of mobile terminal, the first information 41 can be shown by the first display window 31.Described first display window 31 can float on the upper strata of the display content of described touch screen.The first information can be highlighted in described first display window 31.For avoiding the first display window 31 to hide original display content 2, first display window 31 can show the described first information 41 by translucent mode, the most in other embodiments, such as word or picture spacing are relatively big, and the first display window 31 can show in the gap of word or picture;Or user without take notice of in addition to the first information other display content time, the first display window 31 can show the described first information 41 by nontransparent mode.
In other embodiments, the first information can not also be shown by extra window, and mode that the most highlighted or employing is different from other display content information is recognized by the user.
Concrete, under a kind of implementation, the first display window 31 can be to terminate to produce afterwards at the slide of user.Described slide terminates to be user's finger or felt pen leaves touch screen and exceedes regular hour threshold value.Under another kind of implementation, mobile terminal currently browse window show browsed display content time, the first display window 31 of display one floating simultaneously, in the first display window, show the first information 41 of acquisition when user performs slip scan.
The position of slip gesture can be made in the display position of the first display window 31 near user, it is also possible to is arranged on the right edge of the ad-hoc location of touch screen, such as touch screen.Illustrate, user has performed slide along the word " patent application " on touch screen, so word " patent application " side (left, have, upper and lower can) display window occurs, be highlighted " patent application ", prompting user " patent application " is the most selected;This display window can also be preset in screen right edge, does not perform the when that slip scan operating and occurs without, and when user slides and chooses " patent application ", this display window ejects and be highlighted " patent application " printed words from touch screen right edge.
Display position and the transparency of the first display window can be controlled in embodiments of the present invention in real time, display position is to ensure that and is not hindered the bearing of trend of user's sliding trace at user's first display window during tidied up generation sliding trace by slip, and transparency is to ensure that being positioned at the display content below the first display window will not block completely.
Optionally, the first display window is translucent the display first information in the case of not obtaining focus, it is therefore an objective to during user's browse displays content, it is ensured that the display content below the first display window is not blocked (as shown in Figure 2) completely by the first display window.When by click or other gestures trigger make first display window obtain focus time, this first display window is that nontransparent mode shows the first information (as shown in Figure 3).
First display window support can drag, can change window size, can also shrink and launch, when the current location of described slide is near described first display window, and the current location being located away from described slide of described first display window.
Concrete, when the sliding position (i.e. the current location of sliding trace) of user's slide is near any edge of the first display window, first display window can move to the direction away from current finger position (or touching nib position) in the way of linear motion, to avoid the end of this slide, thus do not affect user and continue to read display content.
User extracts, by the sliding trace that slip gesture produces, the first information obtained at mobile terminal and shows at the first display window, and user can also slide along the opposite direction of sliding trace, thus cancels the some or all of first information extracted.Concrete, identify user's reverse slide along described sliding trace, when the trailing end of described reverse slide is back to the initial position of described sliding trace, cancels and show the described first information.When the trailing end of described reverse slide does not also return the initial position of described sliding trace, cancel the part first information that the sliding trace of described reverse slide is corresponding.This corresponding relation is referred to described in (forward) sliding trace described in previous embodiment.
Step 103, obtains the search result information with the described first information as search condition;
The method obtaining search result information can be local search or be scanned for by search server.
Under a kind of implementation, terminal with the described first information for search condition from local search, it is thus achieved that corresponding to the search result information of described search condition.Now in the data base of terminal local, storage has the search information for the first information is search condition, when user slide gesture complete time, namely user's finger is when leaving touch screen, the first information now obtained according to sliding trace identification is exactly user's desired search information, so can search the search result information with the described first information as search condition in this locality.
Under another kind of implementation, terminal sends the described first information to search server, receives the search result information with the described first information as search condition that described search server sends.When user slide gesture complete time, namely user's finger is when leaving touch screen, the first information now obtained according to sliding trace identification is exactly user's desired search information, mobile terminal is just sent to search server as search information using this first information, so that server learns the searching request of mobile terminal, scan for obtaining search result information according to the first information, and be sent to mobile terminal.
Step 104, shows search result information.
The two of the interface schematic diagram of embodiment of the present invention searching method shown in Figure 3, show search result information 42 by the second display window 32 on mobile terminals, and the second display window 32 can translucent or nontransparent display search result information 42.Automatically moving the focus to the second display window so that this second display window is that nontransparent mode shows search result information, during until search for information next time, the focus of the second display window can be automatically removed again, thus the display that is translucent.
Described second display window 32 can float on the upper strata of the display content of described touch screen.Can in display content 2 Anywhere as particular location, this is not construed as limiting by the embodiment of the present invention.
It should be noted that, it is possible to use a display window realizes the first display window and the second display window, and now the first information and search result information will show at same display window.
It addition, the searching method that the embodiment of the present invention provides can obtain the instruction that user is started by the instruction search that described touch screen inputs before scanning for.Showing the search condition that the follow-up entrance embodiment of the present invention is provided after getting this instruction, the searching method that the embodiment of the present invention can be utilized to provide under this search condition scans for choosing and automatically searching for of condition.Wherein, the instruction that described instruction search starts can be that user exceedes default duration threshold value to the duration of the one click operation of optional position on described touch screen.Can certainly arrange a search start button on described touch screen, user can send search sign on to terminal by clicking on.
To sum up, the searching method that the embodiment of the present invention provides, when user is by mobile terminal browse displays content, only need to use a slide that target information can be chosen as search condition on the touchscreen.Further, this target information can be shown by floating on first display window on present displayed content upper strata simultaneously, and search result information can be shown in real time by floating on present displayed content upper strata the second display window, whole search procedure only needs the slide of user, need not input search key, it is not required that page layout switch, decrease operation complexity, reduce time cost, improve search efficiency.
Fig. 4 a is the schematic diagram of embodiment of the present invention terminal 10.As shown in fig. 4 a, the terminal 10 of the present embodiment includes: recognition unit 11, extraction unit 12, acquiring unit 13 and display unit 14.This terminal also includes that at least one touch screen, display unit 14 are connected with this touch screen.This terminal can be mobile terminal can also be fixed terminal.
Sliding trace when recognition unit 11 performs slide for identifying user to the display content on described touch screen.
The slip of user can be that gesture is slided, it is also possible to utilizes instrument especially to perform slide.
When recognition unit 11 is specifically for identifying that user performs slide to the display content on described touch screen, the sliding trace from slip starting position to slip end position.
The slide of user can be in one direction, it is also possible to along both direction.For both of these case, recognition unit 11 has different realizations:
In the first scenario, recognition unit 11 specifically for: identify user's track of slide in the first direction to the display content execution on described touch screen, the track of described slide in the first direction is the track on described first direction from slip starting position to slip end position, determine described in the track of slide in the first direction as sliding trace when performing slide.
In the latter case, recognition unit 11 specifically for: identify user's track of slide in the first direction to the display content execution on described touch screen, the track of described slide in the first direction is the track on described first direction from slip starting position to slip end position, and identify the slide in a second direction that the track of described slide in the first direction is performed by user, the starting position of described slide in a second direction overlaps with the end position of described slide in the first direction, the direction that described second direction is opposite to the first direction, the end position of slide in a second direction described in determining;Determine that the track between user is along the starting position of the slide of described first direction to the end position of the slide of described second direction is sliding trace during slide.
The extraction unit 12 first information in the corresponding described display content of the described sliding trace extracting described recognition unit identification from the display content of described touch screen, and it is sent to described acquiring unit 13.
Described extraction unit 12 specifically for: slip starting position and the slip end position of the described sliding trace determined according to recognition unit 11 judge whether described sliding trace is closed curve;When described sliding trace is non-closed curve, obtaining the content that described sliding trace intersects with described display content is the described first information;When described sliding trace is closed curve, obtaining the display content that described sliding trace comprised is the described first information.
Acquiring unit 13, for receiving the described first information that described extraction unit sends, obtains the search result information with the described first information as search condition, and described search result information is sent to described display unit 14.
Display unit 14 is used for showing described search result information.Concrete, display unit 14 instructs touch screen and shows described search result information.
Further, as shown in Figure 4 b, display unit 14 is additionally operable to by the first display window display first information.Display unit 14 is specifically for being highlighted the described first information by the first display window;Or, the translucent or nontransparent described first information of display by the first display window.
As illustrated in fig. 4 c, this this terminal can also include window mobile unit 15, for when the current location of the described slide that recognition unit 11 identifies is near described first display window, indicate described display but with that 14 by the current location being located away from described slide of described first display window.
Under a kind of implementation, acquiring unit 13 specifically for the described first information for search condition from local search, it is thus achieved that corresponding to the search result information of described search condition.Under another kind of implementation, acquiring unit 13, specifically for sending the described first information to search server, receives the search result information with the described first information as search condition that described search server sends.
Display unit 14 can be also used in the display content of terminal by the second display window display search result information.Such as, in the display content of described terminal by described second display window the translucent or nontransparent described search result information of display.
As shown in figure 4d, the terminal that the embodiment of the present invention provides can also include searching for sign on unit 16, for obtaining the instruction that user is started by the instruction search that described touch screen inputs, and described instruction is sent to described recognition unit 11.Described recognition unit 11, when receiving described instruction, performs described to identify that user is to the step of sliding trace during display content execution slide on described touch screen.The instruction that described instruction search starts can be user to the duration of the one click operation of optional position on described touch screen exceedes default duration threshold value, or for search for start button by giving an order.
The terminal of the embodiment of the present invention can be mobile terminal or other hand-held or non-handheld terminals etc..
It should be noted that, to those skilled in the art, the Module Division mode of the terminal of the present embodiment introduction is merely illustrative of, and it can make other Module Division form completely according to the method and apparatus that this embodiment provides.Additionally these modules can be completely on a station terminal, it would however also be possible to employ distributed computing exists on many station terminals.
Visible, that the embodiment of the present invention provides terminal, only need to identify user's sliding trace when terminal is slided, identify the first information as search condition, and obtain in real time and show search result information, decrease operation complexity, decrease time cost, improve search efficiency.
The schematic diagram of the terminal 50 that Fig. 5 a provides for another embodiment of the present invention, as it can be seen, the present embodiment includes processor 51 and touch screen 52.
Described touch screen 52 is used for: receive the slide of user;
Described processor 51 is used for: identify described user on described touch screen 52 display content perform slide time sliding trace;The first information in the described display content that described sliding trace is corresponding is extracted from the display content of described touch screen 52;Take the search result information with the described first information as search condition;
Described touch screen 52 is additionally operable to: show described search result information.
Under a kind of implementation, processor 52 can store the data for searching for basis, after processor obtains the described first information, from the described data of oneself storage, obtain search result information using the described first information as search condition search.
Under another kind of implementation, as shown in Figure 5 b, terminal 50 can also include memorizer 53.Described memorizer 53 is used for storing data;Described processor 51, specifically for searching for the data of described memorizer storage with the described first information for search condition, obtains the search result information with the described first information as search condition.
Under another implementation, as shown in Figure 5 c, terminal 50 can also include network interface 54.Described processor 51, specifically for sending the described first information by described network interface to search server, receives the search result information with the described first information as search condition that described search server sends.
Visible, that the embodiment of the present invention provides terminal, only need to identify user's sliding trace when terminal is slided, identify the first information as search condition, and obtain in real time and show search result information, decrease operation complexity, decrease time cost, improve search efficiency.
As shown in Figure 6 a, the structural representation of the another kind of terminal 60 provided for the embodiment of the present invention.This terminal 60 includes processor 61, memorizer 62 and touch screen 63.System bus 64 is used for connecting described processor 61, memorizer 62 and touch screen 63.
In memorizer 62, storage has software program.This software program can be performed by processor 61, thus realizes the various functions of said method of the present invention.
Processor 61 accesses the software program in memorizer 62 and performs given an order: identify user to as described in display content execution slide on touch screen 63 time sliding trace;The first information in the described display content that described sliding trace is corresponding is extracted from the display content of described touch screen 63;Obtain the search result information with the described first information as search condition;Described touch screen 63 is indicated to show described search result information.
Described touch screen 63 is for receiving the slide that the display content on described touch screen is performed by user.If touch screen is simultaneously as display screen, then can show described search result information under the instruction of processor 61.
Concrete, described processor 61 specifically can perform given an order: identify user to as described in display content on touch screen perform slide time, the sliding trace from slip starting position to slip end position.
Under a kind of implementation, identify user's track to the slide in the first direction that the display content on described touch screen performs, the track of described slide in the first direction is the track on described first direction from slip starting position to slip end position, determine described in the track of slide in the first direction as sliding trace when performing slide.
Under another kind of implementation, identify user's track to the slide in the first direction that the display content on described touch screen performs, the track of described slide in the first direction is the track on described first direction from slip starting position to slip end position, and identify the slide in a second direction that the track of described slide in the first direction is performed by user, the starting position of described slide in a second direction overlaps with the end position of described slide in the first direction, the direction that described second direction is opposite to the first direction, the end position of slide in a second direction described in determining;Determine that the track between user is along the starting position of the slide of described first direction to the end position of the slide of described second direction is sliding trace during slide.
For showing the instruction of the first information extracted in content in the described display content that described sliding trace is corresponding from described touch screen, processor 61 can be by concrete execution such as the realization that gives an order: slip starting position as described in sliding trace as described according to and as described in slip end position judge as described in sliding trace whether be closed curve;When described sliding trace is non-closed curve, obtaining the content that described sliding trace intersects with described display content is the described first information;When described sliding trace is closed curve, obtaining the display content that described sliding trace comprised is the described first information.
Such as, when the straight line that described sliding trace is a non-closed, the part overlapped with described straight line in described display content is the described first information;When described sliding trace be one circular time, the display content that circular interior is comprised is the described first information.
Further, after described processor 61 accesses the software program of memorizer 53, perform the instruction of procedure below: on described touch screen 63, show the described first information by the first display window.Can be with Transparence Display, it is also possible to nontransparent display.Described first display window can float on the upper strata of the display content of described touch screen 63.
Under a kind of implementation, memorizer 62, in addition to storage is for the software program that processor 61 accesses, also stores the data accessed for processor 61.Processor 61 for the data search of search condition storage from local memorizer 62 and obtains the search result information corresponding to described search condition with the described first information.
Under another kind of implementation, as shown in Figure 6 b, this terminal 60 can also include network interface 65.Described network interface 65 is used for and search server communication.Described processor 61 sends the described first information by described network interface 65 to described search server, and receives the search result information with the described first information as search condition that described search server sends.
Similar with the first display window, processor 61 can also instruct touch screen 63 and show described search result information by the second display window.Can be with Transparence Display, it is also possible to nontransparent display.Described second display window can float on the upper strata of the display content of described touch screen 63.
Further, the application program of memorizer 53 is additionally operable to perform the instruction of procedure below: user can also slide along the opposite direction of sliding trace, thus cancels the some or all of first information extracted.Concrete, identify user's reverse slide along described sliding trace, when the trailing end of described reverse slide is back to the initial position of described sliding trace, cancels and show the described first information.When the trailing end of described reverse slide does not also return the initial position of the described sliding trace of value, cancel the part first information that the sliding trace of described reverse slide is corresponding.This corresponding relation is referred to described in (forward) sliding trace described in previous embodiment.
Visible, that the embodiment of the present invention provides terminal, only need to identify user's sliding trace when terminal is slided, identify the first information as search condition, and obtain in real time and show search result information, decrease operation complexity, decrease time cost, improve search efficiency.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and between each embodiment, identical similar part sees mutually, and what each embodiment stressed is the difference with other embodiments.For device embodiment, owing to it is substantially similar to embodiment of the method, so describing fairly simple, relevant part sees the part of embodiment of the method and illustrates.Device embodiment described above is only schematically, the wherein said unit illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.Those of ordinary skill in the art, in the case of not paying creative work, are i.e. appreciated that and implement.
Memorizer described in the embodiment of the present invention can be USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD.System bus 64 can be ISA(IndustryStandardArchitecture, industry standard architecture) bus, PCI(PeripheralComponent, external equipment interconnects) bus or EISA(ExtendedIndustryStandardArchitecture, extended industry-standard architecture) bus etc..Described bus can be one or more physical circuit, can be divided into address bus, data/address bus, control bus etc. when being a plurality of physical circuit.In other implementation, the modules in Fig. 6 a and 6b can not also pass through bus communication, but directly has communication connection;Modules can also all be connected with processor.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required common hardware by software to the present invention and realize, can certainly include that special IC, dedicated cpu (CentralProcessUnit, CPU), private memory, special components and parts etc. realize by specialized hardware.Generally, all functions completed by computer program can realize with corresponding hardware easily, and, the particular hardware structure being used for realizing same function can also be diversified, such as analog circuit, digital circuit or special circuit etc..But, the most more in the case of software program realize being more preferably embodiment.Based on such understanding, the part that prior art is contributed by technical scheme the most in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk such as computer, USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc., including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in each embodiment of the present invention.
The present invention program can be described in the general context of computer executable instructions, such as program unit.Usually, program unit includes performing particular task or realizing the routine of particular abstract data type, program, object, assembly, data structure etc..The present invention program can also be put into practice in a distributed computing environment, in these distributed computing environment, the remote processing devices connected by communication network perform task.In a distributed computing environment, during program unit may be located at the local and remote computer-readable storage medium including storage device.
Above-described detailed description of the invention; the purpose of the present invention, technical scheme and beneficial effect are further described; it is it should be understood that; the foregoing is only the detailed description of the invention of the present invention; the protection domain being not intended to limit the present invention; all within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. done, should be included within the scope of the present invention.

Claims (24)

1. a searching method, it is characterised in that described method includes:
Identifying user's track to the slide in the first direction that the display content on touch screen performs, the track of described slide in the first direction is the track on described first direction from slip starting position to slip end position,
And identify the slide in a second direction that the track of described slide in the first direction is performed by user, the starting position of described slide in a second direction overlaps with the end position of described slide in the first direction, the direction that described second direction is opposite to the first direction, determine described in the end position of slide in a second direction;Determine that the track between user is along the starting position of the slide of described first direction to the end position of the slide of described second direction is sliding trace during slide, wherein, the partial traces in the track of the slide of described first direction overlaps with the track of the slide of described second direction;
The first information in the described display content that described sliding trace is corresponding is extracted from the display content of described touch screen;
Obtain the search result information with the described first information as search condition;
Show described search result information.
Searching method the most according to claim 1, it is characterised in that the described first information extracted from the display content of described touch screen in the described display content that described sliding trace is corresponding, including:
Slip starting position and slip end position according to the described sliding trace determined judge whether described sliding trace is closed curve;
When described sliding trace is non-closed curve, obtaining the content that described sliding trace intersects with described display content is the described first information;
When described sliding trace is closed curve, obtaining the display content that described sliding trace comprised is the described first information.
Searching method the most according to claim 1 and 2, it is characterized in that, after the described first information extracted from the display content of described touch screen in the described display content that described sliding trace is corresponding, described method also includes, shows the described first information by the first display window.
Searching method the most according to claim 3, it is characterised in that described first display window floats on the upper strata of the display content of described touch screen.
Searching method the most according to claim 3, it is characterised in that described first display window that passes through shows the described first information, including:
It is highlighted the described first information by the first display window;Or,
Translucent or the nontransparent described first information of display by described first display window.
Searching method the most according to claim 3, it is characterised in that described method also includes:
When the current location of described slide is near described first display window, the current location being located away from described slide of described first display window.
Searching method the most according to claim 1 and 2, it is characterised in that the described acquisition search result information with the described first information as search condition, including:
With the described first information for search condition from local search, it is thus achieved that corresponding to the search result information of described search condition;Or,
Send the described first information to search server, receive the search result information with the described first information as search condition that described search server sends.
Searching method the most according to claim 1 and 2, it is characterised in that the described search result information of described display, including:
Described search result information is shown by the second display window.
Searching method the most according to claim 8, it is characterised in that described second display window floats on the upper strata of the display content of described touch screen.
Searching method the most according to claim 8, it is characterised in that described second display window that passes through shows described search result information, including:
It is highlighted described search result information by described second display window;Or,
Translucent or the nontransparent described search result information of display by described second display window.
11. methods according to claim 1 and 2, it is characterized in that, before sliding trace when identification user performs slide to the display content on described touch screen, described method also includes: obtain the instruction of the instruction search beginning that user is inputted by described touch screen.
12. methods according to claim 11, it is characterised in that the instruction that described instruction search starts includes that user exceedes default duration threshold value to the duration of the one click operation of optional position on described touch screen.
13. 1 kinds of search terminal, it is characterised in that described search terminal includes: recognition unit, extraction unit, acquiring unit and display unit;
Recognition unit, for identifying user's track to the slide in the first direction that the display content on touch screen performs, the track of described slide in the first direction is the track on described first direction from slip starting position to slip end position, and identify the slide in a second direction that the track of described slide in the first direction is performed by user, the starting position of described slide in a second direction overlaps with the end position of described slide in the first direction, the direction that described second direction is opposite to the first direction, the end position of slide in a second direction described in determining;Determine that the track between user is along the starting position of the slide of described first direction to the end position of the slide of described second direction is sliding trace during slide, wherein, the partial traces in the track of the slide of described first direction overlaps with the track of the slide of described second direction;Extraction unit, for extracting the first information in the corresponding described display content of the described sliding trace of described recognition unit identification from the display content of described touch screen, and is sent to described acquiring unit;
Acquiring unit, for receiving the described first information that described extraction unit sends, obtains the search result information with the described first information as search condition, and described search result information is sent to described display unit;
Display unit, for receiving the described search result information that described acquiring unit sends, and shows described search result information.
14. search terminal according to claim 13, it is characterised in that described extraction unit specifically for: slip starting position and the slip end position of the described sliding trace determined according to described recognition unit judge whether described sliding trace is closed curve;When described sliding trace is non-closed curve, obtaining the content that described sliding trace intersects with described display content is the described first information;When described sliding trace is closed curve, obtaining the display content that described sliding trace comprised is the described first information.
15. according to the search terminal described in claim 13 or 14, it is characterised in that described display unit is additionally operable to: show the described first information by the first display window.
16. search terminal according to claim 15, it is characterised in that described display unit specifically for: be highlighted the described first information by the first display window;Or, the translucent or nontransparent described first information of display by the first display window.
17. search terminal according to claim 16, it is characterised in that also include window mobile unit;
Described window mobile unit is used for: when the current location of described slide is near described first display window, the current location being located away from described slide of described first display window.
18. according to the search terminal described in claim 13 or 14, it is characterised in that
Described acquiring unit specifically for: with the described first information for search condition from local search, it is thus achieved that corresponding to the search result information of described search condition;Or, send the described first information to search server, receive the search result information with the described first information as search condition that described search server sends.
19. according to the search terminal described in claim 13 or 14, it is characterised in that described display unit specifically for: show described search result information by the second display window.
20. according to the search terminal described in any one of claim 13 or 14, it is characterised in that also include searching for sign on unit, for obtaining the instruction that user is started by the instruction search that described touch screen inputs, and described instruction is sent to described recognition unit;
Described recognition unit specifically for: when receiving described instruction, perform described to identify that user is to the step of sliding trace during display content execution slide on described touch screen.
21. search terminal according to claim 20, it is characterised in that the instruction that described instruction search starts includes that user exceedes default duration threshold value to the duration of the one click operation of optional position on described touch screen.
22. 1 kinds of search terminal, it is characterised in that described search terminal includes: processor and touch screen;
Described touch screen is used for: receive the slide that the display content on described touch screen is performed by user;
Described processor is used for: identify user's track to the slide in the first direction that the display content on touch screen performs, the track of described slide in the first direction is the track on described first direction from slip starting position to slip end position, and identify the slide in a second direction that the track of described slide in the first direction is performed by user, the starting position of described slide in a second direction overlaps with the end position of described slide in the first direction, the direction that described second direction is opposite to the first direction, the end position of slide in a second direction described in determining;Determine that the track between user is along the starting position of the slide of described first direction to the end position of the slide of described second direction is sliding trace during slide, wherein, the partial traces in the track of the slide of described first direction overlaps with the track of the slide of described second direction;The first information in the described display content that described sliding trace is corresponding is extracted from the display content of described touch screen;Obtain the search result information with the described first information as search condition;
Described touch screen is additionally operable to: show the described search result information that described processor obtains.
23. search terminal according to claim 22, it is characterised in that also include memorizer:
Described memorizer is used for: storage data;
Described processor specifically for: be the data that search condition searches for the storage of described memorizer with the described first information, obtain search result information with the described first information as search condition.
24. search terminal according to claim 22, it is characterised in that also include network interface;
Described processor specifically for: by described network interface to search server send the described first information, receive described search server send the search result information with the described first information as search condition.
CN201310186364.9A 2013-05-20 2013-05-20 A kind of searching method and terminal Active CN103294363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310186364.9A CN103294363B (en) 2013-05-20 2013-05-20 A kind of searching method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310186364.9A CN103294363B (en) 2013-05-20 2013-05-20 A kind of searching method and terminal

Publications (2)

Publication Number Publication Date
CN103294363A CN103294363A (en) 2013-09-11
CN103294363B true CN103294363B (en) 2016-08-03

Family

ID=49095340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310186364.9A Active CN103294363B (en) 2013-05-20 2013-05-20 A kind of searching method and terminal

Country Status (1)

Country Link
CN (1) CN103294363B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648037A (en) * 2013-11-15 2014-03-19 乐视致新电子科技(天津)有限公司 Intelligent television media player and search response method thereof, and intelligent television
CN103645897A (en) * 2013-12-05 2014-03-19 深圳市中兴移动通信有限公司 Mobile terminal and operation method thereof
CN104536641B (en) * 2014-12-03 2019-02-19 惠州Tcl移动通信有限公司 Mobile terminal and its screen operating method
CN104536995B (en) * 2014-12-12 2016-05-11 北京奇虎科技有限公司 The method and system of searching for based on terminal interface touch control operation
CN105786930B (en) * 2014-12-26 2019-11-26 北京奇虎科技有限公司 Based on the searching method and device for touching interaction
CN104516632B (en) * 2014-12-30 2016-11-30 北京奇虎科技有限公司 Determine and touch the method and device that character scans for
CN105843498A (en) * 2015-06-30 2016-08-10 维沃移动通信有限公司 Method for starting application programs and mobile terminal
CN105302902A (en) * 2015-10-27 2016-02-03 无锡天脉聚源传媒科技有限公司 Data search method and apparatus
CN105511783A (en) * 2015-11-30 2016-04-20 东莞酷派软件技术有限公司 Search method and mobile terminal
CN106776899A (en) * 2016-11-30 2017-05-31 维沃移动通信有限公司 A kind of information search method and mobile terminal
CN106814964A (en) * 2016-12-19 2017-06-09 广东小天才科技有限公司 A kind of method and content search device that content search is carried out in mobile terminal
CN106648436A (en) * 2016-12-30 2017-05-10 维沃移动通信有限公司 Text message processing method and mobile terminal
CN107168635A (en) * 2017-05-05 2017-09-15 百度在线网络技术(北京)有限公司 Information demonstrating method and device
CN107515720B (en) * 2017-07-07 2020-07-31 网易传媒科技(北京)有限公司 Message processing method, medium, device and computing equipment
CN107340968B (en) * 2017-07-18 2021-03-09 网易传媒科技(北京)有限公司 Method, device and computer-readable storage medium for playing multimedia file based on gesture
CN108124200A (en) * 2017-12-29 2018-06-05 天脉聚源(北京)科技有限公司 The method and apparatus that operation is corrected in advertisement interaction
CN110309460B (en) * 2019-06-19 2021-08-03 百度在线网络技术(北京)有限公司 Search result page display method, device and equipment and readable storage medium
CN111680177A (en) * 2020-06-01 2020-09-18 广东小天才科技有限公司 Data searching method, electronic device and computer-readable storage medium
CN111897473A (en) * 2020-07-28 2020-11-06 惠州Tcl移动通信有限公司 Information extraction method and device of terminal, storage medium and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156615A (en) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 Suspension window displaying method and device
CN102346759A (en) * 2010-07-23 2012-02-08 索尼公司 Information processing device, information processing method, and information processing program
CN102929925A (en) * 2012-09-20 2013-02-13 百度在线网络技术(北京)有限公司 Search method and device based on browsing content

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5628424B2 (en) * 2010-07-12 2014-11-19 トムソン ライセンシングThomson Licensing System, method, and user interface for content search

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346759A (en) * 2010-07-23 2012-02-08 索尼公司 Information processing device, information processing method, and information processing program
CN102156615A (en) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 Suspension window displaying method and device
CN102929925A (en) * 2012-09-20 2013-02-13 百度在线网络技术(北京)有限公司 Search method and device based on browsing content

Also Published As

Publication number Publication date
CN103294363A (en) 2013-09-11

Similar Documents

Publication Publication Date Title
CN103294363B (en) A kind of searching method and terminal
CN101576783B (en) User interface, equipment and method for hand input
CN106055202B (en) A kind of duplication method of attaching and mobile terminal
CN106201177B (en) A kind of operation execution method and mobile terminal
CN105786930B (en) Based on the searching method and device for touching interaction
CN104679434A (en) Method for switching client pages
CN104536995B (en) The method and system of searching for based on terminal interface touch control operation
CN107832330B (en) Searching method and terminal equipment
CN102609208A (en) Method and system for word capture on screen of touch screen equipment, and touch screen equipment
JP6426417B2 (en) Electronic device, method and program
CN101639760A (en) Input method and input system of contact information
CN104239313A (en) Method for searching for characters displayed in screen and based on mobile terminal and mobile terminal
CN102436477A (en) Device with related content search function and method
CN103218160A (en) Man-machine interaction method and terminal
WO2012130156A1 (en) Handwriting input method and apparatus for touch device, and electronic device
CN108710457B (en) Interaction method and terminal equipment
CN103092343A (en) Control method based on camera and mobile terminal
CN102929846A (en) Method and device for processing long text
CN103116616A (en) Webpage collecting method and communication terminal
CN103324674A (en) Method and device for selecting webpage content
CN103376986A (en) Electronic device and method for inputting and managing user data
CN107291369A (en) Character editing method and device, terminal device and computer-readable recording medium
CN105573578A (en) Page switching method and device for touch screen equipment
CN103235694A (en) Page turning method and device of e-book reader and mobile terminal
JP2015094978A (en) Electronic device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant