WO2013029239A1 - Dictionary database update device, input system, input method, and terminal - Google Patents

Dictionary database update device, input system, input method, and terminal Download PDF

Info

Publication number
WO2013029239A1
WO2013029239A1 PCT/CN2011/079123 CN2011079123W WO2013029239A1 WO 2013029239 A1 WO2013029239 A1 WO 2013029239A1 CN 2011079123 W CN2011079123 W CN 2011079123W WO 2013029239 A1 WO2013029239 A1 WO 2013029239A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
vocabulary
character information
terminal
text information
Prior art date
Application number
PCT/CN2011/079123
Other languages
French (fr)
Chinese (zh)
Inventor
李俊
袁武
Original Assignee
宇龙计算机通信科技(深圳)有限公司
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 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Priority to PCT/CN2011/079123 priority Critical patent/WO2013029239A1/en
Priority to CN201180070506.4A priority patent/CN103493047A/en
Publication of WO2013029239A1 publication Critical patent/WO2013029239A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/374Thesaurus

Definitions

  • Thesaurus update device input system and input method and terminal
  • the present invention relates to information input technology, and more particularly to a thesaurus update, an input system and an input method, and a terminal. Background technique
  • the input method in the related art generally has an association function, that is, after the user inputs a text, other words that form words or sentences with the text can be displayed as candidates on the input interface for the user to select.
  • the invention is based on the above problems, and proposes an input technology, which introduces a dynamic vocabulary, which records the character information and text information currently displayed by the terminal, and can be combined with the actual use scene to facilitate the input of information.
  • a vocabulary updating apparatus which may include: a parsing unit, configured to parse content currently displayed by the terminal to obtain character information and/or text information;
  • the character information and/or text information parsed by the parsing unit is added to the thesaurus, and the thesaurus is updated.
  • the thesaurus differs from the general system lexicon in that it records the character information and text information involved in the user's current browsing content, while the system vocabulary only records the basic words and related information. For example, related information includes index letters Interest.
  • the automatic update unit may be further configured to periodically clear the character information and/or the text information in the thesaurus, or when the volume of the thesaurus exceeds the preset capacity, the current parsing is performed.
  • the character information and/or text information that is output covers the character information and/or text information that was first added to the thesaurus. This ensures that the vocabulary is always consistent with the most recently viewed content, and it prevents the lexicon from being oversized.
  • the parsing unit is further configured to monitor an application in the terminal, and when the detected application is started, the content displayed when the application is run on the terminal Analyze.
  • the terminal There are a variety of applications in the terminal, not all the content displayed when the application is running, for example, only when the application such as SMS, mail, browser, etc. is running, the content displayed is parsed, the game, etc. The content displayed when the application is running does not need to be parsed, which reduces the processor load.
  • an input system which may include: a parsing unit that parses a current display content of the terminal to obtain character information and/or text information; and a display output unit that includes the input information according to the user
  • the parsing obtains the related content of the character information and/or the text information as a candidate and performs priority display, and outputs the candidate selected by the user.
  • the method further includes: a dynamic vocabulary for recording the parsed character information and/or text information; a system vocabulary for recording basic words; and an updating unit for parsing The obtained character information and/or text information is added to the dynamic vocabulary; and the information retrieval unit retrieves the dynamic vocabulary and the system vocabulary according to the input information to obtain corresponding candidates.
  • the introduction of the dynamic vocabulary enables the user to retrieve the candidate information required by the user when inputting characters or words related to the current display content, thereby improving the accuracy of the input method preferences, thereby improving the efficiency of the user inputting information.
  • the display output unit displays the corresponding information retrieved from the dynamic vocabulary at the forefront of the candidate.
  • the display output unit displays a candidate from the system word. The corresponding information retrieved from the library.
  • the updating unit is further configured to periodically clear character information and/or text information in the dynamic vocabulary or when the dynamic vocabulary capacity exceeds a preset capacity, the current parsing is performed.
  • the character information and/or text information covers character information and/or text information that was first added to the dynamic vocabulary. This ensures that the lexicon is always consistent with recently viewed content and also prevents the lexicon from being oversized.
  • the parsing unit is further configured to monitor an application in the terminal, and when the detected application is started, the content displayed when the application is run on the terminal Analyze.
  • the terminal There are a variety of applications in the terminal, not all the content displayed when the application is running. For example, only when the application such as SMS, email, browser, etc. is running, the displayed content is parsed, and the application is applied to the game. The content displayed when the program is running does not need to be parsed, which can reduce the processor load.
  • a terminal comprising the input system described in each of the above technical solutions.
  • the present invention also provides a vocabulary update method, which may include: Step 302: parsing content currently displayed by the terminal to obtain character information and/or text information; Step 304, adding the character information and/or text information to The thesaurus, which updates the thesaurus.
  • the thesaurus differs from the general system lexicon in that it records the character information and text information involved in the user's current browsing content, while the system vocabulary only records the basic words.
  • the step 304 may further include: periodically clearing character information and/or text information in the thesaurus or when the volume of the thesaurus exceeds a preset capacity, the currently parsed
  • the character information and/or text information covers character information and/or text information that was first added to the thesaurus. This ensures that the lexicon remains consistent with recently viewed content and prevents the lexicon from being oversized.
  • the step 302 may further include: monitoring an application in the terminal, when detecting that the set application is started, displaying the application when the terminal is running the application
  • the content is parsed.
  • applications in the terminal not all the content displayed when the application is running. For example, only when the application such as SMS, email, browser, etc. is running, the displayed content is parsed, and the application is applied to the game. Program running The content displayed at that time does not need to be parsed, thus reducing the processor load.
  • the set application may include a short message, a mail, and/or a browser.
  • the present invention also provides an input method, which may include: parsing the currently displayed content of the terminal to obtain character information and/or text information; and including related content obtained by the parsing to obtain character information and/or text information according to input information of the user; As a candidate and priority display, the candidate selected by the user is output.
  • the method further includes: adding the parsed character information and/or text information to a dynamic thesaurus, updating the dynamic thesaurus; and retrieving the dynamics according to the input information.
  • the thesaurus and the system vocabulary obtain corresponding candidates, wherein the system vocabulary is used to record the basic words.
  • the introduction of the dynamic vocabulary enables the user to retrieve the candidate information required by the user when inputting the character or text associated with the currently displayed content, thereby improving the accuracy of the input method preferences, thereby improving the efficiency of the user inputting information.
  • the corresponding information retrieved from the dynamic vocabulary is displayed at the forefront of the candidate.
  • the candidate displayed is corresponding information retrieved from the system vocabulary.
  • the method further includes: periodically clearing character information and/or text information in the dynamic thesaurus or when the dynamic thesaurus capacity exceeds a preset capacity, the currently parsed The character information and/or text information overlays the character information and/or text information that was first added to the dynamic vocabulary.
  • the method further includes: monitoring an application in the terminal, and when detecting that the set application is started, parsing the content displayed when the terminal runs the application.
  • applications in the terminal not all the content displayed when the application is running, for example, only when the application such as SMS, mail, browser, etc. is running, the content displayed is parsed, the game, etc.
  • the content displayed when the application is running does not need to be parsed, which reduces the processor load.
  • the set application may include a short message, a mail, and/or a browser.
  • the invention introduces a dynamic vocabulary, records character information and text information in the current display content in the actual use process of the terminal, and improves the efficiency of information input by querying the dynamic vocabulary.
  • FIG. 1 shows a block diagram of a thesaurus updating apparatus according to an embodiment of the present invention
  • FIG. 2 shows a schematic diagram of an input system in accordance with an embodiment of the present invention
  • Figure 3 shows a block diagram of a terminal in accordance with an embodiment of the present invention
  • FIG. 4 shows a flow chart of a thesaurus update method in accordance with an embodiment of the present invention
  • Figure 5 shows a flow chart of an input method in accordance with an embodiment of the present invention
  • FIG. 6 shows a schematic diagram of browsing news according to an embodiment of the present invention
  • Fig. 7 shows a schematic diagram of information input using an input method in accordance with an embodiment of the present invention. detailed description
  • FIG. 1 shows a block diagram of a thesaurus update apparatus in accordance with an embodiment of the present invention.
  • the thesaurus updating apparatus 100 may include: a parsing unit 102, configured to parse content currently displayed by the terminal to obtain character information and/or text information; and an automatic updating unit 104, The character information and/or text information parsed by the parsing unit 102 is added to the thesaurus to update the thesaurus.
  • the lexicon is different from the general system lexicon, which records the character information and text information involved in the user's current browsing content, while the system vocabulary only records the basic words (for example, basic words) and related information ( For example, include index information).
  • One of the specific implementation processes of the parsing unit 102 for parsing the current display content of the terminal is to scan the current display interface of the terminal or screen the current display interface, and save the image as a picture, and perform character information and/or text information recognition on the saved image. Text and images in the interface It can be identified, and finally the parsed character information and/or text information can be obtained.
  • Another specific implementation process of the parsing unit 102 for parsing the current display content of the terminal is to query the database or the temporary storage unit corresponding to the parsed SMS application or the mail application if the currently displayed SMS or email is displayed, and the short message content or email can be directly obtained. content. If the webpage is currently displayed, the character information and/or the text information may be extracted from the source file of the webpage, or the character information and/or the text information displayed by the current webpage may be automatically copied in the background.
  • the automatic update unit 104 can also be used to periodically clear the character information and/or the text information in the thesaurus, or when the volume of the thesaurus exceeds the preset capacity, the currently parsed character information and / or text information to cover the character information and / or text information that was first added to the thesaurus. This ensures that the vocabulary is always consistent with the recently viewed content information, and it prevents the lexicon from being oversized.
  • the parsing unit 102 is further configured to monitor an application in the terminal, and when detecting that the set application is started, parse the content displayed when the terminal runs the application.
  • an application in the terminal There are a variety of applications in the terminal, not all the content displayed when the application is running, for example, only when the application such as SMS, mail, browser, etc. is running, the content displayed is parsed, the game, etc. The content displayed when the application is running does not need to be parsed, which reduces the burden on the processor.
  • the application program in the monitoring terminal can parse the character information and/or the text information in the currently displayed content of the terminal, and the parsed character information and/or text.
  • the information is automatically stored in a specific vocabulary, such as a dynamic vocabulary.
  • the lexicon formed in this way is different from the systematic lexicon of the related technology in the recording mode and the recorded content.
  • FIG. 2 shows a schematic diagram of an input system in accordance with an embodiment of the present invention.
  • the input system 200 may include: a parsing unit 210, parsing current display content of the terminal to obtain character information and/or text information; and displaying output unit 208, receiving according to the input interface unit 202
  • the input information of the user includes the relevant content of the character information and/or the text information parsed as a candidate and is preferentially displayed, and the candidate selected by the user is output.
  • the method further includes: a dynamic vocabulary 2044, configured to record the parsed character information and/or text information; a system vocabulary 2042, configured to record the basic word; and an updating unit 212, configured to The parsed character information and/or text information is added to the dynamic vocabulary; and the information retrieval unit 206 retrieves the dynamic vocabulary and the system vocabulary according to the input information to obtain corresponding candidates.
  • the introduction of the dynamic vocabulary 2044 enables the user to retrieve the candidate information required by the user and the related candidate information retrieved from the system vocabulary 2042 when the user inputs the character or text associated with the currently displayed content, and the candidate required by the user Information is associated with the current display to improve the efficiency of the user's input.
  • the display output unit 208 displays the corresponding information retrieved from the dynamic thesaurus 2044 at the forefront of the candidate.
  • the candidate displayed by the display output unit 208 is the corresponding information retrieved from the system vocabulary 2042.
  • the updating unit 212 is further configured to periodically clear the character information and/or the text information in the dynamic thesaurus or when the dynamic thesaurus capacity exceeds the preset capacity, the currently parsed character information and/or Or text information overwrites the character information and/or text information that was first added to the dynamic lexicon. This ensures that the thesaurus is always consistent with what was recently viewed, and it prevents the lexicon from being oversized.
  • the parsing unit 210 is further configured to monitor an application in the terminal, and when detecting that the set application is started, parsing the content displayed when the terminal runs the application.
  • an application in the terminal There are a variety of applications in the terminal, not all the content displayed when the application is running. For example, only when the application such as SMS, email, browser, etc. is running, the displayed content is parsed, and the application is applied to the game. The content displayed when the program is running does not need to be parsed, which can reduce the processor load.
  • the input system 200 shown in Fig. 2 is a specific implementation in accordance with the present invention, and the object of the present invention can be achieved even without the input interface unit 202, the update unit 212, and the system vocabulary 2042.
  • the input system 200 shown in FIG. 2 includes the thesaurus updating apparatus 100 shown in FIG. 1 (the parsing unit 210 is the parsing unit 102 in FIG. 1, and the updating unit 212 is the automatic updating list in FIG. Element 104), since the thesaurus updating apparatus 100 can parse the content currently displayed by the terminal, obtain character information and/or text information, and add the parsed character information and/or text information to the dynamic thesaurus, therefore, according to the present invention
  • the input system when retrieving the dynamic vocabulary according to the input information, can obtain candidates related to the currently displayed content, so that the input system can retrieve corresponding information according to the actual usage scenario, and improve the accuracy of the input method preferences. Rate, which improves the efficiency of user input information.
  • FIG. 3 shows a block diagram of a terminal in accordance with an embodiment of the present invention.
  • a terminal 300 according to an embodiment of the present invention includes the input system 200 described in any of the above technical solutions.
  • Any terminal that requires an input function can implement an input function by using an input system according to the present invention.
  • a computer, a mobile phone, an iPad, etc. which require an input function, can adopt an input system such as that shown in FIG. 2, so that the devices can be The actual usage environment matches the information entered by the user, improving the accuracy of the input method preferences.
  • FIG. 4 shows a flow chart of a thesaurus update method in accordance with an embodiment of the present invention.
  • the vocabulary update method may include: Step 402: parsing content currently displayed by the terminal to obtain character information and/or text information; Step 404, and performing character information and/or text Information is added to the thesaurus to update the thesaurus.
  • the lexicon is different from the general system vocabulary, which records the character information and/or text information involved in the content currently browsed by the user, and the system vocabulary only records the basic words and related information (index information).
  • step 402 one of the specific implementation processes of parsing the current display content of the terminal is to scan the current display interface of the terminal or screen the current display interface, and save the image as a picture, and perform character information and/or text information recognition on the saved image.
  • the text and the picture in the display interface can be identified, and finally the parsed character information and/or text information is obtained.
  • Parsing the terminal Another specific implementation process of the currently displayed content is that if the currently displayed SMS or email is used, the database or temporary storage unit corresponding to the parsed SMS application or the email application is queried, and the short message content or the email content can be directly obtained. If the web page is currently displayed, character information and/or text information may be extracted from the source file of the web page, or the character information and/or text information displayed on the current web page may be automatically copied in the background.
  • the step 404 may further include: periodically clearing the character information and/or the text information in the thesaurus or when the volume of the thesaurus exceeds the preset capacity, the current parsing is performed. Character information and/or text information, covering the character information and/or text information that was first added to the thesaurus. This ensures that the vocabulary is always consistent with recently viewed content and also prevents the lexicon from being oversized.
  • the step 402 may further include: monitoring an application in the terminal, and when detecting that the set application is started, parsing the content displayed when the terminal runs the application.
  • the application such as SMS, mail, browser, etc.
  • the displayed content is parsed, the game, etc.
  • the content displayed when the application is running does not need to be parsed, which reduces the burden on the processor.
  • the set application may include a short message, a mail, and/or a browser.
  • the content displayed by the terminal involves characters, characters, pictures, and the like. If the user needs to input information, the vocabulary update method according to the present invention may be employed to improve the efficiency of the user inputting information.
  • Figure 5 shows a flow chart of an input method in accordance with an embodiment of the present invention.
  • the input method according to the embodiment of the present invention may include: Step 502: parsing the currently displayed content of the terminal to obtain character information and/or text information; Step 504, parsing the character according to the input information of the user
  • the relevant content of the information and/or text information is displayed as a candidate and displayed preferentially, and the candidate selected by the user is output.
  • the method further includes: adding the parsed character information and/or text information to the dynamic vocabulary, updating the dynamic vocabulary; and retrieving the dynamic vocabulary and the system vocabulary according to the input information, Corresponding candidates, where the system vocabulary is used to record the basic words.
  • the introduction of the dynamic thesaurus enables the user to retrieve the candidate information needed by the user when inputting characters and/or words related to the currently displayed content, thereby improving the accuracy of the preference and improving the efficiency of the user inputting information.
  • one of the specific implementation processes of parsing the current display content of the terminal is to scan the current display interface of the terminal or screen the current display interface, and save the image as a picture, and perform character information and/or text information recognition on the saved image.
  • the text and images in the display interface can be identified, and finally the parsed character information and/or text can be obtained.
  • Information Another specific implementation process of parsing the current display content of the terminal is to query the database or the temporary storage unit corresponding to the parsed SMS application or the mail application if the current display is a short message or an email, and the short message content or the email content can be directly obtained. If the webpage is currently displayed, the character information and/or the text information may be extracted from the source file of the webpage, or the character information and/or the text information displayed by the current webpage may be automatically copied in the background.
  • the corresponding information retrieved from the dynamic vocabulary is displayed at the forefront of the candidate.
  • the displayed candidate is the corresponding information retrieved from the system vocabulary.
  • the method further includes: periodically clearing character information and/or text information in the dynamic vocabulary or, when the dynamic vocabulary capacity exceeds a preset capacity, the currently parsed character information and/or text.
  • the information covers the character information and/or text information that was first added to the dynamic lexicon.
  • the method further includes: monitoring an application in the terminal, and when detecting that the set application is started, parsing the content displayed when the terminal runs the application.
  • applications in the terminal not all the content displayed when the application is running, for example, only when the application such as SMS, mail, browser, etc. is running, the displayed content is parsed, the game, etc.
  • the content displayed when the application is running does not need to be parsed, which reduces the burden on the processor.
  • the set application may include a short message, a mail, and/or a browser.
  • the input method of the present invention by adding the character information and/or the text information to the current display content of the terminal, the dynamic vocabulary is added, so that when the information is input, the dynamic vocabulary can be retrieved to display the candidate candidates. Therefore, the input method can adjust the candidate according to the actual situation, and improve the accuracy of the preferred word of the input method.
  • FIGS. 6 and 7 Further embodiments of the present invention will be further described in conjunction with FIGS. 6 and 7 to facilitate a further understanding of the present invention.
  • the terminal input system (such as the input system shown in FIG. 2) will automatically scan the content (including pictures, text information) shown in FIG. 6 and parse out the character information (for example, letters, numbers, symbols). Etc.) and/or text information (Chinese, Japanese, etc.), and automatically add the parsed character information and/or text information to the dynamic lexicon.
  • the parsed information has title information (news center, NDRC approved Unilever price increase) and text information (relevant persons of the NDRC, etc.).
  • the specific implementation process of parsing the current display content of the terminal is to scan the current display interface of the terminal or screen the current display interface, and save the image as a picture, and perform character information and/or text information recognition on the saved image, and display interface Both the text and the image can be identified, and finally the parsed character information and/or text information is obtained.
  • Another specific implementation process of parsing the current display content of the terminal is to query the database or the temporary storage unit corresponding to the parsed SMS application or the mail application if the current display is a short message or an email, and the short message content or the email content can be directly obtained. If the webpage is currently displayed, the character information and/or the text information may be extracted from the source file of the webpage, or the character information and/or the text information displayed by the current webpage may be automatically copied in the background.
  • the dynamic vocabulary is first retrieved according to the input information, and then the system vocabulary (for recording the basic words and their index relationships) is retrieved, and the corresponding information retrieved from the dynamic lexicon is displayed in the candidate.
  • the front end if the corresponding information is not retrieved from the dynamic lexicon, the corresponding information retrieved from the system vocabulary is used as a candidate. As shown in Figure 7, when the user enters
  • the "reformed committee” retrieved from the dynamic lexicon is displayed at the forefront of the candidate, and other corresponding information retrieved from the system vocabulary is displayed at the back end of the candidate, improving the preferred word. Accuracy, reducing the time for users to select candidate words. Thus, when the user comments on the news shown in Fig. 6, the input of the information can be completed quickly.
  • the input method according to the present invention can flexibly retrieve the candidate information required by the user and display it on the input interface. For example, the user browses the email titled "Jiajiwuwu Investigation Report", "Home Jiuwu” is a place name, and is an uncommon place name.
  • the user browses the email titled "Jiajiwuwu Investigation Report", "Home Jiuwu” is a place name, and is an uncommon place name.
  • the input method according to the present invention can retrieve “nine docks” from the dynamic lexicon, and use "nine docks” as the preferred word, because the content of the mail is already included in the dynamic lexicon. Text message and / or character information. Therefore, the input method according to the present invention can be based on The actual situation adjusts the candidates, instead of using words with a higher frequency of input information as the preferred word.
  • the terminal parses the character information and/or text information obtained by the blog content, and updates the content to the dynamic vocabulary, and the user comments on the blog, when inputting "D” According to the input information "D”, "305” can be retrieved from the dynamic vocabulary, and "305” is used as a candidate for the candidate, which improves the accuracy of the first item and reduces the user's selection candidate. time.
  • the predetermined capacity that can be set for the dynamic vocabulary when newly parsed information needs to be added to the dynamic vocabulary, and the preset capacity is insufficient, the newly parsed information can be added to the dynamic vocabulary earlier.
  • the application in the terminal needs to be monitored, and the content displayed when the application is run is parsed.
  • the information of the displayed contact can be parsed, and the name, mailbox, and phone number are parsed.
  • Adding to the dynamic thesaurus in order to reduce the burden on the processor, only when some of the set applications are launched, the content displayed when running the application is parsed, and some applications are set.
  • the program can be an application that requires input of information such as mail, text messages, browsers, and the like.
  • the present invention proposes a dynamic vocabulary that records character information and/or text information obtained by parsing the content currently displayed by the terminal.
  • the search is performed.
  • the dynamic vocabulary obtains relevant information that can be combined with the input information, and displays the related information at the front end of the candidate, thereby realizing that the candidate of the input method can be adjusted according to actual conditions, thereby greatly improving the accuracy of the input method preference. It reduces the time for users to select candidates and improves the efficiency of user input information.

