Character inputting method and electronic equipment

An electronic device and text input technology, which is applied in the input/output process of data processing, electrical digital data processing, instruments, etc., can solve the problem of increasing repetitive operations, so as to reduce repetition and save the operation of re-entering input information Effect

Active Publication Date: 2013-02-20
DONGGUAN YULONG COMM TECH +1
4 Cites 6 Cited by

AI-Extracted Technical Summary

Problems solved by technology

[0004] In the process of realizing the above text input, the inventor found that at least the following problems exist in the prior art: when the user needs to modify the entered text, the user needs to manually delete the entered ...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Method used

The method and the electronic equipment of the literal input that the embodiment of the present invention provides, can start the transfer of the alternative text list corresponding to the input information corresponding to the literal that has been input by revising instruction, by revising instruction and input information transfer The optional text table corresponding to the input information enables the user to directly reselect the text through the optional text table. After the user re-selects, the electronic device deletes the input text corresponding to the modification instruction and displays the correct text re-selected by the user. Since the input information is correct when the user selects the input text before, the operation of re-entering the input information can be saved by calling the alternative text table corresponding to the input information, thereby reducing the repetition of the user's operation.
[0073] In the prior art, when the user modifies the input text, the user can only delete the input text by clicking function buttons such as "delete". In the text input method provided by this embodiment, by clicking on function buttons such as "modify", the alternative text corresponding to the input information of the input text to be modified can be further displayed on the basis of deleting the input text. surface. The embodiment of the present invention can not only modify the latest input, but also modify the input text existing in the previous text, which expands the scope of modification, and can further display the corresponding t...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Abstract

The invention discloses a character inputting method and electronic equipment, which relate to an application field of the electronic equipment and are invented for realizing no need of repeatedly inputting input information in a process of modifying input characters, and reducing the repeated operation of a user. The method comprises the following steps that the electronic equipment obtains input information of the characters; the electronic equipment receives a modification instruction; the modification instruction is used for indicating to delete the input characters; the electronic equipment calls a stored reserved character table according to the input information of the characters; and the electronic equipment displays the characters selected from the reserved character table by a user. The character inputting method is mainly used for a process of carrying out character typing-in by applying the electronic equipment.

Application Domain

Technology Topic

Image

  • Character inputting method and electronic equipment
  • Character inputting method and electronic equipment
  • Character inputting method and electronic equipment

Examples

  • Experimental program(3)

Example Embodiment

[0026] Example one
[0027] The present invention provides a method for text input, such as figure 1 As shown, the method includes the following steps:
[0028] Step 101: The electronic device obtains text input information.
[0029] When the user inputs, the electronic device obtains input information corresponding to the text selected by the user.
[0030] Step 102: The electronic device receives a modification instruction.
[0031] Wherein, the modification instruction is used to instruct to delete the entered text. When the user needs to modify the input text, he can modify the input text by operating the function keys such as "modify" and "delete".
[0032] Step 103: The electronic device retrieves the stored candidate text table according to the text input information.
[0033] According to the modification instruction received in step 102, the electronic device retrieves the stored candidate text table corresponding to the input information through the input information obtained in step 101.
[0034] Step 104: The electronic device displays the text selected by the user in the candidate text list.
[0035] The electronic device then deletes the entered text according to the modification instruction received in step 102. And display the candidate text list retrieved in step 103 for the user to re-select text. After the user reselects the text according to the candidate text list retrieved by the electronic device, the electronic device displays the reselected text to the user.
[0036] The text input method and electronic device provided by the embodiments of the present invention can initiate the retrieval of the candidate text table corresponding to the input information corresponding to the entered text through the modification instruction, and the input information retrieved through the modification instruction and the input information corresponds to The alternative text table allows users to directly re-select text through the alternative text table. After the user reselects, the electronic device deletes the input text corresponding to the modification instruction and displays the correct text reselected by the user. Since the input information is correct when the user selects the inputted text before, by calling the candidate text table corresponding to the input information, the user can save the operation of re-entering the input information, thereby reducing the repetitiveness of the user's operation.
[0037] The text described in the embodiment of the present invention includes a single text and a phrase containing at least two single texts. In the embodiment of the present invention, the text is used as a high-level expression of a single text and a word group. In actual application, the text should not constitute a reference to the embodiment of the present invention Restrictions on processing objects.

Example Embodiment

[0038] Example two
[0039] As a progress description of the first embodiment, the embodiment of the present invention also provides a text input method, such as figure 2 As shown, the method includes the following steps:
[0040] Step 201: The electronic device obtains text input information.
[0041] The electronic device receives the input instruction, and then obtains the input information corresponding to the input instruction, and stores the candidate text table corresponding to the input information. Wherein, the input instruction is used to instruct to input text.
[0042] After the user inputs the input information, the electronic device displays the alternative text table according to the input information. The user can select the text in the alternative text list, that is, click the function keys such as "OK" and "Enter" (Enter) to select the text. After the function button is clicked, an input instruction is issued to instruct the electronic device to display the text selected by the user. After receiving the input instruction, the electronic device stores the candidate text table corresponding to the input information. During specific operations, the electronic device can store the candidate text table corresponding to the input information by allocating an independent storage space in the memory.
[0043] The input information acquired by the electronic device is the final input information in the process of the user inputting text. The input information is pinyin or strokes. As in the background art, when the user inputs pinyin "pai" as input information, the input information obtained by the electronic device is "p", "pa" and "pai" in order, and the final input information is "pai". For different input methods, the input information corresponding to the same text can be different content. For example, in the background art, it is desired to input "Pai". For the Pinyin input method, the input information corresponding to "Pai" is "pai". For the stroke input method, the input information corresponding to "Pai" is ",, -丿". The input information acquired by the electronic device is input information corresponding to the inputted text corresponding to the modification instruction. Because the text just input by the user is modified, the electronic device can directly obtain input information from the storage space occupied by the input method program.
[0044] Further, in order to provide a method for modifying a certain character among many characters that have been input, after the input information is obtained in step 201, the input information and the candidate text table corresponding to the input information may be stored together. During specific implementation, the input information and the candidate text table corresponding to the input information can be stored sequentially or indexed. Among them, the storage content stored sequentially is the input information input each time and the candidate text table corresponding to the input information. The storage content of the indexed storage is a position sub-relation table used to describe the corresponding relationship between the input information input each time and the position of the row and column, and the corresponding sub-relation table of the candidate text table corresponding to the input information and the input information. Further, if indexed storage is adopted in step 201, the electronic device uses the position information obtained in step 202 to determine the input information corresponding to the entered text in the position sub-relation table. If sequential storage is used in step 201, the electronic device judges the input information corresponding to the current position of the cursor in the sequential storage based on the distance between the cursor and the last character.
[0045] Step 202: The electronic device receives a modification instruction.
[0046] Wherein, the modification instruction is used to instruct to delete the entered text.
[0047] If the user finds that the entered text has been entered and needs to be modified, he can send a modification instruction to the electronic device by operating the function keys such as "modify" and "delete" to modify the entered text.
[0048] Furthermore, in order to provide a method for modifying a certain character among the inputted characters, step 202 further includes: when the electronic device receives the modification instruction, it also obtains the inputted character corresponding to the modification instruction. location information.
[0049] Optionally, in order to further improve the embodiment of the present invention, a table of candidate texts corresponding to the input information may be displayed according to the cursor position, so that the user can directly modify the input text without clicking the function buttons such as "modify". Specifically, the electronic device receives the position modification instruction generated by the user moving the cursor. When the electronic device receives the position modification instruction, it also obtains the position information of the cursor.
[0050] Step 203: The electronic device retrieves the stored candidate text table according to the text input information.
[0051] According to the modification instruction obtained in step 202, the electronic device retrieves the candidate text table corresponding to the input information stored in step 201 through the input information obtained in step 201, so that the user can check the text in the candidate text table. Make a selection. For the example of inputting "pie" in the background art, the candidate word list is the candidate word list corresponding to pinyin "pai", such as image 3 As shown, it includes nine candidate characters corresponding to the pinyin "pai" from "beat" with the original sound of one tone to "pie" with the original sound of four tones.
[0052] Further, in order to provide a method for modifying a certain character among the inputted characters, the embodiment of the present invention further includes the following steps. If the sequential storage method is used for storage in step 201, the electronic device converts the left and right movement of the cursor position into addition and subtraction of the storage position in sequential storage according to the position information obtained in step 202 and the input information obtained in step 201, thereby determining the cursor The input information corresponding to the corresponding entered text and the candidate text table corresponding to the input information. If indexed storage is used in step 201, the electronic device determines the device corresponding to the input information in the corresponding subrelation table in the indexed storage in step 201 based on the location information obtained in step 202 and the input information obtained in step 201. Select the text table.
[0053] Further, the corresponding sub-relation table may also include the following information: a phrase containing the input text (that is, the text deleted by the user), the number of words of the phrase is not limited to two, and the input text is not Limit the position in the phrase. The user can select the candidate word table containing the input information of a certain keyword by searching the candidate word table. The keywords can be single characters or phrases.
[0054] Specifically, when the deletion instruction instructs to delete the word "派", the electronic device retrieves the candidate text table corresponding to the input information "pai" according to the input information "pai" of the keyword "派". Select the keyword "派" in the text table, and you can also select phrases containing the keyword "派" such as "dispatch" or "appointment". In addition, when selecting a phrase containing a keyword, you can delete the entered text before or after the entered keyword according to the position of the keyword in the phrase. For example, after selecting "Dispatch", the keyword "派" in "Dispatch" is at the first place and there is a word "dispatch" after it. Therefore, in addition to deleting the entered keyword "派" when deleting, the word "送" after "派" is also deleted. At this time, the "dispatch" before modification is changed to "dispatch".
[0055] Optionally, in order to further improve the embodiment of the present invention, a candidate text table corresponding to the input information may be displayed according to the cursor position, so that the user can directly modify the input text without clicking a function button. Specifically, the electronic device receives a position modification instruction for the user's operation to move the cursor position, and retrieves the candidate text table corresponding to the entered text stored in step 201 according to the cursor position. If the position information of the cursor in step 202 is the first row and the second column, then the candidate word table called at this time is the candidate word table corresponding to the second word in the first row, that is, the spare word table corresponding to the word before the cursor. Select the text table. If sequential storage is used in step 201, the electronic device converts the left and right movement of the cursor position into the addition and subtraction of the storage position in sequential storage according to the position modification instruction in step 202, the position information of the cursor, and the input information obtained in step 201 , And further determine the input information corresponding to the input text corresponding to the cursor and the candidate text table corresponding to the input information. If indexed storage is adopted in step 201, the electronic device determines that the input information corresponds to the corresponding sub-relationship table in the indexed storage in step 201 based on the cursor position information obtained in step 202 and the input information obtained in step 201 Alternative text table.
[0056] Step 204: The electronic device displays the text selected by the user in the candidate text list.
[0057] The electronic device deletes the entered text; the electronic device displays the candidate text table corresponding to the input information corresponding to the text, and receives an input instruction from the user; and displays the text that the input instruction indicates to be input.
[0058] According to the modification instruction received in step 202, the electronic device deletes the entered text corresponding to the modification instruction on the display device, and displays the candidate text table retrieved in step 203 to the user through the display device. When the user re-selects the displayed alternative text table, that is, the user clicks "OK", "Enter" and other function keys to select the text, and the function key is clicked to issue an input command. After receiving the input instruction, the electronic device displays the input text indicated by the input instruction. The display device is but not limited to a computer monitor or a mobile phone screen.
[0059] Optionally, in order to further improve the embodiment of the present invention, a candidate text table corresponding to the input information may be displayed according to the cursor position, so that the user can directly modify the input text without clicking a function button. Specifically, the electronic device displays the candidate text table corresponding to the entered text corresponding to the cursor position in real time according to the cursor position information. After the user selects the text in the candidate text table, the electronic device deletes the input text and displays the text that the user instructs to input through the input instruction. Then display the alternative text table corresponding to the input text corresponding to the current cursor position.
[0060] In order to further improve the foregoing embodiment, the method further includes:
[0061] 205. The electronic device deletes the stored candidate text table according to a preset rule.
[0062] Specifically include the following methods:
[0063] (1) After receiving the next input instruction, the electronic device deletes the stored candidate text table.
[0064] Wherein, the input instruction is an instruction issued by a function key such as "OK" to indicate the text specifically selected by the user. For example, the user clicks the "OK" function button after inputting "dispatch" or clicks the "OK" function button after inputting "dispatch". The deletion of the stored candidate text table is to clear the content in the independent storage space in the memory mentioned in step 201 above. The next input instruction refers to an input instruction issued by a function button such as "confirm" that the user presses when the user re-selects after the electronic device retrieves the alternative text table. This method is only aimed at one-time input modification, thereby reducing the size of the independent storage space in the memory and providing more storage space for other applications of the electronic device.
[0065] (2) When the memory is full, the electronic device deletes at least one candidate word table from the earliest stored candidate word table.
[0066] The electronic device detects the capacity of the storage space allocated in the memory, and when the storage space is saturated, releases one or at least two candidate word lists stored in the storage space first from the storage space. For the above technical solution using indexed storage, since the same text may appear in multiple locations, the position sub-relationship table can be released first and then the corresponding sub-relationship table. For the sequential storage technical solution, the input information stored for the first time and the candidate text table corresponding to the input information can be released in sequence according to the storage order. This method guarantees the modification range of the input text to the maximum extent, and reduces the repetitive memory space release and the operation of obtaining input information.
[0067] (3) The electronic device periodically deletes the stored candidate text table according to the preset duration.
[0068] In addition to the above-mentioned capacity detection of the memory space, the electronic device can also release the storage space through a preset duration. In this way, the real-time detection required for the capacity detection of the memory in the above manner is omitted, and the content in the storage space only needs to be periodically released by a preset time period (for example, three minutes).
[0069] (4) The electronic device may receive a deletion instruction sent by the user through a preset button, and delete the stored candidate text table according to the deletion instruction.
[0070] Among them, the preset button refers to function buttons such as "clear the cache", and the delete instruction is used to release the content in the storage space. In addition to the aforementioned electronic device-controlled release of the storage space according to the storage space capacity and the preset duration, the user can also control the release of the content in the storage space through preset buttons such as "clear cache" and other functional buttons. If the user finds that there are no typos in the entered text after inspection, he can release the content in the storage space through function buttons such as "Clear Cache".
[0071] The above four methods can avoid the phenomenon of memory overflow caused by failure to release the storage space in time, thereby avoiding the situation that the data in the memory of the software in the electronic device interferes with each other and the electronic device cannot be used normally.
[0072] It should be noted that the embodiment of the present invention uses pinyin and strokes as input information. In practical applications, input methods based on characters other than Chinese can also be used as input information. Refer to the above using pinyin or strokes as input The information realization method is combined with the characteristics of its own input method, and the foregoing method embodiments are implemented without creative work, and the details are not repeated here.
[0073] In the prior art, when the user modifies the inputted text, the user can only delete the inputted text by clicking a function button such as "Delete". However, in the text input method provided in this embodiment, you can click on the function buttons such as "modify" to further display the alternative text corresponding to the input information of the input text to be modified on the basis of deleting the input text table. The embodiment of the present invention can not only modify the most recent input, but also modify the entered text in the previous text, which expands the scope of modification. Furthermore, it can also display the corresponding text before the cursor in real time according to the cursor position. The alternative text table allows the user to directly modify the text corresponding to the cursor without clicking on the function buttons such as "modify". In addition, by releasing the storage space, the safety and stability of the text input method are ensured. The alternative text table can save users the operation of re-entering information, thereby reducing the repetition of user operations.
[0074] The text described in the embodiment of the present invention includes a single text and a phrase containing at least two single texts. In the embodiment of the present invention, the text is used as a high-level expression of a single text and a word group. In actual application, the text should not constitute a reference to the embodiment of the present invention Restrictions on processing objects.

Example Embodiment

[0075] Example three
[0076] The embodiment of the present invention also provides an electronic device, such as Figure 4 As shown, the electronic device includes an acquiring unit 41, a receiving unit 42, a retrieval unit 43, and a display unit 44, where
[0077] The acquiring unit 41 is used to acquire text input information.
[0078] The input information obtained by the obtaining unit 41 is the final input information in the process of inputting the inputted text by the user. The input information is pinyin or strokes. Since the text just input by the user is modified, the obtaining unit 41 can directly obtain the input information from the storage space occupied by the input method program.
[0079] The receiving unit 42 is configured to receive a modification instruction, and the modification instruction is used to instruct to delete the entered text.
[0080] If the user finds that the entered text has been entered and needs to be modified, he can send a modification instruction to the receiving unit by operating the function keys such as "modify" and "delete" to modify the entered text. The receiving unit 42 can receive a modification instruction issued from a function key.
[0081] The retrieval unit 43 is configured to retrieve the stored candidate text table through the input information of the entered text acquired by the acquiring unit 41 according to the modification instruction received by the receiving unit 42.
[0082] The modification instruction received by the receiving unit 42 controls the retrieval unit 43 to pass. The retrieval unit 43 retrieves the candidate text table corresponding to the input information through the input information acquired by the acquisition unit 41, so that the user can check the candidate text table Text to select.
[0083] The display unit 44 is configured to display the correct text selected by the user in the candidate text table retrieved by the retrieval unit 43.
[0084] The display unit 44 then deletes the entered text according to the modification instruction received by the receiving unit. And the candidate text list retrieved by the retrieval unit 43 is displayed for the user to select a new text. After the user reselects the text according to the candidate text list displayed on the display unit, the display device displays the reselected text to the user.
[0085] The acquiring unit 41 further includes a first receiving subunit 411, an acquiring subunit 412, and a storing subunit 413, such as Figure 5 Shown, where,
[0086] The first receiving subunit 411 is configured to receive an input instruction, and the input instruction is used to instruct to input text.
[0087] The obtaining subunit 412 is configured to obtain input information corresponding to the input instruction received by the first receiving subunit 411.
[0088] The storage subunit 413 is configured to store the candidate text table corresponding to the input information obtained by the obtaining subunit 412.
[0089] After the first receiving subunit 411 receives the input instruction, the obtaining subunit 412 obtains the input information corresponding to the input instruction. Then, the storage sub-unit 413 stores the candidate text table corresponding to the input information. Further, the retrieval unit 43 may obtain the candidate text table corresponding to the input information, or the input information and the candidate text table corresponding to the input information through the storage subunit 413.
[0090] The display unit 44 further includes a deletion subunit 441, a first display subunit 442, a second receiving subunit 443, and a second display subunit 444, such as Image 6 Shown, where,
[0091] The deletion subunit 441 is configured to delete the input text according to the modification instruction received by the receiving unit 42;
[0092] The first display subunit 442 is configured to display the candidate text table corresponding to the input information corresponding to the text deleted by the deletion subunit 441;
[0093] The second receiving subunit 443 is configured to receive an input instruction input by the user according to the display content of the first display subunit 442;
[0094] The second display sub-unit 444 is configured to display the input text indicated by the input instruction received by the second receiving sub-unit 443.
[0095] The deleting sub-unit 441 eliminates the display of the input text corresponding to the modification instruction according to the modification instruction received by the receiving unit 42. The first display sub-unit 422 displays the candidate word list retrieved by the retrieval unit 43 to the user. After the user re-selects the displayed alternative text table, that is, when the user sends an input instruction to the electronic device through function keys such as "OK" and "Enter" (Enter), the second receiving subunit 443 is used for Receive input instructions from users. According to the input instruction received by the second receiving subunit 443, the second display sub-unit 444 displays the text that the instruction indicates to be input.
[0096] The electronic device further includes a deletion unit 71, configured to delete the candidate text table stored in the storage sub-unit 413 according to a preset rule. Such as Figure 7 As shown, the deleting unit 71 specifically includes a first deleting subunit 711, a second deleting subunit 712, a third deleting subunit 713, a third receiving subunit 714, and a fourth deleting subunit 715, wherein,
[0097] The first deletion subunit 711 is configured to delete the candidate text table stored in the storage subunit 413 after the first receiving subunit 411 receives the next input instruction. The first deletion sub-unit 711 is only for one-time input modification, thereby reducing the size of the independent storage space in the memory, and providing more storage space for other applications of the electronic device.
[0098] The second deletion subunit 712 is configured to delete at least one candidate word table starting from the earliest candidate word table stored in the storage subunit 413 when the storage subunit 413 is full. The second deleting subunit 712 can ensure the modification range of the input text to the greatest extent, and reduce the release of repeated memory space and the operation of obtaining input information.
[0099] The third deletion subunit 713 is configured to periodically delete the candidate text table stored in the storage subunit 413 according to a preset duration. The third deletion sub-unit 713 eliminates the need for the second deletion sub-unit 712 to periodically release the content in the storage space only by using a preset time period (for example, three minutes).
[0100] The second receiving subunit 714 is configured to receive a delete instruction sent by the user through a preset button.
[0101] The fourth deletion subunit 715 is configured to delete the stored candidate text table according to the deletion instruction received by the third receiving subunit 714.
[0102] The second receiving sub-unit 714 may receive a deletion instruction issued by a function key such as “clear the cache”, and send the deletion instruction to the fourth deletion sub-unit 715. The fourth deletion subunit 715 releases the candidate word list in the storage subunit 413 according to the deletion instruction.
[0103] The above four deletion subunits can avoid the phenomenon of memory overflow caused by failure to release the storage space in time, thereby avoiding the situation that the data in the memory of the software in the electronic device interferes with each other and the electronic device cannot be used normally.
[0104] In the prior art, when the user modifies the inputted text, the user can only delete the inputted text by clicking a function button such as "Delete". However, the electronic device provided in this embodiment can use the acquiring unit 41, the retrieval unit 43, and the display unit 44 to further display the input information corresponding to the input text to be modified on the basis of deleting the input text. Text table so that users can re-select the correct text without re-entering the same input information. In addition, the electronic device provided by the embodiment of the present invention can also modify the entered text in the preceding text, and further can display the candidate text table corresponding to the text before the cursor in real time according to the cursor position. At the same time, the deletion unit 71 can ensure the safety and stability of the text input method. The alternative text table can save users the operation of re-entering information, thereby reducing the repetition of user operations.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Similar technology patents

Method for identifying screen code with uniform dot matrix

ActiveCN101571916AEasy to save and manageReduce duplicationCharacter and pattern recognitionAlgorithmBlack spot
Owner:天津市阿波罗信息技术有限公司

Method allowing licensed pharmacist to use mobile phone or tablet computer to remotely check prescription

InactiveCN106682378AReduce duplicationCause blockageComputer-assisted medicine prescription/deliverySpecial data processing applicationsTablet computerDrug product
Owner:SHANGHAI HYDEE SOFTWARE CORP

Classification and recommendation of technical efficacy words

Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products