CN105068716B - Information search method and device - Google Patents
Information search method and device Download PDFInfo
- Publication number
- CN105068716B CN105068716B CN201510489369.8A CN201510489369A CN105068716B CN 105068716 B CN105068716 B CN 105068716B CN 201510489369 A CN201510489369 A CN 201510489369A CN 105068716 B CN105068716 B CN 105068716B
- Authority
- CN
- China
- Prior art keywords
- search
- box
- instruction
- search box
- keyword
- 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
Links
Abstract
The invention discloses a kind of information search method and device, this method includes:Generated in the page and show search box;When the search box for receiving user's triggering adds instruction, increase new search box in the page;The different search keys that the user inputs in each search box are obtained in real time, are obtained recommended keywords with reference to the different search keys and are shown;When detecting that search instruction is triggered, according to the search key in the respectively search box, obtain search result and show.The present invention can simplify user's operation, reduce search threshold, and improve the accuracy rate of search result compared to the prior art.
Description
Technical field
The invention belongs to information search technique field, more particularly to a kind of information search method and device.
Background technology
With the fast development of mobile communication technology and mobile terminal software and hardware technology, smart mobile phone, tablet computer etc.
Mobile terminal has goed deep into the life of people, into an essential part in for people's lives.People can be by mobile whole
Application store client-side program on end logs in the search of APP (Application, application program) software store, downloads and install
APP interested, to obtain more mobile terminal functions.However, the search box pattern of existing APP software stores is single,
User can only input keyword when searching in a search box and be retrieved, and due to only there was only a search box, can input
Search Limited information, once search for the search result of acquisition often has a larger difference with the actual demand of user, and user may
Satisfied APP, and the key that ought once search for can just be searched by repeatedly retrieval by needing repetition to replace different keywords
When word is more, limited by display screen width, positioning needs the keyword replaced, particularly not shown keyword, usually needs
Wanting user's control cursor to be repeated a number of times the operation that moves left and right in search box could complete, cumbersome.Therefore, it is existing
APP search techniques there are cumbersome and search result accuracy rate it is relatively low the problem of.
The content of the invention
The present invention provides a kind of information search method and device, by allowing user to input different passes in multiple search boxes
Keyword, and possible next keyword is recommended for user according to different keyword input by user, user's operation can be simplified,
Search threshold is reduced, and improves the accuracy rate of search result.
First aspect present invention provides a kind of information search method, including:Generated in the page and show search box;When connecing
When receiving the search box addition instruction of user's triggering, increase new search box in the page;The user is obtained in real time to exist
The different search keys inputted in each search box, obtain recommended keywords with reference to different described search keywords and open up
Show;When detecting that search instruction is triggered, according to the search key in each described search frame, obtain search result and open up
Show.
With reference to first aspect, it is described to receive user's triggering in the first possible implementation of first aspect
Search box addition instruction when, include before increasing new search box in the page:Receive the search box that server is sent
Quantity configuration instructs, and the number parameter included in being instructed according to described search frame quantity configuration configures addible in the page
The threshold limit value of search box quantity;It is then described when the search box for receiving user's triggering adds instruction, increase in the page
Adding new search box includes:When the search box for receiving user's triggering adds instruction, judge to have added in the page
The quantity of search box whether reach the threshold limit value, if not up to described threshold limit value, increase in the page new
Search box.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect
In, it is described when detecting that search instruction is triggered, according to the search key in each described search frame, obtain search result bag
Include:Receive the search box relation determine instruction of user's triggering;If the search box that described search frame relation determine instruction is directed toward
Relation is nest relation, then when detecting that described search instruction is triggered, according to the generation of each search box in the page
The tandem of time, the search term in the search box generated at first scan for, and gradually from previous search knot
This search is carried out in fruit, until all search keys have been searched for, to obtain final search result;If described search frame relation
The search box relation that determine instruction is directed toward is coordination, it is determined that the search that the user inputs in each search box is crucial
Logical relation between word, and when detecting that described search instruction is triggered, the search in each described search frame is crucial
Word and the logical relation obtain search result.
The possible implementation of with reference to first aspect the first, in the third possible implementation of first aspect
In, the logical relation between the search key for determining the user and being inputted in each search box, and work as and detect institute
When stating search instruction and being triggered, search key and the logical relation in each described search frame obtain search result
Including:The search key relation determine instruction of user's triggering is received, according to described search keyword relation determine instruction
Determine the logical relation between the search key that is inputted in each search box, the logical relation include or, with, it is non-;Work as inspection
Described search instruction is measured when being triggered, search key and the logical relation in each described search frame obtain search
As a result.
The possible implementation of with reference to first aspect the first, in the 4th kind of possible implementation of first aspect
In, it is described to include when detecting that search instruction is triggered:When the input for detecting one search key of user's completion
During operation, determine that described search instruction is triggered;Or it is used to trigger the preset of search instruction when detecting that the user clicks on
During button, determine that described search instruction is triggered.
The possible implementation of with reference to first aspect the first, in the 5th kind of possible implementation of first aspect
In, the different described search keyword of the combination obtains recommended keywords and includes after showing:When detecting the user
During the search key input operation that the recommended keywords based on displaying carry out, judge to search with the presence or absence of idle in the page
Rope frame;If there are the idle search box, by described search keyword input the recommended keywords that operation is directed toward input to
In the idle search box;If there is no the idle search box, it is determined that the frame addition instruction of triggering described search, in institute
State and increase new search box in the page, and described search keyword is inputted into the recommended keywords that operation is directed toward and is inputted to newly increasing
Search box in.
The possible implementation of with reference to first aspect the first, in the 6th kind of possible implementation of first aspect
In, the different described search keyword of the combination, which obtains recommended keywords, to be included:Respectively to different described search keywords
Semantic analysis is carried out, obtains the keyword associated with the semanteme of each described search keyword as the first recommended keywords;Root
According to each described search keyword and historical search keyword, the second recommended keywords are obtained;By first recommended keywords
With second recommended keywords, the recommended keywords are used as after being integrated according to presetting rule.
The possible implementation of with reference to first aspect the first, in the 7th kind of possible implementation of first aspect
In, it is described when detecting that search instruction is triggered, according to the search key in each described search frame, obtain search result simultaneously
Displaying further includes:
When detecting that described search instruction is triggered, if described search instruction is search instruction respectively, basis respectively
Search key in each search box obtains search result corresponding with each search box and shows respectively.
Second aspect of the present invention provides a kind of searcher, including:Search box generation module, for being generated simultaneously in the page
Show search box;Search box add module, for when receive user triggering search box add instruction when, in the page
Increase new search box;Keyword acquisition module, different is searched for obtain that the user inputs in each search box in real time
Rope keyword, recommended keywords are obtained with reference to different described search keywords;Display module, for showing that the recommendation is crucial
Word;Detection module, for detecting whether search instruction is triggered;Search module, described in being detected when the detection module
When search instruction is triggered, according to the search key in each described search frame, search result is obtained;The display module, also
For showing described search result.
With reference to second aspect, in the first possible implementation of second aspect, described device further includes:Receive mould
Block, for receiving the search box quantity configuration instruction of server transmission;Configuration module, for according to described search frame quantity configuration
The number parameter included in instruction configures the threshold limit value of addible search box quantity in the page;Described search frame adds
Module, including:Judging submodule, for when the search box for receiving user's triggering adds instruction, judging the page
In the quantity of search box added whether reach the threshold limit value;Submodule is added, if for the judging submodule
Judging result is the not up to threshold limit value, then increases new search box in the page.
With reference to the first possible implementation of second aspect, in second of possible implementation of second aspect
In, described search module includes:Command reception submodule, for receiving the search box relation determine instruction of user's triggering;
First search submodule, if being nest relation for the search box relation that described search frame relation determine instruction is directed toward, works as inspection
Described search instruction is measured when being triggered, according to the tandem of the generated time of each search box in the page, according to most
Search term in the search box first generated scans for, and this search is gradually carried out from previous search result, until
All search keys are searched for, to obtain final search result;Second search submodule, if true for described search frame relation
The search box relation that fixed instruction is directed toward is coordination, it is determined that the search key that the user inputs in each search box
Between logical relation, and when detect described search instruction be triggered when, according to the search key in each described search frame
And the logical relation obtains search result.
With reference to the first possible implementation of second aspect, in the third possible implementation of second aspect
In, described instruction receiving submodule, is additionally operable to receive the search key relation determine instruction that the user triggers;Described search
Module, further includes:Logical relation determining module, for determining each search box according to described search keyword relation determine instruction
Logical relation between the search key of middle input, the logical relation include or, with, it is non-;The second search submodule,
It is additionally operable to when detecting that described search instruction is triggered, search key and the logic in each described search frame close
System obtains search result.
With reference to the first possible implementation of second aspect, in the 4th kind of possible implementation of second aspect
In, the detection module, is additionally operable to, when detecting the input operation of one search key of user's completion, determine described
Search instruction is triggered, and is additionally operable to, when detecting that the user clicks on the preset button for triggering search instruction, determine institute
Search instruction is stated to be triggered.
With reference to the first possible implementation of second aspect, in the 5th kind of possible implementation of second aspect
In, the detection module, is additionally operable to when the search key for detecting recommended keywords progress of the user based on displaying is defeated
When entering to operate, judge in the page with the presence or absence of idle search box;Described device further includes:Input module, if for institute
The testing result for stating detection module is there are the idle search box, then described search keyword is inputted pushing away for operation direction
Keyword is recommended to input into the idle search box;The detection module, if being additionally operable to there is no the idle search box,
Then determine the frame addition instruction of triggering described search, call described search frame add module to increase new search in the page
Frame;The input module, is additionally operable to described search keyword inputting the recommended keywords that operation is directed toward and inputs to newly increasing
In search box.
With reference to the first possible implementation of second aspect, in the 6th kind of possible implementation of second aspect
In, the keyword acquisition module includes:Semantic analysis submodule, for carrying out language to different described search keywords respectively
Justice analysis;Acquisition submodule, recommends for obtaining the keyword associated with the semanteme of each described search keyword as first
Keyword;The acquisition submodule, is additionally operable to according to each described search keyword and historical search keyword, obtains second and pushes away
Recommend keyword;Module is integrated, it is whole according to presetting rule for by first recommended keywords and second recommended keywords
The recommended keywords are used as after conjunction.
With reference to the first possible implementation of second aspect, in the 7th kind of possible implementation of second aspect
In, described search module further includes:3rd search submodule, for when detect described search instruction be triggered when, if described
Search instruction is search instruction respectively, then the search key in each search box is obtained with each search box each respectively
Corresponding search result;The display module, is additionally operable to show that the 3rd search submodule is obtaining with each search respectively
The corresponding search result of frame.
It was found from the embodiments of the present invention, the present invention exists by allowing user to add multiple search boxes, and with reference to user
The different keywords inputted in multiple search boxes recommend possible next keyword for user, and according in each search box
Keyword obtain search result, compared to the prior art, on the one hand, by multiple search boxes by different search keys into
Row separates so that user can easily navigate to the search key for needing to change, and eliminate because defeated in single search box
The puzzlement that can not be accurately positioned for entering multiple search keys and bringing, can improve the convenience of search key input, simplify
User's operation, reduces search threshold;On the other hand, since more search information can be inputted by multiple search boxes, and
More meet the actual demand of user with reference to the recommended keywords that different search keys obtains, therefore may be such that search result more
To be accurate, so as to improve the accuracy rate of search result.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other attached drawings according to these attached drawings.
Fig. 1 shows a kind of structure diagram of mobile terminal;
Fig. 2 is that the information search method that first embodiment of the invention provides realizes flow diagram;
Fig. 3 to Fig. 4 is the schematic diagram for increasing new search box in the information search method that first embodiment of the invention provides;
Fig. 5 is that the information search method that second embodiment of the invention provides realizes flow diagram;
Fig. 6 be second embodiment of the invention provide information search method in step S204 realize details flow illustrate
Figure;
Fig. 7 is a schematic diagram of the page in the information search method that invention second embodiment provides;
Fig. 8 be second embodiment of the invention provide information search method in step S210 realize details flow illustrate
Figure;
Fig. 9 is the another schematic diagram of the page in the information search method that invention second embodiment provides;
Figure 10 is the structure diagram for the information retrieval device that third embodiment of the invention provides;
Figure 11 is the structure diagram for the information retrieval device that fourth embodiment of the invention provides.
Embodiment
Goal of the invention, feature, advantage to enable the present invention is more obvious and understandable, below in conjunction with the present invention
Attached drawing in embodiment, is clearly and completely described the technical solution in the embodiment of the present invention, it is clear that described reality
It is only part of the embodiment of the present invention to apply example, and not all embodiments.Based on the embodiments of the present invention, the common skill in this area
Art personnel all other embodiments obtained without making creative work, belong to the model that the present invention protects
Enclose.
Attached drawing 1 shows a kind of structure diagram of mobile terminal.Information search method provided in an embodiment of the present invention can answer
For in mobile terminal 20 as shown in Figure 1, mobile terminal 20 to can be, but not limited to include:Support the intelligent hand of information search
Machine, notebook, tablet computer, wearing smart machine etc..For ease of describing, the mobile terminal in following embodiments is with intelligent hand
Exemplified by machine.
As shown in Figure 1, mobile terminal 20 includes memory 202, storage control 204, and one or more (is only shown in figure
Go out one) processor 206, Peripheral Interface 208, radio-frequency module 210 and Touch Screen 212.These components pass through one or more
Bar communication bus/signal wire 222 mutually communicates.
It is appreciated that the structure shown in the attached drawing 1 is only to illustrate, it does not cause to limit to the structure of mobile terminal 20.
For example, mobile terminal 20 may also include than shown in the attached drawing 1 more either less components or with shown in the attached drawing 1
Different configurations.Each component shown in the attached drawing 1 can use hardware, software or its combination to realize.
Memory 202 can be used for storage software program and module, such as the information search method in the embodiment of the present invention and
Corresponding programmed instruction/the module of device, processor 206 are stored in software program and module in memory 202 by operation,
So as to perform various functions application and data processing, that is, realize above-mentioned information search method.
Memory 202 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 202 can further comprise
Relative to the remotely located memory of processor 206, these remote memories can pass through network connection to mobile terminal 20.On
The example for stating network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.Processor 206
And access of other possible components to memory 202 can carry out under the control of storage control 204.
Various input/output devices are coupled to processor 206 and memory 202 by Peripheral Interface 208.Processor 206
Various softwares in run memory 202, instruction are to perform the various functions of mobile terminal 20 and carry out data processing.
In some instances, Peripheral Interface 208, processor 206 and storage control 204 can be real in one single chip
It is existing.In some other example, they can be realized by independent chip respectively.
Radio-frequency module 210 is used to receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, so that with
Communication network or other equipment are communicated.Radio-frequency module 210 may include the various existing electricity for being used to perform 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 210 can be communicated or 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).Above-mentioned wireless network can use various communication standards, agreement and technology, 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 Protocol, VoIP), worldwide interoperability for microwave accesses
(Worldwide Interoperability for Microwave Access, Wi-Max), other are used for mail, Instant Messenger
The agreement of news and short message, and any other suitable communications protocol, or even may include that those are not developed currently yet
Agreement.
Touch Screen 212 provides an output and inputting interface at the same time between mobile terminal 20 and user.Specifically, touch
Control screen 212 and show video output to user, the content of these videos output may include word, figure, video and its any group
Close.Some outputs are the result is that correspond to some user interface objects.Touch Screen 212 also receives the input of user, such as user
Click, the gesture operation such as slip, so that input of the user interface object to these users responds.Detect input by user
Technology can be based on resistance-type, condenser type or any other possible touch control detection technology.212 display unit of Touch Screen
Instantiation include but is not limited to liquid crystal display or light emitting polymer displays.
Attached drawing 2 is referred to, the information search method that attached drawing 2 provides for first embodiment of the invention realizes that flow is illustrated
Figure.Information search method provided in this embodiment can be applied in mobile terminal 20 as shown in Figure 1, mainly including following step
Suddenly:
S101, generate in the page and show search box.
It is to be appreciated that the client-side program for supporting information search is preset in smart mobile phone, such as APP stores client journey
Sequence.APP shopping mall websites are accessed by the client-side program, the page data of APP shopping mall websites is obtained, is existed according to the page data
Loaded in the client-side program and show the page for information search, and generated in the page and show search box, this is searched
Rope frame can be used for the APP information in search APP stores.
S102, when receive user triggering search box add instruction when, increase new search box in the page.
Search box addition instruction can click on the addition button triggering in the page, plus sige as shown in Figure 3 ("+") because of user
Button.Specifically, instruction is added by clicking on the search box that the "+" in the page triggers if receiving user, such as the institute of attached drawing 4
Show, according to preset create-rule, a new search box 2 for meeting preset specification is generated in the page and is shown in the page
Preset position, for example, the lower position for the search box 1 being shown in the page.
Further, it is by the pattern definition that can be added multiple search boxes and be scanned for by multiple search boxes of addition
Advanced Search pattern, will only be through the pattern definition that a search box scans for is general search pattern.When receiving use
During the Advanced Search pattern open command of family triggering, Advanced Search pattern is opened in the page, such as preset addition button is added
It is added in the page and (adds "+" number beside search box as shown in Figure 3).When the Advanced Search pattern for receiving user's triggering is closed
When closing instruction, in page close Advanced Search pattern, such as cancel addition button of the addition in the page.
It is to be appreciated that addition button can be not limited to "+" and similar image button, can also be comprising indication character
Other buttons.And search box addition instruction can also be not limited by click addition button triggering or because user performs
Other it is preset operation and trigger, such as press it is self-defined fast secondary or physical bond, have input preset voice.In addition, unlatching/closing is high
Level search pattern can also be not limited by addition/cancellation addition button, can also use the self-defined quick secondary or physical bond of unlock/lock
The mode of Advanced Search pattern can be opened/disabled Deng other.
S103, obtain the different search keys that the user inputs in each search box in real time, with reference to described in different
Search key obtains recommended keywords and shows.
The different search keys that user in real inputs in each search box, to different search keys into
Row semantic analysis, and recommended keywords are determined according to analysis result and historical search keyword.
It is to be appreciated that obtain recommended keywords operation can smart mobile phone locally carry out, also can by server into
OK.Specifically, when being carried out by server, search key input by user is sent to server by smart mobile phone so that
Server combines the different search keys and obtains recommended keywords, and returns to smart mobile phone by result is obtained, so as to intelligence
Energy mobile phone obtains the associational word 1~6 as a result, as shown in Figure 4 by return, is shown in the page.
S104, when detecting that search instruction is triggered, according to the search key in the respectively search box, obtain search knot
Fruit simultaneously shows.
Specifically, search instruction can be triggered by following two modes:
First, when detecting the input operation of user's one search key of completion, determine that search instruction is triggered.Such as
Detect that user pauses at the input operation of search box and exceedes preset time period, or user inputs space, branch in search box, teases
Number wait specific character, or user have selected some and recommend search term, or user clicks in the page other regions beyond search box
When, determine that search instruction is triggered.At this time, can be (including original and what is newly increased searches in each search box according to user in real time
Rope frame) in input search key obtain search result.
Second, when detecting that user clicks on the preset button for triggering search instruction, determine that search instruction is triggered.
For example, when detecting that user clicks on " search " button as shown in Figure 4, determine that search instruction is triggered.At this time, user is obtained
The search key in each search box during the preset button is clicked on, and search result is obtained according to the search key of acquisition.
It is to be appreciated that under the first triggering mode, the operation for sending search instruction is performed without user, can automatic root
Search result is obtained in real time according to search key input by user.And under second of triggering mode, it will not search for automatically, but
After needing user by clicking on preset " search " button transmission search instruction, search knot can be just obtained according to the search instruction
Fruit.It is using the first triggering mode in practical applications or uses second of triggering mode, can be true according to the selection of user
It is fixed.
The search result of acquisition is shown by smart mobile phone according to preset displaying rule, such as can pass through the mould of list
Formula is shown.
Information search method provided in this embodiment, by allowing user to add multiple search boxes, and combines user more
The different keywords inputted in a search box recommend possible next keyword for user, and according in each search box
Keyword obtains search result, compared to the prior art, on the one hand, is carried out different search keys by multiple search boxes
Separate so that user can easily navigate to the search key for needing to change, and eliminate because being inputted in single search box
Multiple search keys and the puzzlement that can not be accurately positioned brought, can improve the convenience of search key input, simplify and use
Family operates, and reduces search threshold;On the other hand, since more search information can be inputted by multiple search boxes, and tie
Close the recommended keywords that different search keys obtains and more meet the actual demand of user, therefore may be such that search result more
Accurately, so as to improve the accuracy rate of search result.
Attached drawing 5 is referred to, the information search method that attached drawing 5 provides for second embodiment of the invention realizes that flow is illustrated
Figure.Information search method provided in this embodiment can be applied in mobile terminal 20 as shown in Figure 1, mainly including following step
Suddenly:
S201, generate in the page and show search box.
It is to be appreciated that the client-side program for supporting information search is preset in smart mobile phone, such as APP stores client journey
Sequence.APP shopping mall websites are accessed by the client-side program, the page data of APP shopping mall websites is obtained, is existed according to the page data
Loaded in the client-side program and show the page for information search, and generated in the page and show search box, this is searched
Rope frame can be used for the APP information in search APP stores.
S202, receive the search box quantity configuration instruction that server is sent, and is wrapped in being instructed according to the search box quantity configuration
The number parameter contained configures the threshold limit value of addible search box quantity in the page.
To make user obtain optimal search experience, the sum of addible search box in the page can be limited by server
Amount, server issue the instruction of search box quantity configuration to smart mobile phone, and the configuration parameter of search box quantity is included in the instruction
(that is, number parameter) so that smart mobile phone, can in the number parameter configuration page in the instruction after the instruction is received
The threshold limit value of the search box quantity of addition.
S203, when the search box for receiving user's triggering adds instruction, the search box that judges to have added in the page
Whether quantity reaches the threshold limit value, if the not up to threshold limit value, increases new search box in the page.
Search box addition instruction can click on the addition button triggering in the page, plus sige as shown in Figure 3 ("+") because of user
Button.Specifically, instruction is added by clicking on the search box that the "+" in the page triggers if receiving user, judged in the page
Whether the quantity of the search box added reaches threshold limit value, if the not up to threshold limit value, as shown in Figure 4, according to pre-
The create-rule put, generation meets the search box of preset specification and is shown in the preset position of the page in the page, for example, showing
Show the lower section of the search box 1 in the page.If it is to be appreciated that the quantity of the search box added in the page reaches maximum
Limit value, then display reminding information, to prompt user can not continue to increase new search box in the page.
Further, it is by the pattern definition that can be added multiple search boxes and be scanned for by multiple search boxes of addition
Advanced Search pattern, will only be through the pattern definition that a search box scans for is general search pattern.When receiving use
During the Advanced Search pattern open command of family triggering, Advanced Search pattern is opened in the page, such as preset addition button is added
It is added in the page and (adds "+" number beside search box as shown in Figure 3).When the Advanced Search pattern for receiving user's triggering is closed
When closing instruction, in page close Advanced Search pattern, such as cancel addition button of the addition in the page.
It is to be appreciated that addition button can be not limited to "+" and similar image button, can also be comprising indication character
Other buttons.And search box addition instruction can also be not limited by click addition button triggering or because user performs
Other it is preset operation and trigger, such as press it is self-defined fast secondary or physical bond, have input preset voice.In addition, unlatching/closing is high
Level search pattern can also be not limited by addition/cancellation addition button, can also use the self-defined quick secondary or physical bond of unlock/lock
The mode of Advanced Search pattern can be opened/disabled Deng other.
S204, obtain the different search keys that are inputted in each search box of the user in real time, is searched with reference to different this
Rope keyword obtains recommended keywords and shows.
Smart mobile phone can the different search keys that are inputted in each search box of user in real, different are searched
Rope keyword carries out semantic analysis, and determines recommended keywords according to analysis result and historical search keyword.
Specifically, as shown in Figure 6, the step of obtaining recommended keywords with reference to the different search keys can specifically wrap
Include following steps:
S2041, carry out semantic analysis to the different search keys respectively, obtains the semanteme with the respectively search key
Associated keyword is as the first recommended keywords.
The semanteme of each search key is analyzed respectively first, is then obtained and each search from semantic association database
The semanteme of keyword is associated keyword as the first recommended keywords.Such as:Assuming that the semanteme of search key 1 is hotel,
The semanteme of search key 2 is such as family, and the semanteme of search key 3 is airport, then obtains and hotel, Ru Jia, three, airport language
The associated key of justice, is such as picked, special train, as the first recommended keywords.
S2042, according to the respectively search key and historical search keyword, obtain the second recommended keywords.
Historical search keyword is that the active user of smart mobile phone or other users were once carrying out information search operation
When used search key.When the operation for obtaining recommended keywords is carried out in mobile phone end, smart mobile phone is built-in with
Historical search keyword database, has recorded local user in the historical search keyword database in a manner of keyword set
Each search key used when all search keys being had used in historical search each time and each search
The input sequence of word, such as:{ English, novel, master }, { game, battle, three states } etc..When the operation for obtaining recommended keywords
When smart mobile phone when being carried out by server end, then historical search keyword database configuration and server end, server end
Periodically collect the historical search keyword that uses when different user is all previous to carry out information search by preset client and respectively go through
The input sequence of history search key, and the data of collection are recorded in historical search keyword database.Alternatively, history is searched
Rope keyword database also can at the same time be configured and searched in server end and mobile phone end, server end according to the history of taken at regular intervals
Rope keyword data updates historical search keyword database, and will update the data be sent to smart mobile phone upon each update.
Specifically, can be obtained by query history search key database comprising the search key in each search box
Keyword set, and using other search keys in keyword set in addition to the search key in each search box as
Second recommended keywords.
S2043, by first recommended keywords and second recommended keywords, after being integrated according to presetting rule conduct this push away
Recommend keyword.
First recommended keywords are ranked up according to preset ordering rule respectively with the second recommended keywords, such as according to
Occurrence number number or the ordering rule such as input sequence be ranked up, then each extract recommended keywords queue after sequence
In preceding preset position keyword and combine as final recommended keywords.
S205, when the search key for detecting that recommended keywords of the user based on displaying carry out inputs operation, sentence
With the presence or absence of idle search box in the disconnected page.
When the search key for detecting that recommended keywords of the user based on displaying carry out inputs operation, such as detect
When user clicks on the operation of some recommended keywords shown in screen, judge to whether there is idle search box in the page, i.e.,
With the presence or absence of the blank search box for not inputting any search key in the page.If there is idle search box, step is performed
S206, if there is no idle search box, performs step S207.
If S206, there are the idle search box, it is defeated which is inputted into the recommended keywords that operation is directed toward
Enter into the idle search box.
S207, if there is no the idle search box, it is determined that triggers search box addition instruction, increases in the page
New search box, and the search key is inputted to the recommended keywords for operating and being directed toward and is inputted into the search box newly increased.
S208, the search box relation determine instruction for receiving the user's triggering.
As shown in fig. 7, user can be in the page between self-defined multiple search boxes relation, specifically may include nest relation
With coordination.It is to be appreciated that if user does not carry out the operation of triggering search box relation determine instruction, advised according to acquiescence
Then, search box relation is determined, such as search box relation is arranged to coordination by acquiescence.
If the search box relation that S209, the search box relation determine instruction are directed toward is nest relation, when detecting that this searches
When Suo Zhiling is triggered, according to the tandem of the generated time of each search box in the page, according to the search generated at first
Search term in frame scans for, and this search is gradually carried out from previous search result, until having searched for all search
Rope keyword, to obtain final search result.
If the search box relation that the search box relation determine instruction of user's triggering is directed toward is nest relation, searched when detecting
When Suo Zhiling is triggered, in a manner of progressive, according to the tandem of the generated time of each search box in the page, according to most
Search term in the search box first generated scans for, and this search is gradually carried out from previous search result, until
All search keys are searched for, to obtain final search result.For example, as shown in fig. 7, having 3 search boxes, root in figure
Search box 1, search box 2 and search box 3 are followed successively by according to the sequencing of generated time, then searching in search box 1 first
Rope keyword 1 is scanned for obtain search result 1, and then the search key 2 in search box 2 is in search result 1
Scan for obtain search result 2, finally the search key 3 in search box 3 scanned in search result 2 with
Search result 3 is obtained as final search result.It is to be appreciated that one or more search can be inputted in each search box
Keyword, when have input multiple search keys in some search box, its searching method in each search box with merely entering one
A search key is substantially the same.
If the search box relation that S210, the search box relation determine instruction are directed toward is coordination, it is determined that the user exists
Logical relation between the search key inputted in each search box, and when detecting that the search instruction is triggered, according to
Respectively the search key in the search box and the logical relation obtain search result.
Specifically, as shown in figure 8, the search key that is inputted in each search box of definite the user in this step it
Between logical relation, and when detecting that the search instruction is triggered, search key in the respectively search box and should
Logical relation obtains search result, can further comprise the steps:
S2101, the search key relation determine instruction for receiving the user's triggering, determine according to the search key relation
Instruction determines the logical relation between the search key that inputs in each search box, the logical relation include or, with, it is non-.
As shown in fig. 7, the logic between the search key that user can input in the page in self-defined each search box
Relation, specifically may include:Or (or) and (and), non-(not).Further, the search key inputted in each search box
Between logical relation can include:Logical relation inside each search box between multiple search keys, and with search
Logical relation of the frame between the search key of unit.Such as:It is assuming that crucial comprising search key 1, search in search box 1
Word 2, includes search key 3 in search box 2, then user can pass through the 1st logic inside search box 1 as shown in Figure 7
Relation setting option sets the logical relation between search key 1 and search key 2 inside search box 1, it is assumed that be " or ",
The search in units of search box is set to close by the 2nd logical relation setting option between each search box as shown in Figure 7
Logical relation between keyword 1 and 2 entirety of search key and search key 3, it is assumed that be " and ", then final search logic
Expression formula can behave as:" (search key 1or search keys 2) and search keys 3 ".
It is to be appreciated that if user does not carry out the operation of triggering search key relation determine instruction, advised according to acquiescence
Then, the logical relation between search key is determined, such as the logical relation between all search keys is respectively provided with by acquiescence
For the relation of and, i.e. search result need to meet the feature that all search keys are directed toward.
S2102, when detecting that search instruction is triggered, search key in the respectively search box and the logic are closed
System obtains search result.
When detecting that search instruction is triggered, between the search key and each search key in each search box
Logical relation, search result is obtained by search engine.Wherein search engine may be disposed at search server, and smart mobile phone will
Logical relation between search key and each search key is sent to search server, to pass through search server acquisition pair
The search result answered.
Further, search instruction can be triggered by following two modes:
First, when detecting the input operation of user's one search key of completion, determine that search instruction is triggered.Such as
Detect that user pauses at the input operation of search box and exceedes preset time period, or user inputs space, branch in search box, teases
Number wait specific character, or user have selected some and recommend search term, or user clicks in the page other regions beyond search box
When, determine that search instruction is triggered.At this time, can be (including original and what is newly increased searches in each search box according to user in real time
Rope frame) in input search key obtain search result.
Second, when detecting that user clicks on the preset button for triggering search instruction, determine that search instruction is triggered.
For example, when detecting that user clicks on " search " button as shown in Figure 4, determine that search instruction is triggered.At this time, user is obtained
The search key in each search box during the preset button is clicked on, and search result is obtained according to the search key of acquisition.
In above two triggering mode, after definite search instruction is triggered, the search obtained in the respectively search box is closed
Keyword, and referred to according to the detailed process of the search key of acquisition acquisition search result in step S208 to step S210
Hold, details are not described herein again.
It is to be appreciated that under the first triggering mode, the operation for sending search instruction is performed without user, can automatic root
Search result is obtained in real time according to search key input by user.And under second of triggering mode, it will not search for automatically, but
After needing user by clicking on preset " search " button transmission search instruction, search knot can be just obtained according to the search instruction
Fruit.
Further, when detecting that the search instruction is triggered, if the search instruction is search instruction respectively, distinguish
Search key in each search box obtains and the corresponding search result of each search box and is illustrated in page respectively
In face.For example, as shown in figure 9, search result 1 is obtained according to the search key 1 in search box 1 respectively, according in search box 2
Search key 2 obtain search result 2, search result 3 is obtained according to the search key 3 in search box 3, and according to preset
Displaying rule, search result 1, search result 2 and search result 3 are shown respectively in the page.Touched according to user
The type of the search instruction of hair determines search or combinatorial search respectively, for example, when detecting that user clicked on shown in Fig. 9
During " respectively search for " button in the page, the search key in each search box obtains multigroup different search knot respectively
Fruit, and multigroup search result of acquisition is illustrated in the diverse location of the page respectively;When detecting that user clicked in the page
During " combinatorial search " button, search result is obtained in the way of shown in step S208 to step S210.
It is to be appreciated that the page shown in Fig. 3, Fig. 4, Fig. 7 and Fig. 9 is only a kind of example, it is above-mentioned to search in practical application
Layout of the page object such as rope frame, search result and all kinds of preset buttons in the page can not limited to this.
Information search method provided in this embodiment, by allowing user to add multiple search boxes, and combines user more
The different keywords inputted in a search box recommend possible next keyword for user, and according in each search box
Keyword obtains search result, compared to the prior art, on the one hand, is carried out different search keys by multiple search boxes
Separate so that user can easily navigate to the search key for needing to change, and eliminate because being inputted in single search box
Multiple search keys and the puzzlement that can not be accurately positioned brought, can improve the convenience of search key input, simplify and use
Family operates;On the other hand, since more search information can be inputted by multiple search boxes, and combine different search and close
The recommended keywords that keyword obtains more meet the actual demand of user, therefore may be such that search result is more accurate, so as to improve
The accuracy rate of search result.
Attached drawing 10 is referred to, attached drawing 10 is the structure diagram for the information retrieval device that third embodiment of the invention provides,
For convenience of description, illustrate only and the relevant part of the embodiment of the present invention.10 exemplary information retrieval device of attached drawing can be
The executive agent for the information search method that previous embodiment provides, it can be a work(in mobile terminal or mobile terminal
Can module.10 exemplary information retrieval device of attached drawing, mainly includes:Search box generation module 301, search box add module 302,
Keyword acquisition module 303, display module 304, detection module 305 and search module 306.Each function module describes in detail such as
Under:
Search box generation module 301, for being generated in the page and showing search box.
It is to be appreciated that the client-side program for supporting information search is preset in smart mobile phone, such as APP stores client journey
Sequence.APP shopping mall websites are accessed by the client-side program, obtain the page data of APP shopping mall websites, search box generation module
301 load in the client-side program according to the page data and show the page for information search, and raw in the page
Into and show search box, which can be used for the APP information in search APP stores.
Search box add module 302, for when the search box for receiving user's triggering adds instruction, increasing in the page
Add new search box.
Search box addition instruction can click on the addition button triggering in the page because of user.Search box add module 302 exists
When receiving the search box addition instruction of user's triggering, increase new search box in the page.
Further, it is by the pattern definition that can be added multiple search boxes and be scanned for by multiple search boxes of addition
Advanced Search pattern, will only be through the pattern definition that a search box scans for is general search pattern.Search box adds
Module 302, is additionally operable to, when receiving the Advanced Search pattern open command of user's triggering, Advanced Search mould be opened in the page
Formula, when receiving the Advanced Search pattern out code of user's triggering, in page close Advanced Search pattern.
Keyword acquisition module 303, the different search keys inputted for obtaining the user in real time in each search box
Word, recommended keywords are obtained with reference to the different search keys.
The different search keys that 303 user in real of keyword acquisition module inputs in each search box, it is right
Different search keys carries out semantic analysis, and determines recommended keywords according to analysis result and historical search keyword.
It is to be appreciated that obtain recommended keywords operation can smart mobile phone locally carry out, also can by server into
OK.Specifically, when being carried out by server, search key input by user is sent to clothes by keyword acquisition module 303
Business device so that server combines the different search keys and obtains recommended keywords, and returns to intelligent hand by result is obtained
Machine.
Display module 304, for showing the recommended keywords.
Detection module 305, for detecting whether search instruction is triggered.
Specifically, search instruction can be triggered by following two modes:First, detection module 305 is detecting user
During the input operation of one search key of completion, determine that search instruction is triggered.Second, detection module 305 is detecting use
When the preset button for triggering search instruction is clicked at family, determine that search instruction is triggered.
Search module 306, for when detection module 305 detects that the search instruction is triggered, according to the respectively search box
In search key, obtain search result.
Display module 304, is additionally operable to show the search result.
Search module 306 is when detection module 305 detects that the search instruction is triggered, searching in the respectively search box
Rope keyword, obtains search result and the search result of acquisition is existed according to preset displaying rule by display module 304
It is shown in the page, such as the pattern of list.
It should be noted that in the embodiment of 10 exemplary information retrieval device of the figures above, each function module is drawn
Point it is merely illustrative of, can be as needed in practical application, such as the realization of the configuration requirement or software of corresponding hardware
It is convenient to consider, and above-mentioned function distribution is completed by different function modules, i.e., the internal structure of searcher is divided into not
Same function module, to complete all or part of function described above.Moreover, in practical application, the phase in the present embodiment
The function module answered can be by corresponding hardware realization, can also perform corresponding software by corresponding hardware and complete.This theory
Each embodiment that bright book provides can all apply foregoing description principle.
It is of the invention by allowing user to add multiple search boxes it was found from above-mentioned 10 exemplary information retrieval device of attached drawing,
And recommend possible next keyword, Yi Jigen with reference to the different keywords that user inputs in multiple search boxes for user
Search result is obtained according to the keyword in each search box, compared to the prior art, on the one hand, will be different by multiple search boxes
Search key is separated so that user can easily navigate to the search key for needing to change, and eliminate because in list
The puzzlement that can not be accurately positioned that multiple search keys are inputted in a search box and are brought, can improve search key input
Convenience, simplifies user's operation;On the other hand, since more search information can be inputted by multiple search boxes, and tie
Close the recommended keywords that different search keys obtains and more meet the actual demand of user, therefore may be such that search result more
Accurately, so as to improve the accuracy rate of search result.
Attached drawing 11 is referred to, attached drawing 11 is the structure diagram for the information retrieval device that fourth embodiment of the invention provides,
For convenience of description, illustrate only and the relevant part of the embodiment of the present invention.11 exemplary information retrieval device of attached drawing can be
The executive agent for the information search method that previous embodiment provides, it can be a work(in mobile terminal or mobile terminal
Can module.11 exemplary information retrieval device of attached drawing, mainly includes:Search box generation module 41, search box add module 42, close
Keyword acquisition module 43, display module 44, detection module 45, search module 46, receiving module 47, configuration module 48 and input
Module 49.Each function module describes in detail as follows:
Search box generation module 41, for being generated in the page and showing search box.
It is to be appreciated that the client-side program for supporting information search is preset in smart mobile phone, such as APP stores client journey
Sequence.APP shopping mall websites are accessed by the client-side program, obtain the page data of APP shopping mall websites, search box generation module 41
Loaded according to the page data in the client-side program and show the page for information search, and generated simultaneously in the page
Show search box, which can be used for the APP information in search APP stores.
Search box add module 42, for when the search box for receiving user's triggering adds instruction, increasing in the page
Add new search box.
Search box addition instruction can click on the addition button triggering in the page because of user.Search box add module 302 exists
When receiving the search box addition instruction of user's triggering, increase new search box in the page.
Further, it is by the pattern definition that can be added multiple search boxes and be scanned for by multiple search boxes of addition
Advanced Search pattern, will only be through the pattern definition that a search box scans for is general search pattern.Search box adds
Module 42, is additionally operable to, when receiving the Advanced Search pattern open command of user's triggering, Advanced Search pattern be opened in the page,
When receiving the Advanced Search pattern out code of user's triggering, in page close Advanced Search pattern.
Keyword acquisition module 43, the different search keys inputted for obtaining the user in real time in each search box
Word, recommended keywords are obtained with reference to the different search keys.
The different search keys that 43 user in real of keyword acquisition module inputs in each search box, to not
Same search key carries out semantic analysis, and determines recommended keywords according to analysis result and historical search keyword.
It is to be appreciated that obtain recommended keywords operation can smart mobile phone locally carry out, also can by server into
OK.Specifically, when being carried out by server, search key input by user is sent to service by keyword acquisition module 43
Device so that server combines the different search keys and obtains recommended keywords, and returns to smart mobile phone by result is obtained.
Display module 44, for showing the recommended keywords.
Detection module 45, for detecting whether search instruction is triggered.
Search module 46, for when detection module 45 detects that the search instruction is triggered, according in the respectively search box
Search key, obtain search result.
Display module 44, is additionally operable to show the search result.
Search module 46 is when detection module 45 detects that the search instruction is triggered, according to the search in the respectively search box
Keyword, obtain search result and by display module 44 by the search result of acquisition according to preset displaying rule in the page
It is shown in face, such as the pattern of list.
Receiving module 47, for receiving the search box quantity configuration instruction of server transmission.
Configuration module 48, the number parameter for being included in being instructed according to the search box quantity configuration configures can in the page
The threshold limit value of the search box quantity of addition.
To make user obtain optimal search experience, the sum of addible search box in the page can be limited by server
Amount, receiving module 47 receive the search box quantity configuration instruction that server issues, the configuration of search box quantity are included in the instruction
Parameter (that is, number parameter) so that configuration module 48 is after the instruction is received, the number parameter configuration page in the instruction
The threshold limit value of addible search box quantity in face.
Further, search box add module 42, including:Judging submodule 421 and addition submodule 422.
Judging submodule 421, for when the search box for receiving the user's triggering adds instruction, judging in the page
Whether the quantity of the search box of addition reaches the threshold limit value.
Submodule 422 is added, if the judging result for judging submodule 421 is the not up to threshold limit value, at this
Increase new search box in the page.
If it is to be appreciated that the quantity of the search box added in the page reaches threshold limit value, submodule is added
422, display reminding information is additionally operable to, to prompt user can not continue to increase new search box in the page.
Further, search module 46 includes:Command reception submodule 461, first is searched for submodule 462, second and is searched for
Submodule 463.
Command reception submodule 461, for receiving the search box relation determine instruction of the user's triggering.
First search submodule 462, if being closed for the search box relation that the search box relation determine instruction is directed toward to be nested
System, then when detecting that the search instruction is triggered, according to the tandem of the generated time of each search box in the page, root
Scanned for according to the search term in the search box generated at first, and this search gradually carried out from previous search result,
Until all search keys are searched for, to obtain final search result.
If the search box relation that the search box relation determine instruction of user's triggering is directed toward is nest relation, searched when detecting
When Suo Zhiling is triggered, the first search submodule 462 is in a manner of progressive, according to the generated time of each search box in the page
Tandem, the search term in the search box generated at first scans for, and gradually from previous search result
This search is carried out, until all search keys have been searched for, to obtain final search result.
Second search submodule 463, if being pass side by side for the search box relation that the search box relation determine instruction is directed toward
System, it is determined that the logical relation between the search key that the user inputs in each search box, and work as and detect the search
When instruction is triggered, search key and the logical relation in the respectively search box obtain search result.
Further, command reception submodule 461, the search key relation for being additionally operable to receive the user's triggering determine to refer to
Order.
Search module 46, further includes:Logical relation determining module 464.
Logical relation determining module 464, for being determined according to the search key relation determine instruction in each search box
Logical relation between the search key of input, the logical relation include or, with, it is non-.
It is to be appreciated that the logical relation between the search key inputted in each search box can include:Each search
Logic between logical relation inside rope frame between multiple search keys, and search key in units of search box
Relation.If user does not carry out the operation of triggering search key relation determine instruction, logical relation determining module 464 is according to silent
Recognize rule, determine the logical relation between search key, such as give tacit consent to the logical relation between all search keys is equal
The relation of and is arranged to, i.e. search result need to meet the feature that all search keys are directed toward.
Second search submodule 463, is additionally operable to when detecting that the search instruction is triggered, according in the respectively search box
Search key and the logical relation obtain search result.
Specifically, when detecting that search instruction is triggered, search of the second search submodule 463 in each search box
Logical relation between keyword and each search key, search result is obtained by search engine.Wherein search engine can be set
Search server is placed in, the second search submodule 463 sends the logical relation between search key and each search key
To search server, to obtain corresponding search result by search server.
Further, detection module 45, are additionally operable to when the input operation for detecting the user's one search key of completion
When, determine that the search instruction is triggered, be additionally operable to when detecting that the user clicks on the preset button for triggering search instruction,
Determine that the search instruction is triggered.
Further, detection module 45, are additionally operable to detect searching for recommended keywords progress of the user based on displaying
During the input operation of rope keyword, judge in the page with the presence or absence of idle search box.
Input module 49, if the testing result for detection module 45 is there are the idle search box, this is searched for
The recommended keywords that keyword input operation is directed toward are inputted into the idle search box.
Detection module 45, if being additionally operable to, there is no the idle search box, it is determined that triggers search box addition instruction, adjusts
Increase new search box in the page with search box add module 42.
Input module 49, is additionally operable to the search key inputting the recommended keywords that operation is directed toward and inputs to newly increasing
In search box.
Further, keyword acquisition module 43 includes:Semantic analysis submodule 431, acquisition submodule 432 and integration
Module 433.
Semantic analysis submodule 431, for carrying out semantic analysis to the different search keys respectively.
Acquisition submodule 432, the keyword for obtaining associated with the semanteme of the respectively search key are pushed away as first
Recommend keyword.
Semantic analysis submodule 431 respectively analyzes the semanteme of each search key, then passes through acquisition submodule
432 obtain keyword associated with the semanteme of each search key as the first recommended keywords from semantic association database.Example
Such as:Assuming that the semanteme of search key 1 is hotel, the semanteme of search key 2 is such as family, and the semanteme of search key 3 is machine
, then the key associated with hotel, Ru Jia, three, airport semanteme is obtained, is such as picked, special train, recommends to close as first
Keyword.
Acquisition submodule 432, is additionally operable to according to the respectively search key and historical search keyword, obtains second and recommends
Keyword.
Historical search keyword is that the active user of smart mobile phone or other users were once carrying out information search operation
When used search key.When the operation for obtaining recommended keywords is carried out in mobile phone end, smart mobile phone is built-in with
Historical search keyword database, has recorded local user in the historical search keyword database in a manner of keyword set
Each search key used when all search keys being had used in historical search each time and each search
The input sequence of word, such as:{ English, novel, master }, { game, battle, three states } etc..When the operation for obtaining recommended keywords
When smart mobile phone when being carried out by server end, then historical search keyword database configuration and server end, server end
Periodically collect the historical search keyword that uses when different user is all previous to carry out information search by preset client and respectively go through
The input sequence of history search key, and the data of collection are recorded in historical search keyword database.Alternatively, history is searched
Rope keyword database also can at the same time be configured and searched in server end and mobile phone end, server end according to the history of taken at regular intervals
Rope keyword data updates historical search keyword database, and will update the data be sent to smart mobile phone upon each update.
Specifically, acquisition submodule 432 can be obtained and included in each search box by query history search key database
Search key keyword set, and other in keyword set in addition to the search key in each search box are searched
Rope keyword is as the second recommended keywords.
Module 433 is integrated, for by first recommended keywords and second recommended keywords, being integrated according to presetting rule
The recommended keywords are used as afterwards.
Module 433 is integrated to carry out the first recommended keywords and the second recommended keywords according to preset ordering rule respectively
Sequence, such as according to occurrence number number or input sequence ordering rule be ranked up, then each extract sort pusher
Recommend the keyword of the preceding preset position in keyword queue and combine as final recommended keywords.
Further, search module 46 further includes:3rd search submodule 465.
3rd search submodule 465, for when detecting that the search instruction is triggered, if the search instruction is searches respectively
Suo Zhiling, then the search key in each search box obtains and the corresponding search result of each search box respectively.
Display module 44, is additionally operable to show each corresponding with each search box of the 3rd search acquisition of submodule 464 respectively
Search result.
It is of the invention by allowing user to add multiple search boxes it was found from above-mentioned 11 exemplary information retrieval device of attached drawing,
And recommend possible next keyword, Yi Jigen with reference to the different keywords that user inputs in multiple search boxes for user
Search result is obtained according to the keyword in each search box, compared to the prior art, on the one hand, will be different by multiple search boxes
Search key is separated so that user can easily navigate to the search key for needing to change, and eliminate because in list
The puzzlement that can not be accurately positioned that multiple search keys are inputted in a search box and are brought, can improve search key input
Convenience, simplifies user's operation;On the other hand, since more search information can be inputted by multiple search boxes, and tie
Close the recommended keywords that different search keys obtains and more meet the actual demand of user, therefore may be such that search result more
Accurately, so as to improve the accuracy rate of search result.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can pass through it
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the module, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple module or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be the INDIRECT COUPLING or logical by some interfaces, device or module
Letter connection, can be electrical, machinery or other forms.
The module illustrated as separating component may or may not be physically separate, be shown as module
The component shown may or may not be physical module, you can with positioned at a place, or can also be distributed to multiple
On mixed-media network modules mixed-media.Some or all of module therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each function module in each embodiment of the present invention can be integrated in a processing module, can also
That modules are individually physically present, can also two or more modules be integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products
Embody, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment the method for the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It should be noted that for foregoing each method embodiment, describe, therefore it is all expressed as a series of for simplicity
Combination of actions, but those skilled in the art should know, the present invention and from the limitation of described sequence of movement because
According to the present invention, some steps can use other orders or be carried out at the same time.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs
Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
It is above the description to a kind of information search method provided by the present invention and device, for the general skill of this area
Art personnel, according to the thought of the embodiment of the present invention, there will be changes in specific embodiments and applications, to sum up,
This specification content should not be construed as limiting the invention.
Claims (14)
- A kind of 1. information search method, it is characterised in that the described method includes:Generated in the page and show search box;When the search box for receiving user's triggering adds instruction, increase new search box in the page;The different search keys that the user inputs in each search box are obtained in real time, it is crucial with reference to different described searches Word obtains recommended keywords and shows;When detecting that search instruction is triggered, according to the search key in each described search frame, obtain search result and open up Show;It is described to detect that search instruction is triggered, including:When detecting that the user pauses at the input operation of described search frame and exceed preset time period, or the user searches described In rope frame input specific character when, determine described search instruction be triggered, wherein, the specific character include space, branch with And comma.
- It is 2. according to the method described in claim 1, it is characterized in that, described when the search box addition instruction for receiving user's triggering When, include before increasing new search box in the page:Receive the search box quantity configuration instruction that server is sent, the quantity included in being instructed according to described search frame quantity configuration The threshold limit value of addible search box quantity in the page described in parameter configuration;Then described when the search box for receiving user's triggering adds instruction, increasing new search box in the page includes:When the search box for receiving user's triggering adds instruction, the quantity of search box added in the page is judged Whether the threshold limit value is reached, if not up to described threshold limit value, increases new search box in the page.
- 3. according to the method described in claim 1, it is characterized in that, described when detecting that search instruction is triggered, according to each Search key in described search frame, obtaining search result includes:Receive the search box relation determine instruction of user's triggering;If described search frame relation determine instruction be directed toward search box relation be nest relation, when detect described search instruction When being triggered, according to the tandem of the generated time of each search box in the page, according in the search box generated at first Search term scan for, and this search is gradually carried out from previous search result, until search for all search passes Keyword, to obtain final search result;If the search box relation that described search frame relation determine instruction is directed toward is coordination, it is determined that the user searches each Logical relation between the search key inputted in rope frame, and when detecting that described search instruction is triggered, according to each institute State the search key in search box and the logical relation obtains search result.
- 4. according to the method described in claim 3, it is characterized in that, described determine what the user inputted in each search box Logical relation between search key, and when detecting that described search instruction is triggered, according in each described search frame Search key and the logical relation, which obtain search result, to be included:The search key relation determine instruction of user's triggering is received, it is true according to described search keyword relation determine instruction Logical relation between the search key inputted in fixed each search box, the logical relation include or, with, it is non-;When detecting that described search instruction is triggered, search key and the logical relation in each described search frame Obtain search result.
- 5. according to the method described in claim 1, it is characterized in that, the different described search keyword of the combination obtains recommends Include after keyword and displaying:When the search key for detecting that recommended keywords of the user based on displaying carry out inputs operation, the page is judged With the presence or absence of idle search box in face;If there are the idle search box, the recommended keywords that described search keyword is inputted to operation direction are inputted to institute State in idle search box;If there is no the idle search box, it is determined that the frame addition instruction of triggering described search, increases new in the page Search box, and by described search keyword input operation be directed toward recommended keywords input into the search box newly increased.
- 6. according to the method described in claim 1, it is characterized in that, the different described search keyword of the combination obtains recommends Keyword includes:Semantic analysis is carried out to different described search keywords respectively, is obtained associated with the semanteme of each described search keyword Keyword as the first recommended keywords;According to each described search keyword and historical search keyword, the second recommended keywords are obtained;By first recommended keywords and second recommended keywords, recommend to close as described after integrating according to presetting rule Keyword.
- 7. according to the method described in claim 1, it is characterized in that, described when detecting that search instruction is triggered, according to each Search key in described search frame, obtains search result and displaying further includes:When detecting that described search instruction is triggered, if described search instruction is search instruction respectively, respectively according to each Search key in search box obtains search result corresponding with each search box and shows respectively.
- 8. a kind of information retrieval device, it is characterised in that described device includes:Search box generation module, for being generated in the page and showing search box;Search box add module, for when the search box for receiving user's triggering adds instruction, increasing in the page new Search box;Keyword acquisition module, the different search keys inputted for obtaining the user in real time in each search box, knot Close different described search keywords and obtain recommended keywords;Display module, for showing the recommended keywords;Detection module, for detecting whether search instruction is triggered;Wherein, when detecting that the user pauses at described search frame Input operation exceed preset time period, or when the user inputs specific character in described search frame, determine that described search refers to Order is triggered, and the specific character includes space, branch and comma;Search module, for when the detection module detect described search instruction be triggered when, according in each described search frame Search key, obtain search result;The display module, is additionally operable to displaying described search result.
- 9. device according to claim 8, it is characterised in that described device further includes:Receiving module, for receiving the search box quantity configuration instruction of server transmission;Configuration module, the number parameter for being included in being instructed according to described search frame quantity configuration are configured in the page and can added The threshold limit value of the search box quantity added;Described search frame add module, including:Judging submodule, for when the search box for receiving user's triggering adds instruction, judging to have added in the page Whether the quantity of the search box added reaches the threshold limit value;Submodule is added, if the judging result for the judging submodule is the not up to threshold limit value, in the page Increase new search box in face.
- 10. device according to claim 9, it is characterised in that described search module includes:Command reception submodule, for receiving the search box relation determine instruction of user's triggering;First search submodule, if being nest relation for the search box relation that described search frame relation determine instruction is directed toward, When detecting that described search instruction is triggered, according to the tandem of the generated time of each search box in the page, root Scanned for according to the search term in the search box generated at first, and this search gradually carried out from previous search result, Until all search keys are searched for, to obtain final search result;Second search submodule, if being coordination for the search box relation that described search frame relation determine instruction is directed toward, Determine the logical relation between the search key that the user inputs in each search box, and work as and detect that described search refers to When order is triggered, search key and the logical relation in each described search frame obtain search result.
- 11. device according to claim 10, it is characterised in thatDescribed instruction receiving submodule, is additionally operable to receive the search key relation determine instruction of user's triggering;Described search module, further includes:Logical relation determining module, for determining what is inputted in each search box according to described search keyword relation determine instruction Logical relation between search key, the logical relation include or, with, it is non-;The second search submodule, is additionally operable to when detecting that described search instruction is triggered, according in each described search frame Search key and the logical relation obtain search result.
- 12. according to the devices described in claim 11, it is characterised in thatThe detection module, is additionally operable to when the search key for detecting recommended keywords progress of the user based on displaying is defeated When entering to operate, judge in the page with the presence or absence of idle search box;Described device further includes:Input module, if the testing result for the detection module is there are the idle search box, by described search The recommended keywords that keyword input operation is directed toward are inputted into the idle search box;The detection module, if being additionally operable to, there is no the idle search box, it is determined that the frame addition instruction of triggering described search, Described search frame add module is called to increase new search box in the page;The input module, is additionally operable to described search keyword inputting the recommended keywords that operation is directed toward and inputs to newly increasing In search box.
- 13. device according to claim 12, it is characterised in that the keyword acquisition module includes:Semantic analysis submodule, for carrying out semantic analysis to different described search keywords respectively;Acquisition submodule, recommends key for obtaining the keyword associated with the semanteme of each described search keyword as first Word;The acquisition submodule, is additionally operable to according to each described search keyword and historical search keyword, obtains second and recommends Keyword;Module is integrated, for by first recommended keywords and second recommended keywords, after being integrated according to presetting rule As the recommended keywords.
- 14. device according to claim 13, it is characterised in that described search module further includes:3rd search submodule, for when detecting that described search instruction is triggered, if described search instruction is searches for respectively Instruction, then the search key in each search box obtains and the corresponding search result of each search box respectively;The display module, is additionally operable to show the corresponding with each search box of the 3rd search submodule acquisition respectively Search result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510489369.8A CN105068716B (en) | 2015-08-11 | 2015-08-11 | Information search method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510489369.8A CN105068716B (en) | 2015-08-11 | 2015-08-11 | Information search method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105068716A CN105068716A (en) | 2015-11-18 |
CN105068716B true CN105068716B (en) | 2018-05-04 |
Family
ID=54498100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510489369.8A Active CN105068716B (en) | 2015-08-11 | 2015-08-11 | Information search method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105068716B (en) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106776601B (en) * | 2015-11-19 | 2021-01-29 | 北京国双科技有限公司 | Configuration method and device of search conditions |
CN105608418A (en) * | 2015-12-16 | 2016-05-25 | 广东欧珀移动通信有限公司 | Picture processing method and device |
CN106970916A (en) * | 2016-01-13 | 2017-07-21 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus retrieved based on wearable device |
CN108509133B (en) * | 2017-02-27 | 2023-05-02 | 腾讯科技(深圳)有限公司 | Search component display method and device |
CN107291835B (en) * | 2017-05-31 | 2020-12-22 | 北京京东尚科信息技术有限公司 | Search term recommendation method and device |
CN107463685A (en) * | 2017-08-10 | 2017-12-12 | 深圳峰创智诚科技有限公司 | A kind of method and device for generating combinatorial search frame |
CN107562332B (en) * | 2017-08-31 | 2020-08-11 | 苏州博瑞尔特信息科技有限公司 | Information searching method, mobile terminal and computer readable storage medium |
CN108959362A (en) * | 2018-05-17 | 2018-12-07 | 镇江国中亿家科技有限公司 | A kind of information search method and system |
CN110618845A (en) * | 2018-06-20 | 2019-12-27 | 优视科技有限公司 | Application search page interaction method and device, storage medium and terminal |
CN110941752B (en) * | 2018-09-25 | 2023-04-14 | 阿里巴巴集团控股有限公司 | Information searching method, data processing method and equipment |
CN110457377B (en) * | 2019-08-16 | 2022-05-17 | 第四范式(北京)技术有限公司 | Interactive method and interactive system for searching for data records |
CN110502699B (en) * | 2019-08-27 | 2022-06-03 | 百度在线网络技术(北京)有限公司 | Method and device for acquiring information |
CN111428001B (en) * | 2020-03-20 | 2023-09-12 | 北京小米移动软件有限公司 | Short message information retrieval method, device and storage medium |
CN112199465B (en) * | 2020-09-01 | 2024-02-06 | 北京达佳互联信息技术有限公司 | Information searching method and device and electronic equipment |
WO2023019576A1 (en) * | 2021-08-20 | 2023-02-23 | 华为技术有限公司 | Text search processing method and related device |
CN115294968A (en) * | 2022-06-23 | 2022-11-04 | 中国第一汽车股份有限公司 | Method and device for automatically extracting keywords and searching keywords in vehicle-mounted voice |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101968802A (en) * | 2010-09-30 | 2011-02-09 | 百度在线网络技术(北京)有限公司 | Method and equipment for recommending content of Internet based on user browse behavior |
CN104636334A (en) * | 2013-11-06 | 2015-05-20 | 阿里巴巴集团控股有限公司 | Keyword recommending method and device |
CN104715069A (en) * | 2015-03-31 | 2015-06-17 | 北京奇虎科技有限公司 | Processing method and processing device for searching recommendation words |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101439841B1 (en) * | 2007-05-23 | 2014-09-17 | 삼성전자주식회사 | Method for searching supplementary data related to contents data and apparatus thereof |
-
2015
- 2015-08-11 CN CN201510489369.8A patent/CN105068716B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101968802A (en) * | 2010-09-30 | 2011-02-09 | 百度在线网络技术(北京)有限公司 | Method and equipment for recommending content of Internet based on user browse behavior |
CN104636334A (en) * | 2013-11-06 | 2015-05-20 | 阿里巴巴集团控股有限公司 | Keyword recommending method and device |
CN104715069A (en) * | 2015-03-31 | 2015-06-17 | 北京奇虎科技有限公司 | Processing method and processing device for searching recommendation words |
Also Published As
Publication number | Publication date |
---|---|
CN105068716A (en) | 2015-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105068716B (en) | Information search method and device | |
EP4109376A1 (en) | Content determining method and apparatus for intelligent device | |
CN102945243B (en) | A kind of contact details recognition methods based on browsing content | |
CN108763579B (en) | Search content recommendation method and device, terminal device and storage medium | |
CN103376974A (en) | Window switching method and device | |
CN108073605A (en) | A kind of loading of business datum, push, the generation method of interactive information and device | |
US11436266B2 (en) | Method and apparatus for processing information of a terminal | |
CN103268186B (en) | The generation method of menu shortcut mode and mobile terminal | |
CN108701149A (en) | A kind of intelligent recommendation method and terminal | |
CN104142964A (en) | Information matching method and device | |
CN103370701A (en) | Methods, apparatus and computer program products for providing automatic and incremental mobile application recognition | |
CN106096010A (en) | Carry input control method and the device of search engine functionality | |
CN105279535A (en) | Intelligent processing system of identification code and processing method thereof | |
CN106326091A (en) | Browser webpage compatibility detection method and system | |
CN111143543A (en) | Object recommendation method, device, equipment and medium | |
CN103024149A (en) | Mobile terminal and method for processing information content thereof | |
CN105912358A (en) | Intelligent electronic device and setting method thereof | |
CN109325184A (en) | Searching method and device | |
CN109446431A (en) | For the method, apparatus of information recommendation, medium and calculate equipment | |
CN105022760A (en) | News recommendation method and device | |
CN102932555A (en) | Method and system for fast recognizing client software of mobile phone | |
CN105095253A (en) | Webpage display method and webpage display device | |
CN106372090A (en) | Query clustering method and device | |
CN110633438A (en) | News event processing method, terminal, server and storage medium | |
JP2011141617A (en) | Web page browsing system, control method thereof, and relay server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |