1. Field of the Invention
The invention relates in general to a method for inputting a message to an application and, in particular, to a method for inputting a message to an application using online content.
2. Description of the Prior Art
Input Method Editor (IME) is the software program that helps a user to use the keyboard to input text in a particular language. IME is originally used to enter text in different languages using thousands of different characters (e.g., Japanese, Chinese, or Korean) on keyboards with far fewer keys. Today, IME is widely used in smart phone or touch-screen based input devices to speed up the text inputting for many languages. Virtual Keyboard (VKB) is an on-screen keyboard that helps user to input text. All IMEs on touch-screen based input devices are presented as VKB. User will use IME or VKB to enter the right key codes to get the desired words or sentences.
For applications such as instant messaging applications, Line, WeChat or Messenger, IME or VKB is used for inputting messages. However, inputting messages into the applications may take a long time especially when a user tries to think of a topic for communication with his/her friend. As a result, what is needed is a fast, easy and automatic way to dynamically generate messages for inputting to the applications for chatting with friends.
The present invention discloses a method for dynamically generating messages by using online content via input method editor (IME) or virtual keyboard (VKB); the method links to online content via an input method editor (IME) or a virtual keyboard (VKB) or any input devices, wherein IME/VKB can be used to find online contents and generate messages dynamically by modifying the original content from websites.
In one embodiment, a method for inputting a message for an application running in an electronic device is disclosed, wherein the method comprises: detecting an engagement of an input field of the application displayed on a screen of the electronic device; displaying an inputting platform on the screen to input a message; obtaining a list of contents via a command through the inputting platform and displaying the list of contents for a user to select; and modifying a first selected content if at least one portion of the first selected content matches at least one pre-defined rule, so as to generate a first new content for inputting a message to the application via the input field of the application.
In one embodiment, modifying the first selected content comprising replacing a first portion of the first selected content with a different content in a database if the first portion of the first selected content matches a first pre-defined rule.
In one embodiment, modifying the first selected content comprising adding a second content in front of or after a first portion of the first selected content to the first selected content if the first portion of the first selected content matches a first pre-defined rule.
In one embodiment, modifying the first selected content comprising deleting a first portion of the first selected content to the first selected content if the first portion of the first selected content matches a first pre-defined rule.
In one embodiment, the pre-defined rule is based on the portion of a first selected content with at least one of the following: time, location, content category, content source, application category, user preference. In one embodiment, the pre-defined rule is stored in a database
In one embodiment, the first new content comprise at least of the following: a text string, a sticker, a photo and an audio file.
In one embodiment, the inputting platform is a virtual keyboard (VKB) or an input method editor (IME).
In one embodiment, the command is activated by clicking an icon displayed on the inputting platform.
In one embodiment, the command is activated by inputting a special text string on the inputting platform.
In one embodiment, the list of contents is obtained by surfing at least one website from the inputting platform directly.
In one embodiment, the list of contents is obtained from a server, the server surfing at least one website to provide the list of contents to the inputting platform.
In one embodiment, the first selected content comprises a title that is displayed on the screen for the user to select and a content associated with the title.
In one embodiment, the list of contents is obtained from a database in the electronic device or a remote server.
In one embodiment, the list of contents comprises a plurality of subject titles, wherein a first subject title is selected from one of the plurality of subject titles, wherein a new prefix or postfix text string is chosen from the database according to a rule defined in the database to replace an original prefix or postfix text string in the first subject title.
In one embodiment, the first new content is sent to the input field of the application directly.
In one embodiment, the first new content is sent to an editor within the inputting platform instead of the input field of the application for generating a second new content, wherein the second new content is sent to the input field of the application from the editor when a confirmation command is activated.
In one embodiment, a system is disclosed, wherein the system comprises: a server, configured to obtain a list of contents from at least one website, modifying a first content of the list of contents if at least one portion of the first content matches at least one pre-defined rule so as to generate a second content; a client electronic device configured to run an application with an input field for inputting a message to the application; wherein the server provides the second content to the client electronic device when the server receives a request from the client electronic device, and the client electronic device sends a new content to the input field of the application according to the received second content to input a message to the application.
In one embodiment, the client electronic device further modifying the received second content to generate the new content.
In one embodiment, modifying the first selected content comprising replacing a first portion of the first selected content with a different content in a database if the first portion of the first selected content matches a first pre-defined rule.
Other objects, technical contents, features and advantages of the present invention will become apparent from the following description taken in conjunction with the accompanying drawings wherein are set forth, by way of illustration and example, certain embodiments of the present invention.
The foregoing aspects and many of the accompanying advantages of this invention will become more readily appreciated as the same becomes better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:
The detailed explanation of the present invention is described as following. The described preferred embodiments are presented for purposes of illustrations and description, and they are not intended to limit the scope of the present invention.
The invention illustrates a method for generating a message using a virtual keyboard or input method editor. This method is provided for helping user to input a message from database or online contents via input method editor (IME) or virtual keyboard (VKB) on any input devices, in particular for use with a portable electronic device having a touch screen, such as a mobile phone.
The
As shown in
In step 101 of
In step 102 of
In step 103 of
In step 104 of
In step 105 of ]
,” from the list of the online contents displayed on the screen, the subject title will be modified by the method to generate a resulting string 140: “
,
” which is inputted to the input filed of the application, as shown in
In one embodiment, the resulting text generated from a selected online content in step 105 of
In step 61 of
In step 62 of ]
” which is designated as text1. That is, after the step 62 is executed, the result text is “[
]
,” which is shown in block 62R of
In step 63 of ]”, wherein the prefix text string [
] starts with a left bracket “[” and ends with a right bracket “]”, therefore, the prefix text string “[
]” will be deleted. After deleting “[
],” the resulting text becomes “
” which is designated as text2. That is, after the step 63 is executed, the result text, text2, is “
” as shown in block 63R of
In step 64 of ” and “
” in the text2, and the space made of one or more space characters matches a rule defined in database for replacing said one or more space characters with “
” (in Chinese). After replacing said one or more space characters with “
” in text2, the text2: “
”, will be changed to a new text: “
” which is designated as text3. That is, after the step 64 is executed, the result text is “
” as shown in block 64R of
In step 65 of ,” and a new postfix text string “
” to the text3, text3 will be changed to a new text: “
,
” which is designated as text4. That is, after the step 64 is executed, the result text is “
,
” as shown in block 65R of
In step 66a of ,
” is sent to the input field of application 140 of
,
https://www.ptt.cc/bbs/3362.html” is sent to the input field of application 140 of
Please note that the same item on the list of contents can be selected for more than one time, and different resulting texts can be generated. That is, if the user selects the first subject title “[]
” again, a different resulting text can be generated. By doing so, if the user is focusing on only one of the subject title, the user can select the same subject tile more than one time until the final resulting text is what the user wants.
In step 67 of ]
. . . ” (in Chinese), as shown in a block 132 in
XXX ? ” (in Chinese) will be generated, and the new text: “
XXX ? ” is displayed in the input filed of the application as shown in a block 141 in
In step 67 of
In steps, 63, 64, and 65, the database can be located either in the electronic device itself running the application or at a remote server. The text string can be symbols, words, phrases, etc.; the matching rule can be based on the text string itself as well as the combination of time, location, content category, content source, application category, user preference, etc.
In one embodiment, in step 105 of
In the aforementioned step 66a in
Comparing
Taking the same example as shown in ,
” Instead of sending the text4 to the input field of the application, step 66b of
,
” in the IME/VKB text editor first, as shown in block 150 of
In step 67, if the user selects another interested content from the list on the screen, the method will go back to step 62 for generating a new text based on the newly selected content on the screen. For example, the user select 2nd content from the list of online contents on the screen, as shown in the block 132 of ]
. . . ” (in Chinese). After the steps, 62, 63, 64, 65, and 66b, are executed, a new text is generated as the text4: “
XXX?” (in Chinese), which is sent to the editor for editing, as shown in a block 152 of
Please note that a same item on the list of contents can be selected for more than one time, and different resulting texts can be generated each time the user selects the same item. For example, if the user selects the first subject title “[]
” again, a different resulting text can be generated (Not shown). That is, when the user is focusing on only one of the subject tile, the user can select the same subject tile more than one time until the final resulting text is what the user wants.
In step 67, if the user does not select a new content from the list of the contents displayed on the screen, step 68 will be performed. In step 68, the texts generated by the editor will be sent to the input field of application, as shown in a block 162 of
The foregoing descriptions of specific embodiments of the present invention have been presented for purposes of illustrations and description. They are not intended to be exclusive or to limit the invention to the precise forms disclosed, and obviously many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and its practical application, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to particular use contemplated. It is intended that the scope of the invention be defined by the Claims appended hereto and their equivalents.
This application claims the benefit of U.S. Provisional Patent Application No. 62/061,683 filed on Oct. 8, 2014, which is hereby incorporated by reference herein and made a part of specification.
| Number | Date | Country | |
|---|---|---|---|
| 62061683 | Oct 2014 | US |