CN108509058B - Input method and related equipment - Google Patents

Input method and related equipment Download PDF

Info

Publication number
CN108509058B
CN108509058B CN201710113373.3A CN201710113373A CN108509058B CN 108509058 B CN108509058 B CN 108509058B CN 201710113373 A CN201710113373 A CN 201710113373A CN 108509058 B CN108509058 B CN 108509058B
Authority
CN
China
Prior art keywords
query
input
input method
presenting
user input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710113373.3A
Other languages
Chinese (zh)
Other versions
CN108509058A (en
Inventor
杨楠
周毅
刘琛
洪亚腾
刘靖桐
董琦
魏思宁
聂昆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Microsoft Technology Licensing LLC
Original Assignee
Microsoft Technology Licensing LLC
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 Microsoft Technology Licensing LLC filed Critical Microsoft Technology Licensing LLC
Priority to CN201710113373.3A priority Critical patent/CN108509058B/en
Publication of CN108509058A publication Critical patent/CN108509058A/en
Application granted granted Critical
Publication of CN108509058B publication Critical patent/CN108509058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Abstract

Some embodiments of the present disclosure provide an input method and related device. In the input method, user input provided via an input method platform is received. Based on the received user input, the input method generates a query for rich content. The input method executes a query on the internet via a search engine to obtain query results for the query. The input method presents query results at least in part via an input method platform.

Description

Input method and related equipment
Technical Field
Embodiments of the present disclosure relate to an input method and related device.
Background
An input method platform is a computer application that helps users enter text on a computing device. The input method platform may provide a plurality of candidate words based on input received from a user. The user's input and the provided text may be the same speech or different languages.
Taking the english input method as an example, a user may input english characters of one or more initials of a word or phrase, and based on the initials, the input method platform may provide one or more complete words or phrases for the user to select. The input method platform may facilitate the input of non-Latin characters such as Chinese. For example, a user may enter Latin characters, which may be the Pinyin of a Chinese character, through a keyboard. The input method platform returns one or more Chinese characters as candidate words based on the Latin characters.
Disclosure of Invention
According to some embodiments of the present disclosure, an input method is provided. In the input method, user input provided via an input method platform is received. Based on the received user input, the input method generates a query for rich content. The input method executes a query on the internet via a search engine to obtain query results for the query. The input method presents query results at least in part via an input method platform.
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Drawings
FIG. 1 is a diagram illustrating a computer system according to an embodiment of the present disclosure;
FIG. 2 shows a flow diagram of an input method according to one embodiment of the present disclosure; and
fig. 3a, 3b, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 illustrate example user interfaces of an input method and application scenarios thereof according to some embodiments of the present disclosure.
In the drawings, the same or similar reference characters are used to designate the same or similar elements.
Detailed Description
The present disclosure will now be discussed with reference to several example embodiments. It is understood that these embodiments are discussed only to enable those of ordinary skill in the art to better understand and thus implement the present disclosure, and are not intended to imply any limitation on the scope of the present disclosure.
As used herein, the term "include" and its variants are to be read as open-ended terms meaning "including, but not limited to. The term "based on" is to be read as "based, at least in part, on". The terms "one embodiment" and "an embodiment" are to be read as "at least one embodiment". The term "another embodiment" is to be read as "at least one other embodiment". The terms "first," "second," and the like may refer to different or the same object. Other explicit and implicit definitions are also possible below.
The basic principles and several exemplary embodiments of the present disclosure are explained below with reference to the drawings. FIG. 1 illustrates a block diagram of a computing device 100 capable of implementing multiple embodiments of the present disclosure. It should be understood that the computing device 100 shown in FIG. 1 is merely exemplary and should not be construed as limiting in any way the functionality and scope of the embodiments described in this disclosure. As shown in fig. 1, computing device 100 comprises computing device 100 in the form of a general purpose computing device. Components of computing device 100 may include, but are not limited to, one or more processors or processing units 110, memory 120, storage 130, one or more communication units 140, one or more input devices 150, and one or more output devices 160.
In some embodiments, the computing device 100 may be implemented as various user terminals or service terminals. The service terminals may be servers, mainframe computing devices, etc. provided by various service providers. A user terminal such as any type of mobile terminal, fixed terminal or portable terminal, including a mobile handset, multimedia computer, multimedia tablet, internet node, communicator, desktop computer, laptop computer, notebook computer, netbook computer, tablet computer, Personal Communication System (PCS) device, personal navigation device, Personal Digital Assistant (PDA), audio/video player, digital camera/camcorder, positioning device, television receiver, radio broadcast receiver, electronic book device, game device or any combination thereof, including accessories and peripherals of these devices or any combination thereof. It is also contemplated that the computing device 100 can support any type of interface to the user (such as "wearable" circuitry, etc.).
The processing unit 110 may be a real or virtual processor and can perform various processes according to programs stored in the memory 120. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to increase the parallel processing capability of computing device 100. The processing unit 110 may also be referred to as a Central Processing Unit (CPU), microprocessor, controller, microcontroller.
Computing device 100 typically includes a number of computer storage media. Such media may be any available media that is accessible by computing device 100 and includes, but is not limited to, volatile and non-volatile media, removable and non-removable media. Memory 120 may be volatile memory (e.g., registers, cache, Random Access Memory (RAM)), non-volatile memory (e.g., Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory), or some combination thereof. The memory 120 may include one or more input method modules 122 configured to perform the functions of the various embodiments described herein. The input method module 122 may be accessed and executed by the processing unit 110 to implement the corresponding functionality. Storage device 130 may be a removable or non-removable medium and may include a machine-readable medium that can be used to store information and/or data and that can be accessed within computing device 100.
The communication unit 140 enables communication with another computing device over a communication medium. Additionally, the functionality of the components of computing device 100 may be implemented in a single computing cluster or multiple computing machines, which are capable of communicating over a communications connection. Thus, the computing device 100 may operate in a networked environment using logical connections to one or more other servers, Personal Computers (PCs), or another general network node. Computing device 100 may also communicate with one or more external devices (not shown), such as storage devices, display devices, etc., communicating with one or more devices that enable a user to interact with computing device 100, or communicating with any devices (e.g., network cards, modems, etc.) that enable computing device 100 to communicate with one or more other computing devices, as desired, via communication unit 140. Such communication may be performed via input/output (I/O) interfaces (not shown).
The input device 150 may be one or more of a variety of input devices such as a mouse, keyboard, touch screen, trackball, voice input device, and the like. Output device 160 may be one or more output devices such as a display, speakers, printer, or the like.
Typically, input method platforms only support text input, and do not support the input and presentation of rich content, or have a good user experience with rich content. Rich content represents content other than text, such as pictures, audio, video, or links, etc. Some embodiments of the present disclosure provide an input method and related device to improve the user experience for rich content input.
Fig. 2 illustrates a flow diagram of an input method 200 according to some embodiments of the present disclosure. The input method 200 may be implemented by the input method module 122 shown in fig. 1. The input method module 122 may implement the functionality of an input method platform or an input method editor. The input method platform represents applications, user interfaces, etc. associated with the input method, and may also be referred to as an input method editor. Thus, in the context of the present disclosure, these terms may be used interchangeably. The input method 200 may be an input method for latin characters such as english, may be an input method for non-latin characters such as chinese, or may be a hybrid input method that supports multiple different languages simultaneously. The present disclosure is not limited in this regard unless the context clearly indicates otherwise.
At 202, user input, such as pinyin for chinese, provided via an input method platform is received. The user may provide user input via an input device 150 such as a keyboard, touch screen, or the like. For example, a user may enter pinyin via a keyboard, and the input method platform may provide candidate words based on the pinyin for selection by the user.
At 204, a query for rich content is generated based on the received user input. For example, in a pinyin input method, a query may be a candidate word corresponding to an input pinyin. In some embodiments, contextual information input by the user may be determined and a query generated based on the contextual information. For example, the contextual information may include information displayed on a user interface of the relevant application. For example, in a chat application, the contextual information may include the content of recently sent and/or received messages.
At 206, the query is executed over the Internet via a search engine to obtain query results for the query. Search results of search engines are often unpredictable and may change over time to ensure that the content provided to the user is rich and fresh. The search engine may rank the search results based on relevance and/or popularity before returning the search results. For example, the search results may be ranked by a weighted average of relevance and popularity.
At 208, the query results are presented, at least in part, via the input method platform. As described above, in some input methods (e.g., pinyin input methods, etc.), candidate words associated with user input are presented in a candidate word window provided by the input method platform. In this case, the query results may be presented in a candidate word window along with the candidate words. In this way, the user interface remains substantially consistent with existing input methods, so that the user is more easily adapted to such input interfaces, reducing learning costs. In some embodiments, the query results may be presented in a rich content candidate window that is separate from the candidate word window. More content may be displayed, thereby providing more choices to the user, as separate rich content candidate windows are provided.
In some embodiments, an editing interface for query results may also be provided via the input method platform. For example, for rich content such as expressions or pictures, an editing interface for adding characters can be provided; for rich content, such as audio or video, an editing interface for the clip may be provided. The input method may receive edits to the query results via the editing interface and present the edited query results. By providing an editing interface for the input method platform, more customization and personalized functions can be introduced to meet the personalized requirements of users.
To illustrate embodiments of the present disclosure in more detail, some specific examples of input methods and related user interfaces are described below with reference to fig. 3 a-14. Fig. 3a illustrates a user interface 300 of an input method according to one embodiment of the present disclosure. In this embodiment, the user desires to enter the Chinese character "heart". The user first enters the pinyin "xin" 310 corresponding to "heart". The input method then returns some candidate words and displays them on the candidate words window 320. For example, the candidate words may include: "Heart", "New", "Xin", etc., as shown in FIG. 3 a. The user may select the desired candidate word "heart" and the input method may enter the candidate word into a corresponding input window, such as a document or web page.
In some embodiments, an icon may be provided on the user interface of the input method editor, which may be used to trigger the rich content input function. As shown in fig. 3a, an icon 330 may be provided on the candidate word window 320. As shown in fig. 3b, icons 360 may also be provided on the toolbar of the input method platform or system tray 350. As shown in fig. 4, the icon may also be provided as a float button 430. For example, the user may enter the text "happy and sad" in the input area 410 of the document editor 400 by means of a keyboard, touchpad, voice input, or the like. The user then clicks on button 430, which triggers the rich content input function.
After triggering the rich content input function, the input method platform may generate a query based on the selected candidate words. For example, in the embodiment of FIG. 3a, a query may be generated based on the selected candidate word "heart". In some embodiments, a query may also be generated based on the selected words. For example, in the embodiment of FIG. 4, the user may select the text "good hearts" by a drag gesture and then click button 430. As another example, the input method platform may generate a query based on predefined speech segments within the input window. For example, in FIG. 4, a cursor (not shown) may be displayed behind the "heart" word when the user is editing the document. In this case, the query may be generated based on the content before the cursor. For example, assuming that the content within input area 410 is "hands-on, good-hearted", a query may be generated based on the punctuation mark "and the content between the cursor (in this example," good-hearted ").
In some embodiments, a shortcut key may be used to trigger the rich content input function. The shortcut key can be a shortcut key predefined by the system and can also be a shortcut key set by the user. Fig. 5 illustrates a shortcut key setup interface 500 where a user may select to turn on or off the rich content input function and set the corresponding shortcut key in accordance with one embodiment of the present disclosure. In the example of fig. 5, the function has been turned on, and the shortcut key is set to "Ctrl + Shift + B". The user may select other characters in the drop down box 520 to customize the shortcut keys.
In some embodiments, the input method editor may automatically trigger the rich content input function. The input method editor can extract contextual information (e.g., the original text for the query) and analyze the original text, e.g., semantically. The rich content input function may be automatically triggered in the event that the original text is determined to satisfy a predefined condition. For example, the predefined condition may be to determine that the emotion to be expressed by the original text is rich. In this case, the user may need to input an expression or a picture, rather than simply inputting text. In some embodiments, semantic analysis may be used to implement this functionality. For example, if the results of the semantic analysis indicate that the sentence has a strong emotion, it means that the user is likely to need to send rich content instead of plain text.
In some embodiments, the predefined condition may be that weather-related information to be expressed by the original text is determined, and the user may need to enter weather conditions. In this case, the predefined condition may be a series of keywords with which a user input is associated, which may trigger this type of rich content input function.
Fig. 6 illustrates an application scenario of an input method in a chat application according to an embodiment of the present disclosure. The input method editor may determine the original text for the query. The original text may come from a selected candidate word in a candidate word window, such as the candidate word "heart" in candidate word window 320 of fig. 6. The candidate word may be used as the original text for the query.
In one embodiment, the contents of the input box 630 may be extracted as the original text for the query. For example, in the embodiment of fig. 6, the content in the input box is "photo very lovely" 620, so the input method can predict rich content that the user wants to input, such as love, etc. representing a favorite expression, according to the content. Thus, the input method platform may activate the rich content input function.
After extracting the original text, the input method editor may determine whether the text is a word or a sentence. If the text is a word, the word can be used directly for searching. Otherwise, the input method editor needs to do more processing on the sentence. For example, a sentence may be participled, i.e., the sentence is divided into individual words. Keywords therein, such as verbs and/or nouns, may then be used in the search query. However, some key information, such as emotions and trends in the sentence, may be lost due to word segmentation. The input method editor may also use semantic analysis to extract such information and use the information together in a search query.
If the input method editor is designed to automatically trigger the rich content input function, it should determine if the trigger condition is met. In some embodiments, semantic analysis may be used to implement this functionality. For example, if the results of the semantic analysis indicate that the sentence has a strong emotion, it means that the user is likely to need to send rich content (e.g., emoticons) instead of plain text. It will be understood that other various types of determination conditions may also be used.
In one embodiment, the context of the current application may be extracted. In some chat applications, the content (e.g., text) in the conversation may be used as the original text for the search, e.g., the content that the user has just sent or received. As shown in fig. 6, the user just received the message "what? ", the input method platform may determine whether to activate the rich content search function based on this message.
In some embodiments, whether or not rich content input needs to be triggered, or what types of rich content input need to be triggered, may be determined by a classifier. The classifier may be a rule-based classifier or a learning-based classifier. The classifier may be used in conjunction with the semantic analysis method described above to determine the values of the various features of the classifier to further determine the classification result.
FIG. 7 illustrates a user interface 700 of an input method according to one embodiment of the present disclosure. The user interface 700 is provided with a tab bar, including a rich content tab 710. After the user selects the rich content tab 710, the rich content may be searched in the search bar 720. The embodiment of fig. 7 provides a search function for emoticons and displays a prompt "search for emoticons: ". It will be appreciated that search functionality may be provided for one or more other types of rich content. Various schemes for activating the rich content input function and how to provide a query to a search engine have been described above in connection with fig. 3 a-7, it being understood that the above schemes are merely examples and that a user may use any suitable method for activating the rich content input function and providing a query to a search engine.
After returning the search results, the input method may display the search results on a user interface. FIG. 8 illustrates an example user interface 800 in which a user enters the pinyin "lala" 810 and the expressions that are most relevant thereto are displayed as candidate words in a candidate word list 820, according to one embodiment of the present disclosure. In this example, the expression is schematically shown in "(rich content)".
FIG. 9 illustrates an example user interface 900 in which returned search results are displayed in a window 930 separate from the candidate word window in accordance with one embodiment of this disclosure. Icon 910 indicates that the content displayed by window 930 is rich. In some examples, icon 910 may also indicate the type of rich content displayed in window 930, e.g., an expression or video, etc. For clarity, the specific content of these expressions is not shown in window 930. The search results may be displayed in a default order, which may be changed by the user based on content size, creation date, file type, and/or source address, etc.
As shown by icon 940, the input method editor may retain the most recently used rich content. These rich content may be presented to the user when the user clicks on icon 940. The user may view or empty the usage history, or may add some of it to the favorite rich content library. Accordingly, the icon 920 may indicate that the currently displayed content is dynamically acquired from the internet.
As described above, to introduce more customization and personalization functions, the input method editor may provide an editing interface to allow a user to edit rich content before inserting the rich content. For example, for expressions and images, the user may cut the images and add user-preferred text to the images to customize their expressions and images. For audio and video, the user may be allowed to clip it to obtain the desired segment. It will be understood that the above editing operations are provided by way of example only, and the disclosure is not limited in this respect.
After the user selects the corresponding rich content, the input method editor may insert the selected rich content into the corresponding input window. It will be appreciated that not all input windows support the insertion of rich content. Accordingly, an input window check function can be performed to reduce unnecessary operations. For example, many browsers (e.g., Microsoft's Edge browser) have address bars that only support text and are therefore not suitable for inserting rich content. For example, if it is determined that the input window does not allow for the input of rich content, the input method should prompt the user for this information and stop the rich content input flow.
FIG. 10 shows a user interface 1000 of an input method according to one embodiment of the present disclosure. As shown in fig. 10, the user inputs the chinese pinyin "beijingtianqi" 1010 through the input method editor. And the input method editor returns a candidate word of 'Beijing weather' in a candidate word window and the like. Icon 1030 may be clicked when the user wants to enter weather conditions for beijing. In this case, the input method editor sends the query "Beijing weather" to the search engine over the Internet. After inquiring about the search results, the search engine returns the inquiry results through the Internet. The input method editor displays the query results in window 1020. As shown in FIG. 10, window 1020 includes weather conditions for Beijing on the last two days and may contain rich content such as graphics or animation. For example, in the returned weather condition, an appropriate dressing condition can also be displayed in the form of animation or pictures to provide guidance for the user's trip. When the user selects the search result 1040 in the user interface 1000, the input method enters the search result 1040 into the chat application, as shown in FIG. 12 (where the search result 1040 is shown by reference numeral 1140).
FIG. 11 shows a user interface 1100 of an input method according to one embodiment of the present disclosure. As shown in FIG. 11, a user enters "snow-cheer" in a chat application. At this time, the user may trigger a query through a shortcut key or context, etc. The input method editor sends the 'snow cheer' to a search engine through the internet. The search engine returns the query results through the internet after obtaining the search results. The input method editor then presents the query results in window 1130. As shown in FIG. 11, when a user selects search result 1140 at user interface 1100, the input method enters search result 1140 into the chat application, as shown in FIG. 12.
Fig. 13 illustrates a user interface 1300 of an input method according to one embodiment of the present disclosure. When a user enters "go to movie in the evening? "then, the input method may determine, based on the content that has been entered, that the user may want to send movie-related information, and thus send a query for" movies "to the search engine. In this case, introduction information of the query results "movie 1", "movie 2", and the like can be obtained. For example, the introductory information may include links to the playing of trailers, previews of videos, and/or posters. It will be appreciated that the above auto-triggering approach is merely an example, and that the present disclosure is not limited in this respect.
In the above embodiments, the detailed description was made mainly with reference to a specific type of rich content. It will be appreciated that a variety of different types of rich content may also be searched and presented simultaneously. FIG. 14 shows a user interface 1400 of an input method according to one embodiment of the present disclosure. The user enters the chinese pinyin "sanshengsanshi" 1410 in the chat application. The input method returns the corresponding candidate word and displays it in the candidate word window 1420. When the user triggers the rich content input by clicking on icon 1430 or the like, the input method editor may return rich content associated with the candidate word. The "three-birth three-world ten-miles peach blossom" is a very popular novel and is adapted to be a television series of the same name. Thus, the input method platform can return an introduction related to a television show and a book in window 1440 and 1450, respectively. In this embodiment, the input method simultaneously returns information of two different types of rich content, thereby realizing a simultaneous recommendation function of a plurality of types of rich content.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Some example embodiments of the present disclosure are listed below.
According to some embodiments, an input method is provided. The input method comprises the following steps: receiving user input provided via an input method platform; generating a query for rich content based on the received user input; executing a query on the internet via a search engine to obtain query results for the query; and presenting the query results at least in part via the input method platform.
In some embodiments, presenting the query results comprises: providing an editing interface for the query result via the input method platform; receiving an edit to the query result via an editing interface; and presenting the edited query result.
In some embodiments, the candidate words associated with the user input are presented in a candidate words window provided by the input method platform, and wherein presenting the query results comprises: the query results are presented in a candidate word window along with the candidate words.
In some embodiments, the candidate words associated with the user input are presented in a candidate words window provided by the input method platform, and wherein presenting the query results comprises: the query results are presented in a rich content candidate window that is separate from the candidate word window.
In some embodiments, generating the query comprises: determining context information input by a user; and generating a query based on both the context information and the user input.
In some embodiments, the context information includes information displayed on a user interface of the application for which the user input was entered.
According to some embodiments, an apparatus is provided. The apparatus comprises: a processing unit; and a memory coupled to the processing unit and storing instructions that, when executed by the processing unit, perform the acts of: receiving user input provided via an input method platform; generating a query for rich content based on the received user input; executing a query on the internet via a search engine to obtain query results for the query; and presenting the query results at least in part via the input method platform.
In some embodiments, presenting the query results comprises: providing an editing interface for the query result via the input method platform; receiving an edit to the query result via an editing interface; and presenting the edited query result.
In some embodiments, the candidate words associated with the user input are presented in a candidate words window provided by the input method platform, and wherein presenting the query results comprises: the query results are presented in a candidate word window along with the candidate words.
In some embodiments, the candidate words associated with the user input are presented in a candidate words window provided by the input method platform, and wherein presenting the query results comprises: the query results are presented in a rich content candidate window that is separate from the candidate word window.
In some embodiments, generating the query comprises: determining context information input by a user; and generating a query based on both the context information and the user input.
In some embodiments, the context information includes information displayed on a user interface of the application for which the user input was entered.
According to some embodiments, there is provided a computer program product, tangibly stored in a non-transitory computer storage medium and comprising machine executable instructions that, when executed by a device, cause the device to: receiving user input provided via an input method platform; generating a query for rich content based on the received user input; executing a query on the internet via a search engine to obtain query results for the query; and presenting the query results at least in part via the input method platform.
In some embodiments, presenting the query results comprises: providing an editing interface for the query result via the input method platform; receiving an edit to the query result via an editing interface; and presenting the edited query result.
In some embodiments, the candidate words associated with the user input are presented in a candidate words window provided by the input method platform, and wherein presenting the query results comprises: the query results are presented in a candidate word window along with the candidate words.
In some embodiments, the candidate words associated with the user input are presented in a candidate words window provided by the input method platform, and wherein presenting the query results comprises: the query results are presented in a rich content candidate window that is separate from the candidate word window.
In some embodiments, generating the query comprises: determining context information input by a user; and generating a query based on both the context information and the user input.
In some embodiments, the context information includes information displayed on a user interface of the application for which the user input was entered.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (12)

1. An input method, comprising:
receiving user input provided via an input method platform;
generating a query for rich content based on the received user input;
executing the query over the internet via a search engine to obtain query results for the query; and
presenting the query result at least in part via the input method platform,
wherein generating the query comprises: determining context information of the user input; and generating the query based on both the contextual information and the user input,
wherein the contextual information comprises information displayed on a user interface of an application to which the user input is input,
wherein the method further comprises: determining whether the original text for the query satisfies a predefined condition; and automatically triggering a rich content input function in response to determining that the original text satisfies the predefined condition,
wherein the query is generated in response to the rich content input function being automatically triggered.
2. The input method of claim 1, wherein presenting the query results comprises:
providing an editing interface for the query results via the input method platform;
receiving, via the editing interface, an edit to the query result; and
presenting the edited query result.
3. The input method of claim 1, wherein the candidate words associated with the user input are presented in a candidate words window provided by the input method platform, and wherein presenting the query results comprises:
presenting the query result in the candidate word window along with the candidate word.
4. The input method of claim 1, wherein the candidate word associated with the user input is presented in a candidate word window provided by the input method platform, and wherein presenting the query result comprises:
presenting the query results in a rich content candidate window that is independent of the candidate word window.
5. A computing device, comprising:
a processing unit; and
a memory coupled to the processing unit and storing instructions that, when executed by the processing unit, perform the following:
receiving user input provided via an input method platform;
generating a query for rich content based on the received user input;
executing the query over the internet via a search engine to obtain query results for the query; and
presenting the query result at least in part via the input method platform,
wherein generating the query comprises: determining context information of the user input; and generating the query based on both the contextual information and the user input,
wherein the contextual information comprises information displayed on a user interface of an application to which the user input is input,
wherein the actions further comprise: determining whether the original text for the query satisfies a predefined condition; and automatically triggering a rich content input function in response to determining that the original text satisfies the predefined condition,
wherein the query is generated in response to the rich content input function being automatically triggered.
6. The computing device of claim 5, wherein to present the query results comprises to:
providing an editing interface for the query result via the input method platform;
receiving, via the editing interface, an edit to the query result; and
presenting the edited query result.
7. The computing device of claim 5, wherein the candidate word associated with the user input is presented in a candidate word window provided by the input method platform, and wherein presenting the query result comprises:
presenting the query result in the candidate word window along with the candidate word.
8. The computing device of claim 5, wherein the candidate word associated with the user input is presented in a candidate word window provided by the input method platform, and wherein presenting the query results comprises:
presenting the query results in a rich content candidate window that is independent of the candidate word window.
9. A computer storage medium comprising machine executable instructions that, when executed by a device, cause the device to:
receiving user input provided via an input method platform;
generating a query for rich content based on the received user input;
executing the query over the internet via a search engine to obtain query results for the query; and
presenting the query result at least in part via the input method platform,
wherein generating the query comprises: determining contextual information of the user input; and generating the query based on both the contextual information and the user input,
wherein the contextual information comprises information displayed on a user interface of an application to which the user input is input,
wherein the machine-executable instructions, when executed by the apparatus, further cause the apparatus to: determining whether the original text for the query satisfies a predefined condition; and automatically triggering a rich content input function in response to determining that the original text satisfies the predefined condition,
wherein the query is generated in response to the rich content input function being automatically triggered.
10. The computer storage medium of claim 9, wherein presenting the query results comprises:
providing an editing interface for the query result via the input method platform;
receiving, via the editing interface, an edit to the query result; and
presenting the edited query result.
11. The computer storage medium of claim 9, wherein the candidate words associated with the user input are presented in a candidate words window provided by the input method platform, and wherein presenting the query results comprises:
presenting the query result in the candidate word window along with the candidate word.
12. The computer storage medium of claim 9, wherein the candidate words associated with the user input are presented in a candidate words window provided by the input method platform, and wherein presenting the query results comprises:
presenting the query results in a rich content candidate window that is independent of the candidate word window.
CN201710113373.3A 2017-02-28 2017-02-28 Input method and related equipment Active CN108509058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710113373.3A CN108509058B (en) 2017-02-28 2017-02-28 Input method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710113373.3A CN108509058B (en) 2017-02-28 2017-02-28 Input method and related equipment

Publications (2)

Publication Number Publication Date
CN108509058A CN108509058A (en) 2018-09-07
CN108509058B true CN108509058B (en) 2022-08-16

Family

ID=63373468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710113373.3A Active CN108509058B (en) 2017-02-28 2017-02-28 Input method and related equipment

Country Status (1)

Country Link
CN (1) CN108509058B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218457A (en) * 2013-05-10 2013-07-24 清华大学 Social-network-based character searching as well as discovering method and system
CN104820695A (en) * 2015-04-29 2015-08-05 百度在线网络技术(北京)有限公司 Method and device for resource acquisition
CN106020504A (en) * 2016-05-17 2016-10-12 百度在线网络技术(北京)有限公司 Information output method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103076892B (en) * 2012-12-31 2016-09-28 百度在线网络技术(北京)有限公司 A kind of method and apparatus of the input candidate item for providing corresponding to input character string
KR101565499B1 (en) * 2014-04-16 2015-11-03 주식회사 인포리언스 Data processing apparatus, data processing program, recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218457A (en) * 2013-05-10 2013-07-24 清华大学 Social-network-based character searching as well as discovering method and system
CN104820695A (en) * 2015-04-29 2015-08-05 百度在线网络技术(北京)有限公司 Method and device for resource acquisition
CN106020504A (en) * 2016-05-17 2016-10-12 百度在线网络技术(北京)有限公司 Information output method and device

Also Published As

Publication number Publication date
CN108509058A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
JP6563465B2 (en) System and method for identifying and proposing emoticons
RU2632144C1 (en) Computer method for creating content recommendation interface
CN109740085B (en) Page content display method, device, equipment and storage medium
US9043300B2 (en) Input method editor integration
CN107491477B (en) Emotion symbol searching method and device
US9930162B2 (en) Techniques for enhancing content on a mobile device
US9342233B1 (en) Dynamic dictionary based on context
CN104298429A (en) Information presentation method based on input and input method system
WO2022052817A1 (en) Search processing method and apparatus, and terminal and storage medium
JP2015532753A (en) Character input method, system and apparatus
KR20160089379A (en) Contextual information lookup and navigation
CN108304412B (en) Cross-language search method and device for cross-language search
KR20150048751A (en) Feature-based candidate selection
CN108664142B (en) Input method with inter-document self-learning function
CN112631437A (en) Information recommendation method and device and electronic equipment
CN107515870B (en) Searching method and device and searching device
CN110888975A (en) Text visualization
CN107784037B (en) Information processing method and device, and device for information processing
US20230297618A1 (en) Information display method and electronic apparatus
CN111860000A (en) Text translation editing method and device, electronic equipment and storage medium
US20130179832A1 (en) Method and apparatus for displaying suggestions to a user of a software application
US20110219319A1 (en) System and method for knowledge-based input in a browser
CN108628911B (en) Expression prediction for user input
CN108509058B (en) Input method and related equipment
CN113010072A (en) Searching method and device, electronic equipment and readable storage medium

Legal Events

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