CN103995601A - Method and device for achieving input method - Google Patents

Method and device for achieving input method Download PDF

Info

Publication number
CN103995601A
CN103995601A CN201410231672.3A CN201410231672A CN103995601A CN 103995601 A CN103995601 A CN 103995601A CN 201410231672 A CN201410231672 A CN 201410231672A CN 103995601 A CN103995601 A CN 103995601A
Authority
CN
China
Prior art keywords
search
user
input method
input
candidate bar
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410231672.3A
Other languages
Chinese (zh)
Inventor
仲南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410231672.3A priority Critical patent/CN103995601A/en
Publication of CN103995601A publication Critical patent/CN103995601A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method and device for achieving an input method. The method for achieving the input method comprises the steps of receiving a search triggering instruction input by a user, and taking the input method as a search entry for searching after the search triggering instruction is received. According to the method, the search cost is reduced, and the input experience can be improved.

Description

Input method implementation method and device
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for realizing an input method.
Background
In the age of popularization of the internet, a user can initiate a search request at any time, for example, in scenes such as chatting and writing, a browser is required to be called frequently for searching. If a user enters a search after opening a browser and then opening a search engine when there is a search request, the cost is very high.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, an object of the present invention is to provide an implementation method of an input method, which can reduce the search cost and improve the input experience.
The invention also aims to provide a device for realizing the input method.
In order to achieve the above object, an implementation method of an input method according to an embodiment of a first aspect of the present invention includes:
receiving a trigger search instruction input by a user; and after receiving the trigger search instruction, searching by taking an input method as a search entry.
According to the display method of the input method provided by the embodiment of the first aspect of the invention, the search entry is provided in the input method, the search can be directly performed through the input method, operations such as opening a browser and then opening a search engine are not required, the search cost is reduced, and the input experience of a user can be improved by directly performing the search according to the input method.
In order to achieve the above object, an apparatus for implementing an input method according to an embodiment of the second aspect of the present invention includes:
the receiving module is used for receiving a trigger search instruction input by a user; and the searching module is used for searching by taking an input method as a searching entry after receiving the triggering searching instruction.
According to the display device of the input method provided by the embodiment of the second aspect of the invention, the search entry is provided in the input method, the search can be directly performed through the input method, operations such as opening a browser and then opening a search engine are not needed, the search cost is reduced, and the input experience of a user can be improved by directly performing the search according to the input method.
In order to achieve the above object, an embodiment of a third aspect of the present invention provides a client device, including: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power circuit for supplying power to each circuit or device of the client device; the memory is used for storing executable program codes; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the steps of: receiving a trigger search instruction input by a user; and after receiving the trigger search instruction, searching by taking an input method as a search entry.
The client device provided by the embodiment of the third aspect of the present invention can directly perform a search through the input method by providing a search entry in the input method, and operations such as opening a browser and then opening a search engine are not required, so that the search cost is reduced, and the input experience of a user can be improved by directly performing a search according to the input method.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of a method for implementing an input method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method for implementing an input method according to another embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a search button according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a presentation of another search button in an embodiment of the present invention;
FIG. 5 is a schematic diagram of a presentation of another search button in an embodiment of the present invention;
FIG. 6 is a schematic diagram of a presentation in which a search result is an application according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an apparatus for implementing an input method according to another embodiment of the present invention;
fig. 8 is a schematic structural diagram of an apparatus for implementing an input method according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Fig. 1 is a schematic flow chart of a method for implementing an input method according to an embodiment of the present invention, where the method includes:
s11: receiving a trigger search instruction input by a user;
the triggered search instruction may be a selection instruction of a preset search button by a user, for example, the triggered search instruction is issued after the user clicks the search button, and the search button may be disposed in an input method candidate field of the input method. Or,
the triggered search instruction may be a selection instruction of a preset shortcut key by a user, for example, when the preset shortcut key is a "ctrl + Enter (Enter)" key, the triggered search instruction is issued when the user selects the "ctrl + Enter" key.
S12: and after receiving the trigger search instruction, searching by taking an input method as a search entry.
After receiving a triggering search instruction, the input method can be used as a search entry for searching.
Optionally, the input method candidate bar of the input method may be specifically used as a search entry, and in this case, the method may further include: and receiving user input, and displaying an input method candidate bar according to the user input so as to take the input method candidate bar as a search entry.
For example, the user may need to input, such as input text, while writing or chatting, and the client device may detect the user's input using the input method.
Upon detecting the user input, the input method candidate bar may be presented to the user, e.g., a number of items of content may be provided in the input method candidate bar for selection by the user.
The input method candidate bar is the currently displayed interface, so that the input method candidate bar can be conveniently used by a user.
Alternatively, the search entry may be provided by other items of the input method, for example, a pop-up box or a bubble may be provided as the search entry by the input method.
According to the method, the search entry is provided in the input method, the search can be directly carried out through the input method, operations such as opening a browser and then opening a search engine are not needed, the search cost is reduced, and the input experience of the user can be improved by directly carrying out the search according to the input method. In addition, the embodiment can be conveniently used by the user by taking the input method candidate bar as a search entry.
Fig. 2 is a schematic flow chart of a method for implementing an input method according to another embodiment of the present invention, where the method includes:
s21: and receiving the input of a user, and displaying an input method candidate bar according to the input of the user, wherein a search button is preset on the input method candidate bar.
For example, the user can perform an input operation when writing. When the input method detects the input of the user, an input method candidate bar can be displayed to the user.
In the embodiment, a search button is arranged on the input method candidate bar, so that a user can trigger a search by clicking the search button.
For example, referring to fig. 3, a search button of "hundredths of a day" is preset on the input method candidate bar.
Further, the search button may include a picture and a text disposed on the picture, and the picture and the text may be integrated, for example, the picture and the text may be pre-formed into an integrated picture, and then the integrated picture is provided to the user. Or,
the pictures and text may be separate. At this time, the characters can be changed according to actual needs. Specifically, the text is in a format preset by the user, for example, an interface for setting text of a search button is provided for the user, and the font of the text in the search button is displayed according to the font set by the user, where the font of the text in the search button set by the user may be the same as or different from the font of the content in the input method candidate bar. Or,
the text has the same format as the text provided by the input method candidate bar, wherein, in general, the format of the text provided by the input method candidate bar may be preset by the user, for example, the user sets the font of the text provided by the input method candidate bar to be a regular script, and then the input method displays the text in the search button to be a regular script by detecting the setting of the user as shown in fig. 4. Or,
the characters are characters corresponding to a search engine preset by a user. In which an interface for the user to select a search engine may be provided, for example, after the user selects a soso engine, as shown in fig. 5, "soso one's time" may be displayed in the search button.
Further, when the user uses the input method with the search function for the first time, the user may be prompted on the input method interface, for example, a red dot is set in "hundredths", or a text may be used to search, etc.
S22: a search is triggered.
The search may be triggered by clicking a search button, or may be triggered by selecting a preset shortcut key, for example, selecting a "ctrl + enter" key.
S23: and when a preset shortcut key is selected to trigger searching, judging whether searching is performed, if so, executing S25, otherwise, executing S24.
In some scenarios, for example, full-screen game, immersive browsing, etc., the shortcut key selected by the user is not used for searching, but is used for the operation of the current scenario, for example, the user may also select the "ctrl + enter" key when playing full-screen game, but the user selects the "ctrl + enter" key to acquire equipment, etc., and does not need to search, so that the search needs not to be triggered at this time.
Specifically, the current scene where the user is located may be detected, and if the current scene is the same as the preset scene, the search is not triggered.
S24: no search is performed.
S25: and acquiring search terms from the input method candidate bar, and searching the search terms to obtain a search result.
For example, the input method candidate bar includes 5 candidate words, and one or at least two of the candidate words may be determined as a search word.
Specifically, the default selected content of the system in the input method candidate bar may be determined as a search term; or determining the content selected by the user in the input method candidate bar as the search word.
The content selected by default by the system may be highlighted or otherwise indicated.
For example, after the user inputs, the content at the first position is usually highlighted, so the content at the first position can be searched, or the user switches the highlighted content through an arrow key on a keyboard or mouse operation, so that the search for the content at the non-first position is realized. Or when the search is triggered by the shortcut key, the contents corresponding to the selected number can be searched after the shortcut key and the selected number are clicked, so that the search of the contents selected by the user is realized. Of course, the search for the content in the search candidate bar may be implemented in other ways.
In searching, not only can the browser be called to search in the server, but the search can also be conducted locally.
Specifically, during local search, a file directory or an application directory may be opened to present search results, or during server search, a browser may be opened to present search results in the browser. In addition, whether the local search or the search in the server, the following steps can be executed:
s26: and the search result is built in the input method candidate bar for showing.
In the local search, when the search result is a file directory, the file directory is presented in the input method candidate bar, for example, when the user selects the content, for example, the user selects "6, D: \ work \ patent \ input method patent", the file of the input method patent can be opened. Alternatively, for another example, when the search result is an application, the application may be presented in the input method candidate bar, for example, when the search term is a calculator, the application as shown in fig. 6 may be presented in the input method candidate bar, and then when the user selects the item of content, for example, selects a number identifier in front of the item of content, the application of "calculator" may be opened. For example, the search result may also be a specific result, such as a picture, a file, a piece of audio or video, etc.
When searching in the server, the result with the summary satisfying characteristic, such as weather result, map, antivirus, etc., can be directly built in the input method candidate bar for showing. Results with summary satisfaction characteristics refer to results that directly satisfy the user's needs, including, for example, but not limited to: when the search term is "weather", the weather condition can be directly displayed in the input method candidate bar. For another example, when the search term is "antivirus," antivirus software may be directly displayed in the input method candidate bar, and the user may directly download and install in the input method candidate bar.
Optionally, S25 is an example of obtaining a search term and performing a search on the search term, and may also perform a search on content input by the user, which may specifically include but is not limited to: the user inputs a local directory or web address in the input method candidate bar, and then the local directory or web address can be directly opened through a search entry (specifically, the input method candidate bar). For example, a user inputs D: \ work \ patent \ input method patent in an input method candidate bar, and then directly opens the input method patent after clicking 'hundreds once'; alternatively, when the user inputs www.baidu.com in the input method candidate bar, the user directly opens www.baidu.com corresponding web pages after clicking "hundredth of a day".
According to the method, the search entry is provided in the input method, the search can be directly triggered through the input method, operations such as opening a browser and then opening a search engine are not needed, the search cost is reduced, and the input experience of a user can be improved by directly searching according to the input method. In addition, the embodiment can be conveniently used by the user by taking the input method candidate bar as a search entry. According to the embodiment, the pictures and the characters of the search button are separated, different characters can be displayed according to the needs of the user, and the user experience is improved. According to the method and the device, the search result is built in the input method candidate bar, so that the user can conveniently check the result, and the user can conveniently use the search result.
Fig. 7 is a schematic structural diagram of an apparatus for implementing an input method according to another embodiment of the present invention, where the apparatus 70 includes a receiving module 71 and a searching module 72.
The receiving module 71 is configured to receive a trigger search instruction input by a user.
The triggered search instruction may be a selection instruction of a preset search button by a user, for example, the triggered search instruction is issued after the user clicks the search button, and the search button is disposed in the input method candidate field. Or,
the trigger search instruction may be a selection instruction of a preset shortcut key by a user, for example, when the preset shortcut key is a "ctrl + enter" key, the trigger search instruction is issued when the user selects the "ctrl + enter" key.
The searching module 72 is configured to search by using the input method as a search entry after receiving the trigger search instruction.
After receiving a triggering search instruction, the input method can be used as a search entry for searching.
Optionally, the input method candidate bar of the input method may be specifically used as a search entry, and in this case, the method may further include: and receiving user input, and displaying an input method candidate bar according to the user input so as to take the input method candidate bar as a search entry.
For example, the user may need to input, such as input text, while writing or chatting, and the client device may detect the user's input using the input method.
Upon detecting the user input, the input method candidate bar may be presented to the user, e.g., a number of items of content may be provided in the input method candidate bar for selection by the user.
The input method candidate bar is the currently displayed interface, so that the input method candidate bar can be conveniently used by a user.
Alternatively, the search entry may be provided by other items of the input method, for example, a pop-up box or a bubble may be provided as the search entry by the input method.
According to the method, the search entry is provided in the input method, the search can be directly carried out through the input method, operations such as opening a browser and then opening a search engine are not needed, the search cost is reduced, and the input experience of the user can be improved by directly carrying out the search according to the input method. In addition, the embodiment can be conveniently used by the user by taking the input method candidate bar as a search entry.
Fig. 8 is a schematic structural diagram of an apparatus for implementing an input method according to another embodiment of the present invention, where the apparatus 70 further includes a presentation module 73.
The presentation module 73 is configured to receive a user input, and present an input method candidate bar according to the user input, so that the input method candidate bar is used as a search entry.
In one embodiment, the receiving module 71 is specifically configured to: and receiving a selection instruction of the user on a preset search button, wherein the search button is arranged on the input method candidate bar.
The search button comprises a picture and characters arranged on the picture, the picture and the characters are integrated, for example, the picture and the characters can be made into an integrated picture in advance and then integrally provided for a user, or the picture and the characters are separated, and at the moment, the characters can be changed according to actual needs.
When the picture and the text are separated, the text is in a format preset by a user, for example, an interface for setting the text of a search button is provided for the user, and the font of the text in the search button is displayed according to the font set by the user; or,
the format of the characters provided by the input method candidate bar is the same as that of the characters provided by the input method candidate bar, wherein, generally speaking, the format of the characters provided by the input method candidate bar can be preset by a user, for example, the user sets that the font of the characters provided by the input method candidate bar is a regular script, and then the input method displays the characters in the search button as the regular script by detecting the setting of the user as shown in fig. 4; or,
the text is a text corresponding to a search engine preset by a user, wherein an interface for the user to select the search engine may be provided, for example, after the user selects a soso engine, as shown in fig. 5, "soso" may be displayed in a search button.
In one embodiment, the receiving module 71 is specifically configured to: and receiving a selection instruction of the user on a preset shortcut key. For example, selecting the "ctrl + enter" key triggers a search.
In one embodiment, the apparatus 70 further includes a determining module 74, configured to detect a current scene where the user is located, and determine whether to enable the search according to the current scene, so that when the search is enabled, the input method is used as a search entry to perform the search.
In some scenarios, for example, full-screen game, immersive browsing, etc., the shortcut key selected by the user is not used for searching, but is used for the operation of the current scenario, for example, the user may also select the "ctrl + enter" key when playing full-screen game, but the user selects the "ctrl + enter" key to acquire equipment, etc., and does not need to search, so that the search needs not to be triggered at this time.
Specifically, the current scene where the user is located may be detected, and if the current scene is the same as the preset scene, the search is not triggered.
The search module 72 is specifically configured to: acquiring search terms from an input method candidate bar of the input method, wherein the search terms are contents of any position in the input method candidate bar, and searching the search terms through the search entry; or receiving a local directory or website input by a user in the input method candidate bar, and directly opening the local directory or website through the search entry. For example, a user inputs D: \ work \ patent \ input method patent in an input method candidate bar, and then directly opens the input method patent after clicking 'hundreds once'; alternatively, when the user inputs www.baidu.com in the input method candidate bar, the user directly opens www.baidu.com corresponding web pages after clicking "hundredth of a day".
Specifically, the default selected content of the system in the input method candidate bar may be determined as a search term; or determining the content selected by the user in the input method candidate bar as the search word.
The content selected by default by the system may be highlighted or otherwise indicated.
For example, after the user inputs, the content at the first position is usually highlighted, so the content at the first position can be searched, or the user switches the highlighted content through an arrow key on a keyboard or mouse operation, so that the search for the content at the non-first position is realized. Or when the search is triggered by the shortcut key, the contents corresponding to the selected number can be searched after the shortcut key and the selected number are clicked, so that the search of the contents selected by the user is realized. Of course, the search for the content in the search candidate bar may be implemented in other ways.
In one embodiment, the search module 72 is specifically configured to: and searching the search words in a local and/or server to obtain a search result.
Specifically, during local search, a file directory or an application directory may be opened to present search results, or during server search, a browser may be opened to present search results in the browser. In addition, whether local search or search in server, the presentation module 71 is further configured to: the search result is built in the input method candidate bar for displaying, wherein when the search is performed locally, the search result comprises at least one of the following items: application, local directory, specific results; when searching in the server, the search result comprises: results with digest satisfaction characteristics.
In the local search, when the search result is a file directory, the file directory is presented in the input method candidate bar, for example, when the user selects the content, for example, the user selects "6, D: \ work \ patent \ input method patent", the file of the input method patent can be opened. Alternatively, for another example, when the search result is an application catalog, the application catalog may be presented in the input method candidate bar, for example, when the search term is a calculator, the application as shown in fig. 6 may be presented in the input method candidate bar, and then when the user selects the item of content, for example, selecting a numeric identifier in front of the item of content, the application of "calculator" may be opened.
When searching in the server, the result with the summary satisfying characteristic, such as weather result, map, antivirus, etc., can be directly built in the input method candidate bar for showing. Results with summary satisfaction characteristics refer to results that directly satisfy the user's needs, including, for example, but not limited to: when the search term is "weather", the weather condition can be directly displayed in the input method candidate bar. For another example, when the search term is "antivirus," antivirus software may be directly displayed in the input method candidate bar, and the user may directly download and install in the input method candidate bar.
According to the method, the search entry is provided in the input method, the search can be directly triggered through the input method, operations such as opening a browser and then opening a search engine are not needed, the search cost is reduced, and the input experience of a user can be improved by directly searching according to the input method. In addition, the embodiment can be conveniently used by the user by taking the input method candidate bar as a search entry. According to the embodiment, the pictures and the characters of the search button are separated, different characters can be displayed according to the needs of the user, and the user experience is improved. According to the method and the device, the search result is built in the input method candidate bar, so that the user can conveniently check the result, and the user can conveniently use the search result.
The embodiment of the invention also provides client equipment which comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power circuit for supplying power to each circuit or device of the client device; the memory is used for storing executable program codes; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the steps of:
s11': receiving a trigger search instruction input by a user;
the triggered search instruction may be a selection instruction of a preset search button by a user, for example, the triggered search instruction is issued after the user clicks the search button, and the search button may be disposed in an input method candidate field of the input method. Or,
the triggered search instruction may be a selection instruction of a preset shortcut key by a user, for example, when the preset shortcut key is a "ctrl + Enter (Enter)" key, the triggered search instruction is issued when the user selects the "ctrl + Enter" key.
S12': and after receiving the trigger search instruction, searching by taking an input method as a search entry.
After receiving a triggering search instruction, the input method can be used as a search entry for searching.
Optionally, the input method candidate bar of the input method may be specifically used as a search entry, and in this case, the method may further include: and receiving user input, and displaying an input method candidate bar according to the user input so as to take the input method candidate bar as a search entry.
For example, the user may need to input, such as input text, while writing or chatting, and the client device may detect the user's input using the input method.
Upon detecting the user input, the input method candidate bar may be presented to the user, e.g., a number of items of content may be provided in the input method candidate bar for selection by the user.
The input method candidate bar is the currently displayed interface, so that the input method candidate bar can be conveniently used by a user.
Alternatively, the search entry may be provided by other items of the input method, for example, a pop-up box or a bubble may be provided as the search entry by the input method.
According to the method, the search entry is provided in the input method, the search can be directly carried out through the input method, operations such as opening a browser and then opening a search engine are not needed, the search cost is reduced, and the input experience of the user can be improved by directly carrying out the search according to the input method. In addition, the embodiment can be conveniently used by the user by taking the input method candidate bar as a search entry.
In another embodiment, the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the steps of:
s21': and receiving the input of a user, and displaying an input method candidate bar according to the input of the user, wherein a search button is preset on the input method candidate bar.
For example, the user can perform an input operation when writing. When the input method detects the input of the user, an input method candidate bar can be displayed to the user.
In the embodiment, a search button is arranged on the input method candidate bar, so that a user can trigger a search by clicking the search button.
For example, referring to fig. 3, a search button of "hundredths of a day" is preset on the input method candidate bar.
Further, the search button may include a picture and a text disposed on the picture, and the picture and the text may be integrated, for example, the picture and the text may be pre-formed into an integrated picture, and then the integrated picture is provided to the user. Or,
the pictures and text may be separate. At this time, the characters can be changed according to actual needs. Specifically, the text is in a format preset by the user, for example, an interface for setting text of a search button is provided for the user, and the font of the text in the search button is displayed according to the font set by the user, where the font of the text in the search button set by the user may be the same as or different from the font of the content in the input method candidate bar. Or,
the text has the same format as the text provided by the input method candidate bar, wherein, in general, the format of the text provided by the input method candidate bar may be preset by the user, for example, the user sets the font of the text provided by the input method candidate bar to be a regular script, and then the input method displays the text in the search button to be a regular script by detecting the setting of the user as shown in fig. 4. Or,
the characters are characters corresponding to a search engine preset by a user. In which an interface for the user to select a search engine may be provided, for example, after the user selects a soso engine, as shown in fig. 5, "soso one's time" may be displayed in the search button.
Further, when the user uses the input method with the search function for the first time, the user may be prompted on the input method interface, for example, a red dot is set in "hundredths", or a text may be used to search, etc.
S22': a search is triggered.
The search may be triggered by clicking a search button, or may be triggered by selecting a preset shortcut key, for example, selecting a "ctrl + enter" key.
S23': when a preset shortcut key is selected to trigger searching, whether searching is carried out is judged, if yes, S25 'is executed, and if not, S24' is executed.
In some scenarios, for example, full-screen game, immersive browsing, etc., the shortcut key selected by the user is not used for searching, but is used for the operation of the current scenario, for example, the user may also select the "ctrl + enter" key when playing full-screen game, but the user selects the "ctrl + enter" key to acquire equipment, etc., and does not need to search, so that the search needs not to be triggered at this time.
Specifically, the current scene where the user is located may be detected, and if the current scene is the same as the preset scene, the search is not triggered.
S24': no search is performed.
S25': and acquiring search terms from the input method candidate bar, and searching the search terms to obtain a search result.
For example, the input method candidate bar includes 5 candidate words, and one or at least two of the candidate words may be determined as a search word.
Specifically, the default selected content of the system in the input method candidate bar may be determined as a search term; or determining the content selected by the user in the input method candidate bar as the search word.
The content selected by default by the system may be highlighted or otherwise indicated.
For example, after the user inputs, the content at the first position is usually highlighted, so the content at the first position can be searched, or the user switches the highlighted content through an arrow key on a keyboard or mouse operation, so that the search for the content at the non-first position is realized. Or when the search is triggered by the shortcut key, the contents corresponding to the selected number can be searched after the shortcut key and the selected number are clicked, so that the search of the contents selected by the user is realized. Of course, the search for the content in the search candidate bar may be implemented in other ways.
In searching, not only can the browser be called to search in the server, but the search can also be conducted locally.
Specifically, during local search, a file directory or an application directory may be opened to present search results, or during server search, a browser may be opened to present search results in the browser. In addition, whether the local search or the search in the server, the following steps can be executed:
s26': and the search result is built in the input method candidate bar for showing.
In the local search, when the search result is a file directory, the file directory is presented in the input method candidate bar, for example, when the user selects the content, for example, the user selects "6, D: \ work \ patent \ input method patent", the file of the input method patent can be opened. Alternatively, for another example, when the search result is an application catalog, the application catalog may be presented in the input method candidate bar, for example, when the search term is a calculator, the application as shown in fig. 6 may be presented in the input method candidate bar, and then when the user selects the item of content, for example, selecting a numeric identifier in front of the item of content, the application of "calculator" may be opened.
When searching in the server, the result with the summary satisfying characteristic, such as weather result, map, antivirus, etc., can be directly built in the input method candidate bar for showing. Results with summary satisfaction characteristics refer to results that directly satisfy the user's needs, including, for example, but not limited to: when the search term is "weather", the weather condition can be directly displayed in the input method candidate bar. For another example, when the search term is "antivirus," antivirus software may be directly displayed in the input method candidate bar, and the user may directly download and install in the input method candidate bar.
Optionally, S25 is an example of obtaining a search term and performing a search on the search term, and may also perform a search on content input by the user, which may specifically include but is not limited to: the user inputs a local directory or web address in the input method candidate bar, and then the local directory or web address can be directly opened through a search entry (specifically, the input method candidate bar). For example, a user inputs D: \ work \ patent \ input method patent in an input method candidate bar, and then directly opens the input method patent after clicking 'hundreds once'; alternatively, when the user inputs www.baidu.com in the input method candidate bar, the user directly opens www.baidu.com corresponding web pages after clicking "hundredth of a day".
According to the method, the search entry is provided in the input method, the search can be directly triggered through the input method, operations such as opening a browser and then opening a search engine are not needed, the search cost is reduced, and the input experience of a user can be improved by directly searching according to the input method. In addition, the embodiment can be conveniently used by the user by taking the input method candidate bar as a search entry. According to the embodiment, the pictures and the characters of the search button are separated, different characters can be displayed according to the needs of the user, and the user experience is improved. According to the method and the device, the search result is built in the input method candidate bar, so that the user can conveniently check the result, and the user can conveniently use the search result.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (20)

1. An implementation method of an input method is characterized by comprising the following steps:
receiving a trigger search instruction input by a user;
and after receiving the trigger search instruction, searching by taking an input method as a search entry.
2. The method of claim 1, wherein prior to receiving a user-entered trigger search instruction, the method further comprises:
and receiving user input, and displaying an input method candidate bar according to the user input so as to take the input method candidate bar as a search entry.
3. The method of claim 2, wherein receiving a user-entered trigger search instruction comprises:
and receiving a selection instruction of the user on a preset search button, wherein the search button is arranged on the input method candidate bar.
4. The method of claim 3, wherein the search button comprises a picture and text disposed on the picture, the picture and the text being integral or the picture and the text being separate.
5. The method of claim 4, wherein when the picture and the text are separate, the text is in a format preset by a user; or,
the format of the characters is the same as that of the characters provided by the input method candidate bar; or,
the characters are characters corresponding to a search engine preset by a user.
6. The method of claim 1, wherein receiving the user-entered trigger search instruction comprises:
and receiving a selection instruction of the user on a preset shortcut key.
7. The method according to claim 6, wherein after receiving the user selection instruction of the preset shortcut key, the method further comprises:
detecting the current scene of a user, and judging whether to start searching according to the current scene so as to search by taking an input method as a search entry when starting searching.
8. The method according to any one of claims 1 to 7, wherein the searching with the input method as a search entry comprises:
acquiring search terms from an input method candidate bar of the input method, wherein the search terms are contents of any position in the input method candidate bar, and searching the search terms through the search entry; or,
and receiving a local directory or website input by a user in the input method candidate bar, and directly opening the local directory or website through the search entry.
9. The method of claim 8, wherein searching the search term comprises:
and searching the search words in a local and/or server to obtain a search result.
10. The method of claim 9,
the search result is built in the input method candidate bar for displaying, wherein when the search is performed locally, the search result comprises at least one of the following items: application, file directory, specific results; when searching in the server, the search result comprises: results with digest satisfaction characteristics.
11. An apparatus for implementing an input method, comprising:
the receiving module is used for receiving a trigger search instruction input by a user;
and the searching module is used for searching by taking an input method as a searching entry after receiving the triggering searching instruction.
12. The apparatus of claim 11, further comprising:
and the display module is used for receiving user input and displaying the input method candidate bar according to the user input so as to take the input method candidate bar as a search entry.
13. The apparatus of claim 11, wherein the receiving module is specifically configured to:
and receiving a selection instruction of the user on a preset search button, wherein the search button is arranged on the input method candidate bar.
14. The apparatus of claim 13, wherein the search button comprises a picture and a text disposed on the picture, the picture and the text being integral or the picture and the text being separate.
15. The apparatus of claim 14, wherein when the picture and the text are separate, the text is in a format preset by a user; or,
the format of the characters is the same as that of the characters provided by the input method candidate bar; or,
the characters are characters corresponding to a search engine preset by a user.
16. The apparatus of claim 11, wherein the receiving module is specifically configured to:
and receiving a selection instruction of the user on a preset shortcut key.
17. The apparatus of claim 16, further comprising:
and the judging module is used for detecting the current scene where the user is positioned, and judging whether to start searching according to the current scene so as to search by taking the input method as a search entry when starting searching.
18. The apparatus according to any one of claims 11 to 17, wherein the search module is specifically configured to:
acquiring search terms from an input method candidate bar of the input method, wherein the search terms are contents of any position in the input method candidate bar, and searching the search terms through the search entry; or,
and receiving a local directory or website input by a user in the input method candidate bar, and directly opening the local directory or website through the search entry.
19. The apparatus of claim 18, wherein the search module is further specifically configured to:
and searching the search words in a local and/or server to obtain a search result.
20. The apparatus of claim 19, wherein the presentation module is further configured to:
the search result is built in the input method candidate bar for displaying, wherein when the search is performed locally, the search result comprises at least one of the following items: application, file directory, specific results; when searching in the server, the search result comprises: results with digest satisfaction characteristics.
CN201410231672.3A 2014-05-28 2014-05-28 Method and device for achieving input method Pending CN103995601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410231672.3A CN103995601A (en) 2014-05-28 2014-05-28 Method and device for achieving input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410231672.3A CN103995601A (en) 2014-05-28 2014-05-28 Method and device for achieving input method

Publications (1)

Publication Number Publication Date
CN103995601A true CN103995601A (en) 2014-08-20

Family

ID=51309789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410231672.3A Pending CN103995601A (en) 2014-05-28 2014-05-28 Method and device for achieving input method

Country Status (1)

Country Link
CN (1) CN103995601A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572853A (en) * 2014-12-17 2015-04-29 百度在线网络技术(北京)有限公司 Searching method and searching device
CN104699744A (en) * 2014-12-04 2015-06-10 百度在线网络技术(北京)有限公司 Information searching method and device
CN104715011A (en) * 2014-12-31 2015-06-17 上海孩子国科教设备有限公司 Method and system for conducting data retrieval
CN105739716A (en) * 2016-01-22 2016-07-06 百度在线网络技术(北京)有限公司 Search method and device in input application
CN106774969A (en) * 2015-11-20 2017-05-31 北京搜狗科技发展有限公司 A kind of input method and device
CN107273457A (en) * 2017-06-01 2017-10-20 珠海市魅族科技有限公司 A kind of searching method and device, computer installation and computer-readable recording medium
CN107643833A (en) * 2016-07-22 2018-01-30 北京搜狗科技发展有限公司 A kind of input method and device, a kind of device for being used to input
CN108874888A (en) * 2017-05-15 2018-11-23 李建文 Data searching method
CN112068762A (en) * 2020-09-09 2020-12-11 腾讯科技(深圳)有限公司 Interface display method, device, equipment and medium of application program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699744A (en) * 2014-12-04 2015-06-10 百度在线网络技术(北京)有限公司 Information searching method and device
CN104572853A (en) * 2014-12-17 2015-04-29 百度在线网络技术(北京)有限公司 Searching method and searching device
CN104715011A (en) * 2014-12-31 2015-06-17 上海孩子国科教设备有限公司 Method and system for conducting data retrieval
CN106774969A (en) * 2015-11-20 2017-05-31 北京搜狗科技发展有限公司 A kind of input method and device
CN105739716A (en) * 2016-01-22 2016-07-06 百度在线网络技术(北京)有限公司 Search method and device in input application
CN107643833A (en) * 2016-07-22 2018-01-30 北京搜狗科技发展有限公司 A kind of input method and device, a kind of device for being used to input
CN108874888A (en) * 2017-05-15 2018-11-23 李建文 Data searching method
CN107273457A (en) * 2017-06-01 2017-10-20 珠海市魅族科技有限公司 A kind of searching method and device, computer installation and computer-readable recording medium
CN112068762A (en) * 2020-09-09 2020-12-11 腾讯科技(深圳)有限公司 Interface display method, device, equipment and medium of application program
CN112068762B (en) * 2020-09-09 2023-09-12 腾讯科技(深圳)有限公司 Interface display method, device, equipment and medium of application program

Similar Documents

Publication Publication Date Title
CN103995601A (en) Method and device for achieving input method
US10846475B2 (en) Emoji input method and device thereof
CN106095804B (en) A kind of processing method of video clip, localization method and terminal
CN106095453B (en) Information display method and device and electronic equipment
AU2009337678B2 (en) Visualizing site structure and enabling site navigation for a search result or linked page
US9563334B2 (en) Method for presenting documents using a reading list panel
EP3309691A1 (en) Search recommendation method and apparatus, device, and computer storage medium
US20120304073A1 (en) Web Browser with Quick Site Access User Interface
CN105528388B (en) Search recommendation method and device
CN105868385B (en) Method and system for searching based on terminal interface touch operation
US20130124547A1 (en) System and Methods Thereof for Instantaneous Updating of a Wallpaper Responsive of a Query Input and Responses Thereto
CN106844680A (en) The methods of exhibiting and device of recommendation information
WO2016050214A1 (en) Intelligent prediction input method and system
CN108153848B (en) Method and device for searching light application data and electronic device
CN109192212B (en) Voice control method and device
KR20140063668A (en) Hyperlink destination visibility
US20170171334A1 (en) Single-account multiple-preference recommendation method for video website and electronic device
CN105335383B (en) Input information processing method and device
KR20160032938A (en) Apparatus AND method for DISPLAYING application
US12067055B2 (en) Information display method and electronic apparatus
CN104866566A (en) Information recommendation method and apparatus
US10133815B2 (en) Document association device, document association system, and program
KR101971042B1 (en) Infinite search results page
CN104503995A (en) Realization method and device for input method
JP6165382B2 (en) Multilingual translation apparatus and multilingual translation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140820

RJ01 Rejection of invention patent application after publication