CN109325184A - Searching method and device - Google Patents

Searching method and device Download PDF

Info

Publication number
CN109325184A
CN109325184A CN201811435061.5A CN201811435061A CN109325184A CN 109325184 A CN109325184 A CN 109325184A CN 201811435061 A CN201811435061 A CN 201811435061A CN 109325184 A CN109325184 A CN 109325184A
Authority
CN
China
Prior art keywords
search
input frame
string
user
input
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.)
Pending
Application number
CN201811435061.5A
Other languages
Chinese (zh)
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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201811435061.5A priority Critical patent/CN109325184A/en
Publication of CN109325184A publication Critical patent/CN109325184A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Landscapes

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

Abstract

A kind of searching method, comprising: show webpage on a web browser, include the first input frame on the webpage;When the operating gesture for detecting user meets preset gesture, the second input frame is shown in the display area of the browser;Obtain the search string of user's input and display;Search instruction is received, described search character string is submitted into the current search engine of the browser and is scanned for, and search result is shown in the page of the display area;When the page scroll of described search result or page turning, second input frame is remained displayed in the display area, so as to scan for operating again by second input frame in rolling or page turning browsing search result.Above-mentioned searching method and device can simplify search operation, improve search efficiency.

Description

Searching method and device
The application be in submission on December 05th, 2013 Patent Office of the People's Republic of China, application No. is 201310655495.7, invention name Referred to as the divisional application of " searching method and device ", entire contents are hereby incorporated by reference in the application.
Technical field
The present invention relates to computer communication technology more particularly to a kind of searching methods and device.
Background technique
With popularizing for the mobile terminals such as smart phone, tablet computer, gone forward side by side by the interested content of browser searches Row browsing is increasingly approved by people as the function of a high practicability of mobile terminal.However in the prior art, it uses Family is during browsing webpage, if wanting to carry out keyword search, it is necessary to be return back to webpage most by continuous page turn over operation The place just shown can just find the search box at the top of browser, re-enter keyword by the search box and scan for, such as This search operation is cumbersome and efficiency is lower.
Summary of the invention
In view of this, the present invention provides a kind of searching method and device, search operation can be simplified, improve search efficiency.
A kind of searching method is applied to mobile terminal, preset browser in the mobile terminal characterized by comprising When the operating gesture for detecting user meets preset gesture, input frame is shown in the display area of the browser;It obtains simultaneously Cache the search string that the user is inputted by the input frame;The search instruction for receiving user's triggering, will be described Search string is submitted to preset search engine and is scanned for, and obtains search result;Described search result is shown in institute It states in the page of display area.
A kind of searcher is applied to mobile terminal, preset browser in the mobile terminal characterized by comprising Input frame display module, for when the operating gesture for detecting user meets preset gesture, in the viewing area of the browser Domain shows input frame;Search string obtains module, passes through the input frame display module for obtaining and caching the user The search string of the input frame input of display;Search module, for receiving the search instruction of user's triggering, by institute The described search character string for stating search string acquisition module acquisition is submitted to preset search engine and is scanned for, and obtains and search Hitch fruit;Search result display module, the described search result for obtaining described search module are shown in the viewing area In the page in domain.
Searching method and device provided in an embodiment of the present invention, by meeting preset hand when the operating gesture for detecting user When gesture, input frame is shown in the display area of browser, so that user only needs a simple gesture that can obtain input frame, so It is scanned for afterwards by input frame, so as to simplify search operation, improves search efficiency.
For above and other objects, features and advantages of the invention can be clearer and more comprehensible, preferred embodiment is cited below particularly, And cooperate institute's accompanying drawings, it is described in detail below.
Detailed description of the invention
Fig. 1 shows a kind of structural block diagram of mobile terminal.
Fig. 2 is the flow chart for the method scanned in mobile terminal that first embodiment of the invention provides.
The signal of input frame in the method scanned in mobile terminal that Fig. 3 provides for first embodiment of the invention Figure.
Fig. 4 is the flow chart for the method scanned in mobile terminal that second embodiment of the invention provides.
Fig. 5 is the flow chart for the method scanned in mobile terminal that third embodiment of the invention provides.
The signal of input frame in the method scanned in mobile terminal that Fig. 6 provides for third embodiment of the invention Figure.
It is replaced in the method scanned in mobile terminal that Fig. 7 provides for third embodiment of the invention by input frame The schematic diagram of search engine.
The signal of search result in the method scanned in mobile terminal that Fig. 8 provides for third embodiment of the invention Figure.
Fig. 9 is the structural schematic diagram for the device scanned in mobile terminal that fourth embodiment of the invention provides.
Figure 10 is the storage environment schematic diagram of the device of Fig. 9.
Figure 11 is the structural schematic diagram for the device scanned in mobile terminal that fifth embodiment of the invention provides.
Figure 12 is the search string in the device scanned in mobile terminal that fifth embodiment of the invention provides Obtain the structural schematic diagram of module.
Specific embodiment
Further to illustrate that the present invention is the technical means and efficacy realizing predetermined goal of the invention and being taken, below in conjunction with Attached drawing and preferred embodiment, to specific embodiment, structure, feature and its effect according to the present invention, detailed description is as follows.
Searching method provided by the embodiment of the present invention can be applied to realize search in mobile terminal, and mobile terminal can wrap Include smart phone, tablet computer, E-book reader, MP3 player (Moving Picture Experts GroupAudio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts GroupAudio Layer IV, dynamic image expert's compression standard audio level 4) player, pocket computer on knee, vehicle Carry computer etc..
Fig. 1 shows a kind of structural block diagram of mobile terminal.As shown in Figure 1, mobile terminal 100 includes memory 102, deposits Store up controller 104, one or more (one is only shown in figure) processors 106, Peripheral Interface 108, radio-frequency module 110, positioning Module 112, photographing module 114, audio-frequency module 116, Touch Screen 118 and key module 120.These components by one or The a plurality of mutually communication of communication bus/signal wire 122.
It is appreciated that structure shown in FIG. 1 is only to illustrate, mobile terminal 100 may also include it is more than shown in Fig. 1 or Less component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can using hardware, software or its Combination is realized.
Memory 102 can be used for storing software program and module, as in the embodiment of the present invention in mobile terminal into Corresponding program instruction/the module of method and device of row search, processor 106 are stored in soft in memory 102 by operation Part program and module are realized and above-mentioned are carried out in mobile terminal thereby executing various function application and data processing The method of search.
Memory 102 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 102 can further comprise The memory remotely located relative to processor 106, these remote memories can pass through network connection to mobile terminal 100. The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.Processor 106 and other possible components the access of memory 102 can be carried out under the control of storage control 104.
Various input/output devices are couple CPU and memory 102 by Peripheral Interface 108.The operation of processor 106 is deposited Various softwares, instruction in reservoir 102 are to execute the various functions of mobile terminal 100 and carry out data processing.
In some embodiments, Peripheral Interface 108, processor 106 and storage control 104 can be in one single chips It realizes.In some other example, they can be realized by independent chip respectively.
Radio-frequency module 110 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus with Communication network or other equipment are communicated.Radio-frequency module 110 may include various existing for executing the electricity of these functions Circuit component, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, Memory etc..Radio-frequency module 110 can be communicated or be led to various networks such as internet, intranet, wireless network Wireless network is crossed to be communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).Various communication standards, agreement and technology can be used in above-mentioned wireless network, and including but not limited to the whole world is mobile logical Letter system (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code division Multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time division multiple access technology (time division multiple access, TDMA), bluetooth, adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for MicrowaveAccess, Wi-Max), other be used for mail, instant messaging And the agreement and any other suitable communications protocol of short message, or even may include that those are not developed currently yet Agreement.
Locating module 112 is used to obtain the current location of mobile terminal 100.The example of locating module 112 includes but unlimited In GPS (GPS), the location technology based on WLAN or mobile radio communication.
Photographing module 114 is for shooting photo or video.The photo or video of shooting can store to memory 102 It is interior, and can be sent by radio-frequency module 110.
Audio-frequency module 116 provides a user audio interface, may include one or more microphones, one or more raises Sound device and voicefrequency circuit.Voicefrequency circuit receives voice data from Peripheral Interface 108, and voice data is converted to power information, Power information is transmitted to loudspeaker.Power information is converted to the sound wave that human ear can be heard by loudspeaker.Voicefrequency circuit is also from microphone Place receive power information, convert electrical signals to voice data, and by data transmission in network telephony into Peripheral Interface 108 to carry out into one The processing of step.Audio data can obtain from memory 102 or through radio-frequency module 110.In addition, audio data can also be with It stores into memory 102 or is sent by radio-frequency module 110.In some instances, audio-frequency module 116 may also include One earphone broadcasts hole, for providing audio interface to earphone or other equipment.
Touch Screen 118 provides an output and input interface simultaneously between mobile terminal 100 and user.Specifically, Touch Screen 118 shows video output to user, and the content of these videos output may include text, figure, video and its any Combination.Some outputs are the result is that correspond to some user interface objects.Touch Screen 118 also receives the input of user, such as with The gesture operations such as click, the sliding at family, so that user interface object responds the input of these users.Detect user's input Technology can be based on resistance-type, condenser type or any other possible touch control detection technology.Touch Screen 118 shows list The specific example of member includes but is not limited to liquid crystal display or light emitting polymer displays.
Key module 120 equally provides user's interface inputted to mobile terminal 100, and user can be by pressing not Same key is so that mobile terminal 100 executes different functions.
First embodiment
Fig. 2 is the flow chart for the method scanned in mobile terminal that first embodiment of the invention provides.Such as Fig. 2 institute Show, the searching method of the present embodiment the following steps are included:
Step S11, it is aobvious in the display area of the browser when the operating gesture for detecting user meets preset gesture Show input frame.
In one specific embodiment of the present embodiment, input frame has the function of address box and search box simultaneously, mobile whole The character that is inputted in input frame of end detection user, if user's input be network address when, the network that is inputted according to user Address accesses corresponding website, if user's input is search string, carries out keyword search according to the search string. Since address box and search box are merged into an input frame, the operating procedure of user's search can be simplified, reduce browser Interface alternation control better meets use so that replacement search key can be improved and replace the speed that search engine is searched again Demand of the family to the convenience of search operation.
Specifically, preset browser in mobile terminal, it is referring to figure 3., mobile in one specific embodiment of the present embodiment When preset browser is opened in terminal, showing the interactive interface of user may include: input frame, display area, Yi Jicao Make region.Wherein, input frame can also include: search engine replacement region and search string input and display area, search Engine replacement region can be used for receiving the instruction of the replacement search engine of user, the search engine that display user selectes, search word Symbol string input can be used for obtaining and showing the search string of user's input with display area.In addition, display area can be used for showing Show search result.May also include multiple preset operation buttons in operating area, by detection user in operating area not Click action on biconditional operation button can obtain the operational order of user's transmission, and according to the operational order, can be performed and the behaviour Make operation corresponding to the operation button that instruction is directed toward, such as: advancing, retreat, returning to start page, new window etc..It can be with Understand ground, for the content of display current web page to greatest extent, when user is when browsing webpage, input frame is in hiding shape automatically State namely input frame are invisible.Mobile terminal when user carries out web page browsing by the preset browser, use by real-time detection The operation that family carries out preset browser, when the operating gesture for detecting user meets preset gesture, namely detects use When family operates the browser by preset gesture, in the display area of the browser (it can be appreciated that mobile whole The screen at end) display input frame.The search that the input frame is used to obtain the search string of user's input and user sends is drawn Hold up replacement instruction.In one specific embodiment of the present embodiment, when mobile terminal detects that user makes fast on touch screen When fast downward sliding gesture, input frame is shown in the top of screen.Make user without browsing page top in this way, i.e., It can carry out replacement search key and replace the operation of search engine, so that the convenience of search operation can be improved.
Step S12 obtains and caches the search string that the user is inputted by the input frame.
Specifically, mobile terminal is available and shows the search string that user is inputted by input frame, while will obtain The search string taken caches in memory, until when the Delete Search character string for detecting that user carries out in the input frame Operation when, then the search string is deleted from memory.In this present embodiment, search string is specific can include: English Text mother, Chinese character, number, symbol etc..
Step S13 receives the search instruction of user's triggering, described search character string is submitted to preset search and is drawn It holds up and scans for, and obtain search result.
Search instruction can be triggered by user in search string input and the click action of display area.Specifically, when Mobile terminal detects search string input and display of the user by finger or object (such as writing pencil) in input frame When the click action of any position in region, the mark of the search string of user's input and the user is sent to search service Search string is submitted to preset search engine by search server and scans for and obtain search result by device.It can be with Understand ground, preset search engine can include: search, Baidu, preferably search, Google, one of search engines such as Yahoo or a variety of.
Step S14 shows described search result in the page of the display area.
Specifically, mobile terminal is according to preset display rule, the search result that will acquire classified, summarized, sorted, Then font editor is shown in the page of the display area of browser.
Searching method provided in an embodiment of the present invention, when the operating gesture for detecting user meets preset gesture, clear Looking at the display area of device shows input frame, so that user only needs a simple gesture that can obtain input frame, then passes through defeated Enter frame to scan for, so as to simplify search operation, improves search efficiency.
Second embodiment
The flow chart for the method scanned in mobile terminal that Fig. 4 second embodiment of the invention provides.Such as Fig. 4 institute Show, the searching method of the present embodiment the following steps are included:
Step S21, when the operating gesture for detecting user meets preset gesture, in the display area of the browser Top always show input frame.
Specifically, preset browser in mobile terminal, mobile terminal real-time detection user carry out preset browser Operation, when detecting that user operates the browser by preset gesture, on the top of the display area of the browser End always show input frame, that is to say, that the input frame is set in the page for peaking at the display area of the browser.Due to input Frame is set in the page for peaking at the display area of browser, and no matter how the page of the visualization area rolls or page turning, input frame It will not all disappear, may make user that can see input frame at any time in this way, and scan for by the input frame, without such as existing Some search techniques are required to return to beginning of the page like that, are then scanned for by the input frame of beginning of the page, so as to by search operation Numerous is letter, improves search efficiency.
Step S22 obtains the character string that the user is inputted by the input frame.
This step specifically please refers to first embodiment corresponding contents, and details are not described herein again.
Step S23 judges whether the character string is network address.
Specifically, can according to the feature of character string to determine whether be network address, such as: if character string be with " Http " or " WWW " beginning, or comprising character "/" or " ", or with the ending such as " .com " domain names, then can determine that the character string is network address.Example again Such as: assuming that character string is all made of Chinese character, then can determine that the character string is not network address.
If so, thening follow the steps S24: directly accessing the corresponding webpage of the network address.
If it is not, thening follow the steps S25: being cached the character string as search string.
In the present embodiment, input whether search string is network address by analyzing and determining user, and according to judging result or Directly access corresponding webpage or scan for so that user only need to an input frame can be completed by network address access webpage, And keyword search, so as to simplify user's cutting between the address box and search box in the browser that the prior art provides Operation is changed, and then improves search efficiency.
Step S26 receives the search instruction of user triggering, by the keyword submit to preset search engine into Row search, and obtain search result.
Step S27 shows described search result in the page of the display area.
Step S26 specifically please refers to the corresponding contents in first embodiment to step S27, and details are not described herein again.
Step S28 receives the cancellation search instruction of user's triggering, hides the input frame.
In one specific embodiment of the present embodiment, cancelling search instruction can click by user to screen mode toggle button Operation triggering, when mobile terminal detects the operation of click screen mode toggle button of user, by the browsing mould of current browser Formula is switched to screen mode toggle, hides input frame, naturally it is also possible to be triggered using other modes, such as click preset cancellation and search Rope button etc., a specific embodiment of the invention is not limited thereto.
Searching method provided in an embodiment of the present invention, when the operating gesture for detecting user meets preset gesture, clear Look at device display area at the top of always show input frame so that no matter user browses to any part of webpage, can pass through The input frame at top scans for, and so as to simplify search operation, improves search efficiency.
3rd embodiment
The flow chart for the method scanned in mobile terminal that Fig. 5 third embodiment of the invention provides.Such as Fig. 5 institute Show, the searching method of the present embodiment the following steps are included:
Step S31, it is aobvious in the display area of the browser when the operating gesture for detecting user meets preset gesture Show input frame.
Specifically, in conjunction with Fig. 6, preset browser in mobile terminal, when user carries out webpage by the preset browser (it is to be appreciated that for the content of display current web page to greatest extent, when user is when browsing webpage, at input frame when browsing In automatic hidden state), the operation that mobile terminal real-time detection user carries out preset browser, when detecting that user passes through When preset gesture operates the browser, input frame as shown in FIG. 6 is shown in the display area of the browser Predeterminated position (such as: the top or bottom of screen).The input frame can include: search engine replaces region and searching character String input and display area.Wherein, search engine replacement region is used to receive the search engine replacement instruction of user's transmission, display The search engine that user selectes;Search string input is used to obtain and show the searching character of user's input with display area String.In one specific embodiment of the present embodiment, preset gesture can pass through finger or other objects (such as writing pencil) for user Be greater than default value speed or the slide downward that is carried out on the screen of the mobile terminal of frequency gesture (it is understood that To page up), it is understood that it is fast for the long range made on the screen of the mobile terminal of single or multiple fingers of user The continuous slide downward of short distance that the movement of fast slide downward or the single or multiple fingers of user are made on the screen is moved Make.It is to be appreciated that can also be sent according to user by preset gesture set interface in the present embodiment other embodiment Setting instruction, be arranged other gestures (such as: the single or multiple fingers of user double-click screen, on the screen from left to right or from The sliding on a dextrad left side or the gesture etc. slided according to the customized track of user) it is preset gesture.
Step S32 obtains and caches the search string that the user is inputted by the input frame.
Specifically, in conjunction with Fig. 6, mobile terminal obtains user in search string by input frame as shown in FIG. 6 in real time The search string with display area input is inputted, the character in the search string that will acquire, which caches and is shown in this one by one, to be searched The input of rope character string and display area.It should be understood that understand the search string and subsequent searches of input convenient for user, Mobile terminal can show the search word of user's input of acquisition in the search string input of input frame and display area always Symbol string, until, in response to the search string delete operation, deleting should when detecting the search string delete operation of user Search string.
Step S33, search include described search character string phrase, according to the described search character string of acquisition with search out The phrase, generate alternative keywords catalogue, the alternative keywords catalogue is showed into the user.
Specifically, in conjunction with Fig. 6, mobile terminal in real time joins the character or search string of user's input of acquisition Think, search includes the phrase of the search string.For example, it is assumed that user have input character " in ", then mobile terminal passes through browsing Device to character " in " carry out association, from keyword indexed database search comprising character " in " phrase keyword, such as: " China ", " Chinese ", " in lead to " etc.;Assuming that then user has input character " state " again, also it is equivalent to user and has input Search string " China ", then mobile terminal carries out association to search string " China ", searches from keyword indexed database Rope includes the phrase keyword of search string " China ", such as: " Chinese ", " old China hand ", " the good sound of China " etc.;With This analogizes.Keyword indexed database can be stored in cloud server, wherein being stored with the search string with user's input The letter such as hot keyword and news corresponding with hot keyword, video, audio that associated other users are often searched for The web page interlinkage of breath.
The phrase that the search string and search that mobile terminal is inputted according to user obtain, generates according to preset rule Alternative keywords catalogue, then as shown in fig. 6, the alternative keywords catalogue of generation is shown the page in the display area of browser In face, wherein in the page that this is right if alternative keywords have the web page interlinkage of the information such as corresponding news, video, audio The web page interlinkage answered is associated with alternative keywords, and can be as shown in fig. 6, the type (video, audio etc.) to web page interlinkage is given With mark.
Associated by above-mentioned search string, hot keyword associated with search string can be provided for user, User is helped faster and more accurately to orient the keyword for needing to search for, so that search efficiency can be improved.
Step S34 judges the selection operation in response to the user to the selection operation of the alternative keywords catalogue Whether the alternative keywords of direction correspond to a web page interlinkage.
Specifically, mobile terminal is detecting the page of the user to the display area for being shown in browser as shown in FIG. 6 In alternative keywords catalogue carry out selection operation when, in response to the selection operation, judge standby pointed by the selection operation Select whether keyword corresponds to a web page interlinkage namely user is to need to open a web page interlinkage, it is desired nonetheless to carry out crucial Word search.
If so, thening follow the steps S35: directly opening the web page interlinkage in the browser.
If the corresponding web page interlinkage of the alternative keywords that the selection operation of user is directed toward, is directly opened in a browser The web page interlinkage, such as: assuming that the selection operation of user was directed toward is " Chinese most forte (video) " in Fig. 6, then browsing It is opened in device and is somebody's turn to do " Chinese most forte (video) " corresponding web page interlinkage, and be that user plays the webpage by video playing plug-in unit In video file.
If it is not, thening follow the steps S36: the alternative keywords being submitted to preset search engine and are scanned for, and are obtained Take search result.
If the alternative keywords that the selection operation of user is directed toward pass through clothes without corresponding web page interlinkage, by alternative keywords Business device is submitted to preset search engine and is carried out, and obtains search result.
Step S37 shows described search result in the page of the display area.
This step specifically refers to the corresponding contents of first embodiment, and details are not described herein again.
Step S38 replaces the operation of search engine in response to the user, the described search character string of caching is submitted to Search engine after replacement scans for again, obtains and shows search result.
Specifically, in conjunction with Fig. 7 and Fig. 8, mobile terminal is detecting user in the search engine replacement area of input frame first When the operation of the replacement search engine in domain, in response to the operation, alternative search engine menu is generated, and by the alternative search engine Menu displaying is to user;Then, in response to user the alternative search engine menu selection operation, more by present search engine It is changed to the search engine of selection operation direction;Then, the mark of the search engine which being directed toward and caching Search string submits to server, and the search string of caching is submitted to the search engine after replacement again by server It scans for, obtain and shows search result.Search result can be as shown in figure 8, wherein the search engine of input frame replaces region Display is the search engine after replacement, and what search string input and display area were shown is always that the user of caching inputs Search string.Through browser in the operation of replacement search engine for detecting user, directly by the searching character of caching The search engine that string submits to after replacement scans for, so that user inputs it after replacing search engine, without carrying out again Search can be completed in the operation of preceding search string, to simplify search operation, and then search efficiency can be improved.
Step S39 receives the cancellation search instruction of user's triggering, hides the input frame.
In one specific embodiment of the present embodiment, cancel search instruction can by the finger of user mobile terminal screen Slip gesture triggering on curtain, such as: the upward sliding that the single or multiple fingers of user are made on the screen of the mobile terminal Gesture (it is generally understood that downward page turning).When mobile terminal detects the finger of user on the screen of the mobile terminal When upward sliding gesture, input frame is hidden.
Searching method provided in an embodiment of the present invention, by when the operating gesture for detecting user meets preset gesture, Show then input frame leads to so that user only needs a simple gesture that can obtain input frame in the display area of browser It crosses input frame and carries out keyword search, so as to simplify search operation, improve search efficiency.Further, since mobile terminal passes through Browser is in the operation of replacement search engine for detecting user, after the search string of caching is directly submitted to replacement Search engine scans for, and may make user after replacing search engine, without the search string before being inputted again Operation, search can be completed, so as to be further simplified search operation, improve the convenience of search efficiency and search.
Fourth embodiment
Fig. 9 is the structural schematic diagram for the device scanned in mobile terminal that fourth embodiment of the invention provides.This The searcher that embodiment provides can be used for the searching method in above-described embodiment.As shown in figure 9, searcher 40 includes: Input frame display module 41, search string obtain module 42, search module 43 and search result display module 44.
Wherein, input frame display module 41 is used for when the operating gesture for detecting user meets preset gesture, described The display area of browser shows input frame.
It is aobvious by the input frame display module 41 for obtaining and caching the user that search string obtains module 42 The search string for the input frame input shown.
Search module 43 is used to receive the search instruction of user's triggering, and described search character string acquisition module 42 is obtained The described search character string taken is submitted to preset search engine and is scanned for, and obtains search result.
The described search result that search result display module 44 is used to obtain described search module 43 is shown described aobvious Show in the page in region.
Above each module can be by software code realization, at this point, above-mentioned each module can be stored in memory 102, As shown in Figure 10.Above each module can equally be realized by hardware such as IC chip.
The present embodiment refers to above-mentioned Fig. 1 to the detailed process of the respective function of each Implement of Function Module of searcher 40 To particular content described in embodiment illustrated in fig. 8, details are not described herein again.
Searcher provided in an embodiment of the present invention, by when the operating gesture for detecting user meets preset gesture, Show then input frame leads to so that user only needs a simple gesture that can obtain input frame in the display area of browser It crosses input frame and carries out keyword search, so as to simplify search operation, improve search efficiency.
5th embodiment
Figure 11 is the structural schematic diagram for the device scanned in mobile terminal that fifth embodiment of the invention provides.This The searcher that embodiment provides can be used to implement the searching method in above-described embodiment.As shown in figure 11, searcher 50 Include: input frame display module 51, search string obtain module 52, search module 53, search result display module 54 and Input frame hidden module 55.
Wherein, input frame display module 51 is used for when the operating gesture for detecting user meets preset gesture, described The display area of browser shows input frame.
It is aobvious by the input frame display module 51 for obtaining and caching the user that search string obtains module 52 The search string for the input frame input shown.As shown in figure 12, it includes: character string that described search character string, which obtains module 52, Acquiring unit 521, judging unit 522, processing unit 523.Character string acquiring unit 521 is for obtaining the user described in The character string of input frame input;Judging unit 522 is used to judge that the character string of the acquisition of character string acquiring unit 521 to be No is network address;If processing unit 523 for the judging unit 522 judging result be it is yes, directly access the network address pair The webpage answered, if the judging result of the judging unit 522 be it is no, using the character string as search string cache.
Search module 53 is used to receive the search instruction of user's triggering, and described search character string acquisition module 52 is obtained The described search character string taken is submitted to preset search engine and is scanned for, and obtains search result.
The described search result that search result display module 54 is used to obtain described search module 53 is shown described aobvious Show in the page in region.
Preferably, when the page scroll or page turning, the input frame is remained displayed in the display area.
Input frame hidden module 55 hides the input frame for receiving the cancellation search instruction of user's triggering.
Preferably, described search module 53 is also used to replace the operation of search engine in response to the user, searches described The search engine that acquisition module 52 acquisition of rope character string and the described search character string cached are submitted to after replacement is searched again Rope, and obtain search result.
Preferably, the preset gesture includes: the user to be greater than the speed of default value or frequency along predetermined direction The slip gesture carried out on the screen of the mobile terminal.
The present embodiment refers to above-mentioned Fig. 1 to the detailed process of the respective function of each Implement of Function Module of searcher 50 To particular content described in embodiment illustrated in fig. 8, details are not described herein again.
Searcher provided in an embodiment of the present invention, by when the operating gesture for detecting user meets preset gesture, Show then input frame leads to so that user only needs a simple gesture that can obtain input frame in the display area of browser It crosses input frame and carries out keyword search, so as to simplify search operation, improve search efficiency.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or device including a series of elements are not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or device Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or device including the element.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The above described is only a preferred embodiment of the present invention, be not intended to limit the present invention in any form, though So the present invention has been disclosed as a preferred embodiment, and however, it is not intended to limit the invention, any technology people for being familiar with this profession Member, without departing from the scope of the present invention, when the technology contents using the disclosure above are modified or are modified It is right according to the technical essence of the invention for the equivalent embodiment of equivalent variations, but without departing from the technical solutions of the present invention Any simple modification, equivalent change and modification made by above embodiments, all of which are still within the scope of the technical scheme of the invention.

Claims (15)

1. a kind of searching method characterized by comprising
Webpage is shown on a web browser, includes the first input frame on the webpage;
When the operating gesture for detecting user meets preset gesture, the second input is shown in the display area of the browser Frame;
Obtain the search string of user's input and display;
Search instruction is received, described search character string is submitted into the current search engine of the browser and is scanned for, and will Search result is shown in the page of the display area;
When the page scroll of described search result or page turning, second input frame is remained displayed in the display area, with Make to scan for operating again by second input frame in rolling or page turning browsing search result.
2. the method according to claim 1, wherein second input frame includes the function of address box and search box Can, first input frame is search box, and user's input is shown in first input frame and second input frame Search string.
3. the method according to claim 1, wherein page search result shown in the display area After step in face, further includes:
It receives and cancels search instruction, hide second input frame.
4. according to the method described in claim 3, it is characterized in that, reception cancellation search instruction, it is defeated to hide described second Entering frame includes:
When detecting the upward sliding gesture on screen, search instruction is cancelled in triggering, hides second input frame.
5. the method according to claim 1, wherein described ought detect that the operating gesture of user meets preset hand When gesture, show that the second input frame includes: in the display area of the browser
When detecting to be greater than the operation for the slide downward that the speed of default value or frequency carry out on the screen, described clear Looking at the display area of device shows second input frame.
6. the method according to claim 1, wherein the page scroll or page turning when described search result When, second input frame, which remains displayed in the display area, includes:
When the page scroll of described search result or page turning, second input frame remains displayed in the top or bottom of screen.
7. the method according to claim 1, wherein second input frame include search engine replacement region with And search string input and display area, described search engine replace the search engine after the display replacement of region, the method Further include:
Always the search string of acquisition is shown in the search string input of second input frame and display area;
It is described by search result show in the page of the display area after, further includes:
It, will the input of described search character string and the search word that shows in display area in response to replacing the operational order of search engine The search engine that symbol string is submitted to after replacement scans for again, and obtains search result again.
8. the method according to the description of claim 7 is characterized in that it is described obtain user input search string and show packet It includes:
The search string inputted by second input frame is obtained and cached, detects that user is defeated described second until working as When entering to carry out the operation of Delete Search character string in frame, then described search character string is deleted.
9. according to the method described in claim 8, it is characterized in that,
The input of described search character string always show the search string of caching with display area;
When detecting the operation of replacement search engine, the search string of caching is directly submitted to the search engine after replacement It scans for.
10. the method according to claim 1, wherein it is described obtain user input search string the step of, Include:
Obtain the character string inputted by first input frame or second input frame;
Judge whether the character string is network address;
If so, directly accessing the corresponding webpage of the network address;
If it is not, being cached the character string as search string.
11. the method according to claim 1, wherein the method also includes:
Search includes the phrase of described search character string, according to the described search character string of acquisition and the phrase that searches out, Alternative keywords catalogue is generated, shows the alternative keywords catalogue;
In response to the selection operation to the alternative keywords catalogue, judge whether is alternative keywords that the selection operation is directed toward A corresponding web page interlinkage;
If so, directly opening the web page interlinkage in the browser;
It is scanned for if it is not, then enter the alternative keywords submitting to search engine, and the step of obtaining search result.
12. a kind of searcher characterized by comprising
Web displaying module includes the first input frame on the webpage for showing webpage on a web browser;
Input frame display module, for when the operating gesture for detecting user meets preset gesture, in the aobvious of the browser Show that region shows the second input frame;
Search string obtains module, for obtaining search string and the display of user's input;
Described search character string is submitted to the current search engine of the browser for receiving search instruction by search module It scans for;
Search result display module, for showing search result in the page of the display area;
Control module is remained displayed in for when the page scroll of described search result or page turning, controlling second input frame In the display area, so as to be searched again in rolling or page turning browsing search result by second input frame Rope operation.
13. device according to claim 12, which is characterized in that second input frame includes address box and search box Function, first input frame are search box, show that user inputs in first input frame and second input frame Search string.
14. a kind of mobile terminal, which is characterized in that including memory and processor, computer journey is stored in the memory Sequence, when the computer program is executed by the processor, so that the processor perform claim requires any one of 1 to 11 power Benefit requires the step of described search method.
15. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, when the computer program is executed by processor, so that the processor perform claim requires any one of 1 to 11 right It is required that the step of described search method.
CN201811435061.5A 2013-12-05 2013-12-05 Searching method and device Pending CN109325184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811435061.5A CN109325184A (en) 2013-12-05 2013-12-05 Searching method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811435061.5A CN109325184A (en) 2013-12-05 2013-12-05 Searching method and device
CN201310655495.7A CN104699700A (en) 2013-12-05 2013-12-05 Searching method and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201310655495.7A Division CN104699700A (en) 2013-12-05 2013-12-05 Searching method and device

