WO2008092400A1 - An easy information search method, system and a character input system - Google Patents

An easy information search method, system and a character input system Download PDF

Info

Publication number
WO2008092400A1
WO2008092400A1 PCT/CN2008/070175 CN2008070175W WO2008092400A1 WO 2008092400 A1 WO2008092400 A1 WO 2008092400A1 CN 2008070175 W CN2008070175 W CN 2008070175W WO 2008092400 A1 WO2008092400 A1 WO 2008092400A1
Authority
WO
WIPO (PCT)
Prior art keywords
search
input
input method
user
method system
Prior art date
Application number
PCT/CN2008/070175
Other languages
French (fr)
Chinese (zh)
Inventor
Zhankai Ma
Original Assignee
Beijing Sogou Technology Development Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co., Ltd. filed Critical Beijing Sogou Technology Development Co., Ltd.
Publication of WO2008092400A1 publication Critical patent/WO2008092400A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation

Definitions

  • the present invention relates to the field of information retrieval, and in particular to a convenient information search method and system capable of reducing data flow steps, and an input method system.
  • end users need to rely more and more on text and keyword based search tools to obtain the information they need.
  • the end user enters the keywords of the information files that need to be found into the search tool or engine.
  • the search tool or engine searches in the existing index database, it returns a list of required file pointers with the file title, and usually some descriptive text extracted from the body of the file.
  • the end user can then browse some or all of the return pointers to view all or part of the actual files, online content, and so on.
  • the keywords input by users are also diverse. Especially for Chinese, Japanese, Korean and some language input with candidate word requirements, the input method system is needed to help users choose to input correct information.
  • search tool Opens the search tool and display the keyword input interface.
  • the search tool links to a specific search engine; open the input method; input keywords, start the search; the search engine returns the search results, and the browser or search tool interface displays the search results.
  • the operating system receives the keyboard message - forwarded to the input method - the input method completes the content (key Word) Select and convert __ input method to send input (keywords) to the operating system __ operating system to forward the input content (keywords) to the browser that displays the keyword input interface or search tool __browser or
  • the search tool generates a search command, sends it to the search engine __ returns the search result, and the browser or search tool interface displays the search result.
  • search has become one of the most frequent applications in information technology.
  • people find that the above search methods have the following disadvantages: The steps are complicated, the user is difficult to operate, and the user needs to perform multiple steps of operation (through 7 steps of data stream transmission) to achieve the purpose of searching; As a result, more and more users want to enjoy a more convenient search process.
  • the technical problem to be solved by the present invention is to provide a simple and quick information search method and system, and the purpose of information search can be realized by using fewer data streaming steps (less user operation steps).
  • the present invention discloses a method for information search, comprising: determining a search keyword required by a user; according to the search keyword, the input method system generates a search command and sends it to a search engine; the search engine returns a search The result is to the input method system; the search results are presented.
  • the determining of the search keyword may be implemented by: receiving an encoded character string input by the user; acquiring and displaying at least one input word confirmed by the user in the input method window; determining that the one or more input words are Search keywords required by the user.
  • the determination of the search keyword may be implemented by: receiving an encoded character string input by the user; determining a candidate word as a search keyword required by the user by a user selection or input system default setting.
  • the search result is presented by a browser.
  • the search result is presented through an auxiliary window or candidate window of the input method system.
  • the search command includes a URI address of a search keyword.
  • the search command may include a search keyword and a search type parameter.
  • the method may further include: the input method system storing the search result returned by the search engine.
  • the presentation of the search result is completed by the following steps: the input method system submits the search result to the browser for presentation in a manner specified in the search result information; or, the input method system displays according to the preset a template, processing the search result information, and submitting to the browser to display the adjusted display manner; or, the input method system is in the input method system auxiliary window or the candidate word window according to the preset presentation template
  • the search result is presented; or the input method system hands the search result to a third party application for presentation.
  • the method may further include: determining, in the stored at least one piece of search result information, whether the current search request is a repeated query within a preset time period; if the repetition is within a preset time period The query obtains the search result from the stored search result information; if it is a repeated query, but is not within the preset time period, an update query is initiated to the search engine, requesting to confirm whether the search result corresponding to the search request has been updated. If it is not a duplicate query, it initiates a search request directly to the search engine.
  • the method may further include: the search engine side storing the search request that meets the preset condition and the corresponding search result.
  • the search result includes a plurality of search records, and the record can be linked to the information itself; or the search result includes information corresponding to a certain search record that meets the preset condition.
  • the invention also discloses a method for information search, comprising: determining a search keyword required by a user; according to the search keyword, the input method system generates a search command; calling a third-party application, wherein the search is performed by the application The command is sent to the search engine; the search engine returns the search result to the application; the search result is presented.
  • the determining of the search keyword may be implemented by: receiving an encoded character string input by the user; acquiring and displaying at least one input word confirmed by the user in the input method window; determining that the one or more input words are Search keywords required by the user. Can also pass The next step is to implement the determination of the search keyword: receiving the encoded character string input by the user; determining, by the user selection or the input system default setting, that the candidate word is the search keyword required by the user.
  • the search command includes a URI address of a search keyword.
  • the search command may include a search keyword and a search type parameter.
  • the method may further include: the search engine side storing the search request that meets the preset condition and the corresponding search result.
  • the invention also provides an input method system, comprising: an input interface unit, a display unit and a thesaurus, and: a search keyword determining module, configured to determine a search keyword required by the user; a search command generating module, configured to Searching for a keyword, generating a search command; a search command sending module, configured to send the search command to a third-party application, and notify the application to obtain a search result according to the search command.
  • a search keyword determining module configured to determine a search keyword required by the user
  • a search command generating module configured to Searching for a keyword, generating a search command
  • a search command sending module configured to send the search command to a third-party application, and notify the application to obtain a search result according to the search command.
  • the input interface unit, the display unit, and the vocabulary of the input method system are located in the same computing device; or the input interface unit and the display unit of the input method system are located in the first computing device, and the vocabulary is located in the second In the computing device, the input method system acquires corresponding information from the second computing device according to the information input by the user, and displays the corresponding character in the first computing device.
  • the determining may be: directly determining that the obtained input word is a search keyword required by the user.
  • the input word storage module is configured to store the acquired at least one input word; the determining is: determining that one or more input words stored in the storage module are search keywords required by the user.
  • the search command includes a URI address of a search keyword.
  • the search command may include a search keyword and a search type parameter.
  • the invention also discloses an input method system, comprising: an input interface unit, a display unit and a thesaurus, and: a search keyword determining module, configured to determine a search keyword required by the user; a search command generating module, configured to Searching for a keyword, generating a search command; a search command sending module, configured to send the search command to a search engine; and a search result receiving module, configured to receive search result information returned by the search engine.
  • a search keyword determining module configured to determine a search keyword required by the user
  • a search command generating module configured to Searching for a keyword, generating a search command
  • a search command sending module configured to send the search command to a search engine
  • a search result receiving module configured to receive search result information returned by the search engine.
  • the input method system further includes: a search result storage module, configured to save The search result information returned by the search engine is stored.
  • the input method system further includes: an update query module, configured to initiate an update query to the search engine, requesting to confirm whether the search result corresponding to the search request has been updated; and a search request determination module, configured to be stored In at least one piece of search result information, determining whether the current search request is a repeated query within a preset time period; if it is a repeated query within a preset time period, obtaining a search from the stored search result information If the query is repeated but not within the preset time period, the update query module is triggered; if the query is not repeated, the search command sending module is triggered.
  • an update query module configured to initiate an update query to the search engine, requesting to confirm whether the search result corresponding to the search request has been updated
  • a search request determination module configured to be stored In at least one piece of search result information, determining whether the current search request is a repeated query within a preset time period; if it is a repeated query within a preset time period, obtaining a search from the stored search result information If the
  • the input method system further includes: a presentation template module, configured to store at least one preset presentation template; and a search result processing module, configured to process the search result information according to the preset presentation template. .
  • the input method system may further include: a presentation module, configured to display the search result in an auxiliary window or a candidate word window of the input method system; and/or a calling module, configured to notify the computing device
  • a presentation module configured to display the search result in an auxiliary window or a candidate word window of the input method system
  • a calling module configured to notify the computing device
  • the operating system launches a third party application that presents the search results.
  • the input method system may further include: a presentation module, configured to display the processed search result information in an auxiliary window or a candidate word window of the input method system; and/or, invoke a module,
  • the operating system is notified to notify the computing device to launch a third-party application, and the processed search result information is presented by the application.
  • the input interface unit, the display unit, and the vocabulary of the input method system are located in the same computing device; or the input interface unit and the display unit of the input method system are located in the first computing device, and the vocabulary is located in the second In the computing device, the input method system acquires corresponding information from the second computing device according to the information input by the user, and displays the corresponding character in the first computing device.
  • the determining may be: directly determining that the obtained input word is a search keyword required by the user.
  • the input word storage module is configured to store the acquired at least one input word; the determining is: determining that one or more input words stored in the storage module are search keywords required by the user.
  • the search command includes a URI address of a search keyword.
  • the search command may include a search keyword and a search type parameter.
  • the present invention has the following advantages:
  • the present invention combines the complicated data flow in the prior art: the input method sends the input content (keyword) to the operating system__the operating system forwards the input content (keyword) to the browser or the search tool that displays the keyword input interface. __Browser or search tool generates search command, sends to search engine __ returns search result; transforms into simple data stream: input method generates search command according to input content (keyword), sends to search engine __ returns search result . Therefore, the present invention can greatly improve the search efficiency, reduce the user's operation steps, and avoid invalid data interaction and processing.
  • the transformed data stream is:
  • the input method generates a search command based on the input content (keyword), sends it to the browser __browser generates a search command, and sends it to the search engine __back search results. It can still embody the superiority of the present invention, because the solution can completely omit the request and display operation of the browser to open the keyword input interface, that is, the invention at least omits the step of displaying the keyword on the screen, and reduces invalid data interaction. .
  • the invention can also directly call the auxiliary window or the candidate word window display, avoiding calling the browser to display the search result, thereby achieving the purpose of saving system memory resources and computing resources.
  • the present invention can be applied to various web search engines as well as various local search engines, as well as to various search tools or search websites. Since all search tools or search websites need to search for a keyword input interface, the present invention can directly send the search keyword to the search engine, or generate a search command and then send it by the browser, so the effect of the present invention is outstanding, and the scope of application widely.
  • Embodiment 1 is a flow chart showing the steps of Embodiment 1 of the present invention.
  • FIG. 2 is a schematic diagram of determining search keywords required by a user
  • Figure 3 is a schematic diagram showing search results
  • Figure 4 is another schematic diagram showing the search results
  • Figure 5 is a flow chart showing the steps of Embodiment 2 of the present invention
  • Figure 6 is a flow chart showing the steps of Embodiment 3 of the present invention
  • Figure ⁇ is a flow chart of the steps of Embodiment 4 of the present invention.
  • FIG. 8 is a block diagram showing the structure of Embodiment 5 of the present invention.
  • FIG. 9 is a block diagram showing the structure of Embodiment 6 of the present invention.
  • FIG. 10 is a block diagram showing the structure of Embodiment 7 of the present invention.
  • FIG 11 is a block diagram showing the structure of an embodiment 8 of the present invention.
  • Embodiment 1 of the information searching method of the present invention is shown, which specifically includes the following steps:
  • Step 101 Determine a search keyword required by the user
  • Step 102 The input method system generates a search command according to the search keyword, and sends the search command to the search engine.
  • Step 103 The search engine returns the search result to the input method system
  • Step 104 Display the search result.
  • the present invention can be applied to various input methods having a candidate word display window or a word selection requirement, for example, a Chinese-Japanese-Korean input method, a Roman character input method having a prompt function, and the like.
  • the search keywords described in the present invention include a single character, a phrase composed of a plurality of characters, and the like.
  • the search result may include a plurality of search records, and the record may be linked to the information itself; or the search result is the information itself corresponding to the search record that meets the preset condition.
  • the display of the search result may be: a plurality of webpage address record lists matching the search, and may further include some brief descriptions and the like; the search result may also be: directly linked to the webpage addresses of the plurality of matching searches.
  • the first page corresponds to the page.
  • step 101 The determination described in step 101 can be implemented in the following two schemes:
  • the first scheme receiving a coded string input by a user, and converting, displaying at least one candidate word; the user selecting to determine one of the candidate words as a desired search keyword, or the input method system determines one of the candidate words as the user by default Required search keywords.
  • the user's input experience is very close to the existing input method, except that the existing input method determines the upper screen.
  • the word will be output and displayed on the screen after the user selects or the system is determined by default, and the screen is not required to be displayed after the invention is determined.
  • the user inputs the pinyin encoded string "sougou", and the candidate word area displays multiple candidates, and the user can select a candidate as a search keyword (for example, select "search” by mouse operation or specific shortcut key mode);
  • a candidate as a search keyword for example, select "search” by mouse operation or specific shortcut key mode
  • the input method system can also default to a candidate as a search keyword (for example, the first candidate with the highest selection rate "sogou"). If the user does not actively choose, the default candidate "sogou" is used. Search for keywords.
  • the user selects the candidate word and the operation of the triggering step 102 can be divided into two operations, that is, the user first determines a candidate word as the confirmed input word, and then triggers step 102, for example, first determining the candidate word through the space bar. And then trigger step 102 by clicking the shortcut ( Ctrl + enter ).
  • the determined search keywords can also be displayed in different colors or fonts, and are distinguished from other candidates.
  • the operation of the user selecting the candidate word and the triggering step 102 can also be combined into one operation. After the user selects a candidate word, the selected word is directly input from the background, and the step 102 is automatically triggered to perform the search.
  • the second scheme First, the preset storage space is called by a mouse operation or inputting a guiding character; then, the encoded string input by the user is received, and the input words confirmed by the user are obtained and stored in the preset space. And displayed in the input method window; if the user continues to input the encoded string, then continue to acquire, display and store the input words confirmed by the user; the at least one input word displayed and stored above is used as the search keyword required by the user, A separator can be set between each input word. This scenario is especially useful when you need to enter multiple word combinations as search keywords.
  • step 102 For example, if the user inputs the search leader "i", the user enters the input word before the step 102 as the search keyword after the leader "i" (of course, the user can modify the word already entered). These input words are temporarily stored in a preset space. As shown in Figure 2, the user enters two input words “Input Method” and “Download”. The input method system displays it after the leader "i” and uses spaces as the “Input Method” and “Download”. The separator, the combination of "input method” and “download” at this time is the search keyword. When the user confirms that there is no need to enter a new word and does not need to modify the input word, step 102 can be triggered.
  • the foregoing implementation manner is only used as an example, and the present invention is not limited to the above two modes, and other manners that can implement the keyword determining function are all feasible, and cannot be described in detail here.
  • the above two schemes can be used in combination: the user first confirms the first half of the search term, caches and In the window display, after the user confirms the second half, the search term can be directly output, and the second half of the search word does not need to be displayed in the window.
  • step 102 a variety of search commands can be employed depending on the different modes of operation of the various search engines.
  • the present invention can be applied to various web search engines as well as various local search engines, as well as to various search tools or search websites.
  • URI Uniform Resource Identifier
  • URL Uniform Resource Location
  • the search URL is generally transmitted locally to the search engine server, and the search engine returns a corresponding html page (including the search result information), and the search command generated by the input method may include the search generated according to the preset rule.
  • the search engine host address is: http://www.sogou.com
  • the preset rules may include a communication protocol mode employed, a communication host address, and the like.
  • the get mode and the post mode can be used.
  • User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
  • User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.l) */* Browser Information
  • the search engine server may establish a judgment module. After searching the request data to the judging module, the judging module judges what type of request is, and then distributes the request to various search modules such as news, webpage, music, picture, map, IP search, etc. to obtain search results.
  • the returned data can be directly returned to the input method system by these search modules; it can also be returned to a unified transmission result module, thus ensuring a single interface of the input method.
  • search command includes search keyword information and search type parameters.
  • search type parameter there are two ways:
  • the user specifies the search type (enter identifier or select menu item). For example, if the search word is preceded by mp3, it refers to the music search. After the input method system judges, the specific search command is generated and sent directly to the search engine. Search the module to get search results.
  • search type entity identifier or select menu item
  • the input method system automatically recognizes the type searched by the user. For example, if the search keyword is a four-part number and three points are included in the middle, then the current search type is determined to be an IP search, and the search type parameter and the search are included.
  • the search command of the keyword is sent to the IP search module of the search engine to obtain the search result.
  • the search keyword is an 11-digit number starting with 13, it is determined that the current search type is a mobile phone number search; after determining the search type, the search type and the search request are sent to the search engine, and the search engine generates the search result. After returning; for example, the search command sent therein can be: Mobile home attribution query - 13512345678.
  • the above three methods for implementing a specific type of search may be applied separately, or may be combined to form a complementary application or a simultaneous application.
  • the search command may further include some customized format information, for example, a search result display number, a local language, a personalized search parameter, and the like.
  • step 104 The presentation described in step 104 can be as follows:
  • the search engine when the search engine is local, the corresponding search tool may be invoked to display the search result; Alternatively, the search results are presented through an adjunct window or candidate window of the input method system.
  • the browser described in the present invention is merely an example, because the browser is widely used in the field of search. In practice, however, it is acceptable for the present invention to use any viable third party application to present search results.
  • the term "browser" in the various embodiments below can be understood with reference.
  • the upper part is an input window of the input method system
  • the lower part is an auxiliary window of the input method system
  • the search result information returned by the search engine is displayed through the auxiliary window, including the title and summary of each record of the search result, and the user You can link to the details of the result (ie, the message itself) by selecting a search result record.
  • the user selects the second record, which is titled Sogou music, and automatically opens the file through a web browser.
  • Link URL of the search result record [music.sogou.com].
  • the presentation space of the auxiliary window is limited, only some search results with the highest correlation can be displayed, and all the search result information is not displayed.
  • the search result information may also be output to the application currently used by the input method by the user, for example, the user selects 1 at this time, or presses a space, and then the information [mobile phone source: Haidian District, Beijing] Screen to the word document that the user is typing.
  • Embodiment 2 a flow chart of the steps of Embodiment 2 of the information searching method of the present invention is shown.
  • the most important feature of Embodiment 2 is that: in the input method system, some search results that meet the preset conditions are stored; for example, within one day Search results.
  • Embodiment 2 may specifically include the following steps: Step 201: Determine a search keyword required by a user;
  • Step 202 Determine, in the stored at least one piece of search result information, whether the current search request is a repeated query within a preset time period; If it is a repeated query within a preset time period, steps 205-207 are performed; if the query is repeated, but not within the preset time period, steps 206-207 are performed; if it is not a repeated query, step 203 is performed. - 204 - 207;
  • Step 203 The input method system generates a search command according to the search keyword, and sends the search command to the search engine.
  • Step 204 The search engine returns a search result to an input method system, where the input method system stores the search result returned by the search engine;
  • Step 205 Obtain a search result from the stored search result information.
  • Step 206 Initiating an update query to the search engine, requesting to confirm whether the search result corresponding to the search request has been updated; if updated, receiving the updated search result returned by the search engine, if not updated, from the stored search Obtaining search results in the result information;
  • Step 207 Display the search result.
  • the presentation may be: presenting the search result by a browser; or presenting the search result through an affiliate window or a candidate word window of the input method system.
  • the second embodiment of the present invention is adopted in the input method system.
  • the way to store certain search result information is used to reduce the number of communication between the client and the server.
  • the search result in the input method system is valid for 24 hours. That is, repeated queries within 24 hours, no request is initiated to the server at all.
  • the choice of 24 hours is because the average search engine updates a batch of time-sensitive data every night, so within a day, the results will not change much for most query requests.
  • the local storage For queries that exceed the validity period but hit the local storage, the local storage first initiates a query to the server storage to confirm whether the query is updated.
  • the specific approach is:
  • the local storage obtains a unique code string from the title, summary, and URL of the first five query results through MD5, and sends the value to the server.
  • the search engine also performs MD5 operations on the first five headings, abstracts, and URLs in the current query results.
  • the search engine If the code string and the input method system are consistent, the search engine notifies the input method
  • the system storage is valid, and it can be obtained and displayed directly from the stored search results;
  • the search engine returns the new 5 results to the input method system, and the input method system updates the storage, and then displays the result to the user.
  • the query request is directly sent to the search engine, and the search engine directly returns 5 results, which are stored and displayed by the input method system.
  • the local storage data may be organized into a hash table structure, and hashed according to the query word, and then placed in different hash buckets, thereby reducing the input method.
  • the system computes the computational load on the device locally, speeding up the query.
  • Embodiment 3 specifically includes the following steps:
  • Step 601 Determine a search keyword required by the user
  • Step 602 The input method system generates a search command according to the search keyword, and sends the search command to the search engine.
  • Step 603 The search engine returns a search result to the input method system, where the input method system receives the search result returned by the search engine;
  • Step 604 presenting the search result.
  • the step 604 can be implemented by steps 6041, 6042 or 6043 respectively:
  • Step 6041 The input method system submits the received search result to a browser for displaying in a manner specified in the search result information;
  • Step 6042 The input method system processes the received search result information according to the preset presentation template, and submits the information to the browser for display by using the adjusted display manner;
  • Step 6043 The input method system displays the received search result in an input method attachment window or a candidate window according to the preset presentation template.
  • Embodiment 3 can change the presentation manner of the search results and then display them, various personalized presentation schemes can be realized.
  • the search result information returned by the search engine is generally data in xml format.
  • the following code represents search result data including one result information:
  • Embodiment 3 The above result data received by the input method system can be directly forwarded to the browser and displayed in the form specified by the above xml data.
  • the specific data flow is as follows: The input method system forwards the search result data to the operating system. If the data registered in the operating system is opened by the IE or the default other browser is opened, the operating system starts the corresponding browser display. Search results can be. Of course, when the input method system forwards the search result data, it can also specify the browser: Open the search result data with the IE browser.
  • the third embodiment can also process the received search result information according to the preset presentation template, and then forward the processed information to the browser, and the browser displays the adjusted display mode.
  • the presentation template may be generated by the user, or may be provided by the input method system. For example, the presentation template determines the font, color, position and other parameters of the information display, and may also add a watermark, a text, a graphic, etc. to the presentation template. Wait.
  • Embodiment 3 can also display the received search results in a preset manner in an input method attachment window or a candidate window according to a preset presentation template.
  • Embodiment 3 specifically includes the following steps:
  • Step 701 Determine a search keyword required by the user.
  • Step 701 may be implemented by determining the search keyword by: receiving an encoded character string input by the user, acquiring and displaying at least one input word confirmed by the user in the input method window; determining that the one or more input words are Search keywords required by the user.
  • Step 701 can also implement the determination of the search keyword by: receiving a coded string input by the user, displaying at least one candidate word; the user selecting to determine a candidate word as a desired search keyword, or being determined by the input method system default A candidate word is determined to be a search keyword required by the user.
  • Step 702 The input method system generates a search command according to the search keyword;
  • the search command may include a URL address of the search keyword, or the search command may also include a search keyword and a search type parameter;
  • Step 703 Call a browser, and send the search command to the search index by the browser Engine
  • the input method system can notify the operating system to invoke the browser by:
  • the input method can be given to the operating system a URL, the operating system to access the URL; before this, there is an application registered in the operating system of the URL protocol format, then opened by the application, such as http protocol IE opens. If the input method does not specify a browser, the application that is determined by the operating system to open the http protocol address by default can be opened by any registered browser, such as IE or Firefox. The link address is then transmitted by the operating system to the browser, and the browser accesses the address.
  • the information that this input method uses to transfer to the operating system is: Open a URL.
  • the input method specifies the system to open the IE browser, whether it is the default browser, the operating system runs the IE executable file, open IE, and then pass the input method to the operating system URL to IE to access
  • the information that the input method is to transmit to the operating system is: Open a URL with IE browser.
  • Step 704 The search engine returns the search result to the browser.
  • Step 705 Display the search result.
  • Embodiment 4 is characterized in that a search command is transmitted by a third party application such as a browser and a search result is received.
  • a search command is transmitted by a third party application such as a browser and a search result is received.
  • the above process of opening a URL by a browser includes the process of sending a request and receiving data.
  • the foregoing Embodiment 1 - Embodiment 4 may further include: the search engine side stores a search request that meets a preset condition (within a certain period of time, or a certain search frequency or more) and a corresponding search result.
  • a preset condition within a certain period of time, or a certain search frequency or more
  • search results can be used to reduce search engine search pressure.
  • Embodiment 5 is an input method system, which can be applied to the information search method shown in FIG. 7, and specifically includes the following components: Display of input words to be input Unit 802 and the thesaurus 803;
  • a search keyword determining module 804 configured to determine a search keyword required by the user
  • the search command generating module 805 is configured to generate a search command according to the search keyword; the search command may include a URL address of the search keyword, or the search command may also include a search keyword and a search type parameter;
  • the search command sending module 806 is configured to send the search command to the browser, notify the browser to obtain the search result according to the search command, and the browser receives the returned search result information and presents the search result.
  • the search keyword determining module 804 determines the search keyword required by the user in a manner of: directly determining that the obtained input word is a search required by the user.
  • Key words For example: receiving a coded character string input by a user, displaying at least one candidate word; the user selecting to determine one of the candidate words as a desired search key word, or the input method system determines by default that one of the candidate words is a search keyword required by the user.
  • the input method system shown in FIG. 8 may further include: a storage module 807 for storing the acquired at least one input word; and the manner in which the search keyword determining module 804 determines the search keyword required by the user may be: Determining one or more input words stored in the storage module is a search keyword required by the user.
  • the preset storage space is called by a mouse operation or a boot character; then, the encoded character input by the user is received, and the input words confirmed by the user are obtained, stored in the preset space, and displayed in In the input method window; if the user continues to input the encoded string, then continue to acquire, display and store the input words confirmed by the user; at least one of the input words displayed and stored as the search keyword required by the user, each input word A separator can be set between words.
  • the input method system shown in FIG. 8 may be a common input method system.
  • the input interface unit, the display unit, and the vocabulary of the input method system are located in the same computing device, and the input method system stores the encoded information input by the user locally.
  • the input method system may also be a network input method system, for example, the input interface unit and the display unit of the input method system are located in the first computing device, the vocabulary is located in the second computing device, and the first computing device and the second computing device are Connected via the network.
  • the input method system acquires corresponding information from the second computing device according to the information input by the user, and displays the corresponding character in the first computing device.
  • Embodiment 6 is an input method system, which specifically includes the following components: a display unit 902 and a vocabulary 903 for inputting words;
  • a search keyword determining module 904 configured to determine a search keyword required by the user
  • the search command generating module 905 is configured to generate a search command according to the search keyword; the search command may include a URL address of the search keyword, or the search command may also include a search keyword and a search type parameter;
  • a search command sending module 906, configured to send the search command to a search engine
  • the search result receiving module 907 is configured to receive search result information returned by the search engine. According to the related description in the foregoing embodiment, those skilled in the art can easily know that the search keyword determining module 904 determines the search keyword required by the user in a manner of: directly determining that the obtained input word is a search required by the user. Key words.
  • the input method system shown in FIG. 9 may further include: an input word storage module 908 for storing the acquired at least one input word; and then the search keyword determining module 904 determines the manner of the search keyword required by the user.
  • the method may be: determining that one or more input words stored in the storage module are search keywords required by a user.
  • the input method system shown in FIG. 9 may be a common input method system.
  • the input interface unit, the display unit, and the vocabulary of the input method system are located in the same computing device, and the input method system has localized input information through the user.
  • the query match displays the corresponding character locally.
  • the input method system may also be a network input method system.
  • the input interface unit and the display unit of the input method system are located in the first computing device, the vocabulary is located in the second computing device, and the first computing device and the second computing device are The devices are connected via a network.
  • the input method system obtains corresponding information from the second computing device according to the information input by the user, and displays the corresponding character in the first computing device.
  • the input method system shown in FIG. 9 may further include: a presentation module 909, configured to display the search result in an auxiliary window or a candidate word window of the input method system. If the input method shown in FIG. 9 wishes to display the search result information by calling a browser program in the local computing device, the method may further include: a calling module 910, configured to notify the computing device of the operating system to start the browser, by the browser Present the search results.
  • Embodiment 7 is an input method system, and specifically includes the following components: a display unit 1002 and a thesaurus 1003 for inputting words;
  • a search keyword determining module 1004 configured to determine a search keyword required by the user;
  • the search command may include a URL address of the search keyword, or
  • the search command may also include a search keyword and a search type parameter;
  • the search command sending module 1006 is configured to send the search command to the search engine; the search result receiving module 1007 is configured to receive search result information returned by the search engine; the search result storage module 1008 is configured to store the search returned by the search engine a result module; a presentation module 1009 and/or a calling module 1010; the presentation module is configured to display the search result in an auxiliary window or a candidate word window of the input method system; the calling module is configured to notify an operation of the computing device
  • the system launches a browser, and the search results are presented by the browser.
  • the input method system shown in FIG. 10 may further include:
  • An update query module 1011 configured to initiate an update query to the search engine, requesting to confirm whether the search result corresponding to the search request has been updated; if updated, receiving the updated search result returned by the search, if not updated, Searching for the search result in the stored search result information;
  • the search request determining module 1012 is configured to determine, in the stored at least one piece of search result information, whether the current search request is a repeated query within a preset time period; The repeated query within the preset time period obtains the search result from the stored search result information; if it is a repeated query, but is not within the preset time period, the update query module 1011 is triggered; if it is not a repeated query
  • the search command sending module 1006 is triggered.
  • Embodiment 8 is an input.
  • the legal system specifically includes the following components: a display unit 1102 and a thesaurus 1103 for inputting words;
  • a search keyword determining module 1104 configured to determine a search keyword required by the user
  • a search command generating module 1105 configured to generate a search command according to the search keyword
  • the search command may include a URL address of the search keyword, or
  • the search command may also include a search keyword and a search type parameter;
  • a search command sending module 1106, configured to send the search command to a search engine;
  • a search result receiving module 1107 configured to receive search result information returned by the search engine;
  • a search result storage module 1108, configured to store the search returned by the search engine a result template;
  • a presentation template module 1109 configured to store at least one preset presentation template;
  • the search result processing module 1110 is configured to process the received or stored search result information according to the preset presentation template.
  • the input method system shown in FIG. 11 may further include: a presentation module 1111 for displaying the search result in an auxiliary window or a candidate word window of the input method system; Alternatively, a presentation module 1111 for presenting the processed search result information in an auxiliary window or a candidate word window of the input method system.
  • the method may further include: instructing the operating system of the computing device to launch the browser, and the browser displays the The calling module 1112 of the search result; or a calling module 1112 for notifying the operating system of the computing device to launch the browser, and displaying the processed search result information by the browser.
  • Embodiment 5 - Embodiment 8 can be correspondingly applied to the various method embodiments described above, so the description of Embodiment 5 - Embodiment 8 is relatively simple, and the details are not described in detail. The description of the corresponding section earlier in this manual.

Abstract

An easy information search method, system and a character input system, wherein said information search method includes the following steps: determining a keyword that the user needs to search; based on the search keyword, character input system creating a search command and sending the command to search engine; search engine returning search results back to the character input system; and the search results being displayed. The present invention can greatly improve searching efficiency, reduce user's operation and avoid noneffective data exchanging and processing. For simple search results, an additional window or a candidate-word window of the character input system may be directly called to display the search results and the Internet explorer is prevented from being called, so as to economize the memory resource and the computing resource. The present invention can be used in various network search engines and local search engines, as well as in various search tools or search web sites.

Description

一种便捷的信息搜索方法、 系统及一种输入法系统 本申请要求于 2007 年 1 月 25 日提交中国专利局、 申请号为 200710000399.3、 发明名称为"一种便捷的信息搜索方法、 系统及一种输入法 系统"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。  The present invention claims to be submitted to the Chinese Patent Office on January 25, 2007, the application number is 200710000399.3, and the invention name is "a convenient information search method, system and a The priority of the Chinese Patent Application for the Input Method System is hereby incorporated by reference in its entirety.
技术领域 Technical field
本发明涉及信息检索领域,特别是涉及一种能够减少数据流转步骤的、 便捷的信息搜索方法和系统, 以及一种输入法系统。  The present invention relates to the field of information retrieval, and in particular to a convenient information search method and system capable of reducing data flow steps, and an input method system.
背景技术 Background technique
随着因特网及其它数据网络系统中使用的文本信息和多媒体信息的迅 速增加, 终端用户需要越来越多地依靠基于文本和关键词的搜索工具去获 取所需的信息。 一般地, 终端用户将所需要查找的信息文件的关键词输入 搜索工具或引擎。 搜索工具或引擎在已有索引数据库中搜索之后, 返回所 需文件指针清单, 并带有文件标题, 以及通常还有一些从文件正文中摘录 下来的描述性文字。 然后, 终端用户就可以浏览部分或全部的返回指针, 进而浏览全部或部分实际文件、 在线内容等。  With the rapid increase in text and multimedia information used in the Internet and other data network systems, end users need to rely more and more on text and keyword based search tools to obtain the information they need. Typically, the end user enters the keywords of the information files that need to be found into the search tool or engine. After the search tool or engine searches in the existing index database, it returns a list of required file pointers with the file title, and usually some descriptive text extracted from the body of the file. The end user can then browse some or all of the return pointers to view all or part of the actual files, online content, and so on.
由于信息语言的多样性, 用户输入的关键词也具有多样性, 尤其对于 中、 日、 韩以及一些具有候选词需求的语言输入而言, 需要输入法系统帮 助用户选择输入正确的信息。  Due to the diversity of information languages, the keywords input by users are also diverse. Especially for Chinese, Japanese, Korean and some language input with candidate word requirements, the input method system is needed to help users choose to input correct information.
现有技术中, 典型的, 采用输入法输入关键词进行搜索的过程一般有 以下两种方式:  In the prior art, in general, the process of inputting keywords by using an input method generally has the following two methods:
1、 打开浏览器, 输入搜索引擎的网址, 或者通过收藏夹、 默认首页定 制等方式进入搜索引擎的网页; 打开输入法; 输入关键词, 启动搜索; 搜 索引擎返回搜索结果, 浏览器展现搜索结果。  1. Open a browser, enter the URL of the search engine, or enter the search engine's webpage through favorites, default homepage customization, etc.; open the input method; enter keywords, start search; search engine returns search results, browser displays search results .
2、 打开搜索工具, 显示关键词输入界面, 该搜索工具链接特定的搜索 引擎; 打开输入法; 输入关键词, 启动搜索; 搜索引擎返回搜索结果, 浏 览器或者搜索工具界面展现搜索结果。  2. Open the search tool and display the keyword input interface. The search tool links to a specific search engine; open the input method; input keywords, start the search; the search engine returns the search results, and the browser or search tool interface displays the search results.
从数据流的角度对上述两种方式进行分析, 发现其实二者使用的是相 同的数据流:  The above two methods are analyzed from the perspective of data flow, and it is found that the two use the same data stream:
操作系统接收键盘消息——转发给输入法——输入法完成内容(关键 词) 选择和转换 __输入法将输入内容(关键词)发送至操作系统 __操 作系统转发所述输入内容(关键词) 至展现关键词输入界面的浏览器或者 搜索工具 __浏览器或者搜索工具生成搜索命令, 发送至搜索引擎 __返 回搜索结果, 浏览器或者搜索工具界面展现搜索结果。 The operating system receives the keyboard message - forwarded to the input method - the input method completes the content (key Word) Select and convert __ input method to send input (keywords) to the operating system __ operating system to forward the input content (keywords) to the browser that displays the keyword input interface or search tool __browser or The search tool generates a search command, sends it to the search engine __ returns the search result, and the browser or search tool interface displays the search result.
随着人们对信息需求的急剧增加, 搜索已经成为信息技术中最频繁的 应用之一。 而人们在频繁的信息搜索应用中, 发现上述的搜索方式存在以 下缺点: 步骤复杂, 用户难以操作, 需要用户经过多个步骤的操作 (经过 7 个步骤的数据流传输) 才能实现搜索的目的; 于是, 越来越多的用户希 望享受更为简便的搜索过程。  As people's demand for information has increased dramatically, search has become one of the most frequent applications in information technology. In the frequent information search applications, people find that the above search methods have the following disadvantages: The steps are complicated, the user is difficult to operate, and the user needs to perform multiple steps of operation (through 7 steps of data stream transmission) to achieve the purpose of searching; As a result, more and more users want to enjoy a more convenient search process.
所以, 现阶段需要本领域技术人员迫切解决的一个技术问题就是: 如 何能够减少搜索过程的步骤, 减少搜索过程中数据流的流转步骤。  Therefore, a technical problem that needs to be solved urgently by those skilled in the art at this stage is: how to reduce the steps of the search process and reduce the flow of data flow during the search process.
发明内容 Summary of the invention
本发明所要解决的技术问题是提供一种简单快捷的信息搜索方法和系 统, 采用较少的数据流传步骤(较少的用户操作步骤) 就能够实现信息搜 索的目的。  The technical problem to be solved by the present invention is to provide a simple and quick information search method and system, and the purpose of information search can be realized by using fewer data streaming steps (less user operation steps).
相应的, 本发明另一个目的是提供一种输入法系统, 用于帮助实现上 述简单快捷的信息搜索方法。  Accordingly, it is another object of the present invention to provide an input method system for facilitating the above-described simple and quick information search method.
为了解决上述问题, 本发明公开了一种信息搜索的方法, 包括: 确定 用户所需的搜索关键词; 根据该搜索关键词, 输入法系统生成搜索命令, 并发送至搜索引擎; 搜索引擎返回搜索结果至输入法系统; 展现所述搜索 结果。  In order to solve the above problem, the present invention discloses a method for information search, comprising: determining a search keyword required by a user; according to the search keyword, the input method system generates a search command and sends it to a search engine; the search engine returns a search The result is to the input method system; the search results are presented.
其中, 可以通过以下步骤实现所述搜索关键词的确定: 接收用户输入 的编码字符串;获取并在输入法窗口中显示用户确认的至少一个输入字词; 确定上述一个或者多个输入字词为用户所需的搜索关键词。  The determining of the search keyword may be implemented by: receiving an encoded character string input by the user; acquiring and displaying at least one input word confirmed by the user in the input method window; determining that the one or more input words are Search keywords required by the user.
或者, 也可以通过以下步骤实现所述搜索关键词的确定: 接收用户输 入的编码字符串; 通过用户选择或者输入法系统默认设置, 确定一候选词 为用户所需的搜索关键词。  Alternatively, the determination of the search keyword may be implemented by: receiving an encoded character string input by the user; determining a candidate word as a search keyword required by the user by a user selection or input system default setting.
优选的, 通过浏览器展现所述搜索结果。 或者, 通过输入法系统的附 属窗口或者候选词窗口展现所述搜索结果。 优选的, 所述搜索命令包括搜索关键词的 URI地址。 或者, 所述搜索 命令可以包括搜索关键词和搜索类型参数。 Preferably, the search result is presented by a browser. Alternatively, the search result is presented through an auxiliary window or candidate window of the input method system. Preferably, the search command includes a URI address of a search keyword. Alternatively, the search command may include a search keyword and a search type parameter.
优选的, 所述方法还可以包括: 所述输入法系统存储所述搜索引擎返 回的搜索结果。  Preferably, the method may further include: the input method system storing the search result returned by the search engine.
优选的, 通过以下步骤完成搜索结果的展现: 所述输入法系统将所述 的搜索结果交给浏览器采用搜索结果信息中指定的方式进行展现; 或者, 所述输入法系统根据预置的展现模板, 对所述搜索结果信息进行加工, 交 给浏览器采用调整后的展现方式进行展现; 或者, 所述输入法系统根据预 置的展现模板, 在输入法系统附属窗口或者候选词窗口中对所述搜索结果 进行展现; 或者, 所述输入法系统将所述搜索结果交给第三方应用程序进 行展现。  Preferably, the presentation of the search result is completed by the following steps: the input method system submits the search result to the browser for presentation in a manner specified in the search result information; or, the input method system displays according to the preset a template, processing the search result information, and submitting to the browser to display the adjusted display manner; or, the input method system is in the input method system auxiliary window or the candidate word window according to the preset presentation template The search result is presented; or the input method system hands the search result to a third party application for presentation.
优选的, 所述方法还可以包括: 在所存储的至少一条搜索结果信息中, 判断本次搜索请求是否为在预置时间段之内的重复查询; 如果是在预置时 间段之内的重复查询, 则从所存储的搜索结果信息中获取搜索结果; 如果 是重复查询, 但不在预置时间段之内, 则向搜索引擎发起更新查询, 请求 确认本次搜索请求相应的搜索结果是否已更新; 如果不是重复查询, 则直 接向搜索引擎发起搜索请求。  Preferably, the method may further include: determining, in the stored at least one piece of search result information, whether the current search request is a repeated query within a preset time period; if the repetition is within a preset time period The query obtains the search result from the stored search result information; if it is a repeated query, but is not within the preset time period, an update query is initiated to the search engine, requesting to confirm whether the search result corresponding to the search request has been updated. If it is not a duplicate query, it initiates a search request directly to the search engine.
优选的, 所述方法还可以包括: 搜索引擎端存储符合预置条件的搜索 请求及相应的搜索结果。  Preferably, the method may further include: the search engine side storing the search request that meets the preset condition and the corresponding search result.
优选的, 所述搜索结果包括多条搜索记录, 所述记录能够链接至信息 本身; 或者, 所述搜索结果包括某条符合预置条件的搜索记录相应的信息 本身。  Preferably, the search result includes a plurality of search records, and the record can be linked to the information itself; or the search result includes information corresponding to a certain search record that meets the preset condition.
本发明还公开了一种信息搜索的方法, 包括: 确定用户所需的搜索关 键词; 根据该搜索关键词, 输入法系统生成搜索命令; 调用第三方应用程 序, 由该应用程序将所述搜索命令发送至搜索引擎; 搜索引擎返回搜索结 果至该应用程序; 展现所述搜索结果。  The invention also discloses a method for information search, comprising: determining a search keyword required by a user; according to the search keyword, the input method system generates a search command; calling a third-party application, wherein the search is performed by the application The command is sent to the search engine; the search engine returns the search result to the application; the search result is presented.
其中, 可以通过以下步骤实现所述搜索关键词的确定: 接收用户输入 的编码字符串;获取并在输入法窗口中显示用户确认的至少一个输入字词; 确定上述一个或者多个输入字词为用户所需的搜索关键词。 也可以通过以 下步骤实现所述搜索关键词的确定: 接收用户输入的编码字符串; 通过用 户选择或者输入法系统默认设置,确定一候选词为用户所需的搜索关键词。 The determining of the search keyword may be implemented by: receiving an encoded character string input by the user; acquiring and displaying at least one input word confirmed by the user in the input method window; determining that the one or more input words are Search keywords required by the user. Can also pass The next step is to implement the determination of the search keyword: receiving the encoded character string input by the user; determining, by the user selection or the input system default setting, that the candidate word is the search keyword required by the user.
优选的, 所述搜索命令包括搜索关键词的 URI地址。 或者, 所述搜索 命令可以包括搜索关键词和搜索类型参数。  Preferably, the search command includes a URI address of a search keyword. Alternatively, the search command may include a search keyword and a search type parameter.
优选的, 所述方法还可以包括: 搜索引擎端存储符合预置条件的搜索 请求及相应的搜索结果。  Preferably, the method may further include: the search engine side storing the search request that meets the preset condition and the corresponding search result.
本发明还提供了一种输入法系统, 包括输入接口单元、 显示单元和词 库, 以及: 搜索关键词确定模块, 用于确定用户所需的搜索关键词; 搜索 命令生成模块, 用于根据该搜索关键词, 生成搜索命令; 搜索命令发送模 块, 用于发送所述搜索命令至第三方应用程序, 通知该应用程序根据该搜 索命令获取搜索结果。  The invention also provides an input method system, comprising: an input interface unit, a display unit and a thesaurus, and: a search keyword determining module, configured to determine a search keyword required by the user; a search command generating module, configured to Searching for a keyword, generating a search command; a search command sending module, configured to send the search command to a third-party application, and notify the application to obtain a search result according to the search command.
优选的, 所述输入法系统的输入接口单元、 显示单元以及词库位于同 一计算设备中; 或者, 所述输入法系统的输入接口单元、 显示单元位于第 一计算设备中, 词库位于第二计算设备中, 所述输入法系统根据用户输入 的信息, 从位于第二计算设备中获取相应信息, 在第一计算设备显示相应 字符。  Preferably, the input interface unit, the display unit, and the vocabulary of the input method system are located in the same computing device; or the input interface unit and the display unit of the input method system are located in the first computing device, and the vocabulary is located in the second In the computing device, the input method system acquires corresponding information from the second computing device according to the information input by the user, and displays the corresponding character in the first computing device.
优选的, 所述确定可以为: 直接确定所获取的输入字词为用户所需的 搜索关键词。  Preferably, the determining may be: directly determining that the obtained input word is a search keyword required by the user.
优选的, 输入字词存储模块, 用于存储所获取的至少一个输入字词; 所述确定为: 确定所述存储模块中存储的一个或者多个输入字词为用户所 需的搜索关键词。  Preferably, the input word storage module is configured to store the acquired at least one input word; the determining is: determining that one or more input words stored in the storage module are search keywords required by the user.
优选的, 所述搜索命令包括搜索关键词的 URI地址。 或者, 所述搜索 命令可以包括搜索关键词和搜索类型参数。  Preferably, the search command includes a URI address of a search keyword. Alternatively, the search command may include a search keyword and a search type parameter.
本发明还公开了一种输入法系统, 包括输入接口单元、 显示单元和词 库, 以及: 搜索关键词确定模块, 用于确定用户所需的搜索关键词; 搜索 命令生成模块, 用于根据该搜索关键词, 生成搜索命令; 搜索命令发送模 块, 用于发送所述搜索命令至搜索引擎; 搜索结果接收模块, 用于接收搜 索引擎返回的搜索结果信息。  The invention also discloses an input method system, comprising: an input interface unit, a display unit and a thesaurus, and: a search keyword determining module, configured to determine a search keyword required by the user; a search command generating module, configured to Searching for a keyword, generating a search command; a search command sending module, configured to send the search command to a search engine; and a search result receiving module, configured to receive search result information returned by the search engine.
优选的, 所述的输入法系统还可以包括: 搜索结果存储模块, 用于存 储所述搜索引擎返回的搜索结果信息。 Preferably, the input method system further includes: a search result storage module, configured to save The search result information returned by the search engine is stored.
优选的, 所述的输入法系统还可以包括: 更新查询模块, 用于向搜索 引擎发起更新查询, 请求确认本次搜索请求相应的搜索结果是否已更新; 搜索请求判断模块, 用于在所存储的至少一条搜索结果信息中, 判断本次 搜索请求是否为在预置时间段之内的重复查询; 如果是在预置时间段之内 的重复查询, 则从所存储的搜索结果信息中获取搜索结果; 如果是重复查 询, 但不在预置时间段之内, 则触发所述更新查询模块; 如果不是重复查 询, 则触发所述搜索命令发送模块。  Preferably, the input method system further includes: an update query module, configured to initiate an update query to the search engine, requesting to confirm whether the search result corresponding to the search request has been updated; and a search request determination module, configured to be stored In at least one piece of search result information, determining whether the current search request is a repeated query within a preset time period; if it is a repeated query within a preset time period, obtaining a search from the stored search result information If the query is repeated but not within the preset time period, the update query module is triggered; if the query is not repeated, the search command sending module is triggered.
优选的, 所述的输入法系统还可以包括: 展现模板模块, 用于存储至 少一个预置的展现模板; 搜索结果加工模块, 用于根据预置的展现模板, 对所述搜索结果信息进行加工。  Preferably, the input method system further includes: a presentation template module, configured to store at least one preset presentation template; and a search result processing module, configured to process the search result information according to the preset presentation template. .
优选的, 所述的输入法系统还可以包括: 展现模块, 用于在所述输入 法系统的附属窗口或者候选词窗口, 展现所述搜索结果; 以及 /或者, 调用 模块, 用于通知计算设备的操作系统启动第三方应用程序, 由该应用程序 展现所述搜索结果。  Preferably, the input method system may further include: a presentation module, configured to display the search result in an auxiliary window or a candidate word window of the input method system; and/or a calling module, configured to notify the computing device The operating system launches a third party application that presents the search results.
优选的, 所述的输入法系统还可以包括: 展现模块, 用于在所述输入 法系统的附属窗口或者候选词窗口, 展现所述加工后的搜索结果信息; 以 及 /或者, 调用模块, 用于通知计算设备的操作系统启动第三方应用程序, 由该应用程序展现所述加工后的搜索结果信息。  Preferably, the input method system may further include: a presentation module, configured to display the processed search result information in an auxiliary window or a candidate word window of the input method system; and/or, invoke a module, The operating system is notified to notify the computing device to launch a third-party application, and the processed search result information is presented by the application.
优选的, 所述输入法系统的输入接口单元、 显示单元以及词库位于同 一计算设备中; 或者, 所述输入法系统的输入接口单元、 显示单元位于第 一计算设备中, 词库位于第二计算设备中, 所述输入法系统根据用户输入 的信息, 从位于第二计算设备中获取相应信息, 在第一计算设备显示相应 字符。  Preferably, the input interface unit, the display unit, and the vocabulary of the input method system are located in the same computing device; or the input interface unit and the display unit of the input method system are located in the first computing device, and the vocabulary is located in the second In the computing device, the input method system acquires corresponding information from the second computing device according to the information input by the user, and displays the corresponding character in the first computing device.
优选的, 所述确定可以为: 直接确定所获取的输入字词为用户所需的 搜索关键词。  Preferably, the determining may be: directly determining that the obtained input word is a search keyword required by the user.
优选的, 输入字词存储模块, 用于存储所获取的至少一个输入字词; 所述确定为: 确定所述存储模块中存储的一个或者多个输入字词为用户所 需的搜索关键词。 优选的, 所述搜索命令包括搜索关键词的 URI地址。 或者, 所述搜索 命令可以包括搜索关键词和搜索类型参数。 Preferably, the input word storage module is configured to store the acquired at least one input word; the determining is: determining that one or more input words stored in the storage module are search keywords required by the user. Preferably, the search command includes a URI address of a search keyword. Alternatively, the search command may include a search keyword and a search type parameter.
与现有技术相比, 本发明具有以下优点:  Compared with the prior art, the present invention has the following advantages:
本发明将现有技术中复杂的数据流: 输入法将输入内容(关键词)发 送至操作系统 __操作系统转发所述输入内容(关键词) 至展现关键词输 入界面的浏览器或者搜索工具 __浏览器或者搜索工具生成搜索命令, 发 送至搜索引擎 __返回搜索结果; 变换为简单的数据流: 输入法根据输入 内容(关键词)生成搜索命令, 发送至搜索引擎 __返回搜索结果。 因此, 本发明可以大大提高搜索效率, 减少用户的操作步骤, 避免无效的数据交 互和处理。  The present invention combines the complicated data flow in the prior art: the input method sends the input content (keyword) to the operating system__the operating system forwards the input content (keyword) to the browser or the search tool that displays the keyword input interface. __Browser or search tool generates search command, sends to search engine __ returns search result; transforms into simple data stream: input method generates search command according to input content (keyword), sends to search engine __ returns search result . Therefore, the present invention can greatly improve the search efficiency, reduce the user's operation steps, and avoid invalid data interaction and processing.
即使对于本发明的一些实施例而言, 变换后的数据流为: 输入法根据 输入内容(关键词) 生成搜索命令, 发送至浏览器 __浏览器生成搜索命 令, 发送至搜索引擎 __返回搜索结果。 其仍然能够体现本发明的优越性, 因为该方案能够完全省略浏览器打开关键词输入界面的请求和显示操作, 即本发明至少省略了搜索关键词上屏显示的步骤,减少了无效的数据交互。  Even for some embodiments of the present invention, the transformed data stream is: The input method generates a search command based on the input content (keyword), sends it to the browser __browser generates a search command, and sends it to the search engine __back search results. It can still embody the superiority of the present invention, because the solution can completely omit the request and display operation of the browser to open the keyword input interface, that is, the invention at least omits the step of displaying the keyword on the screen, and reduces invalid data interaction. .
对于一些简单的搜索结果, 本发明还可以直接调用附属窗口或者候选 词窗口显示, 避免调用浏览器显示搜索结果, 进而可以达到节省系统内存 资源和计算资源的目的。  For some simple search results, the invention can also directly call the auxiliary window or the candidate word window display, avoiding calling the browser to display the search result, thereby achieving the purpose of saving system memory resources and computing resources.
本发明可以适用于各种网络搜索引擎以及各种本地搜索引擎, 也可以 适用于各种搜索工具或者搜索网站。 因为所有的搜索工具或者搜索网站都 需要搜索关键词输入界面, 而本发明可以直接将搜索关键词发送至搜索引 擎, 或者生成搜索命令后由浏览器代为发送, 因此本发明的效果突出, 适 用范围广泛。  The present invention can be applied to various web search engines as well as various local search engines, as well as to various search tools or search websites. Since all search tools or search websites need to search for a keyword input interface, the present invention can directly send the search keyword to the search engine, or generate a search command and then send it by the browser, so the effect of the present invention is outstanding, and the scope of application widely.
附图说明 DRAWINGS
图 1是本发明实施例 1的步骤流程图;  1 is a flow chart showing the steps of Embodiment 1 of the present invention;
图 2是确定用户所需的搜索关键词的示意图;  2 is a schematic diagram of determining search keywords required by a user;
图 3是展现搜索结果的示意图;  Figure 3 is a schematic diagram showing search results;
图 4是展现搜索结果的另一示意图;  Figure 4 is another schematic diagram showing the search results;
图 5是本发明实施例 2的步骤流程图; 图 6是本发明实施例 3的步骤流程图; Figure 5 is a flow chart showing the steps of Embodiment 2 of the present invention; Figure 6 is a flow chart showing the steps of Embodiment 3 of the present invention;
图 Ί是本发明实施例 4的步骤流程图;  Figure Ί is a flow chart of the steps of Embodiment 4 of the present invention;
图 8是本发明实施例 5的结构框图;  Figure 8 is a block diagram showing the structure of Embodiment 5 of the present invention;
图 9是本发明实施例 6的结构框图;  Figure 9 is a block diagram showing the structure of Embodiment 6 of the present invention;
图 10是本发明实施例 7的结构框图;  Figure 10 is a block diagram showing the structure of Embodiment 7 of the present invention;
图 11是本发明实施例 8的结构框图。  Figure 11 is a block diagram showing the structure of an embodiment 8 of the present invention.
具体实施方式 detailed description
为使本发明的上述目的、 特征和优点能够更加明显易懂, 下面结合附 图和具体实施方式对本发明作进一步详细的说明。  The above described objects, features and advantages of the present invention will become more apparent from the aspects of the appended claims.
参照图 1 , 示出了本发明信息搜索方法实施例 1 的步骤流程图, 具体 包括以下步骤:  Referring to FIG. 1, a flow chart of the steps of Embodiment 1 of the information searching method of the present invention is shown, which specifically includes the following steps:
步骤 101、 确定用户所需的搜索关键词;  Step 101: Determine a search keyword required by the user;
步骤 102、 根据该搜索关键词, 输入法系统生成搜索命令, 并发送至 搜索引擎;  Step 102: The input method system generates a search command according to the search keyword, and sends the search command to the search engine.
步骤 103、 搜索引擎返回搜索结果至输入法系统;  Step 103: The search engine returns the search result to the input method system;
步骤 104、 展现所述搜索结果。  Step 104: Display the search result.
本发明可以适用于具有候选词显示窗口或者具有选字选词需求的各种 输入法, 例如, 中日韩输入法, 以及具有提示功能的罗马字符输入法等等。 本发明所述的搜索关键词包括单个字符、 以及多个字符组成的词组等。  The present invention can be applied to various input methods having a candidate word display window or a word selection requirement, for example, a Chinese-Japanese-Korean input method, a Roman character input method having a prompt function, and the like. The search keywords described in the present invention include a single character, a phrase composed of a plurality of characters, and the like.
所述的搜索结果可以包括多条搜索记录, 所述记录能够链接至信息本 身; 或者, 所述搜索结果为某条符合预置条件的搜索记录相应的信息本身。 例如, 所述搜索结果的展现可以为: 多条匹配搜索的网页地址记录列表, 还可以包括一些简要说明等; 所述搜索结果的展现也可以为: 直接链接至 多条匹配搜索的网页地址中的第一条对应的网页。  The search result may include a plurality of search records, and the record may be linked to the information itself; or the search result is the information itself corresponding to the search record that meets the preset condition. For example, the display of the search result may be: a plurality of webpage address record lists matching the search, and may further include some brief descriptions and the like; the search result may also be: directly linked to the webpage addresses of the plurality of matching searches. The first page corresponds to the page.
步骤 101中所述的确定可以采用以下两种方案实现:  The determination described in step 101 can be implemented in the following two schemes:
第一种方案: 接收用户输入的编码字符串, 经过转换, 显示至少一个 候选词; 用户选择确定其中一个候选词为所需的搜索关键词, 或者输入法 系统默认确定其中一个候选词为用户所需的搜索关键词。 该方案中, 用户 的输入体验与现有的输入法非常接近, 只不过, 现有输入法确定的为上屏 字词, 用户选定或者系统默认确定后就将输出并上屏显示, 而本发明确定 后不需要上屏显示。 The first scheme: receiving a coded string input by a user, and converting, displaying at least one candidate word; the user selecting to determine one of the candidate words as a desired search keyword, or the input method system determines one of the candidate words as the user by default Required search keywords. In this scheme, the user's input experience is very close to the existing input method, except that the existing input method determines the upper screen. The word will be output and displayed on the screen after the user selects or the system is determined by default, and the screen is not required to be displayed after the invention is determined.
例如, 用户输入拼音编码字符串" sougou" , 候选词区显示多个候选项, 用户可以选择某个候选项为搜索关键词 (例如, 通过鼠标操作或者特定快 捷键方式选择 "搜购"); 为了提高效率, 输入法系统也可以默认某个候选项 为搜索关键词 (例如, 选择率最高的第一个候选项 "搜狗"), 如果用户不主 动选择, 则以默认的候选项"搜狗"为搜索关键词。  For example, the user inputs the pinyin encoded string "sougou", and the candidate word area displays multiple candidates, and the user can select a candidate as a search keyword (for example, select "search" by mouse operation or specific shortcut key mode); In order to improve efficiency, the input method system can also default to a candidate as a search keyword (for example, the first candidate with the highest selection rate "sogou"). If the user does not actively choose, the default candidate "sogou" is used. Search for keywords.
其中, 用户选择侯选词和触发步骤 102的操作可以分为两个操作, 即 用户先确定某个候选词为其确认的输入字词, 然后触发步骤 102, 例如, 先通过空格键确定候选词,然后通过点击快捷键( Ctrl + enter )触发步骤 102。 为了方便用户, 还可以将所确定的搜索关键词采用不同的颜色或者字体加 以显示, 与其他候选项区分开来。  The user selects the candidate word and the operation of the triggering step 102 can be divided into two operations, that is, the user first determines a candidate word as the confirmed input word, and then triggers step 102, for example, first determining the candidate word through the space bar. And then trigger step 102 by clicking the shortcut ( Ctrl + enter ). For the convenience of the user, the determined search keywords can also be displayed in different colors or fonts, and are distinguished from other candidates.
当然, 用户选择侯选词和触发步骤 102的操作也可以合为一个操作, 即用户选择某个候选词后, 该被选择的字词就直接从后台输入, 自动触发 步骤 102进行搜索。  Of course, the operation of the user selecting the candidate word and the triggering step 102 can also be combined into one operation. After the user selects a candidate word, the selected word is directly input from the background, and the step 102 is automatically triggered to perform the search.
第二种方案: 首先, 通过鼠标操作或者输入引导字符, 调用预置的存 储空间; 然后, 接收用户输入的编码字符串, 获取用户确认的输入字词, 存储在所述的预置空间中, 并显示在输入法窗口中; 如果用户继续输入编 码字符串, 则继续获取、 显示和存储用户确认的输入字词; 将上述显示和 存储的至少一个输入字词作为用户所需的搜索关键词, 各个输入字词之间 可以设置分隔符。 该方案尤其适用于需要输入多个字词组合作为搜索关键 词的情况。  The second scheme: First, the preset storage space is called by a mouse operation or inputting a guiding character; then, the encoded string input by the user is received, and the input words confirmed by the user are obtained and stored in the preset space. And displayed in the input method window; if the user continues to input the encoded string, then continue to acquire, display and store the input words confirmed by the user; the at least one input word displayed and stored above is used as the search keyword required by the user, A separator can be set between each input word. This scenario is especially useful when you need to enter multiple word combinations as search keywords.
例如, 用户输入搜索引导符 "i", 则用户在引导符" i"之后, 在启动步骤 102 之前的输入字词都作为搜索关键词 (当然, 用户可以对已经输入的字 词进行修改),并将这些输入字词都临时存储在一预置空间中。如图 2所示, 用户输入了"输入法"、 "下载 "两个输入字词, 输入法系统将其显示在引导 符" i"之后, 并以空格作为 "输入法"和"下载"的分隔符, 此时的 "输入法"和 "下载 "的组合就是搜索关键词。 当用户确认不需要再输入新字词、 以及不 需要修改输入字词后, 就可以触发步骤 102了。 当然, 上述实现方式仅仅用于举例, 本发明并不限于上述两种方式, 其他能够实现关键词确定功能的方式都是可行的,在此无法——详述而已。 例如, 本领域技术人员易于想到, 对于某些由 3 - 4个甚至更多的字组成的 搜索词, 就可以将上述的两种方案组合使用: 用户首先确认该搜索词的前 半部分, 緩存并在窗口显示, 等用户确认后半部分之后, 就可以直接将该 搜索词输出了, 该搜索词的后半部分不需要在窗口显示。 For example, if the user inputs the search leader "i", the user enters the input word before the step 102 as the search keyword after the leader "i" (of course, the user can modify the word already entered). These input words are temporarily stored in a preset space. As shown in Figure 2, the user enters two input words "Input Method" and "Download". The input method system displays it after the leader "i" and uses spaces as the "Input Method" and "Download". The separator, the combination of "input method" and "download" at this time is the search keyword. When the user confirms that there is no need to enter a new word and does not need to modify the input word, step 102 can be triggered. Of course, the foregoing implementation manner is only used as an example, and the present invention is not limited to the above two modes, and other manners that can implement the keyword determining function are all feasible, and cannot be described in detail here. For example, those skilled in the art will readily appreciate that for some search words consisting of 3-4 or more words, the above two schemes can be used in combination: the user first confirms the first half of the search term, caches and In the window display, after the user confirms the second half, the search term can be directly output, and the second half of the search word does not need to be displayed in the window.
在步骤 102中, 根据各种搜索引擎不同的工作方式, 可以采用各种各 样的搜索命令。 本发明可以适用于各种网络搜索引擎以及各种本地搜索引 擎, 也可以适用于各种搜索工具或者搜索网站。  In step 102, a variety of search commands can be employed depending on the different modes of operation of the various search engines. The present invention can be applied to various web search engines as well as various local search engines, as well as to various search tools or search websites.
网络上可用的每种资源: HTML文档、 图像、 视频片段、 程序等等, 都可以由一个统一资源标识符 (Uniform Resource Identifier, 简称" URI" ) 进行定位。 URI —般由三部分组成: 访问资源的命名机制; 存放资源的主 机名; 资源自身的名称、 路径或者参数。 Each resource available on the network: HTML documents, images, video clips, programs, and so on, can be located by a Uniform Resource Identifier ("URI"). A URI is generally composed of three parts: a naming mechanism for accessing resources; a host name for storing resources; a name, path, or parameter of the resource itself.
J ^口, http:〃 www. webmonkey.com.cn/html/html40/; 这个 URI表示了一 个可通过 HTTP协议访问的资源, 位于主机 www.webmonkey.com.cn上, 通过路径" /html/html40"访问即可。  J^口, http:〃 www.webmonkey.com.cn/html/html40/; This URI represents a resource accessible via the HTTP protocol, located on the host www.webmonkey.com.cn, via the path " /html/ Html40" access is fine.
在网络资源数据传输领域中比较常用的是 URL ( Uniform Resource Location, 统一资源定位符), URL是 URI命名机制的一个子集。  Commonly used in the field of network resource data transmission is a URL (Uniform Resource Location), which is a subset of the URI naming mechanism.
对于常用的网络搜索而言,一般由本地传递搜索 URL给搜索引擎服务 器, 搜索引擎返回相应的 html 页面 (其中包括搜索结果信息), 则输入法 生成的搜索命令可以包括根据预置规则生成的搜索 URL。 例如, 对于搜索 关键词 "搜狗输入法", 搜索引擎主机地址为: http://www.sogou.com, 则搜 索命令可以包括 URL: http://www•sogou.com/web?query=搜狗输入法。 所述 的预置规则可以包括采用的通信协议方式、 以及通信主机地址等等。  For a commonly used network search, the search URL is generally transmitted locally to the search engine server, and the search engine returns a corresponding html page (including the search result information), and the search command generated by the input method may include the search generated according to the preset rule. URL. For example, for the search keyword "Sogou input method", the search engine host address is: http://www.sogou.com, then the search command can include the URL: http://www•sogou.com/web?query=sogou Input. The preset rules may include a communication protocol mode employed, a communication host address, and the like.
例如, 对于常用的 http协议而言可以采用 get方式和 post方式。  For example, for the commonly used http protocol, the get mode and the post mode can be used.
下面是以"搜狗拼音输入法"为搜索词的 GET方式的请求协议头信息: The following is the request protocol header information of the GET method of "search dog pinyin input method" as the search term:
GET /xml?query t_狗拼音输入法 HTTP .1 */*HTTP命令 行 GET /xml?query t_Dog Pinyin input method HTTP .1 */*HTTP command line
Accept:image/gif,image/x-xbitmap,image/jpeg,image/pjpeg,application/vn d.ms-excel, application/vnd.ms-powerpoint, application/msword, */*可接收 数据的编码类型 Accept:image/gif,image/x-xbitmap,image/jpeg,image/pjpeg,application/vn D.ms-excel, application/vnd.ms-powerpoint, application/msword, */* The type of encoding that can receive data
Accept-Language: zh-cn */*可接 语言  Accept-Language: zh-cn */* can be connected to the language
Accept-Encoding: gzip, deflate */*可接收的压缩方式  Accept-Encoding: gzip, deflate */* acceptable compression method
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1 ; SV1 ; User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
InfoPath.l) */*浏览器信息 InfoPath.l) */* Browser Information
Host: www.sogou.com */*主机地址  Host: www.sogou.com */*Host Address
Connection: Keep-Alive */*可接收的连接状态 下面是以"搜狗拼音输入法"为搜索词的 POST方式的请求协议头信息: Connection: Keep-Alive */* Acceptable Connection Status The following is the request protocol header information of the POST method with the search term "Sogou Pinyin Input Method":
POST /xml HTTP/1.1 */*HTTP命令行 POST /xml HTTP/1.1 */*HTTP command line
Accept:image/gif,image/x-xbitmap,image/jpeg,image/pjpeg,application/vn d.ms-excel, application/vnd.ms-powerpoint, application/msword, */*可接收数 据的编码类型  Accept:image/gif,image/x-xbitmap,image/jpeg,image/pjpeg,application/vn d.ms-excel, application/vnd.ms-powerpoint, application/msword, */* encoding type of data that can be received
Accept-Language: zh-cn */*可接收的语言  Accept-Language: zh-cn */* acceptable language
Accept-Encoding: gzip, deflate */*可接收的压缩方式  Accept-Encoding: gzip, deflate */* acceptable compression method
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1 ; SV1 ; InfoPath.l) */*浏览器信息  User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.l) */* Browser Information
Host: www.sogou.com */*主机地址  Host: www.sogou.com */*Host Address
Connection: Keep-Alive */*可接收的连接状态  Connection: Keep-Alive */* Acceptable connection status
Content- Type: application/x-www-form-urlencoded */*数据体的编 码类型  Content- Type: application/x-www-form-urlencoded */* The encoding type of the data body
Content-Length: 47 */*数据体的长度  Content-Length: 47 */*The length of the data body
(空一行)  (Skip a line)
A8 */*数据体 A8 */* data body
当然, 上述实现方式仅仅用于举例, 本发明并不限于上述两种方式, 根据通信协议的需要或者搜索引擎的需要预置各种规则即可, 在此不再一 一伴述。 随着搜索应用精确度需求的提高, 搜索引擎为各种特定的搜索请求设 立了特殊搜索规则, 例如有手机号搜索, ip地址搜索等一些特定类型的搜 索方式。 对于上述方式发送的搜索请求数据, 为了实现特定类型的搜索, 优选的, 搜索引擎服务器端可以建立一个判断模块。 搜索请求数据到此判 断模块后, 由该判断模块判断是什么类型的请求, 然后再分发此请求到新 闻、 网页、 音乐、 图片、 地图、 IP搜索等各个搜索模块去获得搜索结果。 返回的数据就可以由这些搜索模块直接返回给输入法系统; 也可以返回给 一个统一的发送结果模块, 从而保证输入法的接口单一。 Of course, the foregoing implementation manner is only used as an example. The present invention is not limited to the foregoing two methods, and various rules may be preset according to the needs of the communication protocol or the needs of the search engine, and are not described here. As search application accuracy requirements increase, search engines set up special search rules for various specific search requests, such as mobile phone number search, ip address search and other specific types of search methods. For the search request data sent in the above manner, in order to implement a specific type of search, preferably, the search engine server may establish a judgment module. After searching the request data to the judging module, the judging module judges what type of request is, and then distributes the request to various search modules such as news, webpage, music, picture, map, IP search, etc. to obtain search results. The returned data can be directly returned to the input method system by these search modules; it can also be returned to a unified transmission result module, thus ensuring a single interface of the input method.
当然, 对于特定搜索, 也可以采用在搜索命令中包括搜索类型的方式 实现, 即所述搜索命令中包括搜索关键词信息和搜索类型参数。 对于搜索 类型参数的获得, 可以采用以下两种方式:  Of course, for a specific search, it may also be implemented by including a search type in the search command, that is, the search command includes search keyword information and search type parameters. For the acquisition of the search type parameter, there are two ways:
1、 用户指定搜索类型 (输入标识符或者选择菜单项), 例如, 搜索词 前加 mp3 , 就特指音乐搜索, 则输入法系统经过判断后, 生成特定的搜索 命令直接发送至搜索引擎的音乐搜索模块来获得搜索结果。  1. The user specifies the search type (enter identifier or select menu item). For example, if the search word is preceded by mp3, it refers to the music search. After the input method system judges, the specific search command is generated and sent directly to the search engine. Search the module to get search results.
2、 由输入法系统自动识别用户所搜索类型, 例如, 所述搜索关键词为 四部分数字, 并且中间包括三个点, 则判断本次搜索类型为 IP搜索, 则将 包括搜索类型参数和搜索关键词的搜索命令发送至搜索引擎的 IP搜索模块 来获得搜索结果。 再例如, 当所述搜索关键词为以 13开头的 11位数字, 则判断本次搜索类型为手机号码搜索; 判定搜索类型之后, 将搜索类型和 搜索请求发送至搜索引擎, 搜索引擎生成搜索结果后返回; 例如, 其中发 送的搜索命令可以为: 手机归属地查询 - 13512345678。  2. The input method system automatically recognizes the type searched by the user. For example, if the search keyword is a four-part number and three points are included in the middle, then the current search type is determined to be an IP search, and the search type parameter and the search are included. The search command of the keyword is sent to the IP search module of the search engine to obtain the search result. For another example, when the search keyword is an 11-digit number starting with 13, it is determined that the current search type is a mobile phone number search; after determining the search type, the search type and the search request are sent to the search engine, and the search engine generates the search result. After returning; for example, the search command sent therein can be: Mobile home attribution query - 13512345678.
上述三种用于实现特定类型搜索的方式可以单独应用, 也可以采用各 种组合而形成互补应用或者同时应用。  The above three methods for implementing a specific type of search may be applied separately, or may be combined to form a complementary application or a simultaneous application.
优选的, 所述搜索命令还可以包括一些自定义的格式信息, 例如, 搜 索结果显示条数、 本地语言、 以及个性化搜索参数等等。  Preferably, the search command may further include some customized format information, for example, a search result display number, a local language, a personalized search parameter, and the like.
步骤 104所述的展现可以采用以下方式:  The presentation described in step 104 can be as follows:
通过浏览器展现所述搜索结果;  Presenting the search results through a browser;
或者, 当搜索引擎位于本地时, 可以调用相应的搜索工具展现所述搜 索结果; 或者,通过输入法系统的附属窗口或者候选词窗口展现所述搜索结果。 本发明中所述的浏览器仅仅为举例, 因为浏览器在搜索领域的应用较 广。 但是实际上, 对于本发明而言, 采用任何可行的第三方应用程序进行 搜索结果的展现都是可以接受的。 下面的各个实施例中的 "浏览器"一词都 可以参照理解。 Or, when the search engine is local, the corresponding search tool may be invoked to display the search result; Alternatively, the search results are presented through an adjunct window or candidate window of the input method system. The browser described in the present invention is merely an example, because the browser is widely used in the field of search. In practice, however, it is acceptable for the present invention to use any viable third party application to present search results. The term "browser" in the various embodiments below can be understood with reference.
对于通过附属窗口或者候选词窗口展现所述搜索结果的情况, 下面举 两个例子加以说明:  For the case where the search results are presented through an attached window or candidate window, two examples are given below:
1、 参照图 3, 上方为输入法系统的输入窗口, 下方为输入法系统的附 属窗口, 搜索引擎返回的搜索结果信息就通过该附属窗口显示, 包括搜索 结果各条记录的标题和摘要, 用户可以通过选择某条搜索结果记录而链接 至该结果的详细内容(即信息本身), 例如, 在图 3中, 用户选择第 2条记 录, 其标题为搜狗音乐, 则自动通过网页浏览器打开该条搜索结果记录的 链接 URL: 【music.sogou.com】。 当然, 优选的, 由于附属窗口的展现空间 有限, 则可以仅仅展现相关度最高的一些搜索结果, 不用展现所有的搜索 结果信息。  1. Referring to FIG. 3, the upper part is an input window of the input method system, and the lower part is an auxiliary window of the input method system, and the search result information returned by the search engine is displayed through the auxiliary window, including the title and summary of each record of the search result, and the user You can link to the details of the result (ie, the message itself) by selecting a search result record. For example, in Figure 3, the user selects the second record, which is titled Sogou music, and automatically opens the file through a web browser. Link URL of the search result record: [music.sogou.com]. Of course, preferably, since the presentation space of the auxiliary window is limited, only some search results with the highest correlation can be displayed, and all the search result information is not displayed.
2、 参照图 4, 用户输入了标识符" i", 则启动预置的存储空间, 将后续 的一个或者多个输入字词存储为搜索关键词, 图 4 中, 用户输入了一个手 机号。 触发搜索后, 输入法系统判断出本次搜索关键词为手机号, 则向搜 索引擎发送手机号归属地搜索请求, 接收返回的搜索结果信息并显示: 【手 机来源: 北京市海淀区】。 优选的, 还可以通过用户触发将该搜索结果信息 输出至输入法当前使用的应用程序, 例如, 用户在此时选择 1, 或者按下 空格, 则将信息 【手机来源: 北京市海淀区】上屏至用户正在输入的 word 文档。  2. Referring to FIG. 4, when the user inputs the identifier “i”, the preset storage space is started, and one or more subsequent input words are stored as search keywords. In FIG. 4, the user inputs a mobile phone number. After the search is triggered, the input method system determines that the search keyword is the mobile phone number, and sends a mobile phone number attribution search request to the search engine, and receives the returned search result information and displays: [Mobile source: Beijing Haidian District]. Preferably, the search result information may also be output to the application currently used by the input method by the user, for example, the user selects 1 at this time, or presses a space, and then the information [mobile phone source: Haidian District, Beijing] Screen to the word document that the user is typing.
参照图 5, 示出了本发明信息搜索方法实施例 2的步骤流程图, 实施 例 2的最大特点在于: 在输入法系统中, 存储了一些符合预置条件的搜索 结果; 例如, 一天之内的搜索结果。 实施例 2具体可以包括以下步骤: 步骤 201、 确定用户所需的搜索关键词;  Referring to FIG. 5, a flow chart of the steps of Embodiment 2 of the information searching method of the present invention is shown. The most important feature of Embodiment 2 is that: in the input method system, some search results that meet the preset conditions are stored; for example, within one day Search results. Embodiment 2 may specifically include the following steps: Step 201: Determine a search keyword required by a user;
步骤 202、 在所存储的至少一条搜索结果信息中, 判断本次搜索请求 是否为在预置时间段之内的重复查询; 如果是在预置时间段之内的重复查询 , 则执行步骤 205-207; 如果是重复查询, 但不在预置时间段之内, 则执行步骤 206-207; 如果不是重复查询, 则执行步骤 203 - 204 - 207; Step 202: Determine, in the stored at least one piece of search result information, whether the current search request is a repeated query within a preset time period; If it is a repeated query within a preset time period, steps 205-207 are performed; if the query is repeated, but not within the preset time period, steps 206-207 are performed; if it is not a repeated query, step 203 is performed. - 204 - 207;
步骤 203、 根据该搜索关键词, 输入法系统生成搜索命令, 并发送至 搜索引擎;  Step 203: The input method system generates a search command according to the search keyword, and sends the search command to the search engine.
步骤 204、 搜索引擎返回搜索结果至输入法系统, 所述输入法系统存 储所述搜索引擎返回的搜索结果;  Step 204: The search engine returns a search result to an input method system, where the input method system stores the search result returned by the search engine;
步骤 205、 从所存储的搜索结果信息中获取搜索结果;  Step 205: Obtain a search result from the stored search result information.
步骤 206、 向搜索引擎发起更新查询, 请求确认本次搜索请求相应的 搜索结果是否已更新; 如果已更新, 则接收搜索引擎返回的更新后的搜索 结果, 如果未更新, 则从所存储的搜索结果信息中获取搜索结果;  Step 206: Initiating an update query to the search engine, requesting to confirm whether the search result corresponding to the search request has been updated; if updated, receiving the updated search result returned by the search engine, if not updated, from the stored search Obtaining search results in the result information;
步骤 207、 展现所述搜索结果。 所述展现可以为: 通过浏览器展现所 述搜索结果; 或者, 通过输入法系统的附属窗口或者候选词窗口展现所述 搜索结果。  Step 207: Display the search result. The presentation may be: presenting the search result by a browser; or presenting the search result through an affiliate window or a candidate word window of the input method system.
由于对于网络搜索而言, 客户端和服务器端的通讯量是整个系统正常 运转的速度瓶颈, 因此为了尽量减小客户端和服务器端的通讯次数, 本发 明的实施例 2 中在输入法系统中采用了存储一定搜索结果信息的方式, 用 于减小客户端和服务端的通讯次数。  Since the communication between the client and the server is a speed bottleneck for the normal operation of the entire system for the network search, in order to minimize the number of communication between the client and the server, the second embodiment of the present invention is adopted in the input method system. The way to store certain search result information is used to reduce the number of communication between the client and the server.
具体策略可以举例如下:  Specific strategies can be exemplified as follows:
1)输入法系统中搜索结果的存储有效期为 24小时。 即 24小时内的重 复查询, 完全不向服务端发起请求。 选择 24小时, 是因为一般的搜索引擎 每天晚上会更新一批时效性较强的数据, 因此一天之内, 对于大多数的查 询请求而言, 其结果不会有太大变化。  1) The search result in the input method system is valid for 24 hours. That is, repeated queries within 24 hours, no request is initiated to the server at all. The choice of 24 hours is because the average search engine updates a batch of time-sensitive data every night, so within a day, the results will not change much for most query requests.
2)对于超过有效期, 但是命中本地存储的查询, 本地存储先向服务端 存储发起一次查询, 确认该查询是否更新。 具体做法是:  2) For queries that exceed the validity period but hit the local storage, the local storage first initiates a query to the server storage to confirm whether the query is updated. The specific approach is:
本地存储将前五条查询结果的标题、 摘要、 URL通过 MD5运算得到 一个唯一编码串, 将该数值发送给服务器。 搜索引擎也将当前的查询结果 中前五条的标题、 摘要、 URL作 MD5运算。  The local storage obtains a unique code string from the title, summary, and URL of the first five query results through MD5, and sends the value to the server. The search engine also performs MD5 operations on the first five headings, abstracts, and URLs in the current query results.
&>如果编码串和输入法系统发送过来的一致, 则搜索引擎通知输入法 系统存储有效, 直接从所存储的搜索结果中获取并显示即可; &> If the code string and the input method system are consistent, the search engine notifies the input method The system storage is valid, and it can be obtained and displayed directly from the stored search results;
b>如果编码串和输入法系统发送过来的不一致, 则搜索引擎将新的 5 条结果返回给输入法系统, 并由输入法系统更新存储, 然后将结果显示给 用户。  b> If the encoded string and the input method system are inconsistent, the search engine returns the new 5 results to the input method system, and the input method system updates the storage, and then displays the result to the user.
3) 对于本地没有存储的查询, 直接向搜索引擎发起查询请求, 搜索引 擎直接返回 5条结果, 由输入法系统存储并显示。  3) For queries that are not stored locally, the query request is directly sent to the search engine, and the search engine directly returns 5 results, which are stored and displayed by the input method system.
4) 如果 24 小时之内的搜索请求过多, 导致输入法系统中存储的数据 超过了指定阔值, 则按照先进先出原则丢弃最旧的数据即可。  4) If there are too many search requests within 24 hours, causing the data stored in the input method system to exceed the specified threshold, discard the oldest data on a first in, first out basis.
进一步, 优选的, 当输入法系统查询本地存储的时候, 可以将本地存 储数据组织成哈希表结构, 按照查询词做哈希运算后, 放入不同的哈希桶 内, 从而可以减轻输入法系统在本地计算设备中的运算负载, 加快查询速 度。  Further, preferably, when the input method system queries the local storage, the local storage data may be organized into a hash table structure, and hashed according to the query word, and then placed in different hash buckets, thereby reducing the input method. The system computes the computational load on the device locally, speeding up the query.
参照图 6, 示出了本发明信息搜索方法实施例 3 的步骤流程图, 实施 例 3具体包括以下步骤:  Referring to FIG. 6, a flow chart of the steps of Embodiment 3 of the information searching method of the present invention is shown. Embodiment 3 specifically includes the following steps:
步骤 601、 确定用户所需的搜索关键词;  Step 601: Determine a search keyword required by the user;
步骤 602、 根据该搜索关键词, 输入法系统生成搜索命令, 并发送至 搜索引擎;  Step 602: The input method system generates a search command according to the search keyword, and sends the search command to the search engine.
步骤 603、 搜索引擎返回搜索结果至输入法系统, 所述输入法系统接 收所述搜索引擎返回的搜索结果;  Step 603: The search engine returns a search result to the input method system, where the input method system receives the search result returned by the search engine;
步骤 604、展现所述搜索结果。所述步骤 604可以通过步骤 6041、 6042 或者 6043分别实现:  Step 604, presenting the search result. The step 604 can be implemented by steps 6041, 6042 or 6043 respectively:
步骤 6041、 所述输入法系统将所接收的搜索结果交给浏览器采用搜索 结果信息中指定的方式进行展现;  Step 6041: The input method system submits the received search result to a browser for displaying in a manner specified in the search result information;
步骤 6042、 所述输入法系统根据预置的展现模板, 对所接收的搜索结 果信息进行加工, 交给浏览器采用调整后的展现方式进行展现;  Step 6042: The input method system processes the received search result information according to the preset presentation template, and submits the information to the browser for display by using the adjusted display manner;
步骤 6043、 所述输入法系统根据预置的展现模板, 在输入法系统附属 窗口或者候选词窗口中对所接收的搜索结果进行展现。  Step 6043: The input method system displays the received search result in an input method attachment window or a candidate window according to the preset presentation template.
由于实施例 3可以对搜索结果的展现方式更改后再加以展现, 所以可 以实现各种个性化的展现方案。 下面举一个例子对实施例 3加以说明: Since Embodiment 3 can change the presentation manner of the search results and then display them, various personalized presentation schemes can be realized. The following describes an example 3:
搜索引擎返回的搜索结果信息一般为 xml格式的数据, 例如, 下面的 代码表示了包括一条结果信息的搜索结果数据:  The search result information returned by the search engine is generally data in xml format. For example, the following code represents search result data including one result information:
<?xml version=" 1.0" encoding="GBK" ?>  <?xml version=" 1.0" encoding="GBK" ?>
<rss version="2.0" xmlns: dc="http ://purl . org/ dc/ elements/ 1.1/"  <rss version="2.0" xmlns: dc="http ://purl . org/ dc/ elements/ 1.1/"
xmlns:trackback="http:〃 madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http:〃 wellformedweb.org/CommentAPI/"  Xmlns:trackback="http:〃 madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http:〃 wellformedweb.org/CommentAPI/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"> Xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<sogouresult>  <sogouresult>
<title>搜狗网页搜索—搜狗拼音输入法 </title>  <title>Sogou web search - Sogou Pinyin input method </title>
<link>http://www.sogou.com/</link>  <link>http://www.sogou.com/</link>
<language>zh-cn</language>  <language>zh-cn</language>
<generator>www. sogou .com</generator>  <generator>www.sogou .com</generator>
<maxend> 1000</maxend>  <maxend> 1000</maxend>
<hitslength>5938877</hitslength>  <hitslength>5938877</hitslength>
<searchtime>0.002</ searchtime>  <searchtime>0.002</ searchtime>
<item>  <item>
<title>搜狗拼音输入法 </title>  <title>Sogou Pinyin Input Method </title>
<summary>尽可能适应各种常见输入法的输入习惯,使智能 ABC、微软 拼音、 拼音加加、 紫光拼音等输入法的用户都可以轻松上手。 …搜狗智能 组词算法首选词准确率(即候选的第一个词就是要输入的词的比例)领先于 其他输入法。 ...</summary>  <summary>As much as possible to adapt to the input habits of various common input methods, users of intelligent ABC, Microsoft Pinyin, Pinyin Plus, Violet Pinyin and other input methods can easily get started. ... Sogou Intelligent Group word algorithm preferred word accuracy rate (that is, the first word of the candidate is the proportion of words to be entered) is ahead of other input methods. ...</summary>
<link>http://www.sogou.com/pinyin/</link>  <link>http://www.sogou.com/pinyin/</link>
<pagesize>4k</pagesize>  <pagesize>4k</pagesize>
<pubDate>2007-01-01 00: 19</pubDate>  <pubDate>2007-01-01 00: 19</pubDate>
< snapshots  < snapshots
<link>http://www.sogou om/websnapshot.do?url=http%3A%2F%2Fwww .sogou.com%2Fpinyin%2F&query=%CB%Dl%B9%B7%C6%B4%D2%F4%C A%E4%C8%EB%B7%A8</link> </snapshot> <link>http://www.sogou om/websnapshot.do?url=http%3A%2F%2Fwww .sogou.com%2Fpinyin%2F&query=%CB%Dl%B9%B7%C6%B4%D2%F4 %CA%E4%C8%EB%B7%A8</link> </snapshot>
</item>  </item>
实施例 3 可以将输入法系统接收的上述结果数据直接转发至浏览器, 按照上述 xml数据指定的形式展示出来。 具体的数据流如下: 输入法系统 将搜索结果数据转发至操作系统, 如果在操作系统中注册了该格式的数据 由 IE打开或者缺省的其他浏览器打开, 则操作系统启动相应的浏览器展现 搜索结果即可。 当然, 输入法系统在转发搜索结果数据的时候, 也可以指 定浏览器: 用 IE浏览器打开该搜索结果数据。  Embodiment 3 The above result data received by the input method system can be directly forwarded to the browser and displayed in the form specified by the above xml data. The specific data flow is as follows: The input method system forwards the search result data to the operating system. If the data registered in the operating system is opened by the IE or the default other browser is opened, the operating system starts the corresponding browser display. Search results can be. Of course, when the input method system forwards the search result data, it can also specify the browser: Open the search result data with the IE browser.
实施例 3也可以按照预置的展现模板, 对接收的搜索结果信息加以加 工, 然后将加工后的信息转发至浏览器, 由浏览器采用调整后的展现方式 进行展现。 所述展现模板可以由用户个性化定制生成, 也可以由输入法系 统提供, 例如, 通过展现模板确定信息展示的字体、 颜色、 位置等参数, 还可以在展现模板中加入水印、 文字、 图形等等。  The third embodiment can also process the received search result information according to the preset presentation template, and then forward the processed information to the browser, and the browser displays the adjusted display mode. The presentation template may be generated by the user, or may be provided by the input method system. For example, the presentation template determines the font, color, position and other parameters of the information display, and may also add a watermark, a text, a graphic, etc. to the presentation template. Wait.
实施例 3也可以按照预置的展现模板, 在输入法系统附属窗口或者候 选词窗口中对所接收的搜索结果, 按照预置方式进行展现。  Embodiment 3 can also display the received search results in a preset manner in an input method attachment window or a candidate window according to a preset presentation template.
参照图 7, 示出了本发明信息搜索方法实施例 4的步骤流程图, 实施 例 3具体包括以下步骤:  Referring to FIG. 7, a flow chart of the steps of Embodiment 4 of the information searching method of the present invention is shown. Embodiment 3 specifically includes the following steps:
步骤 701、 确定用户所需的搜索关键词;  Step 701: Determine a search keyword required by the user.
步骤 701可以通过以下步骤实现所述搜索关键词的确定: 接收用户输 入的编码字符串, 获取并在输入法窗口中显示用户确认的至少一个输入字 词; 确定上述一个或者多个输入字词为用户所需的搜索关键词。  Step 701 may be implemented by determining the search keyword by: receiving an encoded character string input by the user, acquiring and displaying at least one input word confirmed by the user in the input method window; determining that the one or more input words are Search keywords required by the user.
步骤 701也可以通过以下步骤实现所述搜索关键词的确定: 接收用户 输入的编码字符串, 显示至少一个候选词; 用户选择确定一候选词为所需 的搜索关键词, 或者由输入法系统默认确定一候选词为用户所需的搜索关 键词。  Step 701 can also implement the determination of the search keyword by: receiving a coded string input by the user, displaying at least one candidate word; the user selecting to determine a candidate word as a desired search keyword, or being determined by the input method system default A candidate word is determined to be a search keyword required by the user.
步骤 702、 根据该搜索关键词, 输入法系统生成搜索命令; 所述搜索 命令可以包括搜索关键词的 URL地址, 或者, 所述搜索命令也可以包括搜 索关键词和搜索类型参数;  Step 702: The input method system generates a search command according to the search keyword; the search command may include a URL address of the search keyword, or the search command may also include a search keyword and a search type parameter;
步骤 703、 调用浏览器, 由所述浏览器将所述搜索命令发送至搜索引 擎; Step 703: Call a browser, and send the search command to the search index by the browser Engine
假设, 搜索命令为包括搜索关键词的 URL, 则输入法系统可以通过以 下方式通知操作系统调用浏览器:  Assuming that the search command is a URL including a search keyword, the input method system can notify the operating system to invoke the browser by:
1、输入法可以交给操作系统一个 URL,希望操作系统来访问这个 URL; 在这之前, 有应用程序在操作系统中注册了这个 URL的协议格式, 则由这 个应用程序打开, 例如 http协议由 IE打开。 如果输入法没有指定浏览器, 就由操作系统确定的缺省能够打开 http协议地址的应用程序打开, 可以是 任意的已注册浏览器, 例如 IE或 Firefox。 然后由操作系统把这个链接地址 传送给这个浏览器, 浏览器就去访问该地址。 这种方式输入法要传送给操 作系统的信息是: 打开某个 URL。  1, the input method can be given to the operating system a URL, the operating system to access the URL; before this, there is an application registered in the operating system of the URL protocol format, then opened by the application, such as http protocol IE opens. If the input method does not specify a browser, the application that is determined by the operating system to open the http protocol address by default can be opened by any registered browser, such as IE or Firefox. The link address is then transmitted by the operating system to the browser, and the browser accesses the address. The information that this input method uses to transfer to the operating system is: Open a URL.
2、 输入法指定系统打开 IE浏览器, 不管它是不是缺省的浏览器, 操 作系统即运行这个 IE的可执行文件, 打开 IE, 然后把输入法传送给操作系 统的 URL交给 IE去访问, 这种情况下, 输入法要传送给操作系统的信息 是: 用 IE浏览器打开某个 URL。  2, the input method specifies the system to open the IE browser, whether it is the default browser, the operating system runs the IE executable file, open IE, and then pass the input method to the operating system URL to IE to access In this case, the information that the input method is to transmit to the operating system is: Open a URL with IE browser.
步骤 704、 搜索引擎返回搜索结果至浏览器;  Step 704: The search engine returns the search result to the browser.
步骤 705、 展现所述搜索结果。  Step 705: Display the search result.
实施例 4的特点在于由浏览器等第三方应用程序发送搜索命令和接收 搜索结果。上述的浏览器打开某个 URL的过程就包括了发送请求和接收数 据的过程。  Embodiment 4 is characterized in that a search command is transmitted by a third party application such as a browser and a search result is received. The above process of opening a URL by a browser includes the process of sending a request and receiving data.
优选的, 上述实施例 1 -实施例 4都还可以包括: 搜索引擎端存储符 合预置条件 (一定时间段内, 或者一定搜索频率以上) 的搜索请求及相应 的搜索结果。 其优点在于, 在搜索引擎中存储了一定数量的搜索请求及相 应的搜索结果, 如果搜索引擎接收的搜索请求在存储的信息中已经存在, 则不需要再实时进行数据库搜索, 可以直接返回存储的搜索结果即可, 从 而减少搜索引擎的搜索压力。  Preferably, the foregoing Embodiment 1 - Embodiment 4 may further include: the search engine side stores a search request that meets a preset condition (within a certain period of time, or a certain search frequency or more) and a corresponding search result. The advantage is that a certain number of search requests and corresponding search results are stored in the search engine. If the search request received by the search engine already exists in the stored information, the database search does not need to be performed in real time, and the storage request can be directly returned. Search results can be used to reduce search engine search pressure.
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没 有详述的部分, 可以参见其他实施例的相关描述即可。  In the above embodiments, the descriptions of the various embodiments are different, and the details are not described in detail in an embodiment, and the related descriptions of other embodiments may be referred to.
并且, 本领域技术人员易于想到的是: 上述实施例 1 -实施例 4任意 组合应用都是可行的, 故上述实施例 1 -实施例 4之间的任意组合都是本 发明的实施方案, 但是由于篇幅限制, 本说明书在此就不——详述了。 参照图 8, 示出了本发明实施例 5的结构框图, 实施例 5为一种输入 法系统, 可以应用于图 7所示的信息搜索方法, 具体包括以下部件: 应的输入字词的显示单元 802和词库 803; Moreover, those skilled in the art will readily appreciate that any combination of the above embodiments 1 - 4 is feasible, so any combination between the above embodiments 1 - 4 is Embodiments of the invention, but due to space limitations, this specification is not here--detailed. Referring to FIG. 8, a block diagram of a structure of Embodiment 5 of the present invention is shown. Embodiment 5 is an input method system, which can be applied to the information search method shown in FIG. 7, and specifically includes the following components: Display of input words to be input Unit 802 and the thesaurus 803;
搜索关键词确定模块 804, 用于确定用户所需的搜索关键词;  a search keyword determining module 804, configured to determine a search keyword required by the user;
搜索命令生成模块 805 , 用于根据该搜索关键词, 生成搜索命令; 所 述搜索命令可以包括搜索关键词的 URL地址, 或者, 所述搜索命令也可以 包括搜索关键词和搜索类型参数;  The search command generating module 805 is configured to generate a search command according to the search keyword; the search command may include a URL address of the search keyword, or the search command may also include a search keyword and a search type parameter;
搜索命令发送模块 806 , 用于发送所述搜索命令至浏览器, 通知浏览 器根据该搜索命令获取搜索结果, 浏览器接收返回的搜索结果信息并进行 展现。  The search command sending module 806 is configured to send the search command to the browser, notify the browser to obtain the search result according to the search command, and the browser receives the returned search result information and presents the search result.
根据前述实施例中的相关描述, 本领域技术人员易于得知: 搜索关键 词确定模块 804确定用户所需的搜索关键词的方式可以为: 直接确定所获 取的输入字词为用户所需的搜索关键词。 例如: 接收用户输入的编码字符 串, 显示至少一个候选词; 用户选择确定其中一个候选词为所需的搜索关 键词,或者输入法系统默认确定其中一个候选词为用户所需的搜索关键词。  According to the related description in the foregoing embodiment, those skilled in the art can easily know that the search keyword determining module 804 determines the search keyword required by the user in a manner of: directly determining that the obtained input word is a search required by the user. Key words. For example: receiving a coded character string input by a user, displaying at least one candidate word; the user selecting to determine one of the candidate words as a desired search key word, or the input method system determines by default that one of the candidate words is a search keyword required by the user.
或者, 图 8所示的输入法系统还可以包括: 用于存储所获取的至少一 个输入字词的存储模块 807; 则搜索关键词确定模块 804确定用户所需的 搜索关键词的方式可以为: 确定所述存储模块中存储的一个或者多个输入 字词为用户所需的搜索关键词。 例如: 首先, 通过鼠标操作或者输入引导 字符, 调用预置的存储空间; 然后, 接收用户输入的编码字符串, 获取用 户确认的输入字词, 存储在所述的预置空间中, 并显示在输入法窗口中; 如果用户继续输入编码字符串, 则继续获取、 显示和存储用户确认的输入 字词;将上述显示和存储的至少一个输入字词作为用户所需的搜索关键词, 各个输入字词之间可以设置分隔符。  Alternatively, the input method system shown in FIG. 8 may further include: a storage module 807 for storing the acquired at least one input word; and the manner in which the search keyword determining module 804 determines the search keyword required by the user may be: Determining one or more input words stored in the storage module is a search keyword required by the user. For example: First, the preset storage space is called by a mouse operation or a boot character; then, the encoded character input by the user is received, and the input words confirmed by the user are obtained, stored in the preset space, and displayed in In the input method window; if the user continues to input the encoded string, then continue to acquire, display and store the input words confirmed by the user; at least one of the input words displayed and stored as the search keyword required by the user, each input word A separator can be set between words.
图 8所示的输入法系统可以为普通输入法系统, 例如, 所述输入法系 统的输入接口单元、 显示单元以及词库位于同一计算设备中, 该输入法系 统 居用户输入的编码信息通过本地查询匹配在本地显示相应字符。 上述 输入法系统也可以为网络输入法系统, 例如, 所述输入法系统的输入接口 单元、 显示单元位于第一计算设备中, 词库位于第二计算设备中, 第一计 算设备与第二计算设备通过网络相连。 所述输入法系统根据用户输入的信 息, 从位于第二计算设备中获取相应信息, 在第一计算设备显示相应字符。 The input method system shown in FIG. 8 may be a common input method system. For example, the input interface unit, the display unit, and the vocabulary of the input method system are located in the same computing device, and the input method system stores the encoded information input by the user locally. The query match displays the corresponding character locally. Above The input method system may also be a network input method system, for example, the input interface unit and the display unit of the input method system are located in the first computing device, the vocabulary is located in the second computing device, and the first computing device and the second computing device are Connected via the network. The input method system acquires corresponding information from the second computing device according to the information input by the user, and displays the corresponding character in the first computing device.
参照图 9, 示出了本发明实施例 6的结构框图, 实施例 6为一种输入 法系统, 具体包括以下部件: 应的输入字词的显示单元 902和词库 903;  Referring to FIG. 9, a block diagram of a structure of Embodiment 6 of the present invention is shown. Embodiment 6 is an input method system, which specifically includes the following components: a display unit 902 and a vocabulary 903 for inputting words;
搜索关键词确定模块 904, 用于确定用户所需的搜索关键词;  a search keyword determining module 904, configured to determine a search keyword required by the user;
搜索命令生成模块 905 , 用于根据该搜索关键词, 生成搜索命令; 所 述搜索命令可以包括搜索关键词的 URL地址, 或者, 所述搜索命令也可以 包括搜索关键词和搜索类型参数;  The search command generating module 905 is configured to generate a search command according to the search keyword; the search command may include a URL address of the search keyword, or the search command may also include a search keyword and a search type parameter;
搜索命令发送模块 906, 用于发送所述搜索命令至搜索引擎;  a search command sending module 906, configured to send the search command to a search engine;
搜索结果接收模块 907 , 用于接收搜索引擎返回的搜索结果信息。 根据前述实施例中的相关描述, 本领域技术人员易于得知: 搜索关键 词确定模块 904确定用户所需的搜索关键词的方式可以为: 直接确定所获 取的输入字词为用户所需的搜索关键词。  The search result receiving module 907 is configured to receive search result information returned by the search engine. According to the related description in the foregoing embodiment, those skilled in the art can easily know that the search keyword determining module 904 determines the search keyword required by the user in a manner of: directly determining that the obtained input word is a search required by the user. Key words.
或者, 图 9所示的输入法系统还可以包括: 用于存储所获取的至少一 个输入字词的输入字词存储模块 908; 则搜索关键词确定模块 904确定用 户所需的搜索关键词的方式可以为: 确定所述存储模块中存储的一个或者 多个输入字词为用户所需的搜索关键词。  Alternatively, the input method system shown in FIG. 9 may further include: an input word storage module 908 for storing the acquired at least one input word; and then the search keyword determining module 904 determines the manner of the search keyword required by the user. The method may be: determining that one or more input words stored in the storage module are search keywords required by a user.
图 9所示的输入法系统可以为普通输入法系统, 例如, 所述输入法系 统的输入接口单元、 显示单元以及词库位于同一计算设备中, 该输入法系 统 居用户输入的编码信息通过本地查询匹配在本地显示相应字符。 上述 输入法系统也可以为网络输入法系统, 例如, 所述输入法系统的输入接口 单元、 显示单元位于第一计算设备中, 词库位于第二计算设备中, 第一计 算设备与第二计算设备通过网络相连。 所述输入法系统根据用户输入的信 息, 从位于第二计算设备中获取相应信息, 在第一计算设备显示相应字符。  The input method system shown in FIG. 9 may be a common input method system. For example, the input interface unit, the display unit, and the vocabulary of the input method system are located in the same computing device, and the input method system has localized input information through the user. The query match displays the corresponding character locally. The input method system may also be a network input method system. For example, the input interface unit and the display unit of the input method system are located in the first computing device, the vocabulary is located in the second computing device, and the first computing device and the second computing device are The devices are connected via a network. The input method system obtains corresponding information from the second computing device according to the information input by the user, and displays the corresponding character in the first computing device.
进一步, 如果图 9所示的输入法系统需要自行展现搜索结果信息, 则 其还可以包括: 展现模块 909, 用于在所述输入法系统的附属窗口或者候 选词窗口, 展现所述搜索结果。 如果图 9所示的输入法系统希望通过调用 本地计算设备中的浏览器程序展现搜索结果信息, 则其还可以包括: 调用 模块 910, 用于通知计算设备的操作系统启动浏览器, 由浏览器展现所述 搜索结果。 Further, if the input method system shown in FIG. 9 needs to display the search result information by itself, It may further include: a presentation module 909, configured to display the search result in an auxiliary window or a candidate word window of the input method system. If the input method shown in FIG. 9 wishes to display the search result information by calling a browser program in the local computing device, the method may further include: a calling module 910, configured to notify the computing device of the operating system to start the browser, by the browser Present the search results.
参照图 10, 示出了本发明实施例 7的结构框图, 实施例 7为一种输入 法系统, 具体包括以下部件: 应的输入字词的显示单元 1002和词库 1003;  Referring to FIG. 10, a structural block diagram of Embodiment 7 of the present invention is shown. Embodiment 7 is an input method system, and specifically includes the following components: a display unit 1002 and a thesaurus 1003 for inputting words;
搜索关键词确定模块 1004, 用于确定用户所需的搜索关键词; 搜索命令生成模块 1005 , 用于根据该搜索关键词, 生成搜索命令; 所 述搜索命令可以包括搜索关键词的 URL地址, 或者, 所述搜索命令也可以 包括搜索关键词和搜索类型参数;  a search keyword determining module 1004, configured to determine a search keyword required by the user; a search command generating module 1005, configured to generate a search command according to the search keyword; the search command may include a URL address of the search keyword, or The search command may also include a search keyword and a search type parameter;
搜索命令发送模块 1006, 用于发送所述搜索命令至搜索引擎; 搜索结果接收模块 1007, 用于接收搜索引擎返回的搜索结果信息; 搜索结果存储模块 1008 ,用于存储所述搜索引擎返回的搜索结果信息; 展现模块 1009以及 /或者调用模块 1010; 所述展现模块用于在所述输 入法系统的附属窗口或者候选词窗口, 展现所述搜索结果; 所述调用模块 用于通知计算设备的操作系统启动浏览器, 由浏览器展现所述搜索结果。  The search command sending module 1006 is configured to send the search command to the search engine; the search result receiving module 1007 is configured to receive search result information returned by the search engine; the search result storage module 1008 is configured to store the search returned by the search engine a result module; a presentation module 1009 and/or a calling module 1010; the presentation module is configured to display the search result in an auxiliary window or a candidate word window of the input method system; the calling module is configured to notify an operation of the computing device The system launches a browser, and the search results are presented by the browser.
优选的, 图 10所示的输入法系统, 还可以包括:  Preferably, the input method system shown in FIG. 10 may further include:
更新查询模块 1011 , 用于向搜索引擎发起更新查询, 请求确认本次搜 索请求相应的搜索结果是否已更新; 如果已更新, 则接收搜索返回的更新 后的搜索结果, 如果未更新, 则从所存储的搜索结果信息中获取搜索结果; 搜索请求判断模块 1012, 用于在所存储的至少一条搜索结果信息中, 判断本次搜索请求是否为在预置时间段之内的重复查询; 如果是在预置时 间段之内的重复查询, 则从所存储的搜索结果信息中获取搜索结果; 如果 是重复查询, 但不在预置时间段之内, 则触发所述更新查询模块 1011 ; 如 果不是重复查询, 则触发所述搜索命令发送模块 1006。  An update query module 1011, configured to initiate an update query to the search engine, requesting to confirm whether the search result corresponding to the search request has been updated; if updated, receiving the updated search result returned by the search, if not updated, Searching for the search result in the stored search result information; the search request determining module 1012 is configured to determine, in the stored at least one piece of search result information, whether the current search request is a repeated query within a preset time period; The repeated query within the preset time period obtains the search result from the stored search result information; if it is a repeated query, but is not within the preset time period, the update query module 1011 is triggered; if it is not a repeated query The search command sending module 1006 is triggered.
参照图 11, 示出了本发明实施例 8的结构框图, 实施例 8为一种输入 法系统, 具体包括以下部件: 应的输入字词的显示单元 1102和词库 1103; Referring to FIG. 11, a block diagram of a structure of Embodiment 8 of the present invention is shown, and Embodiment 8 is an input. The legal system specifically includes the following components: a display unit 1102 and a thesaurus 1103 for inputting words;
搜索关键词确定模块 1104, 用于确定用户所需的搜索关键词; 搜索命令生成模块 1105 , 用于根据该搜索关键词, 生成搜索命令; 所 述搜索命令可以包括搜索关键词的 URL地址, 或者, 所述搜索命令也可以 包括搜索关键词和搜索类型参数;  a search keyword determining module 1104, configured to determine a search keyword required by the user; a search command generating module 1105, configured to generate a search command according to the search keyword; the search command may include a URL address of the search keyword, or The search command may also include a search keyword and a search type parameter;
搜索命令发送模块 1106, 用于发送所述搜索命令至搜索引擎; 搜索结果接收模块 1107, 用于接收搜索引擎返回的搜索结果信息; 搜索结果存储模块 1108 ,用于存储所述搜索引擎返回的搜索结果信息; 展现模板模块 1109, 用于存储至少一个预置的展现模板;  a search command sending module 1106, configured to send the search command to a search engine; a search result receiving module 1107, configured to receive search result information returned by the search engine; a search result storage module 1108, configured to store the search returned by the search engine a result template; a presentation template module 1109, configured to store at least one preset presentation template;
搜索结果加工模块 1110, 用于根据预置的展现模板, 对所接收的或所 存储的搜索结果信息进行加工。  The search result processing module 1110 is configured to process the received or stored search result information according to the preset presentation template.
进一步, 如果图 11所示的输入法系统需要自行展现搜索结果信息, 则 其还可以包括: 用于在所述输入法系统的附属窗口或者候选词窗口, 展现 所述搜索结果的展现模块 1111 ; 或者, 用于在所述输入法系统的附属窗口 或者候选词窗口, 展现所述加工后的搜索结果信息的展现模块 1111。  Further, if the input method system shown in FIG. 11 needs to display the search result information by itself, it may further include: a presentation module 1111 for displaying the search result in an auxiliary window or a candidate word window of the input method system; Alternatively, a presentation module 1111 for presenting the processed search result information in an auxiliary window or a candidate word window of the input method system.
如果图 11所示的输入法系统希望通过调用本地计算设备中的浏览器程 序展现搜索结果信息, 则其还可以包括:, 用于通知计算设备的操作系统启 动浏览器, 由浏览器展现所述搜索结果的调用模块 1112; 或者, 用于通知 计算设备的操作系统启动浏览器, 由浏览器展现所述加工后的搜索结果信 息的调用模块 1112。  If the input method shown in FIG. 11 wishes to display the search result information by calling a browser program in the local computing device, the method may further include: instructing the operating system of the computing device to launch the browser, and the browser displays the The calling module 1112 of the search result; or a calling module 1112 for notifying the operating system of the computing device to launch the browser, and displaying the processed search result information by the browser.
需要指出的是, 本领域技术人员易于想到: 上述实施例 5 -实施例 8 任意组合应用都是可行的, 故上述实施例 5 -实施例 8之间的任意组合都 是本发明的实施方案, 但是由于篇幅限制, 本说明书在此就不——详述了。  It should be noted that those skilled in the art will readily appreciate that any combination of the above embodiments 5 - 8 is feasible, so any combination between the above embodiment 5 - embodiment 8 is an embodiment of the present invention. However, due to space limitations, this manual is not here - detailed.
由于实施例 5 -实施例 8所示的输入法系统实施例都可以对应适用于 前述的各种方法实施例中, 所以针对实施例 5 -实施例 8的描述较为简略, 未详尽之处可以参见本说明书前面相应部分的描述。  The embodiment of the input method system shown in Embodiment 5 - Embodiment 8 can be correspondingly applied to the various method embodiments described above, so the description of Embodiment 5 - Embodiment 8 is relatively simple, and the details are not described in detail. The description of the corresponding section earlier in this manual.
以上对本发明所提供的信息搜索的方法和输入法系统, 进行了详细介 实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于 本领域的一般技术人员, 依据本发明的思想, 在具体实施方式及应用范围 上均会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。 The method and the input method system for information search provided by the present invention are described in detail above. The description of the embodiments is only for helping to understand the method of the present invention and its core ideas; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific embodiments and application scopes. The description herein is not to be construed as limiting the invention.

Claims

权 利 要 求 Rights request
1、 一种信息搜索的方法, 其特征在于, 包括:  A method for searching for information, characterized in that it comprises:
确定用户所需的搜索关键词;  Determining the search keywords required by the user;
根据该搜索关键词, 输入法系统生成搜索命令, 并发送至搜索引擎; 搜索引擎返回搜索结果至输入法系统;  According to the search keyword, the input method system generates a search command and sends it to the search engine; the search engine returns the search result to the input method system;
展现所述搜索结果。  Present the search results.
2、 如权利要求 1所述的方法, 其特征在于, 通过以下步骤实现所述搜 索关键词的确定:  2. The method of claim 1 wherein the determining of the search keyword is accomplished by the following steps:
接收用户输入的编码字符串;  Receiving a coded string input by the user;
获取并在输入法窗口中显示用户确认的至少一个输入字词;  Acquiring and displaying at least one input word confirmed by the user in the input method window;
确定上述一个或者多个输入字词为用户所需的搜索关键词。  The one or more input words are determined to be search keywords required by the user.
3、 如权利要求 1所述的方法, 其特征在于, 通过以下步骤实现所述搜 索关键词的确定:  3. The method of claim 1, wherein the determining of the search keyword is achieved by the following steps:
接收用户输入的编码字符串;  Receiving a coded string input by the user;
通过用户选择或者输入法系统默认设置, 确定一候选词为用户所需的 搜索关键词。  A candidate word is determined as a search keyword required by the user by user selection or input system default settings.
4、 如权利要求 1所述的方法, 其特征在于 , 通过浏览器展现所述搜索 结果。  4. The method of claim 1 wherein the search results are presented by a browser.
5、 如权利要求 1所述的方法, 其特征在于 , 通过输入法系统的附属窗 口或者候选词窗口展现所述搜索结果。  5. The method of claim 1 wherein the search results are presented by an adjunct window or candidate window of the input method system.
6、 如权利要求 1所述的方法, 其特征在于 , 所述搜索命令包括搜索关 键词的 URI地址。  6. The method of claim 1, wherein the search command comprises searching for a URI address of a keyword.
7、 如权利要求 1所述的方法, 其特征在于 , 所述搜索命令包括搜索关 键词和搜索类型参数。  7. The method of claim 1, wherein the search command comprises a search key word and a search type parameter.
8、 如权利要求 1所述的方法, 其特征在于 , 还包括: 所述输入法系统 存储所述搜索引擎返回的搜索结果。  8. The method of claim 1, further comprising: the input method system storing search results returned by the search engine.
9、 如权利要求 1所述的方法, 其特征在于 , 通过以下步骤完成搜索结 果的展现:  9. The method according to claim 1, wherein the presentation of the search result is completed by the following steps:
所述输入法系统将所述搜索结果交给浏览器采用搜索结果信息中指定 的方式进行展现; The input method system passes the search result to the browser to specify in the search result information Way of showing;
或者, 所述输入法系统根据预置的展现模板, 对所述搜索结果信息进 行加工, 交给浏览器采用调整后的展现方式进行展现;  Alternatively, the input method system processes the search result information according to a preset presentation template, and submits the information to the browser for display using the adjusted presentation manner;
或者, 所述输入法系统根据预置的展现模板, 在输入法系统附属窗口 或者候选词窗口中对所述搜索结果进行展现;  Alternatively, the input method system displays the search result in an input method attachment window or a candidate word window according to a preset presentation template;
或者,所述输入法系统将所述搜索结果交给第三方应用程序进行展现。 Alternatively, the input method system hands the search results to a third party application for presentation.
10、 如权利要求 8所述的方法, 其特征在于, 在展现搜索结果之前还 包括: 10. The method of claim 8, further comprising: before presenting the search result:
在所存储的至少一条搜索结果信息中, 判断本次搜索请求是否为在预 置时间段之内的重复查询;  Determining, in the stored at least one piece of search result information, whether the current search request is a repeated query within a preset time period;
如果是在预置时间段之内的重复查询, 则从所存储的搜索结果信息中 获取搜索结果;  If it is a repeated query within a preset time period, the search result is obtained from the stored search result information;
如果是重复查询, 但不在预置时间段之内, 则向搜索引擎发起更新查 询, 请求确认本次搜索请求相应的搜索结果是否已更新;  If the query is repeated, but is not within the preset time period, an update query is initiated to the search engine to confirm whether the search result corresponding to the search request has been updated;
如果不是重复查询, 则直接向搜索引擎发起搜索请求。  If it is not a duplicate query, a search request is initiated directly to the search engine.
11、 如权利要求 1或 8所述的方法, 其特征在于, 还包括:  The method according to claim 1 or 8, further comprising:
搜索引擎端存储符合预置条件的搜索请求及相应的搜索结果。  The search engine side stores search requests and corresponding search results that meet the preset conditions.
12、 如权利要求 1所述的方法, 其特征在于,  12. The method of claim 1 wherein:
所述搜索结果包括多条搜索记录, 所述记录能够链接至信息本身; 或者, 所述搜索结果包括某条符合预置条件的搜索记录相应的信息本 身。  The search result includes a plurality of search records, and the record can be linked to the information itself; or the search result includes a corresponding information of the search record that meets the preset condition.
13、 一种信息搜索的方法, 其特征在于, 包括:  13. A method of information search, characterized in that:
确定用户所需的搜索关键词;  Determining the search keywords required by the user;
根据该搜索关键词, 输入法系统生成搜索命令;  According to the search keyword, the input method system generates a search command;
调用第三方应用程序, 由该应用程序将所述搜索命令发送至搜索引擎; 搜索引擎返回搜索结果至该应用程序;  Calling a third party application, the search command is sent by the application to the search engine; the search engine returns the search result to the application;
展现所述搜索结果。  Present the search results.
14、 如权利要求 13所述的方法, 其特征在于, 通过以下步骤实现所述 搜索关键词的确定: 接收用户输入的编码字符串; 14. The method according to claim 13, wherein the determining of the search keyword is implemented by the following steps: Receiving a coded string input by the user;
获取并在输入法窗口中显示用户确认的至少一个输入字词;  Acquiring and displaying at least one input word confirmed by the user in the input method window;
确定上述一个或者多个输入字词为用户所需的搜索关键词。  The one or more input words are determined to be search keywords required by the user.
15、 如权利要求 13所述的方法, 其特征在于, 通过以下步骤实现所述 搜索关键词的确定:  15. The method of claim 13, wherein the determining of the search keyword is achieved by the following steps:
接收用户输入的编码字符串;  Receiving a coded string input by the user;
通过用户选择或者输入法系统默认设置, 确定一候选词为用户所需的 搜索关键词。  A candidate word is determined as a search keyword required by the user by user selection or input system default settings.
16、 如权利要求 13所述的方法, 其特征在于, 所述搜索命令包括搜索 关键词的 URI地址。  16. The method of claim 13, wherein the search command comprises a URI address of a search keyword.
17、 如权利要求 13所述的方法, 其特征在于, 所述搜索命令包括搜索 关键词和搜索类型参数。  17. The method of claim 13, wherein the search command comprises a search keyword and a search type parameter.
18、 如权利要求 13所述的方法, 其特征在于, 还包括:  18. The method of claim 13, further comprising:
搜索引擎端存储符合预置条件的搜索请求及相应的搜索结果。  The search engine side stores search requests and corresponding search results that meet the preset conditions.
19、 一种输入法系统, 包括输入接口单元、 显示单元和词库, 其特征 在于, 所述输入法系统还包括:  19. An input method system, comprising: an input interface unit, a display unit, and a thesaurus, wherein the input method system further comprises:
搜索关键词确定模块, 用于确定用户所需的搜索关键词;  a search keyword determining module, configured to determine a search keyword required by the user;
搜索命令生成模块, 用于根据该搜索关键词, 生成搜索命令; 搜索命令发送模块, 用于发送所述搜索命令至第三方应用程序, 通知 该应用程序根据该搜索命令获取搜索结果。  a search command generating module, configured to generate a search command according to the search keyword; a search command sending module, configured to send the search command to a third-party application, to notify the application to obtain a search result according to the search command.
20、 如权利要求 19所述的输入法系统, 其特征在于,  20. The input method system of claim 19, wherein
所述输入法系统的输入接口单元、 显示单元以及词库位于同一计算设 备中;  The input interface unit, the display unit, and the vocabulary of the input method system are located in the same computing device;
或者, 所述输入法系统的输入接口单元、 显示单元位于第一计算设备 中, 词库位于第二计算设备中, 所述输入法系统根据用户输入的信息, 从 位于第二计算设备中获取相应信息, 在第一计算设备显示相应字符。  Alternatively, the input interface unit and the display unit of the input method system are located in the first computing device, and the vocabulary is located in the second computing device, and the input method system obtains corresponding information from the second computing device according to the information input by the user. Information, the corresponding character is displayed on the first computing device.
21、 如权利要求 19所述的输入法系统, 其特征在于, 所述确定为: 直接确定所获取的输入字词为用户所需的搜索关键词。  The input method system according to claim 19, wherein the determining is: directly determining that the acquired input word is a search keyword required by a user.
22、 如权利要求 19所述的输入法系统, 其特征在于, 还包括: 输入字词存储模块, 用于存储所获取的至少一个输入字词; 所述确定为: 确定所述存储模块中存储的一个或者多个输入字词为用 户所需的搜索关键词。 The input method system of claim 19, further comprising: The input word storage module is configured to store the acquired at least one input word; the determining is: determining that one or more input words stored in the storage module are search keywords required by the user.
23、 如权利要求 19所述的输入法系统, 其特征在于, 所述搜索命令包 括搜索关键词的 URI地址。  23. The input method system of claim 19, wherein the search command comprises a URI address of a search keyword.
24、 如权利要求 19所述的输入法系统, 其特征在于, 所述搜索命令包 括搜索关键词和搜索类型参数。  24. The input method system of claim 19, wherein the search command comprises a search keyword and a search type parameter.
25、 一种输入法系统, 包括输入接口单元、 显示单元和词库, 其特征 在于, 所述输入法系统还包括:  25. An input method system, comprising: an input interface unit, a display unit, and a thesaurus, wherein the input method system further comprises:
搜索关键词确定模块, 用于确定用户所需的搜索关键词;  a search keyword determining module, configured to determine a search keyword required by the user;
搜索命令生成模块, 用于根据该搜索关键词, 生成搜索命令; 搜索命令发送模块, 用于发送所述搜索命令至搜索引擎;  a search command generating module, configured to generate a search command according to the search keyword; a search command sending module, configured to send the search command to the search engine;
搜索结果接收模块, 用于接收搜索引擎返回的搜索结果信息。  The search result receiving module is configured to receive search result information returned by the search engine.
26、 如权利要求 25所述的输入法系统, 其特征在于, 还包括: 搜索结果存储模块, 用于存储所述搜索引擎返回的搜索结果信息。 The input method system of claim 25, further comprising: a search result storage module, configured to store search result information returned by the search engine.
27、 如权利要求 26所述的输入法系统, 其特征在于, 还包括: 更新查询模块, 用于向搜索引擎发起更新查询, 请求确认本次搜索请 求相应的搜索结果是否已更新; The input method system of claim 26, further comprising: an update query module, configured to initiate an update query to the search engine, requesting to confirm whether the search result of the current search request has been updated;
搜索请求判断模块, 用于在所存储的至少一条搜索结果信息中, 判断 本次搜索请求是否为在预置时间段之内的重复查询;  a search request judging module, configured to determine, in the stored at least one piece of search result information, whether the current search request is a repeated query within a preset time period;
如果是在预置时间段之内的重复查询, 则从所存储的搜索结果信息中 获取搜索结果;  If it is a repeated query within a preset time period, the search result is obtained from the stored search result information;
如果是重复查询, 但不在预置时间段之内, 则触发所述更新查询模块; 如果不是重复查询, 则触发所述搜索命令发送模块。  If the query is repeated, but is not within the preset time period, the update query module is triggered; if the query is not repeated, the search command sending module is triggered.
28、 如权利要求 25所述的输入法系统, 其特征在于, 还包括: 展现模板模块, 用于存储至少一个预置的展现模板;  The input method system of claim 25, further comprising: a presentation template module, configured to store at least one preset presentation template;
搜索结果加工模块, 用于根据预置的展现模板, 对所述搜索结果信息 进行力口工。  The search result processing module is configured to perform the work of the search result information according to the preset presentation template.
29、 如权利要求 25所述的输入法系统, 其特征在于, 还包括: 展现模块, 用于在所述输入法系统的附属窗口或者候选词窗口, 展现 所述搜索结果; The input method system of claim 25, further comprising: a presentation module, configured to display the search result in an auxiliary window or a candidate word window of the input method system;
以及 /或者,  And / or,
调用模块, 用于通知计算设备的操作系统启动第三方应用程序, 由该 应用程序展现所述搜索结果。  The calling module is configured to notify the computing device's operating system to launch a third-party application, and the application displays the search result.
30、 如权利要求 28所述的输入法系统, 其特征在于, 还包括: 展现模块, 用于在所述输入法系统的附属窗口或者候选词窗口, 展现 所述加工后的搜索结果信息;  The input method system of claim 28, further comprising: a presentation module, configured to display the processed search result information in an auxiliary window or a candidate word window of the input method system;
以及 /或者,  And / or,
调用模块, 用于通知计算设备的操作系统启动第三方应用程序, 由该 应用程序展现所述加工后的搜索结果信息。  The calling module is configured to notify the operating system of the computing device to start a third-party application, and the processed search result information is displayed by the application.
31、 如权利要求 25所述的输入法系统, 其特征在于,  31. The input method system of claim 25, wherein
所述输入法系统的输入接口单元、 显示单元以及词库位于同一计算设 备中;  The input interface unit, the display unit, and the vocabulary of the input method system are located in the same computing device;
或者, 所述输入法系统的输入接口单元、 显示单元位于第一计算设备 中, 词库位于第二计算设备中, 所述输入法系统根据用户输入的信息, 从 位于第二计算设备中获取相应信息, 在第一计算设备显示相应字符。  Alternatively, the input interface unit and the display unit of the input method system are located in the first computing device, and the vocabulary is located in the second computing device, and the input method system obtains corresponding information from the second computing device according to the information input by the user. Information, the corresponding character is displayed on the first computing device.
32、 如权利要求 25所述的输入法系统, 其特征在于, 所述确定为: 直接确定所获取的输入字词为用户所需的搜索关键词。  32. The input method system according to claim 25, wherein the determining is: directly determining that the acquired input word is a search keyword required by a user.
33、 如权利要求 25所述的输入法系统, 其特征在于, 还包括: 输入字词存储模块, 用于存储所获取的至少一个输入字词;  The input method system of claim 25, further comprising: an input word storage module, configured to store the acquired at least one input word;
所述确定为: 确定所述存储模块中存储的一个或者多个输入字词为用 户所需的搜索关键词。  The determining is: determining that one or more input words stored in the storage module are search keywords required by the user.
34、 如权利要求 25所述的输入法系统, 其特征在于, 所述搜索命令包 括搜索关键词的 URI地址。  34. The input method system of claim 25, wherein the search command comprises a URI address of a search keyword.
35、 如权利要求 25所述的输入法系统, 其特征在于, 所述搜索命令包括 搜索关键词和搜索类型参数。  35. The input method system of claim 25, wherein the search command comprises a search keyword and a search type parameter.
PCT/CN2008/070175 2007-01-25 2008-01-24 An easy information search method, system and a character input system WO2008092400A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2007100003993A CN101231636B (en) 2007-01-25 2007-01-25 Convenient information search method, system and an input method system
CN200710000399.3 2007-01-25

Publications (1)

Publication Number Publication Date
WO2008092400A1 true WO2008092400A1 (en) 2008-08-07

Family

ID=39673673

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/070175 WO2008092400A1 (en) 2007-01-25 2008-01-24 An easy information search method, system and a character input system

Country Status (2)

Country Link
CN (1) CN101231636B (en)
WO (1) WO2008092400A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984395A (en) * 2010-10-20 2011-03-09 广东国笔科技股份有限公司 Intelligent operation system and method based on personal computer (PC)
CN102737133A (en) * 2012-06-27 2012-10-17 北京城市网邻信息技术有限公司 Real-time searching method
CN103647843A (en) * 2013-12-20 2014-03-19 百度在线网络技术(北京)有限公司 Method and device for triggering and responding to cloud input requests
CN109829087A (en) * 2019-02-18 2019-05-31 Oppo广东移动通信有限公司 Local search method, device and terminal
CN110309324A (en) * 2018-03-09 2019-10-08 北京搜狗科技发展有限公司 A kind of searching method and relevant apparatus
CN110888953A (en) * 2019-11-14 2020-03-17 中国民航信息网络股份有限公司 Region information input method and device
CN113806595A (en) * 2021-08-13 2021-12-17 荣耀终端有限公司 Code search system generation method, code search method and search server

Families Citing this family (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833566A (en) * 2010-03-19 2010-09-15 深圳市同洲电子股份有限公司 Method, device and equipment for searching for information
CN102298582B (en) * 2010-06-23 2016-09-21 商业对象软件有限公司 Data search and matching process and system
CN102314462A (en) * 2010-06-30 2012-01-11 北京搜狗科技发展有限公司 Method and system for obtaining navigation result on input method platform
CN102314439B (en) * 2010-06-30 2015-12-16 百度在线网络技术(北京)有限公司 The input method combined with application interface and equipment
CN102314461B (en) * 2010-06-30 2015-03-11 北京搜狗科技发展有限公司 Navigation prompt method and system
CN102207816B (en) * 2010-07-16 2017-04-19 北京搜狗科技发展有限公司 Method for performing adaptive input based on input environment, and input method system
CN102436458B (en) * 2011-03-02 2015-09-30 北京奇虎科技有限公司 A kind of method of command analysis and system thereof
JP5768492B2 (en) * 2011-05-18 2015-08-26 ソニー株式会社 Information processing apparatus, information processing method, and program
CN102223410A (en) * 2011-06-15 2011-10-19 深圳Tcl新技术有限公司 Searching method of intelligent information terminal and terminal
CN110096706A (en) * 2011-09-01 2019-08-06 上海触乐信息科技有限公司 The system and method for candidate word is adjusted on portable device based on geographical location dynamic
CN102508857B (en) * 2011-09-29 2013-10-02 暨南大学 Desktop cloud searching method based on event correlation
CN103248551A (en) * 2012-02-03 2013-08-14 腾讯科技(深圳)有限公司 Information presentation method and system
CN103297402A (en) * 2012-03-01 2013-09-11 腾讯科技(深圳)有限公司 Method and system for controlling account registration
AU2013203951A1 (en) * 2012-05-09 2013-11-28 Paul Damian Nelson A method of displaying a customised address bar or search results in a browser
CN102857629A (en) * 2012-07-12 2013-01-02 广东欧珀移动通信有限公司 Calling-out method of mobile phone desktop search box
CN102799663A (en) * 2012-07-13 2012-11-28 深圳市同洲电子股份有限公司 Input method and input method system
CN102930002A (en) * 2012-10-26 2013-02-13 北京百度网讯科技有限公司 Instant searching method and device
CN103020125A (en) * 2012-11-19 2013-04-03 百度国际科技(深圳)有限公司 Method for providing service resource, input method, server and electronic equipment
CN103019407B (en) * 2012-11-22 2020-09-29 百度国际科技(深圳)有限公司 Input method application method, automatic question answering processing method, electronic equipment and server
CN103902535B (en) * 2012-12-24 2019-02-22 腾讯科技(深圳)有限公司 Obtain the method, apparatus and system of associational word
CN103902610A (en) * 2012-12-28 2014-07-02 北大方正集团有限公司 Searching method and searching device
CN104077288B (en) * 2013-03-26 2017-08-08 富士通株式会社 Web page contents recommend method and web page contents recommendation apparatus
CN104133815B (en) * 2013-05-02 2018-09-04 张岩 The method and system of input and search
US10019484B2 (en) * 2013-07-17 2018-07-10 Google Llc Third party search applications for a search system
CN103631884B (en) * 2013-11-14 2017-12-12 奇智软件(北京)有限公司 The method and apparatus that searching request is initiated in a kind of browser side
CN104834644B (en) * 2014-02-11 2018-08-28 杭州华澜微电子股份有限公司 One kind is from searching storage device
CN104503995A (en) * 2014-12-04 2015-04-08 百度在线网络技术(北京)有限公司 Realization method and device for input method
CN104699744A (en) * 2014-12-04 2015-06-10 百度在线网络技术(北京)有限公司 Information searching method and device
CN104820695A (en) * 2015-04-29 2015-08-05 百度在线网络技术(北京)有限公司 Method and device for resource acquisition
CN105183185B (en) * 2015-08-31 2019-05-31 百度在线网络技术(北京)有限公司 A kind of method and apparatus of data for rendering in input method system
CN105893564A (en) * 2016-03-31 2016-08-24 百度在线网络技术(北京)有限公司 Search method and device based on search engine client
US10909170B2 (en) * 2016-04-06 2021-02-02 Baidu Usa Llc Method for processing and rendering feed-like based images for mobile devices
CN106096010B (en) * 2016-06-23 2020-07-28 北京奇元科技有限公司 Input control method and device with search engine function
WO2018023480A1 (en) * 2016-08-03 2018-02-08 王晓光 Keyword classification-based search method and system in big data
CN109710088B (en) * 2018-12-29 2022-12-27 北京金山安全软件有限公司 Information searching method and device
CN109857958B (en) * 2019-02-13 2020-11-24 杭州孝道科技有限公司 Method for searching http input point
US11461419B2 (en) 2020-07-09 2022-10-04 Google Llc Discovering alternate online service providers
CN112068762B (en) * 2020-09-09 2023-09-12 腾讯科技(深圳)有限公司 Interface display method, device, equipment and medium of application program
CN113268145B (en) * 2021-05-27 2023-01-03 青岛中科英泰商用系统股份有限公司 Physical input device input method, system, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1387650A (en) * 1999-11-05 2002-12-25 微软公司 Language input architecture for converting one text form to another text form with minimized typographical errors and conversion errors
JP2004326302A (en) * 2003-04-23 2004-11-18 Nec Corp Translation support device and translation support program
CN1588367A (en) * 2004-09-02 2005-03-02 魏新成 Search column input letter prompting search word and net name
WO2005091167A2 (en) * 2004-03-16 2005-09-29 Google Inc. Systems and methods for translating chinese pinyin to chinese characters
US20060089928A1 (en) * 2004-10-20 2006-04-27 Oracle International Corporation Computer-implemented methods and systems for entering and searching for non-Roman-alphabet characters and related search systems
CN101013342A (en) * 2007-01-22 2007-08-08 魏新成 Chinese online input method based on Chinese network word base

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1387650A (en) * 1999-11-05 2002-12-25 微软公司 Language input architecture for converting one text form to another text form with minimized typographical errors and conversion errors
JP2004326302A (en) * 2003-04-23 2004-11-18 Nec Corp Translation support device and translation support program
WO2005091167A2 (en) * 2004-03-16 2005-09-29 Google Inc. Systems and methods for translating chinese pinyin to chinese characters
CN1588367A (en) * 2004-09-02 2005-03-02 魏新成 Search column input letter prompting search word and net name
US20060089928A1 (en) * 2004-10-20 2006-04-27 Oracle International Corporation Computer-implemented methods and systems for entering and searching for non-Roman-alphabet characters and related search systems
CN101013342A (en) * 2007-01-22 2007-08-08 魏新成 Chinese online input method based on Chinese network word base

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984395A (en) * 2010-10-20 2011-03-09 广东国笔科技股份有限公司 Intelligent operation system and method based on personal computer (PC)
CN102737133A (en) * 2012-06-27 2012-10-17 北京城市网邻信息技术有限公司 Real-time searching method
CN103647843A (en) * 2013-12-20 2014-03-19 百度在线网络技术(北京)有限公司 Method and device for triggering and responding to cloud input requests
CN103647843B (en) * 2013-12-20 2017-01-18 百度在线网络技术(北京)有限公司 Method and device for triggering and responding to cloud input requests
CN110309324A (en) * 2018-03-09 2019-10-08 北京搜狗科技发展有限公司 A kind of searching method and relevant apparatus
CN110309324B (en) * 2018-03-09 2024-03-22 北京搜狗科技发展有限公司 Searching method and related device
CN109829087A (en) * 2019-02-18 2019-05-31 Oppo广东移动通信有限公司 Local search method, device and terminal
CN109829087B (en) * 2019-02-18 2024-01-30 Oppo广东移动通信有限公司 Local searching method, device and terminal
CN110888953A (en) * 2019-11-14 2020-03-17 中国民航信息网络股份有限公司 Region information input method and device
CN113806595A (en) * 2021-08-13 2021-12-17 荣耀终端有限公司 Code search system generation method, code search method and search server

Also Published As

Publication number Publication date
CN101231636B (en) 2013-09-25
CN101231636A (en) 2008-07-30

Similar Documents

Publication Publication Date Title
WO2008092400A1 (en) An easy information search method, system and a character input system
US6564254B1 (en) System and a process for specifying a location on a network
US8464158B2 (en) Method and arrangement for sharing information search results
US20070067305A1 (en) Display of search results on mobile device browser with background process
US7500188B1 (en) System and method for adapting information content for an electronic device
US7072984B1 (en) System and method for accessing customized information over the internet using a browser for a plurality of electronic devices
JP5133984B2 (en) Input candidate providing device, input candidate providing system, input candidate providing method, and input candidate providing program
US20100268773A1 (en) System and Method for Displaying Information Content with Selective Horizontal Scrolling
US20030208472A1 (en) Method and apparatus for transparent keyword-based hyperlink
US20050097189A1 (en) Automatic detection and dialing of phone numbers on web pages
US7630970B2 (en) Wait timer for partially formed query
US20070208704A1 (en) Packaged mobile search results
US20080222242A1 (en) Method and System for Improving User Experience While Browsing
US20040059728A1 (en) Method and system for retrieving search results from multiple disparate databases
US7082454B1 (en) Dynamic content caching framework
WO2009039744A1 (en) System, server, client and method for downloading network resource
US20080120541A1 (en) System and method for on-line retrieval and typing of non-standard characters
WO2012155581A1 (en) Intermediate server, mobile browsing method and mobile browsing system
JP4008679B2 (en) Information management apparatus and information management system
JP2002132646A (en) Contents interpolating web proxy server
JPH1153388A (en) Number embedded type html file retrieval device and number management server device
JP2003099347A (en) Distributed server selecting system
JP2008242681A (en) Search service system, search server, search service method, and program for search service
KR20020005882A (en) The system and the method of remote controlling a computer and reading the data therein using the mobile phone
US20050065922A1 (en) Method and system for retrieving search results from multiple disparate databases

Legal Events

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

Ref document number: 08706552

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08706552

Country of ref document: EP

Kind code of ref document: A1