TWI547833B - Character display method and device for character selection in character input process - Google Patents

Character display method and device for character selection in character input process Download PDF

Info

Publication number
TWI547833B
TWI547833B TW099115484A TW99115484A TWI547833B TW I547833 B TWI547833 B TW I547833B TW 099115484 A TW099115484 A TW 099115484A TW 99115484 A TW99115484 A TW 99115484A TW I547833 B TWI547833 B TW I547833B
Authority
TW
Taiwan
Prior art keywords
character
area
input
candidate
characters
Prior art date
Application number
TW099115484A
Other languages
Chinese (zh)
Other versions
TW201140379A (en
Inventor
jia-chao Hu
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to TW099115484A priority Critical patent/TWI547833B/en
Publication of TW201140379A publication Critical patent/TW201140379A/en
Application granted granted Critical
Publication of TWI547833B publication Critical patent/TWI547833B/en

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Description

字元輸入過程中的待選字元顯示方法及裝置Method and device for displaying character to be selected in character input process

本發明涉及電腦技術領域,尤指一種字元輸入過程中的待選字元顯示方法及裝置。The invention relates to the technical field of computers, in particular to a method and a device for displaying characters to be selected in a character input process.

目前常用的輸入法,在字元輸入過程中,其待選字元一般豎直排列在縱向待選區域中或水平排列在橫向待選區域中。例如:常用的智慧ABC輸入法就是將待選字元依次縱向排列在一個豎直的長方形的方框區域中,而常用的拼音輸入法則是將待選字元依次橫向排列在一個水平的長方形的方框區域中,等等。At present, the commonly used input method, in the character input process, the characters to be selected are generally vertically arranged in the longitudinal candidate area or horizontally arranged in the horizontal candidate area. For example, the commonly used wisdom ABC input method is to arrange the characters to be selected vertically in a vertical rectangular box area, and the commonly used pinyin input method is to arrange the characters to be horizontally arranged in a horizontal rectangle. In the box area, and so on.

如圖1所示,即為在智慧ABC輸入法中顯示待選字元的縱向待選區域的一個示意圖,在輸入拼音後,用戶在輸入過程中已選擇的字元顯示在左邊上方的方框區域中,正在輸入且待選擇的字元縱向排列並顯示在右邊的豎著的長方形的方框區域中。如圖1中所示,輸入拼音“pin”之後,右側的字元待選區域中縱向顯示的有“1:品,2:貧,3:聘,4:拼,5:頻,6:姘,7:嬪,8:榀,9:牝”等若干待選字元。當然可以藉由翻頁的形式獲取下一組待選字元。被選中的字元進入左邊上方的方框區域中顯示,則本次輸入完成後,用戶成功輸入這些被選中的字元。As shown in FIG. 1 , it is a schematic diagram of displaying a vertical candidate area of a character to be selected in the smart ABC input method. After inputting pinyin, the character selected by the user during the input process is displayed in the upper left box. In the area, the characters being input and to be selected are arranged vertically and displayed in the box area of the vertical rectangle on the right. As shown in Figure 1, after inputting the pinyin "pin", the vertical display of the character in the candidate area on the right side has "1: product, 2: poor, 3: hire, 4: spell, 5: frequency, 6: 姘, 7: 嫔, 8: 榀, 9: 牝" and a number of characters to be selected. Of course, the next set of characters to be selected can be obtained by turning pages. The selected character is displayed in the box area on the upper left side, and the user successfully inputs the selected characters after the input is completed.

如圖2所示,即為拼音輸入法中顯示待選字元的橫向待選區域的一個示意圖,在輸入拼音後,用戶在輸入過程中輸入的拼音,顯示在上方的長方形區域中,待選擇的字元橫向排列在下邊的長方形方框區域中。如圖2中所示,輸入拼音“qianjin”之後,下方的字元待選區域中橫向顯示的有“1:前進,2:千金,3:千斤,4:錢進,5:前襟”等若干待選字元。當然可以藉由翻頁的形式獲取下一組待選字元。用戶使用數位鍵盤選擇所需的字元,則本次輸入完成後,用戶成功輸入被選中的字元。As shown in FIG. 2, it is a schematic diagram of a horizontal candidate area for displaying a character to be selected in the Pinyin input method. After inputting pinyin, the pinyin input by the user during the input process is displayed in the rectangular area above, to be selected. The characters are arranged horizontally in the rectangular box area below. As shown in Fig. 2, after inputting the pinyin "qianjin", the horizontally displayed characters in the lower character area to be selected are "1: forward, 2: Qianjin, 3: kilogram, 4: Qianjin, 5: front 襟", etc. The character to be selected. Of course, the next set of characters to be selected can be obtained by turning pages. The user selects the desired character using the digital keyboard, and after the input is completed, the user successfully inputs the selected character.

上述將待選字元排列在縱向待選區域中或橫向待選區域中的方式,由於人眼橫向移動的速度比縱向快,因此橫向待選區域相對於縱向待選區域的搜索和選擇速度快一些。但無論是橫向待選區域還是縱向待選區域,在進行字元選擇時,由於待選字元的排列區域比較狹長,在選擇時需要從待選區域的一端向另一端逐一掃視各個待選字元,且眼球移動需要一定的時間,因此導致搜索和選擇的時間比較長,不利於用戶快速選擇所需的字元,由於字元選擇花費的時間比較長,導致字元選擇的速度和效率都比較低;且增加了字元選擇的難度,容易造成視覺疲勞。In the above manner of arranging the characters to be selected in the longitudinal candidate area or the horizontal candidate area, since the lateral movement of the human eye is faster than the vertical direction, the search and selection speed of the horizontal candidate area relative to the longitudinal candidate area is fast. some. However, whether it is a horizontal candidate area or a vertical candidate area, when character selection is performed, since the arrangement area of the selected character is relatively narrow, it is necessary to scan each candidate word one by one from one end of the candidate area to the other end during selection. Yuan, and the movement of the eyeball takes a certain time, so the search and selection time is relatively long, which is not conducive to the user to quickly select the desired character. Because the character selection takes a long time, the speed and efficiency of the character selection are both It is relatively low; and it increases the difficulty of character selection, which is easy to cause visual fatigue.

本發明實施例提供一種字元輸入過程中的待選字元顯示方法及裝置,用以提高字元輸入過程中選擇待選字元的速度和效率。Embodiments of the present invention provide a method and apparatus for displaying a character to be selected in a character input process, which are used to improve the speed and efficiency of selecting a character to be selected in a character input process.

一種字元輸入過程中的待選字元顯示方法,包括:獲取用戶輸入的原始字元,確定用戶輸入的所述原始字元所在的輸入區域;以及確定與用戶輸入的所述原始字元對應的待選字元;根據所述輸入區域,確定以所述輸入區域為中心的人眼的最佳視角範圍,在所述最佳視角範圍內,確定用於顯示所述待選字元的字元待選區域;在所述字元待選區域中顯示所述待選字元。A method for displaying a character to be selected in a character input process, comprising: acquiring an original character input by a user, determining an input area where the original character input by the user is located; and determining to correspond to the original character input by the user a candidate character to be selected; determining, according to the input region, an optimal viewing angle range of a human eye centered on the input region, and determining a word for displaying the candidate character within the optimal viewing angle range a candidate area to be selected; the candidate character is displayed in the character candidate area.

一種字元輸入過程中的待選字元顯示裝置,包括:獲取確定模組,用於獲取用戶輸入的原始字元,確定用戶輸入的所述原始字元所在的輸入區域;字元確定模組,用於確定與用戶輸入的所述原始字元對應的待選字元;區域確定模組,用於根據所述輸入區域,確定以所述輸入區域為中心的人眼的最佳視角範圍,在所述最佳視角範圍內,確定用於顯示所述待選字元的字元待選區域;字元顯示模組,用於在所述字元待選區域中顯示所述待選字元。A character display device to be selected in a character input process, comprising: an acquisition determining module, configured to acquire an original character input by a user, and determine an input area where the original character input by the user is located; a character determining module And a region determining module, configured to determine, according to the input region, an optimal viewing angle range of a human eye centered on the input region, Determining, in the optimal viewing angle range, a character candidate area for displaying the candidate character; a character display module, configured to display the candidate character in the character candidate area .

本發明實施例提供的字元輸入過程中的待選字元顯示方法及裝置,藉由獲取用戶輸入的原始字元,確定用戶輸入的所述原始字元所在的輸入區域;以及確定與用戶輸入的所述原始字元對應的待選字元;根據所述輸入區域,確定以所述輸入區域為中心的人眼的最佳視角範圍,在所述最佳視角範圍內,確定用於顯示所述待選字元的字元待選區域;在所述字元待選區域中顯示所述待選字元供用戶選擇。該方法將待選字元盡可能的排列在人眼的最佳視角範圍內,減少選擇字元時的移動距離,降低眼球的運動頻率,提高了字元選擇的速度和效率,從而提高了字元輸入的速度和效率。The method and device for displaying a character to be selected in the character input process provided by the embodiment of the present invention, by acquiring the original character input by the user, determining an input area where the original character input by the user is located; and determining and inputting the user The selected character corresponding to the original character; determining an optimal viewing angle range of the human eye centered on the input area according to the input area, and determining, for the display area, the display area The character candidate area of the selected character is described; the candidate character is displayed in the character candidate area for selection by the user. The method arranges the characters to be selected as much as possible within the optimal viewing angle of the human eye, reduces the moving distance when selecting characters, reduces the moving frequency of the eyeball, improves the speed and efficiency of character selection, and thus improves the word. The speed and efficiency of the meta input.

本發明實施例提供的字元輸入過程中的待選字元顯示方法,根據人眼的特性,將待選字元顯示在一個更適合人眼識別和挑選的區域中,以提高字元選擇的速度和效率。The method for displaying a character to be selected in the character input process provided by the embodiment of the present invention displays the character to be selected in an area more suitable for human eye recognition and selection according to the characteristics of the human eye, so as to improve character selection. Speed and efficiency.

該方法的流程如圖3所示,執行步驟如下:步驟S101:獲取用戶輸入的原始字元,確定用戶輸入的原始字元所在的輸入區域。The flow of the method is as shown in FIG. 3. The steps are as follows: Step S101: Acquire the original character input by the user, and determine the input area where the original character input by the user is located.

用戶可以藉由鍵盤等外部設備輸入原始字元,當獲取到用戶輸入的原始字元後,對該原始字元的顯示區域(即原始字元所在的輸入區域)進行定位,可以採用現有的各種顯示定位技術對輸入區域進行定位,確定輸入區域的位置參數。The user can input the original character by using an external device such as a keyboard. After the original character input by the user is obtained, the display area of the original character (ie, the input area where the original character is located) is located, and various existing types can be used. The display positioning technique locates the input area and determines the positional parameters of the input area.

較佳的,輸入區域的位置參數可以包括輸入區域的中心位置和輸入區域的範圍參數。例如:輸入區域的位置參數為輸入區域的中心點座標和輸入區域的半徑,或輸入區域的中心點座標和輸入區域的邊界資訊。Preferably, the positional parameter of the input area may include a central position of the input area and a range parameter of the input area. For example, the position parameter of the input area is the center point coordinates of the input area and the radius of the input area, or the boundary information of the center point coordinates of the input area and the input area.

如圖4所示為本發明中輸入顯示介面上字元待選區域的一個示例圖,其中用戶輸入的原始字元“pin”的顯示區域即為輸入區域。FIG. 4 is a diagram showing an example of a character candidate area on the input display interface in the present invention, wherein the display area of the original character "pin" input by the user is the input area.

步驟S102:確定與用戶輸入的原始字元對應的待選字元。Step S102: Determine a candidate character corresponding to the original character input by the user.

根據用戶輸入的原始字元,查找字元資料庫,根據儲存的輸入字元與待選字元的對應關係,確定與輸入的原始字元對應的若干待選字元。According to the original character input by the user, the character database is searched, and according to the corresponding relationship between the stored input character and the selected character, a plurality of candidate characters corresponding to the input original character are determined.

沿用上邊的例子,當輸入原始字元“pin”時,據此查找字元資料庫,確定與該原始字元對應的待選字元包括:品、拼、頻、貧、聘、嬪、顰、姘、榀、牝、拚等等。Following the example above, when the original character "pin" is input, the character database is searched accordingly, and the candidate characters corresponding to the original character are determined to include: product, spell, frequency, poor, hire, 嫔, 颦, 姘, 榀, 牝, spell, etc.

又例如:若輸入原始字元“pinyin”據此查找字元資料庫,確定出與該原始字元對應的待選字元則可能包括:拼音、品、拼、頻、貧、聘、嬪、顰、姘、榀、牝、拚等等。For another example, if the original character "pinyin" is input to find the character database according to this, it is determined that the candidate character corresponding to the original character may include: pinyin, product, spell, frequency, poor, hire, 嫔,颦, 姘, 榀, 牝, spell, etc.

步驟S103:根據確定出的輸入區域和以該輸入區域為中心的人眼的最佳視角範圍,確定用於顯示待選字元的字元待選區域。Step S103: Determine a character candidate area for displaying the character to be selected according to the determined input area and the optimal viewing angle range of the human eye centered on the input area.

由於人眼的清晰視線範圍在以視點區域為中心的水平視角35度和豎直視角20度範圍內。這樣就形成了一個倒金字塔形狀的空間,在這個空間內的光線都會投射到視網膜上,並傳輸到大腦中。即在這個空間內顯示的東西不需要人眼移動掃視,既可一次性投射到視網膜上。這個清晰的視線範圍可以稱為人眼的視角範圍。但是在這個視角範圍內,也只有靠近視點區域的中心區域的一小部分空間可以準確的進行文字識別,這個範圍即為最佳視角範圍。Since the clear line of sight of the human eye is in the range of 35 degrees from the horizontal angle of view and 20 degrees from the vertical angle of view centered on the viewpoint area. This creates an inverted pyramid-shaped space in which light is projected onto the retina and transmitted to the brain. That is, what is displayed in this space does not require the human eye to move the glance, and can be projected onto the retina at one time. This clear line of sight can be called the range of angles of view of the human eye. However, within this range of view, only a small portion of the space near the central area of the viewpoint area can accurately recognize the text, and this range is the optimal range of viewing angles.

因此,根據人眼的最佳視角範圍,在確定出輸入區域之後,確定以輸入區域為中心的人眼的最佳視角範圍,並在最佳視角範圍內,確定用於顯示所述待選字元的字元待選區域。具體可以根據輸入區域的位置資訊,在最佳視角範圍內確定從輸入區域向外擴展的一個環形區域為顯示待選字元的字元待選區域,將待選字元排列在該環形區域中。Therefore, according to the optimal viewing angle range of the human eye, after determining the input region, determining an optimal viewing angle range of the human eye centered on the input region, and determining the candidate word for display in the optimal viewing angle range The character of the meta-character to be selected. Specifically, according to the location information of the input area, determining, in an optimal viewing angle range, an annular area extending outward from the input area is a character candidate area for displaying a character to be selected, and the candidate characters are arranged in the annular area. .

其中,確定字元待選區域時,從輸入區域向外擴展的範圍大小,可以根據選定的擴展值確定。該擴展值可以直接設定,較佳的,也可以根據待顯示的待選字元的設定顯示字型大小確定擴展值,以使字元待選區域與所顯示的字元的大小相匹配。Wherein, when determining the character candidate area, the extent of the range extending outward from the input area may be determined according to the selected extension value. The extended value may be directly set. Preferably, the extended value may be determined according to the setting of the font size of the to-be-selected character to be displayed, so that the character candidate area matches the size of the displayed character.

用戶輸入時,注意力集中在輸入區域,輸入完成後視線轉向字元待選區域,上述環形發散狀的字元待選區域,相對於現有的字元待選的顯示形式,上述方式使得在獲取待選字元時,眼球在字元待選區域中、以及在輸入區域和字元待選區域之間移動的距離都是最小的,可以儘快的掃視完所有的待選字元,從而有效降低眼球運動的頻率,降低眼疲勞,提高字元選擇的速度。When the user inputs, the attention is concentrated on the input area. After the input is completed, the line of sight turns to the character to be selected area, and the above-mentioned circular divergent character candidate area is compared with the display form of the existing character to be selected. When the character is to be selected, the distance between the eyeball in the character candidate area and the input area and the character candidate area is the smallest, and all the candidate characters can be scanned as soon as possible, thereby effectively reducing The frequency of eye movements reduces eye strain and improves the speed of character selection.

例如圖4所示,確定出的橢圓形的字元待選區域為圍繞輸入的原始字元“pin”所在的輸入區域的一個環形區域。For example, as shown in FIG. 4, the determined elliptical character candidate area is an annular area surrounding the input area where the input original character "pin" is located.

上述步驟S102和步驟S103不分先後,可以同時執行。The above steps S102 and S103 are performed in sequence, and can be performed simultaneously.

步驟S104:按照設定的字元排列規則,在字元待選區域中顯示待選字元供用戶選擇。Step S104: Display the to-be-selected characters in the character candidate area for the user to select according to the set character arrangement rule.

確定出待選字元和字元待選區域後,可以根據字元待選區域可顯示的字元數量和待選字元的數量,確定如何在字元待選區域中顯示待選字元,具體包括:首先,比較字元待選區域可顯示的字元數量和待選字元的數量的大小。After determining the to-be-selected character and the character candidate area, the number of characters that can be displayed in the character candidate area and the number of characters to be selected are determined, and how to display the candidate character in the character candidate area is determined. Specifically, the method includes: first, comparing the number of characters that can be displayed in the character candidate area and the size of the number of characters to be selected.

當確定出的待選字元的數量不大於字元待選區域可顯示的字元數量時,按照選定的字元顯示順序,直接顯示確定出的所有的待選字元供用戶選擇。When the determined number of characters to be selected is not greater than the number of characters that can be displayed in the character candidate area, all the selected characters to be selected are directly displayed in the selected character display order for the user to select.

當確定出的待選字元的數量大於字元待選區域可顯示的數量時,根據字元待選區域可顯示的字元數量,按照選定的字元顯示順序分頁顯示待選字元供用戶選擇。When the determined number of characters to be selected is greater than the number of characters to be displayed in the character candidate area, according to the number of characters that can be displayed in the character candidate area, the selected characters are displayed in a page according to the selected character display order. select.

其中,字元顯示順序可以隨機的選擇確定。較佳的,根據確定出的待選字元的使用頻率確定待選字元的顯示優先順序,根據顯示優先順序從高到低的順序顯示待選字元。當需要分頁顯示時,根據待選區域可顯示的字元數量和用戶輸入的翻頁指令,順次顯示所有的待選字元。Among them, the character display order can be determined by random selection. Preferably, the display priority order of the to-be-selected characters is determined according to the determined frequency of use of the selected characters, and the to-be-selected characters are displayed in descending order according to the display priority order. When the page display is required, all the characters to be selected are sequentially displayed according to the number of characters that can be displayed in the candidate area and the page turning instruction input by the user.

即首先在字元待選區域顯示優先順序高的設定數量的待選字元;以及根據用戶指令按照優先順序的高低順次顯示其他優先順序低的待選字元。一般當用戶輸入翻頁指令時,在字元待選區域中顯示低於上一次顯示的優先順序的設定數量的字元。That is, first, a set number of candidate characters with a high priority order is displayed in the character candidate area; and other candidate characters with low priority order are sequentially displayed according to the priority of the user instruction. Generally, when the user inputs a page turning instruction, a set number of characters lower than the last displayed priority order is displayed in the character candidate area.

例如:圖5所示即為在確定出的橢圓形的字元待選區域中顯示待選字元的一個顯示效果示例,圖5中顯示環形排列的待選字元,依次為“1:品,2:拼,3:頻,4:貧,5:聘,6:嬪,7:顰,8:姘”。For example, FIG. 5 shows an example of display effect of displaying a character to be selected in a determined elliptical character candidate area, and FIG. 5 shows a ring-shaped candidate character to be selected, which is “1: , 2: spell, 3: frequency, 4: poor, 5: hire, 6: 嫔, 7: 颦, 8: 姘".

又例如:圖6所示是在確定出的橢圓形的字元待選區域中顯示待選字元的另一個顯示效果示例,圖6中顯示環形排列的待選字元,依次為“1:拼音、2:品、3:拼、4:頻、5:貧、6:聘、7:嬪、8:顰”。由於圖6中所示的顯示效果的輸入區域相對於圖5而言比較狹長,其排列待選字元的環形區域的形狀也與圖5中的環形區域的形狀也有所不同。For another example, FIG. 6 shows another display effect example of displaying a character to be selected in a determined elliptical character candidate area, and FIG. 6 shows a ring-shaped candidate character to be selected, which is “1: Pinyin, 2: goods, 3: spell, 4: frequency, 5: poor, 6: hire, 7: 嫔, 8: 颦". Since the input area of the display effect shown in FIG. 6 is relatively narrow with respect to FIG. 5, the shape of the annular area in which the characters to be selected are arranged is also different from the shape of the annular area in FIG.

上述方法中,在字元待選區域中排列待選字元時,盡可能的以靠近輸入區域中的字元輸入點的位置作為排列字元的起點,方便用戶優先看到優先順序最高的顯示字元。且可以藉由不同的色調突出優先順序高、匹配度好的字元。例如:前幾項採用暖色調,後幾項採用冷色調等等。In the above method, when the characters to be selected are arranged in the character candidate area, the position of the character input point close to the input area is used as the starting point of the character arrangement as much as possible, so that the user can preferentially see the display with the highest priority. Character. It is also possible to highlight characters with high priority and good matching by different hues. For example: the first few are in warm tones, the last are in cool tones, and so on.

上述步驟S103中人眼的最佳視角範圍一般因人而異,和人的視覺角度、瞳孔距離等因素相關,在本發明中,對於人眼的最佳視角範圍可以根據經驗值或統計值確定,例如可以認為以輸入區域為中心的水平視角和豎直視角10°範圍內的為最佳視角範圍,該範圍內為視力敏銳區,即中心視野,對圖像的顏色及細節部分的分辨能力最強。The optimal viewing angle range of the human eye in the above step S103 is generally different from person to person, and is related to factors such as a human visual angle and a pupil distance. In the present invention, the optimal viewing angle range for the human eye can be determined according to empirical values or statistical values. For example, it can be considered that the horizontal viewing angle centered on the input region and the vertical viewing angle within the range of 10° are the optimal viewing angle range, and the range is the visual acuity region, that is, the central visual field, and the resolution of the color and detail portion of the image. The strongest.

則根據最佳視角範圍確定字元待選區域時,則可以根據最佳視角範圍和人眼具體字元顯示螢幕的距離來確定。由於不同的設備、不同的人在識別字元時,人眼與顯示螢幕的距離不同,因此可以針對不同的設備採用不同的設定距離,來計算得到字元待選區域。Then, when the character candidate area is determined according to the optimal viewing angle range, the distance of the screen can be determined according to the optimal viewing angle range and the specific character of the human eye. Since different devices and different people recognize the characters, the distance between the human eye and the display screen is different, so different set distances can be used for different devices to calculate the character candidate area.

較佳的,也可以設置幾個可選的設定距離,由用戶根據自己的視覺習慣選擇設定距離。然後根據用戶選定的設定距離,計算得到字元待選區域。Preferably, a plurality of selectable set distances may also be set, and the user selects the set distance according to his own visual habits. Then, according to the set distance selected by the user, the character candidate area is calculated.

也就是說,人眼到顯示螢幕的距離為預先設定的距離值或用戶從預先設置的多個距離值中選擇的一個距離值。That is to say, the distance from the human eye to the display screen is a preset distance value or a distance value selected by the user from a plurality of preset distance values.

例如:字元待選區域的擴展值可以根據下列公式計算得到:For example, the extended value of the character candidate area can be calculated according to the following formula:

C=tanA*B;C=tanA*B;

其中,A為最佳視角範圍;Where A is the optimal range of viewing angles;

B為人眼到顯示螢幕的距離;B is the distance from the human eye to the display screen;

C為字元待選區域的據展值。C is the value of the exhibit of the character to be selected.

其中,字元待選區域可以輸入區域為中心,在計算得到的擴展值範圍內向外擴展為外邊界為圓形、橢圓形、方形、長方形等各種形狀的環形區域。The character candidate area can be centered on the input area, and expands to a circular area of various shapes such as a circle, an ellipse, a square, and a rectangle in the range of the calculated extended value.

根據本發明實施例提供的上述字元輸入過程中的待選字元顯示方法,可以構建一種字元輸入過程中的待選字元顯示裝置,如圖7所示,包括:獲取確定模組10、字元確定模組20、區域確定模組30和字元顯示模組40。According to the method for displaying a character to be selected in the character input process provided by the embodiment of the present invention, a device for displaying a character to be selected in the character input process may be constructed. As shown in FIG. 7, the method includes: obtaining the determination module 10 The character determination module 20, the area determination module 30, and the character display module 40.

獲取確定模組10,用於獲取用戶輸入的原始字元,確定用戶輸入的原始字元所在的輸入區域。The obtaining determining module 10 is configured to obtain the original character input by the user, and determine an input area where the original character input by the user is located.

字元確定模組20,用於確定與用戶輸入的原始字元對應的待選字元。The character determining module 20 is configured to determine a candidate character corresponding to the original character input by the user.

區域確定模組30,用於根據獲取確定模組10確定出的輸入區域,確定以該輸入區域為中心的人眼的最佳視角範圍,在人眼的最佳視角範圍內,確定用於顯示字元確定模組20確定出的待選字元的字元待選區域。The area determining module 30 is configured to determine an optimal viewing angle range of the human eye centered on the input area according to the input area determined by the obtaining determining module 10, and determine to be used for displaying in the optimal viewing angle range of the human eye. The character determination module 20 determines the character candidate area of the candidate character to be selected.

較佳的,上述區域確定模組30,具體包括:參數獲取單元301和區域確定單元302。Preferably, the area determining module 30 includes the parameter obtaining unit 301 and the area determining unit 302.

參數獲取單元301,用於獲取獲取確定模組10確定的輸入區域的位置資訊。其中,輸入區域的位置資訊包括:輸入區域的中心點座標和輸入區域的半徑,或輸入區域的中心點座標和邊界資訊。The parameter obtaining unit 301 is configured to acquire location information of the input area determined by the acquisition determining module 10. The location information of the input area includes: a center point coordinate of the input area and a radius of the input area, or a center point coordinate and a boundary information of the input area.

區域確定單元302,用於根據輸入區域的位置資訊,確定以輸入區域為中心的人眼的最佳視角範圍;在最佳視角範圍內,確定從輸入區域向外擴展設定的擴展值的環形區域為顯示待選字元的字元待選區域。The area determining unit 302 is configured to determine, according to the location information of the input area, an optimal viewing angle range of the human eye centered on the input area; and determine, within the optimal viewing angle range, an annular area that expands the set extended value from the input area To display the character candidate area of the character to be selected.

字元顯示模組40,用於按照設定的字元排列規則,在區域確定模組30確定出的字元待選區域中顯示字元確定模組20確定出的待選字元。The character display module 40 is configured to display the selected character determined by the character determining module 20 in the character candidate area determined by the area determining module 30 according to the set character arrangement rule.

較佳的,上述字元顯示模組40,具體包括:比較單元401、第一顯示單元402和第二顯示單元403。Preferably, the character display module 40 includes the comparison unit 401, the first display unit 402, and the second display unit 403.

比較單元401,用於比較字元待選區域可顯示的字元數量和待選字元的數量的大小。The comparing unit 401 is configured to compare the number of characters that can be displayed in the character candidate area and the size of the number of characters to be selected.

第一顯示單元402,用於當確定出的待選字元的數量不大於字元待選區域可顯示的字元數量時,按照選定的字元顯示順序,顯示確定出的所有的待選字元。The first display unit 402 is configured to: when the determined number of characters to be selected is not greater than the number of characters that can be displayed in the character candidate area, display all the selected words according to the selected character display order. yuan.

第二顯示單元403,用於當確定出的待選字元的數量大於字元待選區域可顯示的數量時,根據字元待選區域可顯示的字元數量,按照選定的字元顯示順序分頁顯示待選字元。The second display unit 403 is configured to: when the determined number of characters to be selected is greater than the number of characters to be displayed in the character candidate area, according to the number of characters that can be displayed in the character candidate area, according to the selected character display order The pagination shows the characters to be selected.

較佳的,上述字元顯示模組,進一步還可以包括:優先順序確定單元404,用於根據待選字元的使用頻率確定顯示優先順序,並通知第一顯示單元402或第二顯示單元403;則第一顯示單元402或第二顯示單元403根據待選字元的顯示順序顯示待選字元。Preferably, the character display module further includes: a priority order determining unit 404, configured to determine a display priority order according to a frequency of use of the to-be-selected character, and notify the first display unit 402 or the second display unit 403 Then, the first display unit 402 or the second display unit 403 displays the to-be-selected characters according to the display order of the characters to be selected.

本發明是參照根據本發明實施例的方法、裝置和電腦程式產品的流程圖來描述的。應理解可由電腦程式指令實現流程圖中的每一流程,可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可編程資料處理設備的處理器以產生一個機器,使得藉由電腦或其他可編程資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程中指定的功能的裝置。The present invention has been described with reference to a flowchart of a method, apparatus, and computer program product according to an embodiment of the present invention. It should be understood that each of the flow diagrams can be implemented by computer program instructions that can be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor, or other programmable data processing device to produce a machine. Instructions executed by a processor of a computer or other programmable data processing device generate means for implementing the functions specified in one or more flows of the flowchart.

這些電腦程式指令也可裝載到電腦或其他可編程資料處理設備上,使得在電腦或其他可編程設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可編程設備上執行的指令提供用於實現在流程圖一個流程或多個流程中指定的功能的步驟。These computer program instructions can also be loaded onto a computer or other programmable data processing device to perform a series of operational steps on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more flows of the flowchart.

本發明實施例提供的上述字元輸入過程中的待選字元顯示方法及裝置,根據用戶輸入的原始字元的顯示區域和入眼的最佳視角範圍的大小,確定字元待選區域來顯示待選字元。從而將待選字元盡可能的排列在以原始輸入區域為中心的最佳視角範圍內,以更符合人眼的生理功能,相對於縱向和橫向的字元待選區域,減少了字元選擇時眼球的移動距離和運動頻率,提高了字元選擇的速度和效率。由於在字元輸入過程中,字元選擇是最費精力,也是最花時間的一個環節,因此提高字元選擇的速度,將大大提高字元輸入的速度和效率。The method and device for displaying a character to be selected in the character input process provided by the embodiment of the present invention determine the character candidate area to be displayed according to the display area of the original character input by the user and the optimal viewing angle range of the eye. The character to be selected. Therefore, the characters to be selected are arranged as much as possible within the optimal viewing angle centered on the original input area, so as to better conform to the physiological function of the human eye, and the character selection is reduced with respect to the vertical and horizontal character candidate areas. The moving distance and frequency of movement of the eyeball increase the speed and efficiency of character selection. Since character selection is the most energy-intensive and time-consuming part of the character input process, increasing the speed of character selection will greatly increase the speed and efficiency of character input.

較佳的,還可以藉由選擇靠近輸入區域的輸入點的位置作為待選字元的排列起點以及採用不同的色調區分待選字元,來引導用戶的視線在第一時間向使用頻率高、匹配度好的字元上轉移,使用戶能夠優先捕獲到匹配度最好的字元,從而進一步提高選擇的速度和效率。Preferably, the user's line of sight can be guided to a high frequency in the first time by selecting the position of the input point close to the input area as the starting point of the selected character and distinguishing the selected characters by using different tones. The matching of the characters with good matching enables the user to preferentially capture the characters with the best matching degree, thereby further improving the speed and efficiency of the selection.

以上所述,僅為本發明較佳的具體實施方式,但本發明的保護範圍並不局限於此,任何熟悉本技術領域的技術人員在本發明揭露的技術範圍內,可輕易想到的變化、替換或應用到其他類似的裝置,都應涵蓋在本發明的保護範圍之內。因此,本發明的保護範圍應該以申請專利範圍書的保護範圍為準。The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes within the technical scope disclosed by the present invention. Replacement or application to other similar devices is intended to be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of protection of the scope of the patent application.

10...獲取確定模組10. . . Get deterministic module

20...字元確定模組20. . . Character determination module

30...區域確定模組30. . . Area determination module

40...字元顯示模組40. . . Character display module

301...參數獲取單元301. . . Parameter acquisition unit

302...區域確定單元302. . . Area determination unit

401...比較單元401. . . Comparison unit

402...第一顯示單元402. . . First display unit

403...第二顯示單元403. . . Second display unit

404...優先順序確定單元404. . . Priority determination unit

圖1為現有技術中顯示待選字元的縱向待選區域的示意圖;1 is a schematic diagram showing a vertical candidate area of a character to be selected in the prior art;

圖2為現有技術中顯示待選字元的橫向待選區域的示意圖;2 is a schematic diagram showing a horizontal candidate area of a character to be selected in the prior art;

圖3為本發明實施例中字元輸入過程中的待選字元顯示方法流程圖;3 is a flowchart of a method for displaying a character to be selected in a character input process according to an embodiment of the present invention;

圖4為本發明實施例中輸入顯示介面中字元待選區域的一個示例圖;4 is a diagram showing an example of a character candidate area in an input display interface according to an embodiment of the present invention;

圖5為本發明實施例中字元待選區域字元排列的一個示例圖;FIG. 5 is a diagram showing an example of a character arrangement of a character candidate area in an embodiment of the present invention; FIG.

圖6為本發明實施例中字元待選區域字元排列的另一個示例圖;FIG. 6 is another exemplary diagram of a character arrangement of a character candidate area in an embodiment of the present invention; FIG.

圖7為本發明實施例中字元輸入過程中待選字元顯示裝置的結構示意圖。FIG. 7 is a schematic structural diagram of a character display device to be selected in a character input process according to an embodiment of the present invention.

Claims (12)

一種字元輸入過程中的待選字元顯示方法,其特徵在於,包括:獲取用戶輸入的原始字元,確定用戶輸入的該原始字元所在的輸入區域;以及確定與用戶輸入的該原始字元對應的待選字元;根據該輸入區域,確定以該輸入區域為中心的人眼的最佳視角範圍,在該最佳視角範圍內,確定用於顯示該待選字元的字元待選區域;以及在該字元待選區域中顯示該待選字元,該字元待選區域圍繞該輸入區域,該輸入區域是在該字元待選區域的邊界之內。 A method for displaying a character to be selected in a character input process, comprising: acquiring an original character input by a user, determining an input area where the original character input by the user is located; and determining the original word input by the user a candidate character corresponding to the element; determining, according to the input area, an optimal viewing angle range of the human eye centered on the input area, and determining, within the optimal viewing angle range, a character to be used for displaying the selected character Selecting a region; and displaying the candidate character in the character candidate region, the character candidate region surrounding the input region, the input region being within the boundary of the character candidate region. 如申請專利範圍第1項之方法,其中,確定用戶輸入的該原始字元所在的輸入區域,具體包括:當獲取到用戶輸入的原始字元時,對所輸入的原始字元的顯示區域進行定位,確定輸入區域的位置參數。 The method of claim 1, wherein determining the input area of the original character input by the user comprises: when acquiring the original character input by the user, performing the display area of the input original character Positioning determines the positional parameters of the input area. 如申請專利範圍第2項之方法,其中,確定用於顯示該待選字元的字元待選區域,具體包括:根據該輸入區域的位置資訊,確定以該輸入區域為中心的人眼的最佳視角範圍;在該最佳視角範圍內,確定從輸入區域向外擴展設定的擴展值的環形區域為顯示待選字元的字元待選區域。 The method of claim 2, wherein determining a character candidate area for displaying the candidate character comprises: determining, according to location information of the input area, a human eye centered on the input area The optimal viewing angle range; within the optimal viewing angle range, the annular area that determines the expansion of the set expansion value from the input area is the character candidate area in which the character to be selected is displayed. 如申請專利範圍第3項之方法,其中,該擴展值根據最佳視角範圍和人眼到顯示螢幕的距離計算得到;其 中,該距離為預先設定的距離值或用戶從預先設置的多個距離值中選擇的一個距離值。 The method of claim 3, wherein the extended value is calculated according to an optimal viewing angle range and a distance from a human eye to a display screen; The distance is a preset distance value or a distance value selected by the user from a plurality of preset distance values. 如申請專利範圍第3項之方法,其中,該輸入區域的位置資訊,包括:輸入區域的中心點座標和輸入區域的半徑,或輸入區域的中心點座標和邊界資訊。 The method of claim 3, wherein the location information of the input area comprises: a center point coordinate of the input area and a radius of the input area, or a center point coordinate and a boundary information of the input area. 如申請專利範圍第1項之方法,其中,確定與用戶輸入的該原始字元對應的待選字元,具體包括:根據用戶輸入的原始字元,查找字元資料庫,根據儲存的輸入字元與待選字元的對應關係,確定與用戶輸入的該原始字元對應的若干待選字元。 The method of claim 1, wherein determining the candidate character corresponding to the original character input by the user comprises: searching the character database according to the original character input by the user, according to the stored input word. A correspondence between the element and the candidate character is determined, and a plurality of candidate characters corresponding to the original character input by the user are determined. 如申請專利範圍第1至6項中任一項之方法,其中,在該字元待選區域中顯示該待選字元,具體包括:比較該字元待選區域可顯示的字元數量和該待選字元的數量的大小;當確定出的待選字元的數量不大於該字元待選區域可顯示的字元數量時,按照選定的字元顯示順序,顯示確定出的所有的待選字元;當確定出的待選字元的數量大於字元待選區域可顯示的數量時,根據該字元待選區域可顯示的字元數量,按照選定的字元顯示順序分頁顯示該待選字元。 The method of any one of claims 1 to 6, wherein displaying the candidate character in the character candidate area includes: comparing the number of characters that can be displayed in the character candidate area and The size of the number of selected characters; when the determined number of selected characters is not greater than the number of characters that can be displayed in the character to be selected area, all the determined ones are displayed according to the selected character display order The character to be selected; when the determined number of characters to be selected is greater than the number of characters to be displayed in the character to be selected, the number of characters that can be displayed according to the selected area of the character is displayed in the order of the selected characters. The character to be selected. 如申請專利範圍第7項之方法,其中,該待選字元的顯示順序根據該待選字元的顯示優先順序確定,該顯示優先順序根據該待選字元的使用頻率確定。 The method of claim 7, wherein the display order of the to-be-selected characters is determined according to a display priority order of the to-be-selected characters, and the display priority order is determined according to a frequency of use of the to-be-selected characters. 一種字元輸入過程中的待選字元顯示裝置,其特徵 在於,包括:獲取確定模組,用於獲取用戶輸入的原始字元,確定用戶輸入的該原始字元所在的輸入區域;字元確定模組,用於確定與用戶輸入的該原始字元對應的待選字元;區域確定模組,用於根據該輸入區域,確定以該輸入區域為中心的人眼的最佳視角範圍,在該最佳視角範圍內,確定用於顯示該待選字元的字元待選區域;以及字元顯示模組,用於在該字元待選區域中顯示該待選字元,該字元待選區域圍繞該輸入區域,該輸入區域是在該字元待選區域的邊界之內。 A character display device to be selected in a character input process, its characteristics The method includes: obtaining an determining module, configured to acquire an original character input by the user, and determining an input area where the original character input by the user is located; and a character determining module configured to determine the original character corresponding to the user input a candidate character; a region determining module, configured to determine, according to the input region, an optimal viewing angle range of a human eye centered on the input region, and determine, in the optimal viewing angle range, the candidate word to be displayed a character candidate area; and a character display module for displaying the candidate character in the character candidate area, the character candidate area surrounding the input area, the input area is in the word Within the boundaries of the candidate area. 如申請專利範圍第9項之裝置,其中,該字元顯示模組,具體包括:比較單元,用於比較該字元待選區域可顯示的字元數量和該待選字元的數量的大小;第一顯示單元,用於當確定出的待選字元的數量不大於該字元待選區域可顯示的字元數量時,按照選定的字元顯示順序,顯示確定出的所有的待選字元;以及第二顯示單元,用於當確定出的待選字元的數量大於字元待選區域可顯示的數量時,根據該字元待選區域可顯示的字元數量,按照選定的字元顯示順序分頁顯示該待選字元。 The device of claim 9, wherein the character display module comprises: a comparing unit, configured to compare a number of characters that can be displayed in the character to be selected area and a size of the number of the selected characters. a first display unit, configured to display all the determined to-be-selected according to the selected character display order when the determined number of selected characters is not greater than the number of characters that can be displayed in the character candidate area And a second display unit, configured to: when the determined number of selected characters is greater than the number of characters to be displayed in the character candidate area, according to the selected number of characters that can be displayed in the character to be selected area, according to the selected The character display order page displays the candidate characters. 如申請專利範圍第10項之裝置,其中,該字元顯示模組,還包括: 優先順序確定單元,用於根據該待選字元的使用頻率確定顯示優先順序,並通知該第一顯示單元或第二顯示單元;該第一顯示單元或第二顯示單元根據該待選字元的顯示順序顯示該待選字元。 The device of claim 10, wherein the character display module further comprises: a priority order determining unit, configured to determine a display priority order according to a frequency of use of the candidate character, and notify the first display unit or the second display unit; the first display unit or the second display unit is configured according to the selected character The display order shows the selected characters. 如申請專利範圍第9至11項中任一項之裝置,其中,該區域確定模組,具體包括:參數獲取單元,用於獲取該獲取確定模組確定的輸入區域的位置資訊,其中該位置資訊包括:輸入區域的中心點座標和輸入區域的半徑,或輸入區域的中心點座標和邊界資訊;以及區域確定單元,用於根據該輸入區域的位置資訊,確定以該輸入區域為中心的人眼的最佳視角範圍;在該最佳視角範圍內,確定從輸入區域向外擴展設定的擴展值的環形區域為顯示待選字元的字元待選區域。 The device of claim 9 or claim 11, wherein the area determining module comprises: a parameter obtaining unit, configured to acquire position information of the input area determined by the obtaining determining module, wherein the position The information includes: a center point coordinate of the input area and a radius of the input area, or a center point coordinate and boundary information of the input area; and an area determining unit configured to determine a person centered on the input area according to the location information of the input area The optimal viewing angle range of the eye; within the optimal viewing angle range, the annular area that determines the outward expansion of the set expansion value from the input area is the character candidate area in which the character to be selected is displayed.
TW099115484A 2010-05-14 2010-05-14 Character display method and device for character selection in character input process TWI547833B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW099115484A TWI547833B (en) 2010-05-14 2010-05-14 Character display method and device for character selection in character input process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099115484A TWI547833B (en) 2010-05-14 2010-05-14 Character display method and device for character selection in character input process

Publications (2)

Publication Number Publication Date
TW201140379A TW201140379A (en) 2011-11-16
TWI547833B true TWI547833B (en) 2016-09-01

Family

ID=46760287

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099115484A TWI547833B (en) 2010-05-14 2010-05-14 Character display method and device for character selection in character input process

Country Status (1)

Country Link
TW (1) TWI547833B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7257528B1 (en) * 1998-02-13 2007-08-14 Zi Corporation Of Canada, Inc. Method and apparatus for Chinese character text input
WO2009048240A2 (en) * 2007-10-08 2009-04-16 Zacod Co., Ltd. Apparatus and method for inputting characters / numerals for communication terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7257528B1 (en) * 1998-02-13 2007-08-14 Zi Corporation Of Canada, Inc. Method and apparatus for Chinese character text input
WO2009048240A2 (en) * 2007-10-08 2009-04-16 Zacod Co., Ltd. Apparatus and method for inputting characters / numerals for communication terminal

Also Published As

Publication number Publication date
TW201140379A (en) 2011-11-16

Similar Documents

Publication Publication Date Title
JP6474106B2 (en) Method and apparatus for displaying character selection during user input
US9430132B2 (en) Information processing apparatus, information processing method, and program
KR102172988B1 (en) Device and method for eyeliner-wearing guide
JP6075110B2 (en) Image processing apparatus, image processing method, and image processing program
JP2015084221A (en) Method and devices for marking electronic document
KR20130066511A (en) Method and apparatus for calligraphic beautification of handwritten characters
JP2015090569A (en) Information processing device and information processing method
JP2017151916A5 (en)
CN103390155B (en) Picture and text identification method and picture and text identification device
US10860176B2 (en) Image control method and device
US11017258B2 (en) Alignment of user input on a screen
TWI547833B (en) Character display method and device for character selection in character input process
US11216691B2 (en) Input method and system for electronic device
US10607503B2 (en) Blush guide device and method thereof
JP2016042261A (en) Image processing device, image processing method, and image processing program
US20220129069A1 (en) Information processing apparatus, information processing method, and program
EP3989046A1 (en) Virtual keyboard error correction based on a dynamic spatial model
US11347352B2 (en) Virtual keyboard error correction based on a dynamic spatial model
JP6252042B2 (en) Information processing system, information processing apparatus, information processing method, and program
JP2015099567A (en) Search apparatus, method and program
JP5395770B2 (en) Image search apparatus, method, and program
JP2022118430A (en) Information provision device, information provision system, and information provision method
KR20140025712A (en) Method of providing a product image
JP2021163258A5 (en)
JP2017215882A (en) Patient information display device and patient information display method