Publications (1)

Publication Number Publication Date
CN109325184A true CN109325184A (en) 2019-02-12

Family

ID=53272877

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201310655495.7A Pending CN104699700A (en) 2013-12-05 2013-12-05 Searching method and device
CN201811435061.5A Pending CN109325184A (en) 2013-12-05 2013-12-05 Searching method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201310655495.7A Pending CN104699700A (en) 2013-12-05 2013-12-05 Searching method and device

Country Status (2)

Country Link
CN (2) CN104699700A (en)
WO (1) WO2015081824A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445983A (en) * 2019-09-03 2021-03-05 百度在线网络技术(北京)有限公司 Search result processing method, device and equipment and computer readable storage medium
CN113010763A (en) * 2021-03-18 2021-06-22 北京小米移动软件有限公司 Searching method, searching device, mobile terminal and storage medium

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105205137A (en) * 2015-09-16 2015-12-30 百度在线网络技术(北京)有限公司 Searching method and device
CN105320768A (en) * 2015-10-28 2016-02-10 小米科技有限责任公司 Search method and apparatus
CN106125937B (en) * 2016-06-30 2019-05-31 联想(北京)有限公司 A kind of information processing method and processor
CN106610731B (en) * 2016-12-02 2019-12-24 珠海市魅族科技有限公司 Character string input system and method
CN106775401A (en) * 2016-12-14 2017-05-31 深圳铂睿智恒科技有限公司 The method for fast searching of intelligent terminal, system and intelligent terminal
CN106970848B (en) * 2017-03-29 2022-04-22 联想(北京)有限公司 Input control method and device and electronic equipment
CN110618845A (en) * 2018-06-20 2019-12-27 优视科技有限公司 Application search page interaction method and device, storage medium and terminal
CN110069680A (en) * 2019-04-28 2019-07-30 努比亚技术有限公司 Search processing method, mobile terminal and computer readable storage medium
CN111873801B (en) * 2020-07-31 2021-07-02 科大讯飞股份有限公司 Vehicle information prompting method, device and equipment based on vehicle-mounted input method
CN113849713A (en) * 2021-09-29 2021-12-28 北京字跳网络技术有限公司 Search result display method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178712A (en) * 2006-12-08 2008-05-14 腾讯科技(深圳)有限公司 Method and system for mobile terminal searching network
CN101452453A (en) * 2007-11-29 2009-06-10 北京搜狗科技发展有限公司 Input method web site navigation method and input method system
WO2012159254A1 (en) * 2011-05-23 2012-11-29 Microsoft Corporation Invisible control
CN102880711A (en) * 2012-09-27 2013-01-16 北京奇虎科技有限公司 Processing method and processing device for input data in browser address bar
CN102930058A (en) * 2012-11-21 2013-02-13 北京奇虎科技有限公司 Method and device for realizing search in address field of browser
CN102982174A (en) * 2012-12-17 2013-03-20 北京奇虎科技有限公司 Method and device for performing web search in browser

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10444979B2 (en) * 2011-01-31 2019-10-15 Microsoft Technology Licensing, Llc Gesture-based search
CN103064595A (en) * 2012-12-24 2013-04-24 北京百度网讯科技有限公司 Method and system for searching mobile application, and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178712A (en) * 2006-12-08 2008-05-14 腾讯科技(深圳)有限公司 Method and system for mobile terminal searching network
CN101452453A (en) * 2007-11-29 2009-06-10 北京搜狗科技发展有限公司 Input method web site navigation method and input method system
WO2012159254A1 (en) * 2011-05-23 2012-11-29 Microsoft Corporation Invisible control
CN102880711A (en) * 2012-09-27 2013-01-16 北京奇虎科技有限公司 Processing method and processing device for input data in browser address bar
CN102930058A (en) * 2012-11-21 2013-02-13 北京奇虎科技有限公司 Method and device for realizing search in address field of browser
CN102982174A (en) * 2012-12-17 2013-03-20 北京奇虎科技有限公司 Method and device for performing web search in browser

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445983A (en) * 2019-09-03 2021-03-05 百度在线网络技术(北京)有限公司 Search result processing method, device and equipment and computer readable storage medium
CN112445983B (en) * 2019-09-03 2023-09-26 百度在线网络技术(北京)有限公司 Method, device and equipment for processing search results and computer readable storage medium
CN113010763A (en) * 2021-03-18 2021-06-22 北京小米移动软件有限公司 Searching method, searching device, mobile terminal and storage medium

Also Published As

Publication number Publication date
WO2015081824A1 (en) 2015-06-11
CN104699700A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN109325184A (en) Searching method and device
CN108182016B (en) Mobile terminal and control method thereof
CN106874390B (en) Browser history record viewing method and terminal
CN103914502B (en) The method and its terminal of the intelligent search service of use situation identification
US10775979B2 (en) Buddy list presentation control method and system, and computer storage medium
CN108496150A (en) A kind of method and terminal of screenshot capture and reading
CN107229527B (en) Information resource collection method and device and computer readable storage medium
CN110168566B (en) Method and terminal for recognizing screenshot characters
CN112269853B (en) Retrieval processing method, device and storage medium
US9557903B2 (en) Method for providing user interface on terminal
US10095666B2 (en) Method and terminal for adding quick link
US10956653B2 (en) Method and apparatus for displaying page and a computer storage medium
CN104424278B (en) A kind of method and device obtaining hot spot information
CN112287234B (en) Information retrieval method, device and storage medium
CN108205408B (en) Message display method and device
CN104217172B (en) Privacy content inspection method and device
CN104216929A (en) Method and device for intercepting page elements
CN105975545A (en) Terminal control method and terminal
CN107436948A (en) File search method, device and terminal
CN105095253A (en) Webpage display method and webpage display device
KR20140100315A (en) Mobile terminal and control method thereof
US8260268B2 (en) Method for transmitting and receiving data in mobile terminal and mobile terminal using the same
CN107291772A (en) One kind search access method, device and electronic equipment
CN106126726A (en) The exhibiting method of a kind of file scene and relevant device
US20130282686A1 (en) Methods, systems and computer program product for dynamic content search on mobile internet devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination