CN1920754A - Method and system for inputting artistic character/image into application program - Google Patents

Method and system for inputting artistic character/image into application program Download PDF

Info

Publication number
CN1920754A
CN1920754A CNA2006101271542A CN200610127154A CN1920754A CN 1920754 A CN1920754 A CN 1920754A CN A2006101271542 A CNA2006101271542 A CN A2006101271542A CN 200610127154 A CN200610127154 A CN 200610127154A CN 1920754 A CN1920754 A CN 1920754A
Authority
CN
China
Prior art keywords
character
characters
fancy style
application program
information code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2006101271542A
Other languages
Chinese (zh)
Other versions
CN1920754B9 (en
CN1920754B (en
Inventor
齐欣
杨磊
马占凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co 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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=37778486&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=CN1920754(A) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN200610127154.2A priority Critical patent/CN1920754B9/en
Publication of CN1920754A publication Critical patent/CN1920754A/en
Priority to PCT/CN2007/070615 priority patent/WO2008071099A1/en
Application granted granted Critical
Publication of CN1920754B publication Critical patent/CN1920754B/en
Publication of CN1920754B9 publication Critical patent/CN1920754B9/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/018Input/output arrangements for oriental characters

Abstract

The invention relates to a method for inputting artistic word/diagram into application program, and relative system, wherein said method comprises: building the projection between keyboard information code and artistic word; said artistic word comprises ASCII code artistic word, ASCII code artistic diagram, astigmia word, single-row character string, character array, and diagram; distributing operation system interface function, to obtain the keyboard information code; based on said projection, matching the article word with said code; triggering the control information of application program interface, to send matched result to the activated application program. The invention can avoid independent article word edit software, to avoid switching between software operations and inputting, to save system resource.

Description

A kind of method and system to application program inputting artistic character word/figure
Technical field
The present invention relates to the keypad information process field, particularly relate to a kind of in application window the method and system of inputting artistic character word/figure.
Background technology
The ASCII character characters in a fancy style is a kind of special character, literal or the figure that produces along with computing machine and networks development, can show with diversified ASCII character character and array configuration thereof, is different from common font and sets a property.In network application, as Internet chat, forum, community etc., this characters in a fancy style pattern that font is had expansion effects such as decoration is widely used.
Current, the mode that shows the ASCII character characters in a fancy style in application window is: move ASCII character characters in a fancy style character editing output software earlier, input wants to convert to the character or the character string of corresponding artistic literal in the input area in software, need to select the font of conversion then, software can show the character of the corresponding artistic font style of these characters or character string in preview pane, if it is suitable that the user confirms effect, promptly can use the mode of copy or storage to change the corresponding artistic literal of output, and then paste other users and need import in the window of this type of character.
Being applied in when enriching the font demonstration of various ASCII character characters in a fancy style softwares, also operate the part of making troubles to the user, the user at first needs to install the independent software of startup, is input to copy then through associating and arrives the complicated processes of pasting again, characters in a fancy style could be input to display window.Because aforesaid way provides combining of application program and application program, the software that the ASCII character characters in a fancy style promptly is provided is as a kind of application program that is independent of computer system, be transformed into display window again by independent software input, the user need be switched between ASCII character characters in a fancy style software and the program window that needs the inputting artistic character word mutually, the process of the operation of described software and copy, stickup all can occupying system resources, also can expend time in and manpower.And the switching between a plurality of program windows causes maloperation easily, and the losing of institute's copied content.
In addition, the user also must could realize the characters in a fancy style function by the corresponding characters in a fancy style of installation software for editing in system of elder generation.In processes such as Internet chat, forum's speech,, owing to there is not corresponding software, cause the situation that the user can not timely and effective use if temporary needs is used ASCII character characters in a fancy style pattern.
Summary of the invention
Technical matters to be solved by this invention provide a kind of in application window the method and system of inputting artistic character word/figure, to solve the problem that took multi-system resource under the prior art condition to the process of application program inputting artistic character word/figure.
Another object of the present invention is to provide a kind of method and system to application program inputting artistic character word/figure, can carry out exporting corresponding characters in a fancy style/figure again behind the participle to the longer character string of user's input, thus the experience and the effect of raising user inputting artistic character word.
For solving the problems of the technologies described above, the invention provides a kind of method to application program inputting artistic character word/figure, comprising:
Set up the mapping relations of keyboard information code and characters in a fancy style pattern, described characters in a fancy style pattern includes but not limited to: ASCII character characters in a fancy style, ASCII character artistic character/image, astigmatic word, single file character string, character battle array or figure; Distributing operation system interface function is obtained keyboard information code; Corresponding described mapping relations are mated the characters in a fancy style pattern corresponding with described keyboard information code; Trigger control information of application program interface, to activated application program inputting artistic character word/figure.
Preferably, described characters in a fancy style pattern obtains by the pre-stored mode or obtains by presetting algorithm.Described mapping relations comprise: the mapping of keyboard information code and literal/text strings, the mapping of literal/text strings and characters in a fancy style pattern; And/or keyboard information code is direct and the mapping of characters in a fancy style pattern.
Preferably, described method also comprises: when matching result is a figure, judge whether activated application program supports corresponding graphics memory form, if support, then trigger control information of application program interface, send matching result to activated application program.
Preferably, described method also comprises: the mapping relations of customizing keyboard message coding and characters in a fancy style pattern.
Preferably, described method also comprises: judge whether current state is the characters in a fancy style state, if then carry out the coupling of characters in a fancy style; Otherwise the mapping relations of corresponding described keyboard information code and literal/text strings are carried out the coupling of literal/text strings.
Preferably, described method also comprises: pre-set at least a ASCII character character replacement rule; The characters in a fancy style pattern algorithm of the characters in a fancy style pattern of ASCII character character, described character replacement rule and the pre-stored of confirming according to the user/preset carries out character replacement to the corresponding characters in a fancy style pattern of described keyboard information code; Trigger control information of application program interface, the characters in a fancy style/figure after the activated application program input character is replaced.
Preferably, described method also comprises: pre-set at least a ASCII character artistic character/image Substitution Rules; According to the picture figure of described ASCII character artistic character/image Substitution Rules and pre-stored, the corresponding picture figure of described keyboard information code is carried out the ASCII character artistic character/image replace; Trigger control information of application program interface, the ASCII character artistic character/image after the activated application program input is replaced.
The invention also discloses a kind of method, comprising to application program inputting artistic character word/figure:
Set up the mapping relations between keyboard information code-literal/text strings-characters in a fancy style pattern three, described characters in a fancy style pattern includes but not limited to: ASCII character characters in a fancy style, ASCII character artistic character/image, astigmatic word, single file character string, character battle array or figure; Distributing operation system interface function is obtained keyboard information code; The mapping relations of corresponding keyboard information code and literal/text strings are obtained corresponding text strings; The characters in a fancy style pattern of corresponding text strings semanteme and pre-stored, the described text strings of cutting; According to the mapping relations of cutting result and literal/text strings and characters in a fancy style pattern, obtain corresponding characters in a fancy style pattern; Trigger control information of application program interface, to activated application program inputting artistic character word/figure.
Preferably, described method also comprises: when matching result is figure, judge whether activated application program supports corresponding graphics memory form, if support, then trigger control information of application program interface, to activated application program inputting artistic character word/figure.
Preferably, described method also comprises: pre-set at least a ASCII character character replacement rule; The characters in a fancy style pattern algorithm of the characters in a fancy style pattern of ASCII character character, described character replacement rule and the pre-stored of confirming according to the user/preset carries out character replacement to the corresponding characters in a fancy style pattern of described keyboard information code; Trigger control information of application program interface, the characters in a fancy style/figure after the activated application program input character is replaced.
The present invention also provides a kind of system to application program inputting artistic character word/figure, comprising:
Storage unit, the characters in a fancy style pattern algorithm that is used for pre-stored characters in a fancy style pattern or presets, and the mapping relations of keyboard information code and characters in a fancy style pattern; Described characters in a fancy style pattern includes but not limited to: ASCII character characters in a fancy style, ASCII character artistic character/image, astigmatic word, single file character string, character battle array or figure;
The coding receiving element is used for distributing operation system interface function, obtains keyboard information code;
The characters in a fancy style matching unit is used for corresponding described mapping relations table, mates the characters in a fancy style pattern corresponding with described keyboard information code;
Output unit is used to trigger control information of application program interface, to activated application program inputting artistic character word/figure.
Preferably, described mapping relations comprise: the mapping relations of keyboard information code and literal/text strings, the mapping relations of literal/text strings and characters in a fancy style pattern; And/or keyboard information code is direct and the mapping relations of characters in a fancy style pattern.
Preferably, described storage unit comprises: character repertoire is used to deposit and keyboard information code corresponding character/text strings, astigmatic word, single file character string or character battle array; ASCII character art character library is used to deposit ASCII character characters in a fancy style corresponding with keyboard information code or the characters in a fancy style algorithm that presets; Shape library is used to deposit ASCII character artistic character/image corresponding with keyboard information code or picture figure.
Preferably, described system also comprises: the application program judging unit, when matching result is figure, be used to judge whether activated application program supports corresponding graphics memory form, and if support, then trigger described output unit.
Preferably, described system also comprises: edit the unit certainly, be used for the mapping relations that User Defined is provided with keyboard information code and characters in a fancy style pattern, and be saved to described storage unit.
Preferably, described system also comprises: the character match unit is used for the mapping relations according to keyboard information code and literal/text strings, coupling and described coding corresponding character/text strings; Judge state cell, be used to judge whether current state is the characters in a fancy style state, if then trigger described characters in a fancy style matching unit; Otherwise, trigger described character match unit.
Preferably, also store at least a ASCII character character replacement rule in the described storage unit; Described system also comprises: the character replacement unit; Described character replacement unit is used for the characters in a fancy style pattern algorithm of the characters in a fancy style pattern of ASCII character character, described character replacement rule and the pre-stored confirmed according to the user/preset, and the corresponding characters in a fancy style pattern of described keyboard information code is carried out character replacement.
Preferably, also store at least a ASCII character artistic character/image Substitution Rules in the described storage unit; Described system also comprises figure replacement unit; Described figure is replaced the unit, is used for the picture figure according to described ASCII character artistic character/image Substitution Rules and pre-stored, the corresponding picture figure of described keyboard information code is carried out the ASCII character artistic character/image replace.
Wherein, describedly be arranged in same computing equipment to the system of application program inputting artistic character word/figure included coding receiving element, storage unit and output unit; Perhaps describedly be arranged in first computing equipment to the system of application program inputting artistic character word/figure included system coding receiving element, output unit, storage unit is arranged in second computing equipment; This system obtains corresponding information according to the keyboard message of user's input from the storage unit that is arranged in second computing equipment, exports at first computing equipment.
The present invention also provides a kind of system to application program inputting artistic character word/figure, comprising:
Storage unit, the characters in a fancy style pattern algorithm that is used for pre-stored characters in a fancy style pattern or presets, and the mapping relations between keyboard information code-literal/text strings-characters in a fancy style pattern three; Described characters in a fancy style pattern includes but not limited to: ASCII character characters in a fancy style, ASCII character artistic character/image, astigmatic word, single file character string, character battle array or figure;
The coding receiving element is used for distributing operation system interface function, obtains keyboard information code;
The text strings matching unit is used for the mapping relations of corresponding keyboard information code and literal/text strings, obtains corresponding text strings;
The participle unit is used for the characters in a fancy style pattern of the semantic and pre-stored of corresponding text strings, the described text strings of cutting;
The characters in a fancy style matching unit is used for the mapping relations according to cutting result and literal/text strings and characters in a fancy style pattern, obtains corresponding characters in a fancy style pattern;
Output unit is used to trigger control information of application program interface, to activated application program inputting artistic character word/figure.
Preferably, described system also comprises: judge state cell, be used to judge whether current state is the characters in a fancy style state, if then connect text strings matching unit-participle unit-characters in a fancy style matching unit-output unit; Otherwise, connect text strings matching unit-output unit.
Preferably, also store at least a ASCII character character replacement rule in the described storage unit; Described system also comprises: the character replacement unit; Described character replacement unit is used for the characters in a fancy style pattern algorithm of the characters in a fancy style pattern of ASCII character character, described character replacement rule and the pre-stored confirmed according to the user/preset, and the corresponding characters in a fancy style pattern of described keyboard information code is carried out character replacement.
Compared with prior art, the present invention has the following advantages:
At first, the present invention combines with the direct of application program by computer operating system, the keypad information coding that obtains is mated with the characters in a fancy style pattern, and characters in a fancy style or the artistic character/image that matches directly outputed to the application program display window, do not need to open another one independently the characters in a fancy style software for editing just realized ASCII character characters in a fancy style function.The user is in processes such as Internet chat, forum's speech, if need to use ASCII character characters in a fancy style pattern, can directly in each application window, import, and do not need to move independent characters in a fancy style software, therefore avoided the process of running software and input conversion, saved system resource, also user-friendly.
Secondly, the invention provides abundant characters in a fancy style pattern and reach mapping relations flexibly, set up the mapping of keyboard information code and literal/text strings, the mapping of keyboard information code or literal/text strings and ASCII character characters in a fancy style, ASCII character artistic character/image, astigmatic word, single file character string, character battle array, various generic graphic or graphic animations, can be according to user's difference input and selection, quick various characters in a fancy style patterns of coupling are imported more flexibly, and content is abundanter.
Once more, when realizing the characters in a fancy style pattern of output complexity, the present invention can adopt a kind of segmenting method that can be loyal to original semanteme more accurately, and selected text strings is carried out cutting, then corresponding characters in a fancy style pattern is shown.Wherein, can also select the process of speech to carry out participle and characters in a fancy style coupling according to the user; And can learn user's participle pattern, and then improve the accuracy rate of participle.With the characters in a fancy style pattern of Chinese character combination (for example, speech) for the characters in a fancy style output unit, the participle step can avoid occurring the characters in a fancy style output of mistake for ASCII character artistic character/image, character battle array etc.And, because the characters in a fancy style pattern of this class complexity of storage or algorithm can not make up mapping relations by the whole Chinese character of storage in advance, so can be in the long Chinese character string of user's input by the participle step, find and export the characters in a fancy style pattern of coupling, thereby improve the matching efficiency and the matching effect of various characters in a fancy style patterns.
Description of drawings
Fig. 1 a-Fig. 1 h is the exemplary plot of described ASCII character characters in a fancy style, ASCII character artistic character/image, character battle array;
Fig. 2 be of the present invention in application window the flow chart of steps of inputting artistic character word/figure;
Fig. 3 is the flow chart of steps of the described inputting artistic character word/figure of the preferred embodiment of the present invention;
Fig. 4 is the characters in a fancy style window synoptic diagram of realizing under the mode standard of the present invention;
Fig. 5 is the characters in a fancy style window synoptic diagram of realizing under the quick pattern of the present invention;
Fig. 6 be of the present invention in application window the system construction drawing of inputting artistic character word/figure;
Fig. 7 be the preferred embodiment of the present invention described a kind of in application window the system construction drawing of inputting artistic character word/figure.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
The invention provides multiple characters in a fancy style pattern, comprise ASCII character characters in a fancy style, ASCII character artistic character/image, astigmatic word, single file character string, character battle array or figure etc., below be elaborated.The input of characters in a fancy style of the present invention and coupling are not need to limit language, but for convenience of description, below the main Chinese that adopts carry out the description of embodiment.
The ASCII character characters in a fancy style is a kind of mode with ASCII character character and array configuration display text thereof, the ASCII character artistic character/image is a kind of mode with ASCII character character and array configuration display graphics thereof, can substitute with designated character and want the literal or the figure of expressing, each alternative is called a kind of characters in a fancy style font.With reference to Fig. 1 a-Fig. 1 h, be the exemplary plot of ASCII character characters in a fancy style of the present invention, ASCII character artistic character/image, character battle array.Wherein, " purple light 6 * 6 standard bodies " of Fig. 1 a, " purple light 6 * 6 two-wire bodies " of Fig. 1 b, the Chinese of Fig. 1 c " Sohu ", " BASIC " of the English of Fig. 1 d " SOHU ", Fig. 1 e, " Larry3d " of Fig. 1 f are the ASCII character characters in a fancy style of different fonts; The camel figure that the English of Fig. 1 g " Came1 " is corresponding is the ASCII character artistic character/image, is also referred to as character and draws.The ASCII character characters in a fancy style is supported Chinese display, English or other literal, and display pixel can freely be set.Usually, because the length of application program needs, Chinese adopts 6 * 6 pixel Chinese display characters in a fancy style.The ASCII character artistic character/image can define the corresponding relation of multiple phrase and figure, the figure of being made up of ASCII character as cake, candle etc.And a phrase can be corresponding with a plurality of figures, as can the be corresponding different ASCII character of Tiger one speech form, the tiger figure of multiple pattern.
The astigmatism word is a kind of font display mode that only limits to Chinese, Chinese character is split show, comprises laterally divining by means of characters and vertically divining by means of characters of Chinese character, and the Chinese character splitting of three above ingredients.For example, with text strings " eager to do well in everything subsides, heartily ", be split as astigmatic word string " though woman bow white peony root shellfish account for mouthful Ah ,'s mouth heal up close ".
The single file character string is meant a word of definition or a phrase, makes it be equivalent to phrase or sentence that a string character is formed.For example, definition " injection " is equivalent to " glucose injection ".The character battle array is similar to the mode of described single file character string, also is a word of definition or a phrase, makes it be equivalent to the multirow literal.Shown in Fig. 1 h, definition " daytime " is equivalent to stich, and the character battle array that this first poem is made up of four poems of four lines, every row is separated by with carriage return.For described single file character string and character battle array mode, when user's input " injection " or " daytime ", will correspondingly export " glucose injection " or character battle array integral body.Figure comprises generic graphic, the graphic animations of image exchange (gif) form or the graphic animations of extended formatting, with storage of picture form and output.
Characters in a fancy style function provided by the invention can directly be imported at application window.With reference to Fig. 2, be realize of the present invention in application window the flow chart of steps of inputting artistic character word/figure.
Step 201 is set up the mapping relations of keyboard information code and characters in a fancy style pattern, and described characters in a fancy style pattern obtains by the pre-stored mode or obtains by presetting algorithm.At first,, collect the characters that uses through regular meeting, set up the mapping relations of characters and various characters in a fancy style patterns at applied environments such as the Internet chat of using the characters in a fancy style pattern, forums.Wherein, described character comprises Chinese, English, special characters in a fancy style, ASCII character artistic character/image, astigmatic word, single file character string, character battle array, graphics memory, direct calling system storage when being user-friendly to; Perhaps preset the algorithm of characters in a fancy style pattern, can obtain the characters in a fancy style pattern of needs by this algorithm according to correlation parameter, correlation parameter can for: form unit character, characters in a fancy style size, arrangement mode of characters in a fancy style or the like.
Step 202, distributing operation system interface function is obtained keyboard information code.System converts corresponding keyboard information code buffer memory to after receiving the press key message of keyboard, and described keyboard information code is letter, numeral and the special symbol that identifies on the terminal keyboard.Realize characters in a fancy style function of the present invention, at first need to obtain described keyboard information code, import Message Processing after, again with the output of the characters in a fancy style pattern chosen.For example, in Windows operating system, what receive that keyboard information code carries out is the dynamic link library, the interface function that utilizes system to provide, thus realize combining of characters in a fancy style functional module and system.The method of the invention is not limited in the Windows system, can also be applied in other operating systems.
Step 203 is selected the characters in a fancy style pattern, keyboard information code is converted to characters in a fancy style or the figure that is complementary.Because described keyboard information code is a series of alphabetic string, for English display, directly sets up the mapping relations of keyboard information code and ASCII character characters in a fancy style, ASCII character artistic character/image, astigmatic word, single file character string, character battle array or figure; Show that for Chinese can set up the mapping relations of coded strings (being keyboard information code) and literal/text strings, literal/text strings and characters in a fancy style pattern, described coded strings is pinyin string preferably.These mapping relations are the mapping of above-mentioned Chinese, English and special symbol and characters in a fancy style pattern.
After obtaining keyboard information code, select, according to the corresponding mapping relations coupling characters in a fancy style corresponding with keyboard information code according to user's input.For example, the user imports English, selects a kind of ASCII character art font wherein, then according to the mapping relations of keyboard information code and characters in a fancy style pattern, mates corresponding artistic font; If user input is coded strings,, coded strings is converted to the coupling of carrying out corresponding artistic font behind the Chinese character more then according to the mapping relations of coded strings (being keyboard information code) with literal/text strings, literal/text strings and characters in a fancy style pattern.Because multiple characters in a fancy style pattern provided by the invention and mapping relations make that input is more flexible, displaying contents is abundanter, has satisfied user's input demand.
Step 204 triggers control information of application program interface, sends matching result to activated application program.After finishing the coupling step of characters in a fancy style pattern, the interface control messages of characters in a fancy style functional module and application program will be triggered, interface function according to application access characters in a fancy style functional module, matching result is sent to activated application program, just can directly in application window, show output.
Need to prove, with the generic graphic of picture form storage or the output of graphic animations, before execution in step 204, need also to judge whether activated application program supports the graphics memory form that will import for various.If support, ability execution in step 204; If do not support, then can directly export corresponding character or literal.
The present invention combines with the direct of application program by computer operating system, the keypad information coding that obtains is mated with the characters in a fancy style pattern, and characters in a fancy style or the artistic character/image that matches directly outputed to the application program display window, do not need to open another one independently the characters in a fancy style software for editing just realized the characters in a fancy style function.The user is in processes such as Internet chat, forum's speech, if need to use the characters in a fancy style pattern, can directly in each application window, import, and do not need to move independent characters in a fancy style software, therefore avoided the process of running software and input conversion, saved system resource, also user-friendly.
Above-mentioned steps has solved the problem of direct inputting artistic character word in application window, and is preferred, also input method commonly used is combined in the characters in a fancy style function, provides the user to select the chance of importing.In step shown in Figure 2, before keyboard information code is carried out the coupling of characters in a fancy style pattern, at first judge current input state.If current is the characters in a fancy style state, then continue execution in step 203 and 204 according to the method described above, realize the characters in a fancy style function; If not the characters in a fancy style state is then carried out the input method function, English that will be corresponding, Chinese or special symbol output with keyboard information code.Described determining step can be carried out before receiving keyboard information code, promptly is transformed into characters in a fancy style state typing character more earlier; Also can after receiving keyboard information code, carry out promptly first typing character and then carry out the selection of input state.
To carry out the preferred embodiment explanation said process of determining step again to receive keyboard information code earlier below.With reference to Fig. 3, be the flow chart of steps of the described inputting artistic character word/figure of the preferred embodiment of the present invention, from user's operation, the data handling procedure behind the angles of display explanation input of character string.
Step 301 is opened input method.
Step 302, the user imports " sougou " or " sogou " on keyboard, demonstrate " sougou " or " sogou " pinyin string and following a series of candidate item.Wherein, by the corresponding relation of predefine " sogou ", also can list corresponding candidate item after the key entry " sogou " with " sougou ".Described detailed process is: after receiving keyboard information code " sougou ", offer matcher, matcher mates then, according to certain regularly arranged candidate word tabulation that goes out.
Step 303 switches to the characters in a fancy style input pattern, promptly opens characters in a fancy style the preview window.The present invention can carry out different flow processs according to the difference of input state, for example, learns that current state is the characters in a fancy style state, then carries out the coupling of characters in a fancy style pattern if judge; If judge and learn that current state is common input method status, then carries out the matching feature of common language string.
Step 304 is selected candidate item " 1. search dog ", and the characters in a fancy style of search dog will appear in the preview window.Described process is as pre-output words according to the last selection speech of user in the candidate word tabulation, " search dog " gone to mate in the artistic dictionary as the coupling speech, according to the default setting of artistic font, corresponding characters in a fancy style is searched for out, then in the whole output of the preview window.Certainly, if current be not the characters in a fancy style state, output " search dog " common language just.
Step 305 is provided with artistic font.Above-mentioned preview is to show under the situation of character word stock default setting, and when the input content was shielded on not, the user can also adjust the setting of artistic font voluntarily, after selecting to finish, and the characters in a fancy style form that the preview window can the current literal correspondence of real time altering.Wherein, the described screen of going up refers to the content in the preview window is exported the operation that is shown to application window.Certainly, the user also can freely select the characters in a fancy style pattern of default setting.
Step 306, screen output on the characters in a fancy style.For example, if the user determines that key entry Ctrl+Enter or some load button have just been realized the upward screen output of characters in a fancy style.
The present invention also provides shortcut, after input " sougou " pinyin string, has selected " 1. search dog " item by a kind of mode (such as Alt+1) of Macintosh, also can directly export the characters in a fancy style of " search dog ".What described artistic font adopted is the situation of default setting, and just can the preview window not occur this moment, improves the efficient of characters in a fancy style input.
Preferably, the present invention also provides the function of ASCII character character replacement.At first, pre-set at least a ASCII character character replacement rule; Then, the characters in a fancy style pattern algorithm of the characters in a fancy style pattern of ASCII character character, described character replacement rule and the pre-stored of confirming according to the user/preset carries out character replacement to the corresponding characters in a fancy style pattern of described keyboard information code; At last, trigger control information of application program interface, the characters in a fancy style/figure after the activated application program input character is replaced.Described replacement can be the replacement of mutual replacement, single line and the two-wire of solid line and dotted line, replacement of characters in a fancy style unit's character or the like.For example, " purple light two-wire body " shown in Figure 1 promptly is to the replacement of " purple light standard body ", and single line is replaced with two-wire.Described ASCII character character replacement function can be expanded the characters in a fancy style pattern of pre-stored or the characters in a fancy style algorithm that presets, and is very easy to user's input, shows for the user provides rich and varied font, has also saved the storage space of system.
Preferably, the present invention also provides the function that the ASCII character artistic character/image is replaced.At first, pre-set at least a ASCII character artistic character/image Substitution Rules; Then, according to the picture figure of described ASCII character artistic character/image Substitution Rules and pre-stored, the corresponding picture figure of described keyboard information code is carried out the ASCII character artistic character/image replace; At last, trigger control information of application program interface, the ASCII character artistic character/image after the activated application program input is replaced.For example, the picture figure of JPG is converted to ASCII character artistic character/image (form can be TXT, HTML or the like) according to certain algorithm, wherein related algorithm is well known to those skilled in the art, and is not described in detail in this.
Among the present invention, preferred, when coupling is removed other characters in a fancy style patterns of ASCII character characters in a fancy style, also need carrying out participle with coded strings corresponding character string.For example, when selecting ASCII character artistic character/image or graphic animations, the user imports " Fruit cake has been carried out ", automatic word segmentation technology can branch away " fruit " " cake ", and go to the picture library the inside to mate, screen output on the figure on can mating, demonstration be exactly the figure that the figure of a fruit connects a cake, be " having carried out " three literal that can't mate figure then.The text strings that needs of the present invention carry out participle not merely is defined in Chinese, other literal, and for example: Japanese, Korean etc. all is feasible.
Segmenting method commonly used at present has: based on the segmenting method (being mechanical Chinese word segmentation) of string matching, based on the segmenting method of mark scanning or sign cutting, based on the segmenting method of understanding, based on the segmenting method of statistics.In various segmenting methods, all can there be the problem of participle ambiguity.For example, " Chinese people " have multiple cutting method to phrase, if " China ", " people ", " compatriots " these three speech are arranged in the dictionary, " Chinese people " a kind of may point-score be " China " " people ", another kind may be distributed as " in " " compatriots " " people ".Participle ambiguity that Here it is.It is the very operation of difficulty that ambiguity is handled, and still unresolved so far, to the situation of participle ambiguity occurring, various segmenting methods can only be accomplished accurate participle in conjunction with practical application as far as possible.
The present invention can adopt above-mentioned segmenting method or additive method well known to those skilled in the art, carries out word segmentation processing.Handle for the ambiguity in the participle, then can adopt optimum cutting route method (optimum cutting route method), can be loyal to original semanteme more exactly, be described as follows based on a meta-model.
There are two kinds of ambiguities in the participle.A kind of is make-up ambiguity, in character string AB, and AB, A, B belong to the element in the dictionary.For example, Tsing-Hua University/Tsing-Hua University/university.The method that optimum cutting route method is taked is all to branch away, and screens according to concrete demand again.
Another kind is called crossing ambiguity, and in character string ABC, AB and BC are the elements in the dictionary.For example " Chinese " may be divided into " China/people " and " in/compatriots ".For crossing ambiguity, optimum cutting route method is used a kind of scoring algorithm, and every kind of possible cutting method is carried out weight calculation, seeks best cutting route in all possible cuttings.This process can realize fast by dynamic programming method.Described scoring algorithm adopts estimates number and the frequency decision of branch function by speech, illustrates as follows.
At first each word in the phrase is numbered:
Chinese people have stood up
0 1 2 3 4 5 6 7
Make that F (x) is the evaluation of estimate to certain participle scheme that begins substring from position x, described x represents above-mentioned numeral number.F (x) is the combination of following component:
1) WC (x): the Term quantity that begins the best cutting scheme of substring from x.Described Term represents the participle in the corresponding dictionary in the phrase, as to get x be 0, Term be China/people/stand//, so WC (x) is 5;
2) FQ (x): begin from x substring best cutting scheme the Term word frequency logarithm and.Described word frequency refers to the statistical frequency that each Term occurs on the internet;
Get F (x)=WC (x) * 100+FQ (x).Estimate the branch function by described, can be according to concrete input condition, dynamic process participle ambiguity problem improves the accuracy rate of participle.For example, when input " egg cake ", participle technique can branch away " egg " and " cake ", mates accordingly respectively, shows the figure of egg and the figure of cake.If but adopt the common mode of coupling successively, then might branch away centre " cake " as a speech, and, form the form of " chicken "+cake figure+" point " shielding on the picture of cake.If input " sponge cake ", system can also select the process of speech according to the user, and the participle of coupling system branches away the output result of formation egg figure+" cake " word to " egg ".Simultaneously, system can also get off the described mode record that selects speech to carry out participle according to the user, so that the user is mated when importing once more fast.
In the preferred characters in a fancy style/figure output intent that needs the participle coupling at text strings, execution in step and step basically identical shown in Figure 2, difference is: utilize the mapping relations between keyboard information code-literal/text strings-characters in a fancy style pattern three, at first keyboard information code is converted to the corresponding character string; The characters in a fancy style pattern of semantic according to text strings then and pre-stored, described text strings is carried out participle, when adopting participle technique, the characters in a fancy style pattern of pre-stored is considered as a participle factor, for example can be listed the mated phrase of having stored, at first pay attention to during participle; Again according to the mapping relations of literal/text strings and characters in a fancy style pattern, carry out the phrase behind the participle and the coupling of characters in a fancy style pattern.To enumerate embodiment below describes.
When the user keys in the coded strings of a phrase or a text strings such as sentence, the characters in a fancy style functional module will be carried out: according to the mapping relations of keyboard information code (being coded strings) with literal/text strings, list option in the candidate word tabulation; After the user is selected, according to the characters in a fancy style pattern of text strings semanteme and pre-stored, adopt the above-mentioned described text strings of segmenting method cutting again; According to the literal/text strings of cutting result and pre-stored and the mapping relations of characters in a fancy style pattern, carry out corresponding characters in a fancy style pattern matching then; At last matching result is shown and output in the application window.
In the above-described embodiments, preferred, the present invention also provides the user to select the chance of exporting.After finishing the coupling step, the preview window demonstrates the phrase that can mate with the characters in a fancy style pattern, and the user can select the characters in a fancy style pattern of needs output demonstration according to the input demand.For example, in the text strings of " I go to have seen monkey and tiger today ", if what the user selected draws the characters in a fancy style pattern for character, the phrase that then can mate the artistic character picture of ASCII character shape is " monkey ", Tiger, and it is that character is drawn that other literal then can't mate." monkey ", Tiger may be corresponding the character of a plurality of different patterns draw, the user can select in the preview window, thus characters in a fancy style drawn in the character that input needs.Certainly, other literal, for example " I go to see today ", the user can import it by selecting common ASCII character characters in a fancy style.This user can select the mode of output effect to increase the flexibility ratio of user's input, brings better input to experience.
Above-mentioned text strings is cut into independent phrase or literal earlier, and then the method for mating, make things convenient for the disposable input characters string of user after, go up screen again and demonstrate corresponding characters in a fancy style pattern.With the characters in a fancy style pattern of Chinese character combination (for example, speech) for the characters in a fancy style output unit, the participle step can avoid occurring the characters in a fancy style output of mistake for ASCII character artistic character/image, character battle array etc.And, because the characters in a fancy style pattern of storage can not make up mapping relations by the whole Chinese character of storage in advance, so can be in the long Chinese character string of user's input by the participle step, find and export the characters in a fancy style pattern of coupling, thereby improve the matching efficiency and the matching effect of various characters in a fancy style patterns.
In addition, the present invention also provides the User Defined function, the user can be according to the input needs, set up the mapping relations of character and single file character string, character battle array, astigmatic word, figure etc., oneself creates corresponding literal or shape library, described characters in a fancy style function in conjunction with input method obtains bigger extensibility and user's property of participation, satisfies user's individual sexual demand.
Introduce below and realize characters in a fancy style function operations interface.The characters in a fancy style window is the main body of characters in a fancy style function, comprising: importation (getting final product edit segment), output (characters in a fancy style preview), option is provided with button.The characters in a fancy style window has two kinds of patterns: mode standard and quick pattern.
With reference to Fig. 4, be the characters in a fancy style window synoptic diagram of realizing under the mode standard of the present invention.Window under the mode standard is the global function pattern, is the also pattern of preview can be set fully voluntarily.Comprise:
Input window 401, but be editor, the multirow literal can be imported, and the carriage return operation can be carried out.
The preview window 402 is can not editor, only shows actual characters in a fancy style effect.
Last screen button 403 is clicked this button, perhaps import the shortcut ctrl+enter of this button after, the character of the preview window the inside is outputed to the place at the original cursor of user place.
Chinese font and english font 404 change the bandwagon effect of characters in a fancy style by selecting font.
Word space 405, promptly between the characters in a fancy style the space number that automatically adds, export the characters in a fancy style (for example in signature) of big spacing to make things convenient for the user.
Automatic carrier return line feed 406 in the multirow character string, must enter a new line after last column output, so that the word of back can continue the line feed input.If the single file character string, for example the astigmatic word that laterally splits etc. just needn't enter a new line.Automatically whether the information of line feed also can be provided by font itself.
X button 407 when the user clicks X button, withdraws from the characters in a fancy style pattern, forwards normal input pattern to.
The input window 408 of input method promptly is same as the input window under the normal state.
Need to prove that functional element has only been listed at interface shown in Figure 4, concrete layout can be carried out trickle adjustment according to actual effect.
With reference to Fig. 5, be the characters in a fancy style window synoptic diagram of realizing under the quick pattern of the present invention, quick pattern is for having only preview function.Under quick pattern, all functions option is all with the default setting that is configured under the mode standard, for example font etc.Revise the font of quick pattern etc. if desired, need open mode standard and change.The content of the preview window preview is the current words that is in focus under the quick pattern, and described focus refers to selected words.
In addition, can also on the status bar of input method, add the control knob of characters in a fancy style, in being similar to/button of English, complete/half-angle conversion.Described button has three kinds of states: characters in a fancy style closed condition, characters in a fancy style mode standard, the quick pattern of characters in a fancy style.When clicking, the wheel that carries out these three states shows, and default conditions are closed condition.
The characters in a fancy style input can have dual mode: normal input mode and quick input mode.
Normal input mode is finished by button click or shortcut.When but input method entered into input area, status bar occurred; Click characters in a fancy style button or shortcut, enter into the characters in a fancy style pattern, eject characters in a fancy style window and input method window.Described characters in a fancy style pattern can be divided into mode standard and two kinds of quick patterns, for example, and Fig. 4 and shown in Figure 5.
Fast input mode be by the shortcut behind the input coding directly to application program inputting artistic character word, be mainly used in without mouse, only use keyboard operation, import the situation of a plurality of characters in a fancy style temporarily.For example, operating process is: the quick pattern of user's input alphabet → triggering key (`) → forward to → and by common input space or numeral, screen (pressing default font) on the characters in a fancy style.Described quick input mode can not eject the characters in a fancy style window under the normal mode of input, adopts default setting directly screen on the characters in a fancy style to be got final product.
At the above-mentioned method of in application window, importing the ASCII character characters in a fancy style, the present invention also provide a kind of in application window the system of inputting artistic character word, by with the unify Interface design of application program of department of computer science, be used for the information of keyboard input is directly shown output at application window.With reference to Fig. 6, be of the present invention in application window the system construction drawing of inputting artistic character word/figure.
Storage unit 601, the characters in a fancy style pattern algorithm that is used for the various characters in a fancy style patterns of pre-stored or presets, and the mapping relations of keyboard information code and characters in a fancy style pattern; Described characters in a fancy style pattern comprises: ASCII character characters in a fancy style, ASCII character artistic character/image, astigmatic word, single file character string, character battle array or figure.Described storage unit 601 is when the various characters in a fancy style pattern of storage, different classes of according to the characters in a fancy style pattern, to leave character repertoire 6011 in keyboard information code corresponding character/text strings, astigmatic word, single file character string, character battle array, ASCII character characters in a fancy style that will be corresponding with keyboard information code or the characters in a fancy style pattern algorithm that presets leave ASCII character art character library 6012 in, and ASCII character artistic character/image and figure that will be corresponding with keyboard information code leave shape library 6013 in.Described mapping relations list solely leaves in the storage unit 601, comprising: the mapping relations of keyboard information code and literal/text strings, the mapping relations of literal/text strings and characters in a fancy style pattern; Keyboard information code directly and the mapping relations of characters in a fancy style pattern.
Coding receiving element 602 is used for distributing operation system interface function, obtains keyboard information code, realizes the interface function with computer system.The method of the invention is not limited in the Windows system, can also be applied in other operating systems.
Characters in a fancy style matching unit 603 is used for the mapping relations table of corresponding described storage unit 601, and keyboard information code that received code unit 602 is obtained and the characters in a fancy style pattern in the storage unit 601 mate.If the keyboard information code that receives is English input, mapping relations then direct according to keyboard information code in the mapping relations table and the characters in a fancy style pattern are carried out the characters in a fancy style coupling; If the keyboard information code that receives is the coded strings input, then according to the mapping relations of keyboard information code and literal/text strings, the mapping relations of literal/text strings and characters in a fancy style pattern are chosen corresponding Chinese character earlier in the candidate word tabulation, carry out the characters in a fancy style coupling again in storage unit 601.
Output unit 604 is used to trigger control information of application program interface, sends matching result to activated application program, realizes the interface function with application program.Characters in a fancy style matching unit 603 is after the coupling of finishing the characters in a fancy style pattern, the interface control messages of characters in a fancy style system and application program will be triggered, interface function according to application access characters in a fancy style system, matching result is sent to activated application program, just can directly in application window, show output.
Application program judging unit 605, if the matching result of characters in a fancy style matching unit 603 is the figures with the picture format storage, then before triggering output unit 604, judge that application program unit 605 is used to judge whether activated application program supports corresponding graphics memory form, if support, trigger described output unit 604.
From editor unit 606, be used for the mapping relations of customizing keyboard message coding and characters in a fancy style pattern, and be kept at described storage unit 601.The user can set up the mapping relations of character and single file character string, character battle array, astigmatic word, figure etc. according to the input needs, and oneself creates corresponding literal or shape library.Characters in a fancy style function in conjunction with input method obtains bigger extensibility and user's property of participation, for the user intercourses dictionary later on, shape library is done corresponding preparation.
Judge state cell 607 and character match unit 608, described character match unit 608 is used for the mapping relations of corresponding keyboard information code and literal/text strings, coupling and described coding corresponding character/text strings; Describedly judge state cell 607 is used to judge whether current state is the characters in a fancy style state, if then trigger described characters in a fancy style matching unit 603; Otherwise, trigger described character match unit 608.The present invention is preferred, also input method commonly used is combined in the characters in a fancy style system, provides the user to select the chance of importing.Before characters in a fancy style matching unit 603 carried out the coupling of characters in a fancy style pattern, judgement state cell 607 was at first judged current input state.If current is the characters in a fancy style state, then move described characters in a fancy style matching unit 603, realize the characters in a fancy style function; If not the characters in a fancy style state then moves character match unit 608, English that will be corresponding, Chinese or special symbol output with keyboard information code.
System shown in Figure 6 also comprises the character replacement unit, also stores at least a ASCII character character replacement rule in the described storage unit.Described character replacement unit is used for the characters in a fancy style pattern algorithm of the characters in a fancy style pattern of ASCII character character, described character replacement rule and the pre-stored confirmed according to the user/preset, and the corresponding characters in a fancy style pattern of described keyboard information code is carried out character replacement.
In the system shown in Figure 6, described coding receiving element 602, storage unit 601 and output unit 604 can be arranged in same computing equipment; Preferably, also can adopt the network input process: described system coding receiving element 602, output unit 604 are arranged in first computing equipment, and storage unit 601 is arranged in second computing equipment; System shown in Figure 6 is obtained corresponding information according to the keyboard message of user's input from the storage unit that is arranged in second computing equipment, exports at first computing equipment.
System shown in Figure 6 also comprises figure replacement unit, also stores at least a ASCII character artistic character/image Substitution Rules in the described storage unit; Described figure is replaced the unit, is used for the picture figure according to described ASCII character artistic character/image Substitution Rules and pre-stored, the corresponding picture figure of described keyboard information code is carried out the ASCII character artistic character/image replace.
Preferably, the present invention also provide a kind of in application window the system of inputting artistic character word.With reference to Fig. 7, be the preferred embodiment of the present invention described a kind of in application window the system construction drawing of inputting artistic character word/figure.Compare with system shown in Figure 6, except that comprising same storage unit 701, received code unit 702, characters in a fancy style matching unit 703, output unit 704, judge application program unit 705, edit unit 706 certainly, judging state cell 707, outside the character replacement unit 710, also comprise text strings matching unit 708 and participle unit 709.Wherein,
Storage unit 701, identical with the function of storage unit 601, the characters in a fancy style pattern algorithm that is used for the various characters in a fancy style patterns of pre-stored or presets, and the mapping relations table between keyboard information code-literal/text strings-characters in a fancy style pattern three.Also comprise character repertoire 7011, ASCII character art character library 7012 and shape library 7013.
Text strings matching unit 708 is used for the keyboard information code of corresponding stored unit 701 and the mapping relations of literal/text strings, coupling and described coding corresponding character/text strings.When the keyboard information code that receives when received code unit 702 is coded strings, described text strings matching unit 708 will carry out the coupling of literal/text strings to coded strings.
Participle unit 709 if the characters in a fancy style pattern that the user selects is ASCII character artistic character/image, single file character string, character battle array or figure etc., is used for the text strings that described text strings matching unit 708 couplings obtain is carried out participle.At first phrase or the sentence with corresponding text strings carries out word segmentation processing, and then the corresponding characters in a fancy style that has in the characters in a fancy style matching unit 603 coupling storage unit 601, after making things convenient for the disposable input characters string of user, go up screen again and demonstrate corresponding characters in a fancy style pattern, can also improve the matching efficiency and the matching effect of various characters in a fancy style patterns.
In present various segmenting methods, all can there be the problem of participle ambiguity.The present invention can adopt foregoing several segmenting method or additive method well known to those skilled in the art, carries out word segmentation processing.But handle for the ambiguity in the participle, can adopt optimum cutting route method, can be loyal to original semanteme more exactly based on a meta-model.Specifying as previously mentioned of optimum cutting route method.
Characters in a fancy style matching unit 703, identical with the function of characters in a fancy style matching unit 603, be used for cutting result and the literal/text strings of storage unit 701 and the mapping relations of characters in a fancy style pattern, in storage unit 701, obtain corresponding characters in a fancy style pattern according to described participle unit 709.
Judge state cell 707, identical with the function of judging state cell 607, be used to judge whether current state is the characters in a fancy style state, if then trigger described characters in a fancy style matching unit 703; Otherwise, trigger described text strings matching unit 708.
System shown in Figure 7 can also comprise the character replacement unit, also stores at least a ASCII character character replacement rule in the described storage unit 701; Described character replacement unit is used for the characters in a fancy style pattern algorithm of the characters in a fancy style pattern of ASCII character character, described character replacement rule and the pre-stored confirmed according to the user/preset, and the corresponding characters in a fancy style pattern of described keyboard information code is carried out character replacement.
More than to a kind of method and system provided by the present invention to application program inputting artistic character word/figure, be described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, part in specific embodiments and applications all can change.In sum, this description should not be construed as limitation of the present invention.

