CN110456919A - Data processing method, device and the device for data processing - Google Patents

Data processing method, device and the device for data processing Download PDF

Info

Publication number
CN110456919A
CN110456919A CN201810426234.0A CN201810426234A CN110456919A CN 110456919 A CN110456919 A CN 110456919A CN 201810426234 A CN201810426234 A CN 201810426234A CN 110456919 A CN110456919 A CN 110456919A
Authority
CN
China
Prior art keywords
character
input
user
output
control
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
CN201810426234.0A
Other languages
Chinese (zh)
Other versions
CN110456919B (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
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201810426234.0A priority Critical patent/CN110456919B/en
Publication of CN110456919A publication Critical patent/CN110456919A/en
Application granted granted Critical
Publication of CN110456919B publication Critical patent/CN110456919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a kind of data processing method, device and for the device of data processing.Method therein specifically includes: determining the corresponding input character of the input string of user;According to the mapping relations between the first character, the Character Style and the second character, the input character and the corresponding output character of preset characters pattern are determined;It will shield on the output character.The character of the Character Style needed for the embodiment of the present invention can export user to application environment, and then the interest of input and the diversity of the Character Style and rich can be improved.

Description

Data processing method, device and the device for data processing
Technical field
The present invention relates to input technology field more particularly to a kind of data processing method, device and for data processing Device.
Background technique
The bridge that equipment is communicated as computer system with user or other equipment, be between user and computer system into One of the main device of row information interaction, can be convenient user and inputs information in several scenes.For example, user can be in sight When communication APP (application program, Application) in input character to be exchanged with other users, can also be in document APP Middle input character is to edit document, etc..
Inventor has found that the Character Style that can be inputted in APP at present is usual during implementing the embodiment of the present invention It is to be limited by operating system and/or APP, if operating system and/or APP do not support the modification for having the Character Style, Then user cannot just input the character of required the Character Style.For example, for the instant messagings such as wechat, QQ APP, at present only It can support single the Character Style, and not support the modification for the Character Style.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method, device and the device for data processing, can be to application The character of the Character Style needed for environment exports user, and then the interest of input and the diversity of the Character Style can be improved With it is rich.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of data processing methods, comprising:
Determine the corresponding input character of the input string of user;
According to the mapping relations between the first character, the Character Style and the second character, determines the input character and preset The corresponding output character of the Character Style;
It will shield on the output character.
On the other hand, the embodiment of the invention discloses a kind of data processing equipments, comprising:
Input character determining module, the corresponding input character of input string for determining user;
Output character determining module, for the mapping relations between the first character of foundation, the Character Style and the second character, really The fixed input character and the corresponding output character of preset characters pattern;And
Upper panel module, for will shield on the output character.
In another aspect, including memory, Yi Jiyi the embodiment of the invention discloses a kind of device for data processing A perhaps more than one program one of them or more than one program is stored in memory, and is configured to by one Or it includes the instruction for performing the following operation that more than one processor, which executes the one or more programs:
Determine the corresponding input character of the input string of user;
According to the mapping relations between the first character, the Character Style and the second character, determines the input character and preset The corresponding output character of the Character Style;
It will shield on the output character.
Another aspect, the embodiment of the invention discloses a kind of machine readable medias, are stored thereon with instruction, when by one or When multiple processors execute, so that device executes the data processing method as described in aforementioned one or more.
The embodiment of the present invention includes following advantages:
Mapping relations in the embodiment of the present invention between the first character, the Character Style and the second character are used for the first word Symbol is mapped as the second character with the Character Style, in this way, can be according to the mapping relations, determining and upper screen input character and pre- If the corresponding output character of the Character Style, wherein for the demand of the Character Style, therefore the preset characters pattern can characterize user The character of the Character Style needed for the embodiment of the present invention can export user to application environment, and then the entertaining of input can be improved The diversity of property and the Character Style and rich.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of signal of the application environment of data processing method of the embodiment of the present invention;
Fig. 2 is a kind of step flow chart of data processing method embodiment one of the invention;
Fig. 3 (a), Fig. 3 (b) are a kind of signal at interface of the embodiment of the present invention respectively;
Fig. 4 (a), Fig. 4 (b), Fig. 4 (c) are a kind of signal at interface of the embodiment of the present invention respectively;
Fig. 5 (a), Fig. 5 (b) are a kind of signal at interface of the embodiment of the present invention respectively;
Fig. 6 is a kind of signal at interface of the embodiment of the present invention;
Fig. 7 is a kind of step flow chart of data processing method embodiment two of the invention;
Fig. 8 is a kind of structural block diagram of data processing equipment embodiment of the invention;
Fig. 9 is a kind of block diagram of device 900 for data processing of the invention;And
Figure 10 is the structural schematic diagram of server in some embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of data processing scheme, the program comprises determining that the input string of user is corresponding Input character;According to the mapping relations between the first character, the Character Style and the second character, determines the input character and preset The corresponding output character of the Character Style;It will shield on the output character.
Mapping relations in the embodiment of the present invention between the first character, the Character Style and the second character are used for the first word Symbol is mapped as the second character with the Character Style, in this way, can be according to the mapping relations, determining and upper screen input character and pre- If the corresponding output character of the Character Style, wherein for the demand of the Character Style, therefore the preset characters pattern can characterize user The character of the Character Style needed for the embodiment of the present invention can export user to application environment, and then the entertaining of input can be improved The diversity of property and the Character Style and rich.
The corresponding application environment of the input string of the embodiment of the present invention may include: instant messaging environment, search environment, document Environment etc., by taking instant messaging environment as an example, the character of the Character Style needed for can exporting user to instant messaging environment, and then make The character of the Character Style needed for user sends user to Correspondent Node is obtained, and then the interest of instant messaging can be improved.
The embodiment of the present invention can be realized by input method.Input method (IME, Input Method described herein Editor) refer to: the user of equipment uses the input tools such as keyboard, handwriting pad, touch screen or sound collection equipment to equipment Input the edit tool of text, symbol.Input method uses certain coding rule, by the input string of user (pinyin string, five strings, Handwriting pad input string etc.) it is converted into the accessible character code of machine.Input method is that user carries out entering for computer information processing Mouth program.The character that input method is supported may include: text, letter, number, symbol etc., and text may further include: English Text, Chinese, Japanese, Korean etc..
The input method referred here to may operate at arbitrary host environment (host environment) as boarding program Under, therefore input method is unrelated with application environment, can be specifically applied in the equipment such as common computer, mobile phone, tablet computer Any specific operation system or application environment.Wherein, host program can be used under computer environment, provides boarding program and relies The software environment namely host environment of existence, meanwhile, the DLL (dynamic that host program can be provided with dynamically load boarding program Chained library, Dynamic Link Library), with dynamically load external function.DLL may include: the input that input method provides Method editing machine chained library (is such as stored in the SogouPy.ime under c:windowssystem32).
In an alternative embodiment of the invention, the host program of input method boarding may include: communication program, this is logical Interrogating program has communication function, which may include: short message program, instant messaging program, voice procedure, mail journey Sequence, social program etc., it will be understood that the specific place that the embodiment of the present invention lodges for specific communication program and input method Main program is without restriction.
Data processing method provided in an embodiment of the present invention can be applied in application environment shown in FIG. 1, as shown in Figure 1, Client 100 and server 200 are located in wired or wireless network, by the wired or wireless network, client 100 and service Device 200 carries out data interaction.
Optionally, client 100 may operate in terminal, and above-mentioned terminal is specifically including but not limited to: smart phone is put down Plate computer, E-book reader, MP3 (dynamic image expert's compression standard audio level 3, Moving Picture Experts Group Audio Layer III) player, MP4 (dynamic image expert's compression standard audio level 4, Moving Picture Experts Group Audio Layer IV) player, pocket computer on knee, vehicle-mounted computer, desktop computer, machine top Box, intelligent TV set, wearable device etc..Client 100 can correspond to website or APP (application program, Application)。
Client 100 refers to corresponding with server 200, provides the program of local service for user.The embodiment of the present invention In client 100 can be that the program of local input service is provided, such as input method journey, the embodiment of the present invention is for specific Client 100 is without restriction.
The embodiment of the present invention can be applied to the input modes such as keyboard symbol input, handwriting input, voice input, scanning input Input method.Wherein, keyboard symbol input mode refers to is inputted by the key on keyboard, and handwriting input mode refers to by interior The stylus set is hand-written on the screen, and voice input mode refers to that the voice signal by user's input is converted to text, scanning input Mode refers to inputs text information by way of scanned picture, specifically, can use OCR (optical character identification, Optical Character Recognition) technology by the text conversion in picture be text formatting.
For ease of description, the coded string that the embodiment of the present invention inputs user under above-mentioned input mode is known as inputting String.It, usually can be with for the input method procedure of such as English, Chinese, Japanese, Korean or other Languages in input method field The input string that user inputs is converted into corresponding candidate item.
According to some embodiments, above-mentioned input string be can include but is not limited to: user is pressed by one that key is inputted The combination of keysym or multiple key symbols.The key symbols can specifically include: phonetic, stroke, assumed name etc..
Embodiment of the method one
Referring to Fig. 2, a kind of step flow chart of data processing method embodiment one of the invention is shown, specifically can wrap Include following steps:
Step 201 determines the corresponding input character of the input string of user;
Mapping relations between step 202, the first character of foundation, the Character Style and the second character, determine the input word Accord with output character corresponding with preset characters pattern;
Step 203 will shield on the output character.
At least one step of embodiment illustrated in fig. 2 can be by server and/or client executing, certain embodiment of the present invention It is without restriction for the specific executing subject of each step.
In step 201, the input string of user can be converted to the input character of object language.Object language can foundation The input pattern of input method, and/or the use habit of user determine.For example, the input pattern of input method is English input, then Object language may include: English or letter or symbol.For another example, the input pattern of input method is input in Chinese, then mesh Poster speech may include: Chinese or letter or symbol.In an embodiment of the present invention, it is assumed that user is defeated in Chinese Enter and shielded English under mode, then the corresponding object language of Chinese input mode may include: English.It is appreciated that the present invention Embodiment is without restriction for specific object language.
In a kind of application example 1 of the invention, it is assumed that user inputs " nihao " under Chinese input mode, then corresponds to Input character may include: " hello ", " you number ", " drawing up ", " (* ▽ `) ノ ノ " etc..
In a kind of application example 2 of the invention, it is assumed that user inputs " Abc " under Chinese input mode, then corresponding Inputting character may include: " Abc ", " ABC ", " A ", " A classes ", " A editions " etc..
In a kind of application example 3 of the invention, it is assumed that user inputs " Abc " under English input mode, then corresponding Inputting character may include: " Abc " etc..
It is appreciated that input method can determine the corresponding input character of the input string of user according to prior art, for example, By searching for dictionary (system dictionary or user thesaurus etc.), the corresponding input character of the input string of user is determined, the present invention is real The detailed process for applying example input character corresponding for the input string for determining user is without restriction.
In step 202, the second character can be the character with the Character Style.In a kind of alternative embodiment of the invention In, the second character may include: spcial character etc..Spcial character may include: that letter, number, symbol or text are corresponding At least one the Character Style.The corresponding the Character Style of spcial character may include: capitalization, small letter, at least one font (such as sieve Horse, the Song typeface, Script font etc.), runic, italic, underline, at least one subscript, at least one subscript, annular effect, Stereoscopic effect etc..
By taking alphabetical " A " as an example, corresponding capitalization pattern is " A ", and small letter pattern is " a ", Rome (Times New Roman) font is " A ", and Script font isRunic isItalic isUnderline for "A", subscript packet It includes:Deng subscript includes:Annular effect includes:Stereoscopic effect Include:Deng.
By taking digital " 1 " as an example, multiple fonts pattern can be corresponded to, as DejaVu Sans (moral Jeff Sa Ensi) font, Roman font, Aegyptus, Regular (Aedes aegypti) font etc..
In practical applications, it can be obtained pair using a kind of character as the first character, and according to its corresponding the Character Style The second character namely corresponding second character of its available the Character Style answered, and then can establish the first character, character sample Mapping relations between formula and the second character.For example, can be using letter, number, Chinese character or English word as the first word Symbol, and according to the corresponding the Character Style (such as font style, display effect pattern) of the first character, obtain corresponding second word Symbol.It is appreciated that those skilled in the art can determine the first character and the corresponding word of the first character according to practical application request Pattern is accorded with, the embodiment of the present invention does not limit specific first character and the corresponding specific the Character Style of the first character System.
In an alternative embodiment of the invention, in inside computer system, unified coding standard pair can be used First character and the second character are encoded, it is possible thereby to realize the computer representation of the first character and the second character.Above-mentioned volume Code standard can include but is not limited to: ASCII (ASCII, American Standard Code for Information Interchange), Unicode (Unicode) and UTF-8 (8 Unicode format transformations, 8-bit Unicode Transformation Format) etc., it will be understood that the embodiment of the present invention is for the first character and the second character Corresponding specific coding standard is without restriction.
In an embodiment of the present invention, it is assumed that the mapping relations between the first character, the Character Style and the second character Include: " A ", " stereoscopic effect " andBetween mapping relations, if then input character is " A ", preset characters pattern is " vertical Body effect " then can obtain output character by above-mentioned mapping relations
The embodiment of the present invention can provide the following determining scheme of determining preset characters pattern:
It determines scheme 1, the functional status according to control, determines the preset characters pattern;Or
It determines scheme 2, according to the control information of user's input, determines the preset characters pattern.
It determines in scheme 1, control can refer to offer or realize the component of user interface capabilities, and control is to data and method Encapsulation, control can have oneself attribute and method.It in practical applications, can be on the lower edge of screen, top edge, the left side Edge or right hand edge show the control.It is of course also possible to above-mentioned control is shown in any positions such as the intermediate regions of screen, So that user changes the functional status of the control by operating the control, the embodiment of the present invention is for above-mentioned control in screen Specific location is without restriction.
In the embodiment of the present invention, the functional status of control can be associated with preset characters pattern.Optionally, the control Functional status may include: open state or off status, wherein open state can be used for characterizing the opening state of preset characters pattern State, off status can be used for characterizing the closed state of preset characters pattern.
In an alternative embodiment of the invention, the method for the embodiment of the present invention can also include: display first entrance Control;According to user for the trigger action of the first entrance control, at least one font control is shown.First entrance control It can play the role of the entrance of font control.
Referring to Fig. 3 (a), Fig. 3 (b), a kind of signal at interface of the embodiment of the present invention is respectively illustrated.It is defeated in Fig. 3 (a) Enter to be provided with overstriking control 301, italic control 302 and first entrance control 303 in tool bar in the keyboard area of method.If The trigger action for overstriking control 301 or italic control 302 is received, then enables overstriking or the corresponding character of italic Pattern receives the trigger action for overstriking control 301 or italic control 302 again, then cancels corresponding character sample Formula.If receiving the trigger action for first entrance control 303, interface shown in Fig. 3 (b), Fig. 3 (b) can be jumped to Interface may include: font Selection Floater 304, font Selection Floater 304 may include: at least one font control, user It can slide up and down and check font control, if receiving the trigger control for one of font control, correspondence can be enabled Font.
In an alternative embodiment of the invention, the method for the embodiment of the present invention can also include: display second entrance Control;According to user for the trigger action of the second entrance control, display runic control, italic control and at least one word Body control.Second entrance control can play the role of the entrance of many controls.
Referring to Fig. 4 (a), Fig. 4 (b), Fig. 4 (c), a kind of signal at interface of the embodiment of the present invention is respectively illustrated.Fig. 4 (a) in, the tool bar of the keyboard area of input method shows functionality controls 401.If receiving the triggering for functionality controls 401 Operation, then can jump to interface shown in Fig. 4 (b), the interface of Fig. 4 (b) may include: function panel 402, function panel 402 may include: several functional entrances, and Font Style (font attribute) 403 is one of functional entrance, Ke Yiqi Entrance to many controls acts on.If receiving the trigger action for Font Style 403, Fig. 4 (c) can be jumped to Shown in interface.Interface shown in Fig. 4 (c) may include: overstriking control 404, italic control 405 and font Selection Floater 406, font Selection Floater 406 may include: at least one font control, and user, which can slide up and down, checks font control, if connecing The trigger control for one of font control is received, then can enable corresponding font.
In an alternative embodiment of the invention, the preset characters pattern may include at least one in following pattern Kind: runic, italic, font, font size and underscore.It is appreciated that the embodiment of the present invention for specific preset characters pattern not It limits.
It should be noted that above-mentioned preset characters pattern can correspond to a kind of the Character Style, such as above-mentioned preset characters pattern Any in runic, italic, font, font size and underscore can be corresponded to.In a kind of application example, it is assumed that preset characters pattern It only include runic, then the corresponding output character of input string " ABCDEF " of user includes:
Alternatively, above-mentioned preset characters pattern can also correspond to two or more the Character Style, for example, above-mentioned pre- If the Character Style can correspond at least two in runic, italic, font, font size and underscore etc..In a kind of application example, Assuming that preset characters pattern includes runic and Script font, then the corresponding output character packet of input string " ABCDEF " of user It includes:
It should be noted that the character (output character as the aforementioned) for meeting preset characters pattern can not be by application environment Limitation the character that meet preset characters pattern can be sent to Correspondent Node for example, under instant communication environment.
Step 203 can will shield on output character that step 202 obtains.The upper screen of the embodiment of the present invention, can refer to will be defeated The content for entering method is output in the host program that it is lodged, and host program is referred to as input string and answered by the embodiment of the present invention Use environment;Since the Character Style of above-mentioned output character meets preset characters pattern, the embodiment of the present invention can be to application The character of the Character Style needed for environment exports user.The content of input method may include: candidate item, output character above-mentioned etc..
In an alternative embodiment of the invention, above-mentioned to shield on the output character, it can specifically include: will be described Output character is shown in the input string and corresponds in the input frame of application environment.Input frame is normally in response to user and is based on such as key The interaction of disk, mouse, remote controler, touch tablet or handwriting device or voice acquisition device and equipment provides the user with the defeated of information Enter.After frame is commonly entered in response to triggering, input cursor (input focus) can be presented, to prompt user in the input light target position It sets and is inputted;Above-mentioned triggering can include but is not limited to the operation such as click, double-click, touch.Information in input frame can wrap It includes but is not limited to: the information such as text, picture, video.By taking search environment as an example, input frame can be used for inputting searching request;With i.e. When communication environment for, input frame can be used for inputting information etc. to be sent.
Optionally, above-mentioned input frame is also corresponding with transmission instruction, so that user is by triggering transmission instruction, triggering input The transmission of the information inputted in frame, for example, transmission instruction can be to the triggering command etc. for sending control, it will be understood that this hair Bright embodiment is without restriction for specific triggering command.
The embodiment of the present invention can provide the following technical solution that will shield on the output character:
Technical solution 1
In technical solution 1, step 203 will shield on the output character, can specifically include: using the output character as The corresponding candidate item of the input string is shown, and in response to user for the selection operation of the output character, by institute It states and shields on output character.
Technical solution 1 can be shown the output character as the corresponding candidate item of the input string first, with It is selected for candidate item of the user to displaying;It is then possible in response to user for the selection operation of the output character, It will shield on the output character.
In practical applications, preset characters pattern can be one or more, and input character can be for one or more It is a.A preset characters pattern and an input character can be directed to, determine corresponding output character, so it is available at least One output character.The embodiment of the present invention can show at least one output character, select the above screen for user.
Referring to Fig. 5 (a), Fig. 5 (b), a kind of signal at interface of the embodiment of the present invention is respectively illustrated.Assuming that user is preparatory Be provided with preset characters pattern by Fig. 3 (a), Fig. 3 (b), Fig. 4 (a), Fig. 4 (b) or Fig. 4 (c): Script font then exists In the case where the input string " Abc " for receiving user, Fig. 5 (a) can show at least one output word for meeting Script font Symbol, Fig. 5 (b), for the selection operation of candidate item, will shield in response to user in candidate item needed for user.
Technical solution 2
In technical solution 2, step 203 will shield on the output character, can specifically include: not by the output character In the case where being shown as the corresponding candidate item of the input string, it will shield on the output character.
Technical solution 2 can be in the feelings not being shown the output character as the corresponding candidate item of the input string Under condition, it will directly shield on the output character.
Referring to Fig. 6, a kind of signal at interface of the embodiment of the present invention is shown.Assuming that user first passes through Fig. 3 (a), Fig. 3 in advance (b), Fig. 4 (a), Fig. 4 (b) or Fig. 4 (c) are provided with preset characters pattern: Script font is then receiving the defeated of user In the case where entering string " Abc ", it can will meet the output character of Script fontIt is output in input frame.
To sum up, the data processing method of the embodiment of the present invention, the mapping between the first character, the Character Style and the second character Relationship, for the first character to be mapped as the second character with the Character Style, in this way, can be determined according to the mapping relations And upper screen input character and the corresponding output character of preset characters pattern, wherein the preset characters pattern can characterize user for The demand of the Character Style, therefore the embodiment of the present invention can be to the character of the Character Style needed for application environment output user, in turn The interest of input and the diversity of the Character Style and rich can be improved.
Current some operating systems such as IOS system, is mostly just capable of providing a kind of system format, and can not provide system The Character Style united except format, therefore the diversity of the Character Style and rich can be improved in the embodiment of the present invention.Also, even if Operating system (such as Android system, Windows system) is capable of providing both font types, but the Character Style that can be inputted in APP is logical It is often to be controlled by operating system and/or APP, if operating system and/or APP are not supported for having repairing for the Character Style Change, then user cannot just input the character of required the Character Style.For example, for the instant messagings such as wechat, QQ APP, at present It is merely capable of supporting single the Character Style, and does not support the modification for the Character Style;And the embodiment of the present invention can be to application The character of the Character Style needed for environment exports user, and then the interest of input and the diversity of the Character Style can be improved With it is rich.
Embodiment of the method two
Referring to Fig. 7, a kind of step flow chart of data processing method embodiment two of the invention is shown, specifically can wrap Include following steps:
Step 701 determines the corresponding input character of the input string of user;
Mapping relations between step 702, the first character of foundation, the Character Style and the second character, determine the input word Accord with output character corresponding with preset characters pattern;
Step 703 will shield on the output character;
Relative to embodiment of the method one shown in Fig. 2, the method for the present embodiment can also include:
Step 704, the modification operation for receiving user;
Step 705 determines that the modification operates corresponding source word and accords with target character corresponding with preset characters pattern;
Source word symbol is replaced with the target character by step 706.
Relative to embodiment of the method one shown in Fig. 2, the embodiment of the present invention can also support for inputted source word symbol The modification of character format.Specifically, it can determine that modification operates corresponding source word and accords with target word corresponding with preset characters pattern Symbol, and source word symbol is replaced with into the target character;The embodiment of the present invention can accord with the replacement to target character from source word, Realize the modification that corresponding character format is accorded with for source word.
In the embodiment of the present invention, modification operation can be preset key or gesture operation.Modification operates corresponding source Character can be all or part of character in input frame.For example, user can be determined in input frame with the first modification operation Alphabet.For another example, user can determine the partial character in input frame, then pass through the second modification behaviour by choosing mode Make, triggering modification.It is appreciated that the embodiment of the present invention is without restriction for specific trigger action.
The embodiment of the present invention determines that the process of target character may include: to accord with according to source word, searches the first character, character sample Mapping relations between formula and the second character, and obtained the second character of target will be searched as target character.
It should be noted that source word symbol can be the character that step 701 is inputted to step 703, for example, user passes through step 701 have input the output character of the first preset characters format to step 703, then it can be operated by modification, by output character It is the second preset characters format from the first preset characters form modifying.
Certainly, source word symbol can be the character inputted by other steps, for example, user can be inputted by other steps The character of system format, then it can be operated by modification, and character is revised as preset characters format from system format.
To sum up, the embodiment of the present invention supports the modification of the character format for the source word symbol inputted, can make user The source word symbol inputted is edited, therefore the usage experience of user's acquisition various characters pattern can be made.
It should be noted that for simple description, therefore, it is stated as a series of movement is dynamic for embodiment of the method It combines, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because For according to an embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art It should be aware of, the embodiments described in the specification are all preferred embodiments, and related athletic performance is not necessarily originally Necessary to inventive embodiments.
Installation practice
Referring to Fig. 8, a kind of structural block diagram of data processing equipment embodiment of the invention is shown, can specifically include:
Input character determining module 801, the corresponding input character of input string for determining user;
Output character determining module 802, for being closed according to the mapping between the first character, the Character Style and the second character System, determines the input character and the corresponding output character of preset characters pattern;And
Upper panel module 803, for will shield on the output character.
Optionally, the upper panel module 803 may include:
Shield submodule on first, for being shown the output character as the corresponding candidate item of the input string, And the selection operation of the output character will be shielded on the output character in response to user;Or
Shield submodule on second, for not opening up the output character as the corresponding candidate item of the input string In the case where showing, it will shield on the output character.
Optionally, described device can also include:
Receiving module, the modification for receiving user operate;
Target character determining module, for determining that it is corresponding with preset characters pattern that the modification operates corresponding source word symbol Target character;
Replacement module, for source word symbol to be replaced with the target character.
Optionally, described device can also include:
First pattern determining module determines the preset characters pattern for the functional status according to control;Or
Second pattern determining module determines the preset characters pattern for the control information according to user's input.
Optionally, described device can also include:
First display module, for showing first entrance control;
Second display module, for, for the trigger action of the first entrance control, showing at least one according to user Font control.
Optionally, described device can also include:
Third display module, for showing second entrance control;
4th display module, for according to user for the second entrance control trigger action, display runic control, Italic control and at least one font control.
Optionally, the upper panel module 803 is specifically used for showing the output character in the corresponding application of the input string In the input frame of environment.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
The embodiment of the invention provides a kind of devices for data processing, include memory and one or one A above program, perhaps more than one program is stored in memory and is configured to by one or one for one of them It includes the instruction for performing the following operation that the above processor, which executes the one or more programs: determining that user's is defeated Enter to go here and there corresponding input character;According to the mapping relations between the first character, the Character Style and the second character, the input is determined Character and the corresponding output character of preset characters pattern;It will shield on the output character.
Fig. 9 is a kind of block diagram of device 900 for data processing shown according to an exemplary embodiment.For example, dress Setting 900 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Referring to Fig. 9, device 900 may include following one or more components: processing component 902, memory 904, power supply Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor module 914, and Communication component 916.
The integrated operation of the usual control device 900 of processing component 902, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing element 902 may include that one or more processors 920 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 902 may include one or more modules, just Interaction between processing component 902 and other assemblies.For example, processing component 902 may include multi-media module, it is more to facilitate Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in equipment 900.These data are shown Example includes the instruction of any application or method for operating on device 900, contact data, and telephone book data disappears Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 906 provides electric power for the various assemblies of device 900.Power supply module 906 may include power management system System, one or more power supplys and other with for device 900 generate, manage, and distribute the associated component of electric power.
Multimedia component 908 includes the screen of one output interface of offer between described device 900 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 908 includes a front camera and/or rear camera.When equipment 900 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike Wind (MIC), when device 900 is in operation mode, when such as call model, logging mode and language data process mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 904 or via logical Believe that component 916 is sent.In some embodiments, audio component 910 further includes a loudspeaker, is used for output audio signal.
I/O interface 912 provides interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented Estimate.For example, sensor module 914 can detecte the state that opens/closes of equipment 900, and the relative positioning of component, for example, it is described Component is the display and keypad of device 900, and sensor module 914 can be with 900 1 components of detection device 900 or device Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900 Temperature change.Sensor module 914 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 914 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be handled based on rf data in NFC module Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 904 of instruction, above-metioned instruction can be executed by the processor 920 of device 900 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Figure 10 is the structural schematic diagram of server in some embodiments of the present invention.The server 1900 can be because of configuration or property Energy is different and generates bigger difference, may include one or more central processing units (central processing Units, CPU) 1922 (for example, one or more processors) and memory 1932, one or more storage applications The storage medium 1930 (such as one or more mass memory units) of program 1942 or data 1944.Wherein, memory 1932 and storage medium 1930 can be of short duration storage or persistent storage.The program for being stored in storage medium 1930 may include one A or more than one module (diagram does not mark), each module may include to the series of instructions operation in server.More into One step, central processing unit 1922 can be set to communicate with storage medium 1930, execute storage medium on server 1900 Series of instructions operation in 1930.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM Etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium by device (server or Person's terminal) processor when executing, enable a device to execute Fig. 2 or Fig. 3 or data processing method shown in Fig. 4.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium by device (server or Person's terminal) processor execute when, enable a device to execute a kind of data processing method, which comprises determine user The corresponding input character of input string;According to the mapping relations between the first character, the Character Style and the second character, determine described in Input character and the corresponding output character of preset characters pattern;It will shield on the output character.
The embodiment of the invention discloses A1, a kind of data processing method, which comprises
Determine the corresponding input character of the input string of user;
According to the mapping relations between the first character, the Character Style and the second character, determines the input character and preset The corresponding output character of the Character Style;
It will shield on the output character.
A2, method according to a1, it is described to shield on the output character, comprising:
It is shown the output character as the corresponding candidate item of the input string, and in response to user for described Output character selection operation, will shield on the output character;Or
It, will be described defeated in the case where not being shown the output character as the corresponding candidate item of the input string Shield on character out.
A3, method according to a1, the method also includes:
Receive the modification operation of user;
Determine that the modification operates corresponding source word and accords with target character corresponding with preset characters pattern;
Source word symbol is replaced with into the target character.
A4, according to A1 into A3 any method, the method also includes:
According to the functional status of control, the preset characters pattern is determined;Or
According to the control information of user's input, the preset characters pattern is determined.
A5, according to A1 into A3 any method, the method also includes:
Show first entrance control;
According to user for the trigger action of the first entrance control, at least one font control is shown.
A6, according to A1 into A3 any method, the method also includes:
Show second entrance control;
According to user for the trigger action of the second entrance control, runic control, italic control and at least one are shown A font control.
A7, according to A1 into A3 any method, it is described to shield on the output character, comprising:
The output character is shown in the input frame that the input string corresponds to application environment.
The embodiment of the invention discloses B8, a kind of data processing equipment, comprising:
Input character determining module, the corresponding input character of input string for determining user;
Output character determining module, for the mapping relations between the first character of foundation, the Character Style and the second character, really The fixed input character and the corresponding output character of preset characters pattern;And
Upper panel module, for will shield on the output character.
B9, the device according to B8, the upper panel module, comprising:
Shield submodule on first, for being shown the output character as the corresponding candidate item of the input string, And the selection operation of the output character will be shielded on the output character in response to user;Or
Shield submodule on second, for not opening up the output character as the corresponding candidate item of the input string In the case where showing, it will shield on the output character.
B10, the device according to B8, described device further include:
Receiving module, the modification for receiving user operate;
Target character determining module, for determining that it is corresponding with preset characters pattern that the modification operates corresponding source word symbol Target character;
Replacement module, for source word symbol to be replaced with the target character.
B11, according to B8 into B10 any device, described device further include:
First pattern determining module determines the preset characters pattern for the functional status according to control;Or
Second pattern determining module determines the preset characters pattern for the control information according to user's input.
B12, according to B8 into B10 any device, described device further include:
First display module, for showing first entrance control;
Second display module, for, for the trigger action of the first entrance control, showing at least one according to user Font control.
B13, according to B8 into B10 any device, described device further include:
Third display module, for showing second entrance control;
4th display module, for according to user for the second entrance control trigger action, display runic control, Italic control and at least one font control.
B14, according to B8 into B10 any device, the upper panel module, specifically for showing the output character Show in the input frame that the input string corresponds to application environment.
The embodiment of the invention discloses C15, a kind of device for data processing, include memory and one or The more than one program of person, one of them perhaps more than one program be stored in memory and be configured to by one or It includes the instruction for performing the following operation that more than one processor, which executes the one or more programs:
Determine the corresponding input character of the input string of user;
According to the mapping relations between the first character, the Character Style and the second character, determines the input character and preset The corresponding output character of the Character Style;
It will shield on the output character.
C16, the device according to C15, it is described to shield on the output character, comprising:
It is shown the output character as the corresponding candidate item of the input string, and in response to user for described Output character selection operation, will shield on the output character;Or
It, will be described defeated in the case where not being shown the output character as the corresponding candidate item of the input string Shield on character out.
C17, the device according to C15, described device are also configured to by one or the execution of more than one processor The one or more programs include the instruction for performing the following operation:
Receive the modification operation of user;
Determine that the modification operates corresponding source word and accords with target character corresponding with preset characters pattern;
Source word symbol is replaced with into the target character.
C18, according to C15 into C18 any device, described device be also configured to by one or more than one It includes the instruction for performing the following operation that processor, which executes the one or more programs:
According to the functional status of control, the preset characters pattern is determined;Or
According to the control information of user's input, the preset characters pattern is determined.
C19, according to C15 into C18 any device, described device be also configured to by one or more than one It includes the instruction for performing the following operation that processor, which executes the one or more programs:
Show first entrance control;
According to user for the trigger action of the first entrance control, at least one font control is shown.
C20, according to C15 into C18 any device, described device be also configured to by one or more than one It includes the instruction for performing the following operation that processor, which executes the one or more programs:
Show second entrance control;
According to user for the trigger action of the second entrance control, runic control, italic control and at least one are shown A font control.
C21, according to C15 into C18 any device, it is described to shield on the output character, comprising:
The output character is shown in the input frame that the input string corresponds to application environment.
The embodiment of the invention discloses D22, a kind of machine readable media, instruction are stored thereon with, when by one or more When processor executes, so that device executes the data processing method as described in A1 one or more into A7.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.The present invention is directed to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Above to a kind of data processing method provided by the present invention, a kind of data processing equipment and a kind of at data The device of reason, is described in detail, and specific case used herein explains the principle of the present invention and embodiment It states, the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for this field Those skilled in the art, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, to sum up institute It states, the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of data processing method, which is characterized in that the described method includes:
Determine the corresponding input character of the input string of user;
According to the mapping relations between the first character, the Character Style and the second character, the input character and preset characters are determined The corresponding output character of pattern;
It will shield on the output character.
2. the method according to claim 1, wherein described will shield on the output character, comprising:
It is shown the output character as the corresponding candidate item of the input string, and in response to user for described defeated The selection operation of character out will shield on the output character;Or
In the case where not being shown the output character as the corresponding candidate item of the input string, by the output word Fu Shangping.
3. the method according to claim 1, wherein the method also includes:
Receive the modification operation of user;
Determine that the modification operates corresponding source word and accords with target character corresponding with preset characters pattern;
Source word symbol is replaced with into the target character.
4. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
According to the functional status of control, the preset characters pattern is determined;Or
According to the control information of user's input, the preset characters pattern is determined.
5. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
Show first entrance control;
According to user for the trigger action of the first entrance control, at least one font control is shown.
6. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
Show second entrance control;
According to user for the trigger action of the second entrance control, display runic control, italic control and at least one word Body control.
7. method according to any one of claims 1 to 3, which is characterized in that described to shield on the output character, packet It includes:
The output character is shown in the input frame that the input string corresponds to application environment.
8. a kind of data processing equipment characterized by comprising
Input character determining module, the corresponding input character of input string for determining user;
Output character determining module, for determining institute according to the mapping relations between the first character, the Character Style and the second character State input character and the corresponding output character of preset characters pattern;And
Upper panel module, for will shield on the output character.
9. a kind of device for data processing, which is characterized in that include memory and one or more than one journey Sequence, perhaps more than one program is stored in memory and is configured to by one or more than one processor for one of them Executing the one or more programs includes the instruction for performing the following operation:
Determine the corresponding input character of the input string of user;
According to the mapping relations between the first character, the Character Style and the second character, the input character and preset characters are determined The corresponding output character of pattern;
It will shield on the output character.
10. a kind of machine readable media is stored thereon with instruction, when executed by one or more processors, so that device is held Data processing method of the row as described in one or more in claim 1 to 7.
CN201810426234.0A 2018-05-07 2018-05-07 Data processing method, device and device for data processing Active CN110456919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810426234.0A CN110456919B (en) 2018-05-07 2018-05-07 Data processing method, device and device for data processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810426234.0A CN110456919B (en) 2018-05-07 2018-05-07 Data processing method, device and device for data processing

Publications (2)

Publication Number Publication Date
CN110456919A true CN110456919A (en) 2019-11-15
CN110456919B CN110456919B (en) 2024-08-09

Family

ID=68471766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810426234.0A Active CN110456919B (en) 2018-05-07 2018-05-07 Data processing method, device and device for data processing

Country Status (1)

Country Link
CN (1) CN110456919B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112612450A (en) * 2020-12-18 2021-04-06 平安普惠企业管理有限公司 Method, device, terminal and storage medium for implementing text input box

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1920754A (en) * 2006-09-05 2007-02-28 北京搜狗科技发展有限公司 Method and system for inputting artistic character/image into application program
CN102693094A (en) * 2012-06-12 2012-09-26 上海量明科技发展有限公司 Method, client side and system for adjusting characters in instant messaging
CN102819325A (en) * 2012-07-21 2012-12-12 上海量明科技发展有限公司 Input method and system for obtaining a plurality of character presenting effects
CN105487799A (en) * 2015-11-27 2016-04-13 小米科技有限责任公司 Content conversion method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1920754A (en) * 2006-09-05 2007-02-28 北京搜狗科技发展有限公司 Method and system for inputting artistic character/image into application program
WO2008071099A1 (en) * 2006-09-05 2008-06-19 Beijing Sogou Technology Development Co., Ltd. Method and system for inputting artistic word/diagram into application program
CN102693094A (en) * 2012-06-12 2012-09-26 上海量明科技发展有限公司 Method, client side and system for adjusting characters in instant messaging
CN102819325A (en) * 2012-07-21 2012-12-12 上海量明科技发展有限公司 Input method and system for obtaining a plurality of character presenting effects
CN105487799A (en) * 2015-11-27 2016-04-13 小米科技有限责任公司 Content conversion method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高魏;黄南津;: "方块壮字音形码输入法的设计与实现", 中国文字研究, no. 02, 31 December 2016 (2016-12-31), pages 226 - 233 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112612450A (en) * 2020-12-18 2021-04-06 平安普惠企业管理有限公司 Method, device, terminal and storage medium for implementing text input box

Also Published As

Publication number Publication date
CN110456919B (en) 2024-08-09

Similar Documents

Publication Publication Date Title
US20170344224A1 (en) Suggesting emojis to users for insertion into text-based messages
WO2018176977A1 (en) Text editing method and device, and electronic apparatus
KR101586890B1 (en) Input processing method and apparatus
CN107918496B (en) Input error correction method and device for input error correction
CN107688399B (en) Input method and device and input device
CN108958503A (en) input method and device
CN104461348B (en) Information choosing method and device
US20160210276A1 (en) Information processing device, information processing method, and program
CN107688397B (en) Input method, system and device for inputting
CN109144285A (en) A kind of input method and device
CN109213412A (en) Input method, device and machine readable media
CN108345625B (en) Information mining method and device for information mining
CN107832311A (en) A kind of interpretation method, device, terminal and readable storage device
JP2023549903A (en) Multimedia interaction methods, information interaction methods, devices, equipment and media
CN107665046A (en) A kind of input method and device, a kind of device for being used to input
CN112634896B (en) Operation method of application program on intelligent terminal and intelligent terminal
CN112000766B (en) Data processing method, device and medium
CN110929122A (en) Data processing method and device and data processing device
KR102327790B1 (en) Information processing methods, devices and storage media
CN111708444A (en) Input method, input device and input device
CN110858100B (en) Method and device for generating association candidate words
CN110456919A (en) Data processing method, device and the device for data processing
CN108628461A (en) A kind of input method and device, a kind of method and apparatus of update dictionary
CN108241614A (en) Information processing method and device, the device for information processing
CN114745585B (en) Subtitle display method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TG01 Patent term adjustment