Abstract

The present invention provides a dictionary database update device, comprising: an parsing unit, used for parsing contents currently displayed by a terminal to obtain character information and/or text information; an automatic update unit, used for adding the character information and/or text information obtained through parsing by the parsing unit to a dictionary database to update the dictionary database. Correspondingly, the present invention further provides an input method, an input system, and a terminal with the input system. According to the technical solutions of the present invention, the retrieved candidates can be adjusted according to input information and in combination with a practical use scenario, thereby enhancing the accuracy of first word choice of the input method and enhancing the input efficiency of information.

Description

说 明 书  Description
词库更新装置、 输入系统和输入方法及终端 技术领域  Thesaurus update device, input system and input method and terminal
本发明涉及信息的输入技术, 具体而言, 涉及词库更新、 输入系统和 输入方法及终端。 背景技术  The present invention relates to information input technology, and more particularly to a thesaurus update, an input system and an input method, and a terminal. Background technique
随着移动终端支持的业务越来越丰富, 在移动终端中输入文字信息的 频率也越来越高。 相关技术中的输入法, 一般都具备联想功能, 也就是当 用户输入一个文字之后, 可以将与该文字组成词语或句子的其它文字作为 候选项, 显示在输入界面, 供用户选择。  As the services supported by mobile terminals become more and more abundant, the frequency of inputting text information in mobile terminals is also increasing. The input method in the related art generally has an association function, that is, after the user inputs a text, other words that form words or sentences with the text can be displayed as candidates on the input interface for the user to select.
但是, 在该联想输入法中, 只能对某一文字常用的词语进行联想, 联 想出来的候选项是固定的。 而在实际使用中, 输入信息的情况是复杂多变 的, 检索的词库中往往没有与输入信息相匹配的字词, 因此, 在^艮多情况 下, 联想出来的候选字并不是用户想要输入的文字, 影响了用户输入信息 的效率。 发明内容  However, in the associative input method, only the words commonly used in a certain word can be associated, and the candidate candidates are fixed. In actual use, the situation of inputting information is complex and variable, and there are often no words matching the input information in the searched lexicon. Therefore, in many cases, the associated candidate words are not intended by the user. The text to be entered affects the efficiency of the user's input. Summary of the invention
本发明正是基于上述问题, 提出了一种输入技术, 其引入了动态词 库, 该动态词库记录了终端当前显示的字符信息以及文字信息, 能够结合 实际使用场景, 方便信息的输入。  The invention is based on the above problems, and proposes an input technology, which introduces a dynamic vocabulary, which records the character information and text information currently displayed by the terminal, and can be combined with the actual use scene to facilitate the input of information.
有鉴于此, 根据本发明的一个方面, 提出了一种词库更新装置, 可以 包括: 解析单元, 用于对终端当前显示的内容进行解析得到字符信息和 / 或文字信息; 自动更新单元, 用于将所述解析单元解析出的所述字符信息 和 /或文字信息添加至词库, 对所述词库进行更新。 该词库与一般的系统 词库有区别, 它记录了用户当前浏览内容涉及到的字符信息和文字信息, 而系统词库仅仅记录了基础字词以及相关信息。 例如相关信息包括索引信 息。 In view of this, according to an aspect of the present invention, a vocabulary updating apparatus is provided, which may include: a parsing unit, configured to parse content currently displayed by the terminal to obtain character information and/or text information; The character information and/or text information parsed by the parsing unit is added to the thesaurus, and the thesaurus is updated. The thesaurus differs from the general system lexicon in that it records the character information and text information involved in the user's current browsing content, while the system vocabulary only records the basic words and related information. For example, related information includes index letters Interest.
在上述技术方案中, 优选地, 所述自动更新单元还可以用于定期清空 所述词库中的字符信息和 /或文字信息, 或当所述词库容量超出预设容量 时, 将当前解析出的所述字符信息和 /或文字信息覆盖最早添加至所述词 库的字符信息和 /或文字信息。 这样可以保证词库时刻与最近浏览过的内 容保持一致, 也能够防止词库的容量过大。  In the above technical solution, preferably, the automatic update unit may be further configured to periodically clear the character information and/or the text information in the thesaurus, or when the volume of the thesaurus exceeds the preset capacity, the current parsing is performed. The character information and/or text information that is output covers the character information and/or text information that was first added to the thesaurus. This ensures that the vocabulary is always consistent with the most recently viewed content, and it prevents the lexicon from being oversized.
在上述技术方案中, 优选地, 所述解析单元还用于监控所述终端中的 应用程序, 当检测到设定的应用程序启动时, 对所述终端运行所述应用程 序时所显示的内容进行解析。 终端中有多种应用程序, 并不是对所有的应 用程序运行时显示的内容进行解析, 例如只有在短信、 邮件、 浏览器等应 用程序运行时, 才对其显示的内容进行解析, 对游戏等应用程序运行时显 示的内容则无需进行解析, 这样, 可以减小处理器负担。  In the above technical solution, preferably, the parsing unit is further configured to monitor an application in the terminal, and when the detected application is started, the content displayed when the application is run on the terminal Analyze. There are a variety of applications in the terminal, not all the content displayed when the application is running, for example, only when the application such as SMS, mail, browser, etc. is running, the content displayed is parsed, the game, etc. The content displayed when the application is running does not need to be parsed, which reduces the processor load.
根据本发明的又一方面, 还提供了一种输入系统, 可以包括: 解析单 元, 对终端当前显示内容进行解析得到字符信息和 /或文字信息; 显示输 出单元, 根据用户的输入信息, 将包含所述解析得到字符信息和 /或文字 信息的相关内容作为候选项并进行优先显示, 输出所述用户选择的候选 项。 通过这样的技术方案, 可以显示与当前显示内容相关的候选项, 符合 用户的实际输入需要。  According to still another aspect of the present invention, an input system is further provided, which may include: a parsing unit that parses a current display content of the terminal to obtain character information and/or text information; and a display output unit that includes the input information according to the user The parsing obtains the related content of the character information and/or the text information as a candidate and performs priority display, and outputs the candidate selected by the user. With such a technical solution, candidates related to the currently displayed content can be displayed, in accordance with the actual input needs of the user.
在上述技术方案中, 优选地, 还包括: 动态词库, 用于记录解析得到 的所述字符信息和 /或文字信息; 系统词库, 用于记录基础字词; 更新单 元, 用于将解析得到的所述字符信息和 /或文字信息添加至所述动态词 库; 以及信息检索单元, 根据所述输入信息检索所述动态词库和所述系统 词库, 得到相应候选项。 动态词库的引入, 使得当用户输入与当前显示内 容相关的字符或文字时, 可以检索出用户需要的候选信息, 提高了输入法 首选项的准确率, 从而提高了用户输入信息的效率。  In the above technical solution, preferably, the method further includes: a dynamic vocabulary for recording the parsed character information and/or text information; a system vocabulary for recording basic words; and an updating unit for parsing The obtained character information and/or text information is added to the dynamic vocabulary; and the information retrieval unit retrieves the dynamic vocabulary and the system vocabulary according to the input information to obtain corresponding candidates. The introduction of the dynamic vocabulary enables the user to retrieve the candidate information required by the user when inputting characters or words related to the current display content, thereby improving the accuracy of the input method preferences, thereby improving the efficiency of the user inputting information.
在上述技术方案中, 优选地, 所述显示输出单元将从所述动态词库中 检索出的相应信息显示在所述候选项的最前端。  In the above technical solution, preferably, the display output unit displays the corresponding information retrieved from the dynamic vocabulary at the forefront of the candidate.
在上述技术方案中, 优选地, 当所述信息检索单元没有从所述动态词 库中检索到相应信息时, 所述显示输出单元显示的候选项为从所述系统词 库中检索到的相应信息。 In the above technical solution, preferably, when the information retrieval unit does not retrieve the corresponding information from the dynamic vocabulary, the display output unit displays a candidate from the system word. The corresponding information retrieved from the library.
在上述技术方案中, 优选地, 所述更新单元还用于定期清空所述动态 词库中的字符信息和 /或文字信息或当所述动态词库容量超出预设容量 时, 将当前解析出的所述字符信息和 /或文字信息覆盖最早添加至所述动 态词库的字符信息和 /或文字信息。 这样可以保证词库时刻与最近浏览过 的内容保持一致, 也能够防止词库的容量过大。  In the above technical solution, preferably, the updating unit is further configured to periodically clear character information and/or text information in the dynamic vocabulary or when the dynamic vocabulary capacity exceeds a preset capacity, the current parsing is performed. The character information and/or text information covers character information and/or text information that was first added to the dynamic vocabulary. This ensures that the lexicon is always consistent with recently viewed content and also prevents the lexicon from being oversized.
在上述技术方案中, 优选地, 所述解析单元还用于监控所述终端中的 应用程序, 当检测到设定的应用程序启动时, 对所述终端运行所述应用程 序时所显示的内容进行解析。 终端中有多种应用程序, 并不是对所有的应 用程序运行时显示的内容进行解析, 例如只有在短信、 邮件、 浏览器等应 用程序运行时, 才对显示的内容进行解析, 对游戏等应用程序运行时显示 的内容则无需进行解析, 这样, 可以减小处理器负担。  In the above technical solution, preferably, the parsing unit is further configured to monitor an application in the terminal, and when the detected application is started, the content displayed when the application is run on the terminal Analyze. There are a variety of applications in the terminal, not all the content displayed when the application is running. For example, only when the application such as SMS, email, browser, etc. is running, the displayed content is parsed, and the application is applied to the game. The content displayed when the program is running does not need to be parsed, which can reduce the processor load.
根据本发明的又一方面, 还提出了一种终端, 包括上述各技术方案中 所述的输入系统。  According to still another aspect of the present invention, there is also provided a terminal comprising the input system described in each of the above technical solutions.
本发明还提出了一种词库更新方法, 可以包括: 步骤 302 , 对终端当 前显示的内容进行解析得到字符信息和 /或文字信息; 步骤 304, 将所述字 符信息和 /或文字信息添加至词库, 对所述词库进行更新。 该词库与一般 的系统词库有区别, 它记录了用户当前浏览内容涉及到的字符信息和文字 信息, 而系统词库仅仅记录了基础字词。  The present invention also provides a vocabulary update method, which may include: Step 302: parsing content currently displayed by the terminal to obtain character information and/or text information; Step 304, adding the character information and/or text information to The thesaurus, which updates the thesaurus. The thesaurus differs from the general system lexicon in that it records the character information and text information involved in the user's current browsing content, while the system vocabulary only records the basic words.
在上述技术方案中, 优选地, 所述步骤 304还可以包括: 定期清空所 述词库中的字符信息和 /或文字信息或当所述词库容量超出预设容量时, 将当前解析出的所述字符信息和 /或文字信息覆盖最早添加至所述词库的 字符信息和 /或文字信息。 这样可以保证词库时刻与最近浏览过的内容保 持一致, 也能够防止词库的容量过大。  In the above technical solution, preferably, the step 304 may further include: periodically clearing character information and/or text information in the thesaurus or when the volume of the thesaurus exceeds a preset capacity, the currently parsed The character information and/or text information covers character information and/or text information that was first added to the thesaurus. This ensures that the lexicon remains consistent with recently viewed content and prevents the lexicon from being oversized.
在上述技术方案中, 优选地, 所述步骤 302还可以包括: 监控所述终 端中的应用程序, 当检测到设定的应用程序启动时, 对所述终端运行所述 应用程序时所显示的内容进行解析。 终端中有多种应用程序, 并不是对所 有的应用程序运行时显示的内容进行解析, 例如只有在短信、 邮件、 浏览 器等应用程序运行时, 才对显示的内容进行解析, 对游戏等应用程序运行 时显示的内容则无需进行解析, 这样, 可以减小处理器负担。 In the above technical solution, preferably, the step 302 may further include: monitoring an application in the terminal, when detecting that the set application is started, displaying the application when the terminal is running the application The content is parsed. There are a variety of applications in the terminal, not all the content displayed when the application is running. For example, only when the application such as SMS, email, browser, etc. is running, the displayed content is parsed, and the application is applied to the game. Program running The content displayed at that time does not need to be parsed, thus reducing the processor load.
在上述技术方案中, 优选地, 所述设定的应用程序可以包括短信、 邮 件和 /或浏览器。  In the above technical solution, preferably, the set application may include a short message, a mail, and/or a browser.
本发明还提出了一种输入方法, 可以包括: 对终端当前显示内容进行 解析得到字符信息和 /或文字信息; 根据用户的输入信息将包含所述解析 得到字符信息和 /或文字信息的相关内容作为候选项并进行优先显示, 输 出所述用户选择的候选项。  The present invention also provides an input method, which may include: parsing the currently displayed content of the terminal to obtain character information and/or text information; and including related content obtained by the parsing to obtain character information and/or text information according to input information of the user; As a candidate and priority display, the candidate selected by the user is output.
在上述技术方案中, 优选地, 还可以包括: 将解析得到的所述字符信 息和 /或文字信息添加至动态词库, 对所述动态词库进行更新; 根据所述 输入信息检索所述动态词库和系统词库, 得到相应的候选项, 其中, 所述 系统词库用于记录基础字词。 动态词库的引入, 使得当用户输入与当前显 示内容相关的字符或文字时, 可以检索出用户需要的候选信息, 提高了输 入法首选项的准确率, 从而提高了用户输入信息的效率。  In the above technical solution, preferably, the method further includes: adding the parsed character information and/or text information to a dynamic thesaurus, updating the dynamic thesaurus; and retrieving the dynamics according to the input information. The thesaurus and the system vocabulary obtain corresponding candidates, wherein the system vocabulary is used to record the basic words. The introduction of the dynamic vocabulary enables the user to retrieve the candidate information required by the user when inputting the character or text associated with the currently displayed content, thereby improving the accuracy of the input method preferences, thereby improving the efficiency of the user inputting information.
在上述技术方案中, 优选地, 将从所述动态词库中检索出的相应信息 显示在所述候选项的最前端。  In the above technical solution, preferably, the corresponding information retrieved from the dynamic vocabulary is displayed at the forefront of the candidate.
在上述技术方案中, 优选地, 当没有从所述动态词库中检索到相应信 息时, 显示的所述候选项为从所述系统词库中检索到的相应信息。  In the above technical solution, preferably, when the corresponding information is not retrieved from the dynamic vocabulary, the candidate displayed is corresponding information retrieved from the system vocabulary.
在上述技术方案中, 优选地, 还可以包括: 定期清空所述动态词库中 的字符信息和 /或文字信息或当所述动态词库容量超出预设容量时, 将当 前解析出的所述字符信息和 /或文字信息覆盖最早添加至所述动态词库的 字符信息和 /或文字信息。  In the above technical solution, preferably, the method further includes: periodically clearing character information and/or text information in the dynamic thesaurus or when the dynamic thesaurus capacity exceeds a preset capacity, the currently parsed The character information and/or text information overlays the character information and/or text information that was first added to the dynamic vocabulary.
在上述技术方案中, 优选地, 还可以包括: 监控所述终端中的应用程 序, 当检测到设定的应用程序启动时, 对所述终端运行所述应用程序时所 显示的内容进行解析。 终端中有多种应用程序, 并不是对所有的应用程序 运行时显示的内容进行解析, 例如只有在短信、 邮件、 浏览器等应用程序 运行时, 才对其显示的内容进行解析, 对游戏等应用程序运行时显示的内 容则无需进行解析, 这样, 可以减小处理器负担。  In the above technical solution, preferably, the method further includes: monitoring an application in the terminal, and when detecting that the set application is started, parsing the content displayed when the terminal runs the application. There are a variety of applications in the terminal, not all the content displayed when the application is running, for example, only when the application such as SMS, mail, browser, etc. is running, the content displayed is parsed, the game, etc. The content displayed when the application is running does not need to be parsed, which reduces the processor load.
在上述技术方案中, 优选地, 所述设定的应用程序可以包括短信、 邮 件和 /或浏览器。 本发明引入了动态词库, 在终端的实际使用过程中记录了当前显示内 容中的字符信息和文字信息, 通过查询动态词库, 提高了信息输入时的效 率。 In the above technical solution, preferably, the set application may include a short message, a mail, and/or a browser. The invention introduces a dynamic vocabulary, records character information and text information in the current display content in the actual use process of the terminal, and improves the efficiency of information input by querying the dynamic vocabulary.
附图说明  DRAWINGS
图 1示出了根据本发明的实施例的词库更新装置的框图;  FIG. 1 shows a block diagram of a thesaurus updating apparatus according to an embodiment of the present invention; FIG.
图 2示出了根据本发明的实施例的输入系统的示意图;  2 shows a schematic diagram of an input system in accordance with an embodiment of the present invention;
图 3示出了根据本发明的实施例的终端的框图;  Figure 3 shows a block diagram of a terminal in accordance with an embodiment of the present invention;
图 4示出了根据本发明的实施例的词库更新方法的流程图;  4 shows a flow chart of a thesaurus update method in accordance with an embodiment of the present invention;
图 5示出了根据本发明的实施例的输入方法的流程图;  Figure 5 shows a flow chart of an input method in accordance with an embodiment of the present invention;
图 6示出了根据本发明的实施例的浏览新闻的示意图; 以及  FIG. 6 shows a schematic diagram of browsing news according to an embodiment of the present invention;
图 7示出了根据本发明的实施例的采用输入方法进行信息输入的示意 图。 具体实施方式  Fig. 7 shows a schematic diagram of information input using an input method in accordance with an embodiment of the present invention. detailed description
为了能够更清楚地理解本发明的上述目的、 特征和优点, 下面结合附 图和具体实施方式对本发明进行进一步的详细描述。  The above described objects, features and advantages of the present invention will be more fully understood from the following detailed description.
在下面的描述中阐述了很多具体细节以便于充分理解本发明, 但是, 本发明还可以采用其他不同于在此描述的其他方式来实施, 因此, 本发明 并不限于下面公开的具体实施例的限制。  In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the invention may be practiced otherwise than as described herein. limit.
图 1示出了根据本发明的实施例的词库更新装置的框图。  FIG. 1 shows a block diagram of a thesaurus update apparatus in accordance with an embodiment of the present invention.
如图 1所示, 根据本发明的实施例的词库更新装置 100可以包括: 解 析单元 102, 用于对终端当前显示的内容进行解析得到字符信息和 /或文字 信息; 自动更新单元 104, 用于将解析单元 102解析出的字符信息和 /或文 字信息添加至词库, 对词库进行更新。 该词库与一般的系统词库有区别, 它记录了用户当前浏览内容涉及到的字符信息和文字信息, 而系统词库仅 仅记录了基础字词 (例如, 基本的字词) 以及相关信息 (例如, 包括索引 信息) 。 解析单元 102解析终端当前显示内容的具体实现过程之一为扫描 终端当前显示界面或对当前显示界面进行截屏, 并保存为图片, 对保存的 图片进行字符信息和 /或文字信息的识别, 对显示界面中的文字和图片都 可以进行识别, 最终得到解析出的字符信息和 /或文字信息。 解析单元 102 解析终端当前显示内容的又一具体实现过程为如果当前显示的是短信或邮 件, 则查询被解析的短信应用或邮件应用对应的数据库或临时存储单元, 可以直接获取到短信内容或邮件内容。 如果当前显示的是网页, 则可以从 该网页的源文件中提取出字符信息和 /或文字信息, 也可以是后台自动地 复制当前网页显示的字符信息和 /或文字信息。 As shown in FIG. 1, the thesaurus updating apparatus 100 according to the embodiment of the present invention may include: a parsing unit 102, configured to parse content currently displayed by the terminal to obtain character information and/or text information; and an automatic updating unit 104, The character information and/or text information parsed by the parsing unit 102 is added to the thesaurus to update the thesaurus. The lexicon is different from the general system lexicon, which records the character information and text information involved in the user's current browsing content, while the system vocabulary only records the basic words (for example, basic words) and related information ( For example, include index information). One of the specific implementation processes of the parsing unit 102 for parsing the current display content of the terminal is to scan the current display interface of the terminal or screen the current display interface, and save the image as a picture, and perform character information and/or text information recognition on the saved image. Text and images in the interface It can be identified, and finally the parsed character information and/or text information can be obtained. Another specific implementation process of the parsing unit 102 for parsing the current display content of the terminal is to query the database or the temporary storage unit corresponding to the parsed SMS application or the mail application if the currently displayed SMS or email is displayed, and the short message content or email can be directly obtained. content. If the webpage is currently displayed, the character information and/or the text information may be extracted from the source file of the webpage, or the character information and/or the text information displayed by the current webpage may be automatically copied in the background.
在上述技术方案中, 优选地, 自动更新单元 104还可以用于定期清空 词库中的字符信息和 /或文字信息, 或当词库容量超出预设容量时, 将当 前解析出的字符信息和 /或文字信息覆盖最早添加至词库的字符信息和 /或 文字信息。 这样可以保证词库时刻与最近浏览的内容信息保持一致, 也能 够防止词库的容量过大。  In the above technical solution, preferably, the automatic update unit 104 can also be used to periodically clear the character information and/or the text information in the thesaurus, or when the volume of the thesaurus exceeds the preset capacity, the currently parsed character information and / or text information to cover the character information and / or text information that was first added to the thesaurus. This ensures that the vocabulary is always consistent with the recently viewed content information, and it prevents the lexicon from being oversized.
在上述技术方案中, 优选地, 解析单元 102还用于监控终端中的应用 程序, 当检测到设定的应用程序启动时, 对终端运行应用程序时所显示的 内容进行解析。 终端中有多种应用程序, 并不是对所有应用程序运行时显 示的内容都进行解析, 例如只有在短信、 邮件、 浏览器等应用程序运行 时, 才对其显示的内容进行解析, 对游戏等应用程序运行时显示的内容则 无需进行解析, 这样, 可以减小处理器的负担。  In the above technical solution, preferably, the parsing unit 102 is further configured to monitor an application in the terminal, and when detecting that the set application is started, parse the content displayed when the terminal runs the application. There are a variety of applications in the terminal, not all the content displayed when the application is running, for example, only when the application such as SMS, mail, browser, etc. is running, the content displayed is parsed, the game, etc. The content displayed when the application is running does not need to be parsed, which reduces the burden on the processor.
根据本发明的词库更新装置, 在终端的实际使用过程中, 监控终端中 的应用程序, 能够解析终端当前显示内容中的字符信息和 /或文字信息, 将解析出的字符信息和 /或文字信息自动存储在特定的词库中, 例如动态 词库, 以这种方式形成的词库, 在记录方式和记录内容上都与相关技术的 系统词库不同。  According to the vocabulary updating apparatus of the present invention, during the actual use of the terminal, the application program in the monitoring terminal can parse the character information and/or the text information in the currently displayed content of the terminal, and the parsed character information and/or text. The information is automatically stored in a specific vocabulary, such as a dynamic vocabulary. The lexicon formed in this way is different from the systematic lexicon of the related technology in the recording mode and the recorded content.
图 2示出了根据本发明的实施例的输入系统的示意图。  2 shows a schematic diagram of an input system in accordance with an embodiment of the present invention.
如图 2所示, 根据本发明的实施例的输入系统 200可以包括: 解析单 元 210, 对终端当前显示内容进行解析得到字符信息和 /或文字信息; 显示 输出单元 208 , 根据输入接口单元 202接收的用户的输入信息, 将包含解 析得到字符信息和 /或文字信息的相关内容作为候选项并进行优先显示, 输出用户选择的候选项。 通过这样的技术方案, 可以显示与当前显示内容 相关的候选项, 符合用户的实际输入需要。 在上述技术方案中, 优选地, 还包括: 动态词库 2044 , 用于记录解 析得到的字符信息和 /或文字信息; 系统词库 2042 , 用于记录基础字词; 更新单元 212 , 用于将解析得到的字符信息和 /或文字信息添加至动态词 库; 以及信息检索单元 206 , 根据输入信息检索动态词库和系统词库, 得 到相应候选项。 动态词库 2044 的引入, 使得当用户输入与当前显示内容 相关的字符或文字时, 可以检索出用户需要的候选信息, 以及从系统词库 2042 中检索出的相关候选信息, 且用户需要的候选信息与当前显示内容 相关联, 以提高用户输入信息的效率。 As shown in FIG. 2, the input system 200 according to an embodiment of the present invention may include: a parsing unit 210, parsing current display content of the terminal to obtain character information and/or text information; and displaying output unit 208, receiving according to the input interface unit 202 The input information of the user includes the relevant content of the character information and/or the text information parsed as a candidate and is preferentially displayed, and the candidate selected by the user is output. Through such a technical solution, candidates related to the currently displayed content can be displayed, which meets the actual input needs of the user. In the above technical solution, preferably, the method further includes: a dynamic vocabulary 2044, configured to record the parsed character information and/or text information; a system vocabulary 2042, configured to record the basic word; and an updating unit 212, configured to The parsed character information and/or text information is added to the dynamic vocabulary; and the information retrieval unit 206 retrieves the dynamic vocabulary and the system vocabulary according to the input information to obtain corresponding candidates. The introduction of the dynamic vocabulary 2044 enables the user to retrieve the candidate information required by the user and the related candidate information retrieved from the system vocabulary 2042 when the user inputs the character or text associated with the currently displayed content, and the candidate required by the user Information is associated with the current display to improve the efficiency of the user's input.
在上述技术方案中, 优选地, 显示输出单元 208 将从动态词库 2044 中检索出的相应信息显示在候选项的最前端。  In the above technical solution, preferably, the display output unit 208 displays the corresponding information retrieved from the dynamic thesaurus 2044 at the forefront of the candidate.
在上述技术方案中, 优选地, 当信息检索单元 206 没有从动态词库 2044 中检索到相应信息时, 显示输出单元 208 显示的候选项为从系统词 库 2042中检索到的相应信息。  In the above technical solution, preferably, when the information retrieval unit 206 does not retrieve the corresponding information from the dynamic vocabulary 2044, the candidate displayed by the display output unit 208 is the corresponding information retrieved from the system vocabulary 2042.
在上述技术方案中, 优选地, 更新单元 212还用于定期清空动态词库 中的字符信息和 /或文字信息或当动态词库容量超出预设容量时, 将当前 解析出的字符信息和 /或文字信息覆盖最早添加至动态词库的字符信息和 / 或文字信息。 这样可以保证词库时刻与最近浏览过的内容保持一致, 也能 够防止词库的容量过大。  In the above technical solution, preferably, the updating unit 212 is further configured to periodically clear the character information and/or the text information in the dynamic thesaurus or when the dynamic thesaurus capacity exceeds the preset capacity, the currently parsed character information and/or Or text information overwrites the character information and/or text information that was first added to the dynamic lexicon. This ensures that the thesaurus is always consistent with what was recently viewed, and it prevents the lexicon from being oversized.
在上述技术方案中, 优选地, 解析单元 210还用于监控终端中的应用 程序, 当检测到设定的应用程序启动时, 对终端运行应用程序时所显示的 内容进行解析。 终端中有多种应用程序, 并不是对所有的应用程序运行时 显示的内容进行解析, 例如只有在短信、 邮件、 浏览器等应用程序运行 时, 才对显示的内容进行解析, 对游戏等应用程序运行时显示的内容则无 需进行解析, 这样, 可以减小处理器负担。  In the above technical solution, preferably, the parsing unit 210 is further configured to monitor an application in the terminal, and when detecting that the set application is started, parsing the content displayed when the terminal runs the application. There are a variety of applications in the terminal, not all the content displayed when the application is running. For example, only when the application such as SMS, email, browser, etc. is running, the displayed content is parsed, and the application is applied to the game. The content displayed when the program is running does not need to be parsed, which can reduce the processor load.
在此, 应该理解, 图 2所示的输入系统 200是根据本发明的一种具体 实现方式, 即便没有输入接口单元 202、 更新单元 212、 系统词库 2042也 能实现本发明的目的。  Here, it should be understood that the input system 200 shown in Fig. 2 is a specific implementation in accordance with the present invention, and the object of the present invention can be achieved even without the input interface unit 202, the update unit 212, and the system vocabulary 2042.
图 2所示的输入系统 200包含了图 1所示的词库更新装置 100 (解析 单元 210即图 1 中的解析单元 102, 更新单元 212即图 1 中的自动更新单 元 104 ) , 由于词库更新装置 100 能够解析终端当前显示的内容, 得到字 符信息和 /或文字信息, 并将解析得到的字符信息和 /或文字信息加入动态 词库, 因此, 根据本发明的输入系统, 当根据输入信息检索该动态词库 时, 可以得到与当前显示内容相关的候选项, 使输入系统可以根据实际使 用场景检索出符合用户需要的相应信息, 提高了输入法首选项的准确率, 从而提高了用户输入信息的效率。 The input system 200 shown in FIG. 2 includes the thesaurus updating apparatus 100 shown in FIG. 1 (the parsing unit 210 is the parsing unit 102 in FIG. 1, and the updating unit 212 is the automatic updating list in FIG. Element 104), since the thesaurus updating apparatus 100 can parse the content currently displayed by the terminal, obtain character information and/or text information, and add the parsed character information and/or text information to the dynamic thesaurus, therefore, according to the present invention The input system, when retrieving the dynamic vocabulary according to the input information, can obtain candidates related to the currently displayed content, so that the input system can retrieve corresponding information according to the actual usage scenario, and improve the accuracy of the input method preferences. Rate, which improves the efficiency of user input information.
图 3示出了根据本发明的实施例的终端的框图。 如图 3所示, 根据本 发明的实施例的终端 300 , 包括上述任一技术方案中所描述的输入系统 200。 任何需要输入功能的终端都可以采用根据本发明的输入系统来实现 输入功能, 例如电脑、 手机、 iPad等这些需要输入功能的设备均可以采用 例如图 2所示的输入系统, 使得这些设备可以根据实际使用环境来匹配用 户输入的信息, 提高输入法首选项的准确率。  FIG. 3 shows a block diagram of a terminal in accordance with an embodiment of the present invention. As shown in FIG. 3, a terminal 300 according to an embodiment of the present invention includes the input system 200 described in any of the above technical solutions. Any terminal that requires an input function can implement an input function by using an input system according to the present invention. For example, a computer, a mobile phone, an iPad, etc., which require an input function, can adopt an input system such as that shown in FIG. 2, so that the devices can be The actual usage environment matches the information entered by the user, improving the accuracy of the input method preferences.
图 4示出了根据本发明的实施例的词库更新方法的流程图。  4 shows a flow chart of a thesaurus update method in accordance with an embodiment of the present invention.
如图 4 所示, 根据本发明的实施例的词库更新方法可以包括: 步骤 402, 对终端当前显示的内容进行解析得到字符信息和 /或文字信息; 步骤 404, 将字符信息和 /或文字信息添加至词库, 对词库进行更新。 该词库与 一般的系统词库有区别, 它记录了用户当前浏览的内容所涉及到的字符信 息和 /或文字信息, 而系统词库仅仅记录了基础字词及其相关信息 (索引 信息) 。 在步骤 402 中, 解析终端当前显示内容的具体实现过程之一为扫 描终端当前显示界面或对当前显示界面进行截屏, 并保存为图片, 对保存 的图片进行字符信息和 /或文字信息的识别, 对显示界面中的文字和图片 都可以进行识别, 最终得到解析出的字符信息和 /或文字信息。 解析终端 当前显示内容的又一具体实现过程为如果当前显示的是短信或邮件, 则查 询被解析的短信应用或邮件应用对应的数据库或临时存储单元, 可以直接 获取到短信内容或邮件内容。 如果当前显示的是网页, 则可以从该网页的 源文件中提取出字符信息和 /或文字信息, 也可以是后台自动地复制当前 网页显示的字符信息和 /或文字信息。  As shown in FIG. 4, the vocabulary update method according to the embodiment of the present invention may include: Step 402: parsing content currently displayed by the terminal to obtain character information and/or text information; Step 404, and performing character information and/or text Information is added to the thesaurus to update the thesaurus. The lexicon is different from the general system vocabulary, which records the character information and/or text information involved in the content currently browsed by the user, and the system vocabulary only records the basic words and related information (index information). . In step 402, one of the specific implementation processes of parsing the current display content of the terminal is to scan the current display interface of the terminal or screen the current display interface, and save the image as a picture, and perform character information and/or text information recognition on the saved image. The text and the picture in the display interface can be identified, and finally the parsed character information and/or text information is obtained. Parsing the terminal Another specific implementation process of the currently displayed content is that if the currently displayed SMS or email is used, the database or temporary storage unit corresponding to the parsed SMS application or the email application is queried, and the short message content or the email content can be directly obtained. If the web page is currently displayed, character information and/or text information may be extracted from the source file of the web page, or the character information and/or text information displayed on the current web page may be automatically copied in the background.
在上述技术方案中, 优选地, 步骤 404还可以包括: 定期清空词库中 的字符信息和 /或文字信息或当词库容量超出预设容量时, 将当前解析出 的字符信息和 /或文字信息, 覆盖最早添加至词库的字符信息和 /或文字信 息。 这样可以保证词库时刻与最近浏览过的内容保持一致, 也能够防止词 库的容量过大。 In the above technical solution, preferably, the step 404 may further include: periodically clearing the character information and/or the text information in the thesaurus or when the volume of the thesaurus exceeds the preset capacity, the current parsing is performed. Character information and/or text information, covering the character information and/or text information that was first added to the thesaurus. This ensures that the vocabulary is always consistent with recently viewed content and also prevents the lexicon from being oversized.
在上述技术方案中, 优选地, 步骤 402还可以包括: 监控终端中的应 用程序, 当检测到设定的应用程序启动时, 对终端运行应用程序时所显示 的内容进行解析。 终端中有多种应用程序, 并不是对所有的应用程序运行 时显示的内容进行解析, 例如只有在短信、 邮件、 浏览器等应用程序运行 时, 才对所显示的内容进行解析, 对游戏等应用程序运行时所显示的内容 则无需进行解析, 这样, 可以减小处理器的负担。  In the above technical solution, preferably, the step 402 may further include: monitoring an application in the terminal, and when detecting that the set application is started, parsing the content displayed when the terminal runs the application. There are a variety of applications in the terminal, not all the content displayed when the application is running, for example, only when the application such as SMS, mail, browser, etc. is running, the displayed content is parsed, the game, etc. The content displayed when the application is running does not need to be parsed, which reduces the burden on the processor.
在上述技术方案中, 优选地, 设定的应用程序可以包括短信、 邮件和 /或浏览器。 当某些应用程序运行时, 终端显示的内容涉及字符、 文字、 图片等内容, 如果用户需要输入信息, 则可采用根据本发明的词库更新方 法, 以提高用户输入信息的效率。  In the above technical solution, preferably, the set application may include a short message, a mail, and/or a browser. When some applications are running, the content displayed by the terminal involves characters, characters, pictures, and the like. If the user needs to input information, the vocabulary update method according to the present invention may be employed to improve the efficiency of the user inputting information.
图 5示出了根据本发明的实施例的输入方法的流程图。  Figure 5 shows a flow chart of an input method in accordance with an embodiment of the present invention.
如图 5所示, 根据本发明的实施例的输入方法可以包括: 步骤 502 , 对终端当前显示内容进行解析得到字符信息和 /或文字信息; 步骤 504 , 根 据用户的输入信息将包含解析得到字符信息和 /或文字信息的相关内容作 为候选项并进行优先显示, 输出用户选择的候选项。 通过这样的技术方 案, 根据输入信息就可以显示与当前显示内容相关的候选项, 符合用户的 实际输入需要。  As shown in FIG. 5, the input method according to the embodiment of the present invention may include: Step 502: parsing the currently displayed content of the terminal to obtain character information and/or text information; Step 504, parsing the character according to the input information of the user The relevant content of the information and/or text information is displayed as a candidate and displayed preferentially, and the candidate selected by the user is output. Through such a technical solution, candidates related to the currently displayed content can be displayed according to the input information, in accordance with the actual input needs of the user.
在上述技术方案中, 优选地, 还可以包括: 将解析得到的字符信息和 /或文字信息添加至动态词库, 对动态词库进行更新; 根据输入信息检索 动态词库和系统词库, 得到相应的候选项, 其中, 系统词库用于记录基础 字词。 动态词库的引入, 使得当用户输入与当前显示内容相关的字符和 / 或文字时, 可以检索出用户需要的候选信息, 提高首选项的准确率, 以提 高用户输入信息的效率。 在步骤 502 中, 解析终端当前显示内容的具体实 现过程之一为扫描终端当前显示界面或对当前显示界面进行截屏, 并保存 为图片, 对保存的图片进行字符信息和 /或文字信息的识别, 对显示界面 中的文字和图片都可以进行识别, 最终得到解析出的字符信息和 /或文字 信息。 解析终端当前显示内容的又一具体实现过程为如果当前显示的是短 信或邮件, 则查询被解析的短信应用或邮件应用对应的数据库或临时存储 单元, 可以直接获取到短信内容或邮件内容。 如果当前显示的是网页, 则 可以从该网页的源文件中提取出字符信息和 /或文字信息, 也可以是后台 自动地复制当前网页显示的字符信息和 /或文字信息。 In the above technical solution, preferably, the method further includes: adding the parsed character information and/or text information to the dynamic vocabulary, updating the dynamic vocabulary; and retrieving the dynamic vocabulary and the system vocabulary according to the input information, Corresponding candidates, where the system vocabulary is used to record the basic words. The introduction of the dynamic thesaurus enables the user to retrieve the candidate information needed by the user when inputting characters and/or words related to the currently displayed content, thereby improving the accuracy of the preference and improving the efficiency of the user inputting information. In step 502, one of the specific implementation processes of parsing the current display content of the terminal is to scan the current display interface of the terminal or screen the current display interface, and save the image as a picture, and perform character information and/or text information recognition on the saved image. The text and images in the display interface can be identified, and finally the parsed character information and/or text can be obtained. Information. Another specific implementation process of parsing the current display content of the terminal is to query the database or the temporary storage unit corresponding to the parsed SMS application or the mail application if the current display is a short message or an email, and the short message content or the email content can be directly obtained. If the webpage is currently displayed, the character information and/or the text information may be extracted from the source file of the webpage, or the character information and/or the text information displayed by the current webpage may be automatically copied in the background.
在上述技术方案中, 优选地, 将从动态词库中检索出的相应信息显示 在候选项的最前端。  In the above technical solution, preferably, the corresponding information retrieved from the dynamic vocabulary is displayed at the forefront of the candidate.
在上述技术方案中, 优选地, 当没有从动态词库中检索到相应信息 时, 显示的候选项为从系统词库中检索到的相应信息。  In the above technical solution, preferably, when the corresponding information is not retrieved from the dynamic vocabulary, the displayed candidate is the corresponding information retrieved from the system vocabulary.
在上述技术方案中, 优选地, 还可以包括: 定期清空动态词库中的字 符信息和 /或文字信息或当动态词库容量超出预设容量时, 将当前解析出 的字符信息和 /或文字信息覆盖最早添加至动态词库的字符信息和 /或文字 信息。  In the above technical solution, preferably, the method further includes: periodically clearing character information and/or text information in the dynamic vocabulary or, when the dynamic vocabulary capacity exceeds a preset capacity, the currently parsed character information and/or text. The information covers the character information and/or text information that was first added to the dynamic lexicon.
在上述技术方案中, 优选地, 还可以包括: 监控终端中的应用程序, 当检测到设定的应用程序启动时, 对终端运行应用程序时所显示的内容进 行解析。 终端中有多种应用程序, 并不是对所有的应用程序运行时显示的 内容进行解析, 例如只有在短信、 邮件、 浏览器等应用程序运行时, 才对 所显示的内容进行解析, 对游戏等应用程序运行时所显示的内容则无需进 行解析, 这样, 可以减小处理器的负担。  In the above technical solution, preferably, the method further includes: monitoring an application in the terminal, and when detecting that the set application is started, parsing the content displayed when the terminal runs the application. There are a variety of applications in the terminal, not all the content displayed when the application is running, for example, only when the application such as SMS, mail, browser, etc. is running, the displayed content is parsed, the game, etc. The content displayed when the application is running does not need to be parsed, which reduces the burden on the processor.
在上述技术方案中, 优选地, 设定的应用程序可以包括短信、 邮件和 /或浏览器。  In the above technical solution, preferably, the set application may include a short message, a mail, and/or a browser.
根据本发明的输入方法, 通过将解析终端当前显示内容得到字符信息 和 /或文字信息, 加入动态词库的方式, 使得当输入信息时, 可以检索该 动态词库, 显示用户需要的候选项, 从而使输入法可以根据实际情况调整 候选项, 提高输入法首选词的准确率。  According to the input method of the present invention, by adding the character information and/or the text information to the current display content of the terminal, the dynamic vocabulary is added, so that when the information is input, the dynamic vocabulary can be retrieved to display the candidate candidates. Therefore, the input method can adjust the candidate according to the actual situation, and improve the accuracy of the preferred word of the input method.
下面继续结合图 6和图 7来说明根据本发明的又一实施例, 便于对本 发明的进一步理解。  Further embodiments of the present invention will be further described in conjunction with FIGS. 6 and 7 to facilitate a further understanding of the present invention.
随着智能手机的发展, 用户可以通过手机浏览网页, 收发邮件, 那么 就会增加输入信息的频率, 例如当用户浏览图 6所示的新闻时, 会对该新 闻进行评论。 而当用户浏览该新闻时, 终端输入系统 (例如图 2所示的输 入系统) 将自动扫描图 6所示的内容(包括图片、 文本信息) , 解析出字 符信息 (例如, 字母、 数字、 符号等) 和 /或文字信息 ( 中文、 日文 等) , 并将解析出的字符信息和 /或文字信息自动添加进动态词库中。 在 该实施例中, 解析出的信息有标题信息 (新闻中心、 发改委认可联合利华 涨价) 和正文信息 (发改委有关人士等) 。 其中, 解析终端当前显示内容 的具体实现过程之一为扫描终端当前显示界面或对当前显示界面进行截 屏, 并保存为图片, 对保存的图片进行字符信息和 /或文字信息的识别, 对显示界面中的文字和图片都可以进行识别, 最终得到解析出的字符信息 和 /或文字信息。 解析终端当前显示内容的又一具体实现过程为如果当前 显示的是短信或邮件, 则查询被解析的短信应用或邮件应用对应的数据库 或临时存储单元, 可以直接获取到短信内容或邮件内容。 如果当前显示的 是网页, 则可以从该网页的源文件中提取出字符信息和 /或文字信息, 也 可以是后台自动地复制当前网页显示的字符信息和 /或文字信息。 With the development of smart phones, users can browse the web and send and receive emails through their mobile phones, which will increase the frequency of inputting information. For example, when users browse the news shown in Figure 6, they will Smell for comment. When the user browses the news, the terminal input system (such as the input system shown in FIG. 2) will automatically scan the content (including pictures, text information) shown in FIG. 6 and parse out the character information (for example, letters, numbers, symbols). Etc.) and/or text information (Chinese, Japanese, etc.), and automatically add the parsed character information and/or text information to the dynamic lexicon. In this embodiment, the parsed information has title information (news center, NDRC approved Unilever price increase) and text information (relevant persons of the NDRC, etc.). The specific implementation process of parsing the current display content of the terminal is to scan the current display interface of the terminal or screen the current display interface, and save the image as a picture, and perform character information and/or text information recognition on the saved image, and display interface Both the text and the image can be identified, and finally the parsed character information and/or text information is obtained. Another specific implementation process of parsing the current display content of the terminal is to query the database or the temporary storage unit corresponding to the parsed SMS application or the mail application if the current display is a short message or an email, and the short message content or the email content can be directly obtained. If the webpage is currently displayed, the character information and/or the text information may be extracted from the source file of the webpage, or the character information and/or the text information displayed by the current webpage may be automatically copied in the background.
当用户输入信息时, 根据输入信息首先检索该动态词库, 然后检索系 统词库 (用于记录基础字词及其索引关系) , 将从动态词库中检索出的相 应信息显示在候选项的前端, 如果没有从动态词库中检索出相应信息则将 从系统词库检索出的相应信息作为候选项。 如图 7 所示, 当用户输入 When the user inputs the information, the dynamic vocabulary is first retrieved according to the input information, and then the system vocabulary (for recording the basic words and their index relationships) is retrieved, and the corresponding information retrieved from the dynamic lexicon is displayed in the candidate. The front end, if the corresponding information is not retrieved from the dynamic lexicon, the corresponding information retrieved from the system vocabulary is used as a candidate. As shown in Figure 7, when the user enters
"发" 字时, 将从动态词库检索出的 "改委" 显示在候选项的最前端, 从 系统词库中检索出的其他相应信息显示在候选项的后端, 提高了首选词的 准确率, 减少了用户选择候选词的时间。 这样, 当用户对图 6所示的新闻 进行评论时, 可以快速完成信息的输入。 When the word "sends" is displayed, the "reformed committee" retrieved from the dynamic lexicon is displayed at the forefront of the candidate, and other corresponding information retrieved from the system vocabulary is displayed at the back end of the candidate, improving the preferred word. Accuracy, reducing the time for users to select candidate words. Thus, when the user comments on the news shown in Fig. 6, the input of the information can be completed quickly.
当终端显示内容中有人名、 地点或网络词汇, 特别是一些不常见的词 汇时, 根据本发明的输入法可以灵活地检索出用户所需的候选信息, 显示 在输入界面。 例如用户浏览标题为 "家九坞考察汇报" 的邮件, "家九 坞" 是个地名, 并且是不常见的地名, 当对该邮件进行回复时, 输入 When the terminal displays a person's name, a place or a network vocabulary in the content, especially some uncommon vocabulary, the input method according to the present invention can flexibly retrieve the candidate information required by the user and display it on the input interface. For example, the user browses the email titled "Jiajiwuwu Investigation Report", "Home Jiuwu" is a place name, and is an uncommon place name. When replying to the mail, enter
"家" 字, 那么根据本发明的输入法可以从动态词库中检索出 "九坞" , 并将 "九坞" 作为首选词, 因为, 动态词库中已经收录了解析该邮件的内 容得到的文字信息和 /或字符信息。 因此, 根据本发明的输入法可以根据 实际情况对候选项进行调整, 而并不是将与输入信息搭配频率较高的词作 为首选词。 The word "home", then the input method according to the present invention can retrieve "nine docks" from the dynamic lexicon, and use "nine docks" as the preferred word, because the content of the mail is already included in the dynamic lexicon. Text message and / or character information. Therefore, the input method according to the present invention can be based on The actual situation adjusts the candidates, instead of using words with a higher frequency of input information as the preferred word.
又例如用户在浏览关于 "动车 D305 事故" 的博客时, 终端将解析该 博客内容得到的字符信息和 /或文字信息, 更新至动态词库中, 用户对该 博客进行评论, 当输入 "D" 时, 根据该输入信息 "D" , 可以从该动态 词库中检索出 "305" , 并将 "305" 作为候选项的首选项, 提高了首先项 的准确率, 减少了用户挑选候选项的时间。  For example, when the user browses the blog about "Motorbus D305 Accident", the terminal parses the character information and/or text information obtained by the blog content, and updates the content to the dynamic vocabulary, and the user comments on the blog, when inputting "D" According to the input information "D", "305" can be retrieved from the dynamic vocabulary, and "305" is used as a candidate for the candidate, which improves the accuracy of the first item and reduces the user's selection candidate. time.
另外, 可以为该动态词库设置的预定容量, 当有新解析出的信息需要 添加进动态词库, 且预设容量不足时, 可以将新解析出的信息, 覆盖较早 添加进动态词库中的信息, 或者定期清除该动态词库中的信息。  In addition, the predetermined capacity that can be set for the dynamic vocabulary, when newly parsed information needs to be added to the dynamic vocabulary, and the preset capacity is insufficient, the newly parsed information can be added to the dynamic vocabulary earlier. Information in, or periodically clear the information in the dynamic lexicon.
在上述各示例中, 需监控终端中的应用程序, 对运行应用程序时显示 的内容进行解析, 例如当运行通讯录时, 可以解析显示的联系人的信息, 将解析得到姓名、 邮箱、 电话号码等添加进动态词库, 当然, 为了减轻处 理器的负担, 只有当设定的某些应用程序启动时, 才对在运行该某些应用 程序时显示的内容进行解析, 设定的某些应用程序可以为邮件、 短信、 浏 览器等需要输入信息的应用程序。  In the above examples, the application in the terminal needs to be monitored, and the content displayed when the application is run is parsed. For example, when the address book is run, the information of the displayed contact can be parsed, and the name, mailbox, and phone number are parsed. Adding to the dynamic thesaurus, of course, in order to reduce the burden on the processor, only when some of the set applications are launched, the content displayed when running the application is parsed, and some applications are set. The program can be an application that requires input of information such as mail, text messages, browsers, and the like.
以上结合附图详细说明了本发明的技术方案, 本发明提出了动态词 库, 该动态词库记录了解析终端当前显示的内容得到的字符信息和 /或文 字信息, 当用户输入信息时, 检索动态词库, 得到可以与该输入信息组合 的相关信息, 将该相关信息显示在候选项的前端, 实现了可以根据实际情 况调整输入法显示的候选项, 大大提高输入法首选项的准确率, 减少了用 户选择候选项的时间, 提高了用户输入信息的效率。  The technical solution of the present invention is described in detail above with reference to the accompanying drawings. The present invention proposes a dynamic vocabulary that records character information and/or text information obtained by parsing the content currently displayed by the terminal. When the user inputs information, the search is performed. The dynamic vocabulary obtains relevant information that can be combined with the input information, and displays the related information at the front end of the candidate, thereby realizing that the candidate of the input method can be adjusted according to actual conditions, thereby greatly improving the accuracy of the input method preference. It reduces the time for users to select candidates and improves the efficiency of user input information.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权 利 要 求 书 Claim
1. 一种词库更新装置, 其特征在于, 包括: A vocabulary updating device, comprising:
解析单元, 对终端当前显示的内容进行解析得到字符信息和 /或文字 信息;  The parsing unit parses the content currently displayed by the terminal to obtain character information and/or text information;
自动更新单元, 将所述解析单元解析出的所述字符信息和 /或所述文 字信息添加至词库, 对所述词库进行更新。  The automatic update unit adds the character information and/or the text information parsed by the parsing unit to the thesaurus, and updates the thesaurus.
2. 根据权利要求 1 所述的词库更新装置, 其特征在于, 所述自动更 新单元还用于定期清空所述词库中的字符信息和 /或文字信息, 或当所述 词库容量超出预设容量时, 将当前解析出的所述字符信息和 /或文字信息 覆盖最早添加至所述词库的字符信息和 /或文字信息。  2. The lexicon update apparatus according to claim 1, wherein the automatic update unit is further configured to periodically clear character information and/or text information in the vocabulary, or when the vocabulary capacity exceeds When the capacity is preset, the currently parsed character information and/or text information is overwritten with the character information and/or text information that is first added to the thesaurus.
3. 根据权利要求 1 或 2所述的词库更新装置, 其特征在于, 所述解 析单元还用于监控所述终端中的应用程序, 当检测到设定的应用程序启动 时, 对所述终端运行所述应用程序时所显示的内容进行解析。  The vocabulary updating device according to claim 1 or 2, wherein the analyzing unit is further configured to monitor an application in the terminal, when detecting that the set application is started, The content displayed when the terminal runs the application is parsed.
4. 一种输入系统, 其特征在于, 包括:  4. An input system, comprising:
解析单元, 对终端当前显示内容进行解析得到字符信息和 /或文字信 息;  The parsing unit parses the current display content of the terminal to obtain character information and/or text information;
显示输出单元, 根据用户的输入信息, 将包含所述解析得到字符信息 和 /或文字信息的相关内容作为候选项并进行优先显示, 输出所述用户选 择的候选项。  The display output unit displays the related content including the parsed character information and/or the text information as a candidate based on the input information of the user, and displays the candidate selected by the user.
5. 根据权利要求 4所述的输入系统, 其特征在于, 还包括: 动态词库, 用于记录解析得到的所述字符信息和 /或文字信息; 系统词库, 用于记录基础字词;  The input system according to claim 4, further comprising: a dynamic vocabulary for recording the parsed character information and/or text information; and a system vocabulary for recording a basic word;
更新单元, 用于将解析得到的所述字符信息和 /或文字信息添加至所 述动态词库; 以及  An updating unit, configured to add the parsed character information and/or text information to the dynamic thesaurus;
信息检索单元, 根据所述输入信息检索所述动态词库和所述系统词 库, 得到相应候选项。  The information retrieval unit retrieves the dynamic vocabulary and the system vocabulary according to the input information to obtain corresponding candidates.
6. 根据权利要求 5 所述的输入系统, 其特征在于, 所述更新单元还 用于定期清空所述动态词库中的字符信息和 /或文字信息或当所述动态词 库容量超出预设容量时, 将当前解析出的所述字符信息和 /或文字信息覆 盖最早添加至所述动态词库的字符信息和 /或文字信息。 The input system according to claim 5, wherein the updating unit is further configured to periodically clear character information and/or text information in the dynamic thesaurus or when the dynamic word When the library capacity exceeds the preset capacity, the currently parsed character information and/or text information is overwritten with the character information and/or text information that is first added to the dynamic vocabulary.
7. 根据权利要求 4 至 6 中任一项所述的输入系统, 其特征在于, 所 述解析单元还用于监控所述终端中的应用程序, 当检测到设定的应用程序 启动时, 对所述终端运行所述应用程序时所显示的内容进行解析。  The input system according to any one of claims 4 to 6, wherein the parsing unit is further configured to monitor an application in the terminal, when detecting that the set application is started, The content displayed when the terminal runs the application is parsed.
8. 一种终端, 其特征在于, 包括如权利要求 4 至 7 中任一项所述的 输入系统。  A terminal characterized by comprising the input system according to any one of claims 4 to 7.
9. 一种输入方法, 其特征在于, 包括:  9. An input method, comprising:
对终端当前显示内容进行解析得到字符信息和 /或文字信息;  Parsing the current display content of the terminal to obtain character information and/or text information;
根据用户的输入信息将包含所述解析得到字符信息和 /或文字信息的 相关内容作为候选项并进行优先显示, 输出所述用户选择的候选项。  The related content including the character information and/or the text information obtained by the analysis is displayed as a candidate based on the input information of the user, and the candidate selected by the user is output.
10. 根据权利要求 9所述的输入方法, 其特征在于, 还包括: 将解析 得到的所述字符信息和 /或文字信息添加至动态词库, 对所述动态词库进 行更新;  The input method according to claim 9, further comprising: adding the parsed character information and/or text information to a dynamic vocabulary, and updating the dynamic vocabulary;
根据所述输入信息检索所述动态词库和系统词库, 得到相应的候选 项, 其中, 所述系统词库用于记录基础字词。  Retrieving the dynamic vocabulary and the system vocabulary according to the input information to obtain corresponding candidates, wherein the system vocabulary is used to record the basic words.
11. 根据权利要求 10 所述的输入方法, 其特征在于, 还包括: 定期 清空所述动态词库中的字符信息和 /或文字信息或当所述动态词库容量超 出预设容量时, 将当前解析出的所述字符信息和 /或文字信息覆盖最早添 加至所述动态词库的字符信息和 /或文字信息。  The input method according to claim 10, further comprising: periodically clearing character information and/or text information in the dynamic vocabulary or when the dynamic vocabulary capacity exceeds a preset capacity, The currently parsed character information and/or text information covers the character information and/or text information that was first added to the dynamic vocabulary.
12. 根据权利要求 9 至 11 中任一项所述的输入方法, 其特征在于, 还包括: 监控所述终端中的应用程序, 当检测到设定的应用程序启动时, 对所述终端运行所述应用程序时所显示的内容进行解析。  The input method according to any one of claims 9 to 11, further comprising: monitoring an application in the terminal, and when detecting that the set application is started, running the terminal The content displayed when the application is parsed.
13. 根据权利要求 12 所述的输入方法, 其特征在于, 所述设定的应 用程序包括短信、 邮件和 /或浏览器。  13. The input method according to claim 12, wherein the set application comprises a short message, a mail, and/or a browser.
PCT/CN2011/079123 2011-08-30 2011-08-30 Dictionary database update device, input system, input method, and terminal WO2013029239A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/079123 WO2013029239A1 (en) 2011-08-30 2011-08-30 Dictionary database update device, input system, input method, and terminal
CN201180070506.4A CN103493047A (en) 2011-08-30 2011-08-30 Dictionary database update device, input system, input method, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/079123 WO2013029239A1 (en) 2011-08-30 2011-08-30 Dictionary database update device, input system, input method, and terminal