Claims (23)

1, a kind of method to application program inputting artistic character word/figure is characterized in that, comprising:
Set up the mapping relations of keyboard information code and characters in a fancy style pattern, described characters in a fancy style pattern includes but not limited to: ASCII character characters in a fancy style, ASCII character artistic character/image, astigmatic word, single file character string, character battle array or figure;
Distributing operation system interface function is obtained keyboard information code;
Corresponding described mapping relations are mated the characters in a fancy style pattern corresponding with described keyboard information code;
Trigger control information of application program interface, to activated application program inputting artistic character word/figure.
2, method according to claim 1 is characterized in that, described characters in a fancy style pattern obtains by the pre-stored mode or obtains by presetting algorithm.
3, method according to claim 1 is characterized in that, described mapping relations comprise: the mapping of keyboard information code and literal/text strings, the mapping of literal/text strings and characters in a fancy style pattern; And/or keyboard information code is direct and the mapping of characters in a fancy style pattern.
4, method according to claim 1, it is characterized in that, also comprise: when matching result is a figure, judge whether activated application program supports corresponding graphics memory form, if support, then trigger control information of application program interface, send matching result to activated application program.
5, method according to claim 1 is characterized in that, also comprises: the mapping relations of customizing keyboard message coding and characters in a fancy style pattern.
6, method according to claim 1 is characterized in that, also comprises: judge whether current state is the characters in a fancy style state, if then carry out the coupling of characters in a fancy style; Otherwise the mapping relations of corresponding described keyboard information code and literal/text strings are carried out the coupling of literal/text strings.
7, method according to claim 2 is characterized in that, also comprises:
Pre-set at least a ASCII character character replacement rule;
The characters in a fancy style pattern algorithm of the characters in a fancy style pattern of ASCII character character, described character replacement rule and the pre-stored of confirming according to the user/preset carries out character replacement to the corresponding characters in a fancy style pattern of described keyboard information code;
Trigger control information of application program interface, the characters in a fancy style/figure after the activated application program input character is replaced.
8, method according to claim 2 is characterized in that, also comprises:
Pre-set at least a ASCII character artistic character/image Substitution Rules;
According to the picture figure of described ASCII character artistic character/image Substitution Rules and pre-stored, the corresponding picture figure of described keyboard information code is carried out the ASCII character artistic character/image replace;
Trigger control information of application program interface, the ASCII character artistic character/image after the activated application program input is replaced.
9, a kind of method to application program inputting artistic character word/figure is characterized in that, comprising:
Set up the mapping relations between keyboard information code-literal/text strings-characters in a fancy style pattern three, described characters in a fancy style pattern includes but not limited to: ASCII character characters in a fancy style, ASCII character artistic character/image, astigmatic word, single file character string, character battle array or figure;
Distributing operation system interface function is obtained keyboard information code;
The mapping relations of corresponding keyboard information code and literal/text strings are obtained corresponding text strings;
The characters in a fancy style pattern of corresponding text strings semanteme and pre-stored, the described text strings of cutting;
According to the mapping relations of cutting result and literal/text strings and characters in a fancy style pattern, obtain corresponding characters in a fancy style pattern;
Trigger control information of application program interface, to activated application program inputting artistic character word/figure.
10, method according to claim 9, it is characterized in that, also comprise: when matching result is figure, judge whether activated application program supports corresponding graphics memory form, if support, then trigger control information of application program interface, to activated application program inputting artistic character word/figure.
11, method according to claim 9 is characterized in that, also comprises:
Pre-set at least a ASCII character character replacement rule;
The characters in a fancy style pattern algorithm of the characters in a fancy style pattern of ASCII character character, described character replacement rule and the pre-stored of confirming according to the user/preset carries out character replacement to the corresponding characters in a fancy style pattern of described keyboard information code;
Trigger control information of application program interface, the characters in a fancy style/figure after the activated application program input character is replaced.
12, a kind of system to application program inputting artistic character word/figure is characterized in that, comprising:
Storage unit, the characters in a fancy style pattern algorithm that is used for pre-stored characters in a fancy style pattern or presets, and the mapping relations of keyboard information code and characters in a fancy style pattern; Described characters in a fancy style pattern includes but not limited to: ASCII character characters in a fancy style, ASCII character artistic character/image, astigmatic word, single file character string, character battle array or figure;
The coding receiving element is used for distributing operation system interface function, obtains keyboard information code;
The characters in a fancy style matching unit is used for corresponding described mapping relations table, mates the characters in a fancy style pattern corresponding with described keyboard information code;
Output unit is used to trigger control information of application program interface, to activated application program inputting artistic character word/figure.
13, system according to claim 12 is characterized in that, described mapping relations comprise: the mapping relations of keyboard information code and literal/text strings, the mapping relations of literal/text strings and characters in a fancy style pattern; And/or keyboard information code is direct and the mapping relations of characters in a fancy style pattern.
14, system according to claim 12 is characterized in that, described storage unit comprises:
Character repertoire is used to deposit and keyboard information code corresponding character/text strings, astigmatic word, single file character string or character battle array;
ASCII character art character library is used to deposit ASCII character characters in a fancy style corresponding with keyboard information code or the characters in a fancy style algorithm that presets;
Shape library is used to deposit ASCII character artistic character/image corresponding with keyboard information code or picture figure.
15, system according to claim 12 is characterized in that, also comprises:
The application program judging unit when matching result is figure, is used to judge whether activated application program supports corresponding graphics memory form, if support, then triggers described output unit.
16, system according to claim 12 is characterized in that, also comprises:
From the editor unit, be used for the mapping relations that User Defined is provided with keyboard information code and characters in a fancy style pattern, and be saved to described storage unit.
17, system according to claim 12 is characterized in that, also comprises:
The character match unit is used for the mapping relations according to keyboard information code and literal/text strings, coupling and described coding corresponding character/text strings;
Judge state cell, be used to judge whether current state is the characters in a fancy style state, if then trigger described characters in a fancy style matching unit; Otherwise, trigger described character match unit.
18, system according to claim 12 is characterized in that, also comprises the character replacement unit;
Also store at least a ASCII character character replacement rule in the described storage unit;
Described character replacement unit is used for the characters in a fancy style pattern algorithm of the characters in a fancy style pattern of ASCII character character, described character replacement rule and the pre-stored confirmed according to the user/preset, and the corresponding characters in a fancy style pattern of described keyboard information code is carried out character replacement.
19, system according to claim 12 is characterized in that, also comprises figure replacement unit;
Also store at least a ASCII character artistic character/image Substitution Rules in the described storage unit;
Described figure is replaced the unit, is used for the picture figure according to described ASCII character artistic character/image Substitution Rules and pre-stored, the corresponding picture figure of described keyboard information code is carried out the ASCII character artistic character/image replace.
20, system according to claim 12 is characterized in that:
Describedly be arranged in same computing equipment to the system of application program inputting artistic character word/figure included coding receiving element, storage unit and output unit;
Perhaps describedly be arranged in first computing equipment to the system of application program inputting artistic character word/figure included system coding receiving element, output unit, storage unit is arranged in second computing equipment; This system obtains corresponding information according to the keyboard message of user's input from the storage unit that is arranged in second computing equipment, exports at first computing equipment.
21, a kind of system to application program inputting artistic character word/figure is characterized in that, comprising:
Storage unit, the characters in a fancy style pattern algorithm that is used for pre-stored characters in a fancy style pattern or presets, and the mapping relations between keyboard information code-literal/text strings-characters in a fancy style pattern three; Described characters in a fancy style pattern includes but not limited to: ASCII character characters in a fancy style, ASCII character artistic character/image, astigmatic word, single file character string, character battle array or figure;
The coding receiving element is used for distributing operation system interface function, obtains keyboard information code;
The text strings matching unit is used for the mapping relations of corresponding keyboard information code and literal/text strings, obtains corresponding text strings;
The participle unit is used for the characters in a fancy style pattern of the semantic and pre-stored of corresponding text strings, the described text strings of cutting;
The characters in a fancy style matching unit is used for the mapping relations according to cutting result and literal/text strings and characters in a fancy style pattern, obtains corresponding characters in a fancy style pattern;
Output unit is used to trigger control information of application program interface, to activated application program inputting artistic character word/figure.
22, system according to claim 21 is characterized in that, also comprises: judge state cell, be used to judge whether current state is the characters in a fancy style state, if then connect text strings matching unit-participle unit-characters in a fancy style matching unit-output unit; Otherwise, connect text strings matching unit-output unit.
23, system according to claim 21 is characterized in that, also comprises the character replacement unit;
Also store at least a ASCII character character replacement rule in the described storage unit;
Described character replacement unit is used for the characters in a fancy style pattern algorithm of the characters in a fancy style pattern of ASCII character character, described character replacement rule and the pre-stored confirmed according to the user/preset, and the corresponding characters in a fancy style pattern of described keyboard information code is carried out character replacement.
CN200610127154.2A 2006-09-05 2006-09-05 A kind of method and system to application program inputting artistic character word/figure Active CN1920754B9 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200610127154.2A CN1920754B9 (en) 2006-09-05 2006-09-05 A kind of method and system to application program inputting artistic character word/figure
PCT/CN2007/070615 WO2008071099A1 (en) 2006-09-05 2007-09-04 Method and system for inputting artistic word/diagram into application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610127154.2A CN1920754B9 (en) 2006-09-05 2006-09-05 A kind of method and system to application program inputting artistic character word/figure

Publications (3)

Publication Number Publication Date
CN1920754A true CN1920754A (en) 2007-02-28
CN1920754B CN1920754B (en) 2010-06-23
CN1920754B9 CN1920754B9 (en) 2016-06-08

Family

ID=37778486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610127154.2A Active CN1920754B9 (en) 2006-09-05 2006-09-05 A kind of method and system to application program inputting artistic character word/figure

Country Status (2)

Country Link
CN (1) CN1920754B9 (en)
WO (1) WO2008071099A1 (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008122243A1 (en) * 2007-04-10 2008-10-16 Beijing Sogou Technology Development Co., Ltd. A method and system for calling program command fast and a input method system
CN101833936A (en) * 2009-12-22 2010-09-15 康佳集团股份有限公司 Mobile terminal and method and device for displaying interfaces thereof
CN102541283A (en) * 2010-12-25 2012-07-04 上海量明科技发展有限公司 Method and system for achieving route type character input method
CN102819325A (en) * 2012-07-21 2012-12-12 上海量明科技发展有限公司 Input method and system for obtaining a plurality of character presenting effects
CN103294220A (en) * 2012-02-28 2013-09-11 联想(北京)有限公司 Input method and device
CN103455166A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method and system for outputting seal information based on input method editor (IME) tool
CN103760991A (en) * 2014-01-13 2014-04-30 北京搜狗科技发展有限公司 Physical input method and physical input device
CN104063363A (en) * 2013-03-19 2014-09-24 福建福昕软件开发股份有限公司北京分公司 Method for inserting wordart quickly in PDF document
WO2015107401A1 (en) * 2013-12-05 2015-07-23 Language Garden Ltd Manipulating graphic representations of words
CN104881146A (en) * 2015-04-28 2015-09-02 北京美秒科技有限公司 Picture input method
CN104899184A (en) * 2014-03-04 2015-09-09 腾讯科技(深圳)有限公司 Character processing method, device and system
CN105739717A (en) * 2016-01-27 2016-07-06 百度在线网络技术(北京)有限公司 Information input method and device
CN107229349A (en) * 2016-03-25 2017-10-03 阿里巴巴集团控股有限公司 The character displaying method and device of a kind of input method
CN109871161A (en) * 2017-12-01 2019-06-11 腾讯科技(深圳)有限公司 Font processing method and device, electronic equipment in chat application
CN110110073A (en) * 2018-01-26 2019-08-09 北京高德云图科技有限公司 A kind of text methods of exhibiting and device
CN110456919A (en) * 2018-05-07 2019-11-15 北京搜狗科技发展有限公司 Data processing method, device and the device for data processing
CN110909194A (en) * 2019-09-29 2020-03-24 上海萌家网络科技有限公司 Input method and system thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566904B (en) * 2011-11-25 2016-08-03 同济大学 A kind of West Xia Dynasty's voice terminal based on West Xia Dynasty's literary composition holographic code exchange interface
CN117173000A (en) * 2023-09-08 2023-12-05 广州市科帕电子科技有限公司 Information hiding method and system based on quaternary coding

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5346756A (en) * 1992-10-30 1994-09-13 Himont Incorporated Nonwoven textile material from blends of propylene polymer material and olefin polymer compositions
CN1779604A (en) * 2004-11-18 2006-05-31 黄金富 Data processor and characters inputting method

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286118B (en) * 2007-04-10 2012-04-18 北京搜狗科技发展有限公司 Method for quick calling program instruction, system and an input method system
WO2008122243A1 (en) * 2007-04-10 2008-10-16 Beijing Sogou Technology Development Co., Ltd. A method and system for calling program command fast and a input method system
CN101833936A (en) * 2009-12-22 2010-09-15 康佳集团股份有限公司 Mobile terminal and method and device for displaying interfaces thereof
CN102541283A (en) * 2010-12-25 2012-07-04 上海量明科技发展有限公司 Method and system for achieving route type character input method
CN103294220A (en) * 2012-02-28 2013-09-11 联想(北京)有限公司 Input method and device
CN102819325A (en) * 2012-07-21 2012-12-12 上海量明科技发展有限公司 Input method and system for obtaining a plurality of character presenting effects
CN104063363A (en) * 2013-03-19 2014-09-24 福建福昕软件开发股份有限公司北京分公司 Method for inserting wordart quickly in PDF document
CN103455166A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method and system for outputting seal information based on input method editor (IME) tool
CN103455166B (en) * 2013-08-18 2018-10-12 苏州量跃信息科技有限公司 The method and system of seal information are exported based on input method tool
WO2015107401A1 (en) * 2013-12-05 2015-07-23 Language Garden Ltd Manipulating graphic representations of words
CN103760991A (en) * 2014-01-13 2014-04-30 北京搜狗科技发展有限公司 Physical input method and physical input device
CN103760991B (en) * 2014-01-13 2017-02-15 北京搜狗科技发展有限公司 Physical input method and physical input device
CN104899184A (en) * 2014-03-04 2015-09-09 腾讯科技(深圳)有限公司 Character processing method, device and system
CN104899184B (en) * 2014-03-04 2019-10-15 腾讯科技(深圳)有限公司 Literal processing method, apparatus and system
CN104881146A (en) * 2015-04-28 2015-09-02 北京美秒科技有限公司 Picture input method
CN105739717A (en) * 2016-01-27 2016-07-06 百度在线网络技术(北京)有限公司 Information input method and device
CN105739717B (en) * 2016-01-27 2019-01-25 百度在线网络技术(北京)有限公司 Data inputting method and device
CN107229349A (en) * 2016-03-25 2017-10-03 阿里巴巴集团控股有限公司 The character displaying method and device of a kind of input method
CN109871161A (en) * 2017-12-01 2019-06-11 腾讯科技(深圳)有限公司 Font processing method and device, electronic equipment in chat application
CN109871161B (en) * 2017-12-01 2021-08-17 腾讯科技(深圳)有限公司 Font processing method and device in chat application and electronic equipment
CN110110073A (en) * 2018-01-26 2019-08-09 北京高德云图科技有限公司 A kind of text methods of exhibiting and device
CN110110073B (en) * 2018-01-26 2021-07-23 北京高德云图科技有限公司 Character display method and device
CN110456919A (en) * 2018-05-07 2019-11-15 北京搜狗科技发展有限公司 Data processing method, device and the device for data processing
CN110909194A (en) * 2019-09-29 2020-03-24 上海萌家网络科技有限公司 Input method and system thereof

Also Published As

Publication number Publication date
CN1920754B9 (en) 2016-06-08
WO2008071099A1 (en) 2008-06-19
CN1920754B (en) 2010-06-23

Similar Documents

Publication Publication Date Title
CN1920754A (en) Method and system for inputting artistic character/image into application program
CN1024302C (en) Reservation system terminal
CN101063924A (en) Method and device for making user elect multiple objects in a document
CN101038550A (en) Information processing apparatus and information processing method
CN1639696A (en) System and method for concurrent multimodal communication session persistence
CN1806220A (en) Editing system using electronic pen, editing method and program therefor
CN1290901A (en) Method and system for text substitute mode formed by random input source
CN1677419A (en) Message distribution system, server, mobile terminal, data storage unit, message distribution method, and message distribution computer program product
CN1441371A (en) Character input device
CN1755616A (en) Editing the text of an arbitrary graphic via a hierarchical list
CN1303202A (en) Electron post terminal and electronic post system of automatic switch received electron post character series
CN1784664A (en) Document data output device capable of appropriately outputting document data containing a text and layout information
CN107025053A (en) The method that one service is provided when by dummy keyboard input content to application program
CN101075320A (en) System and method for issuing and inquiring information
CN1808437A (en) Instant webpage key word search method
CN1744084A (en) Method of searching for personal information management (pim)information and handheld electronic device employing the same
CN1811681A (en) Character inputting device and method
CN1614927A (en) Method for realizing tree-shaped structure in B/S structure
CN1941767A (en) Method and system for processing instant telecommunication information
CN114938473A (en) Comment video generation method and device
CN1797301A (en) Digital information search method and system
CN113746874A (en) Voice packet recommendation method, device, equipment and storage medium
CN1770782A (en) Portable terminal and display data editing method for the same
CN101079055A (en) Method, system and apparatus for expanding text collection of same subject
CN1786892A (en) Inputing Chinese character and switching window by finger screen keyboard on hand touching screen of cell phone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C53 Correction of patent for invention or patent application
CI03 Correction of invention patent

Correction item: Claims

Correct: Correct

False: Error

Number: 25

Page: full text

Volume: 26