Publications (1)

Publication Number Publication Date
WO2013029239A1 true WO2013029239A1 (en) 2013-03-07

Family

ID=47755198

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079123 WO2013029239A1 (en) 2011-08-30 2011-08-30 Dictionary database update device, input system, input method, and terminal

Country Status (2)

Country Link
CN (1) CN103493047A (en)
WO (1) WO2013029239A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760521A (en) * 2016-02-29 2016-07-13 百度在线网络技术(北京)有限公司 Information input method and device
CN106095128A (en) * 2016-06-14 2016-11-09 维沃移动通信有限公司 The character input method of a kind of mobile terminal and mobile terminal
WO2022105754A1 (en) * 2020-11-20 2022-05-27 维沃移动通信有限公司 Character input method and apparatus, and electronic device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850241A (en) * 2015-05-28 2015-08-19 北京奇点机智信息技术有限公司 Mobile terminal and text input method thereof
CN106021527B (en) * 2016-05-24 2019-06-28 努比亚技术有限公司 A kind of data processing method and search server, sync server
CN109254972B (en) * 2018-07-23 2022-09-13 上海法本信息技术有限公司 Offline command word bank updating method, terminal and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840418A (en) * 2010-03-31 2010-09-22 北京搜狗科技发展有限公司 User word library synchronous update method, update server and input method system
CN101847159A (en) * 2010-05-11 2010-09-29 中兴通讯股份有限公司 Terminal equipment and method for updating word stock thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7506254B2 (en) * 2005-04-21 2009-03-17 Google Inc. Predictive conversion of user input
CN101334774B (en) * 2007-06-29 2013-08-14 北京搜狗科技发展有限公司 Character input method and input method system
CN101727196B (en) * 2008-10-20 2011-11-09 普天信息技术研究院有限公司 Character input method with self-learning function
CN102053974B (en) * 2009-11-03 2013-01-02 新浪网技术(中国)有限公司 Chinese character input method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840418A (en) * 2010-03-31 2010-09-22 北京搜狗科技发展有限公司 User word library synchronous update method, update server and input method system
CN101847159A (en) * 2010-05-11 2010-09-29 中兴通讯股份有限公司 Terminal equipment and method for updating word stock thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760521A (en) * 2016-02-29 2016-07-13 百度在线网络技术(北京)有限公司 Information input method and device
CN106095128A (en) * 2016-06-14 2016-11-09 维沃移动通信有限公司 The character input method of a kind of mobile terminal and mobile terminal
WO2022105754A1 (en) * 2020-11-20 2022-05-27 维沃移动通信有限公司 Character input method and apparatus, and electronic device

Also Published As

Publication number Publication date
CN103493047A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
US10990623B2 (en) Information retrieval method, eletronic device and storage medium
US20170228428A1 (en) Systems and Methods for Filtering Application Search Results
US10878044B2 (en) System and method for providing content recommendation service
TWI519979B (en) Information recommendation method and device thereof and information resource recommendation system
US20170154119A1 (en) Application Search System and Method for Programmatically Adapting Search Results According to Partner-Specified Settings
US20120066379A1 (en) Method and system for notifying network resource updates
CN106095453B (en) Information display method and device and electronic equipment
KR20130115985A (en) Providing content items selected based on context
WO2013029239A1 (en) Dictionary database update device, input system, input method, and terminal
CN105740263B (en) Page display method and device
US20110066639A1 (en) Local search method for handset
CN107515870B (en) Searching method and device and searching device
CN107515869B (en) Searching method and device and searching device
CN111078986A (en) Data retrieval method, device and computer readable storage medium
US10528645B2 (en) Content search using visual styles
CN106558311B (en) Voice content prompting method and device
JP5695966B2 (en) Interest estimation apparatus, method and program
WO2016127625A1 (en) Address filtering method and device
US20230297618A1 (en) Information display method and electronic apparatus
CN107239462B (en) Searching method and device and browser
US20170032051A1 (en) Method and Apparatus for Generating a Web Page
CN110020335B (en) Favorite processing method and device
JP4581402B2 (en) Post receiving server, post support method, and program thereof
CN105653058B (en) The creation of input method dictionary and loading method, device, terminal and server
US8914468B2 (en) System and method for providing access links in a media folder

Legal Events

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

Ref document number: 11871419

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11871419

Country of ref document: EP

Kind code of ref document: A1