CN110297678A - A kind for the treatment of method and apparatus of interface of input method - Google Patents
A kind for the treatment of method and apparatus of interface of input method Download PDFInfo
- Publication number
- CN110297678A CN110297678A CN201810241221.6A CN201810241221A CN110297678A CN 110297678 A CN110297678 A CN 110297678A CN 201810241221 A CN201810241221 A CN 201810241221A CN 110297678 A CN110297678 A CN 110297678A
- Authority
- CN
- China
- Prior art keywords
- character
- interface
- picture
- key
- input method
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 179
- 238000003860 storage Methods 0.000 claims description 17
- 238000003672 processing method Methods 0.000 claims description 12
- 238000009434 installation Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000000605 extraction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008439 repair process Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000012092 media component Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000004215 skin function Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a kind for the treatment of method and apparatus of interface of input method, the interface of input method has background picture and key, which comprises obtains skin picture;Character font is identified from the skin picture;Background picture using the skin picture as the interface of input method;The character of the key of the interface of input method is adjusted according to the character font on the background picture.The setting of interface of input method can be completed in the embodiment of the present invention without using skin installation kit, user's option is more and more flexible, improves user experience.
Description
Technical field
The present invention relates to input method technique fields, processing method and a kind of input more particularly to a kind of interface of input method
The processing unit at method interface.
Background technique
When user is using input method input character, to keep input method more beautiful, skin can choose to the outer of input method
Sight is configured.Most commercial input method changes skin function at present, and user can adjust the back of input method in set interface
Scape picture, button pattern, font etc. realize personalized customization interface.
But current customization procedure is complicated, cumbersome, and option depends on product content, plays limited space, and uses
Complete skin then needs to install the skin installation kit made, cumbersome, expends unnecessary flow, and option has
Limit, more dull and shortage flexibility.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind
A kind of processing method of the interface of input method to solve the above problems and a kind of corresponding processing unit of interface of input method.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of processing method of interface of input method, the inputs
Method interface has background picture and key, which comprises
Obtain skin picture;
Character font is identified from the skin picture;
Background picture using the skin picture as the interface of input method;
The character of the key of the interface of input method is adjusted according to the character font on the background picture.
It is optionally, described to identify character font from the skin picture, comprising:
Character is extracted from the skin picture;
According to the character font for identifying the character in preset characters library.
Optionally, the background picture using the skin picture as the interface of input method, comprising:
It identifies the character zone in the skin picture, and wipes the character zone in the skin picture;
Character zone after the character erase is repaired;
Background picture using the skin picture after the reparation as the interface of input method.
Optionally, the key for adjusting the interface of input method according to the character font on the background picture
Character, comprising:
Determine keyboard layout;
According to the keyboard layout placing key-press on the background picture;
The font of character on the key is adjusted according to the character font.
Optionally, it is described on the background picture according to the keyboard layout placing key-press, comprising:
The corresponding key coordinate of each key is extracted from the keyboard layout;
Corresponding key is placed on the background picture according to the key coordinate.
Optionally, after the acquisition skin picture, further includes:
Obtain the Freehandhand-drawing character of user's input;
The character of the key is set according to the Freehandhand-drawing character.
Optionally, the character font that the key is set according to the Freehandhand-drawing character, comprising:
Determine the key of interface of input method corresponding to each Freehandhand-drawing character;
The character of the key of corresponding interface of input method is set using each Freehandhand-drawing character.
Optionally, the character that the key is set according to the Freehandhand-drawing character, comprising:
Character feature is extracted from the Freehandhand-drawing character;
Similarity is calculated using the character font in the character feature and preset characters library;
Using the highest character font of similarity as the character font of the Freehandhand-drawing character;
The character font of the key of the interface of input method is set using the character font.
Optionally, further includes:
Obtain the interface setting information of the input of user;The interface setting information includes key patterns, character color and/
Or skin picture size;
The interface of input method is arranged using the interface setting information.
The embodiment of the invention also discloses a kind of processing unit of interface of input method, the interface of input method has Background
Piece and key, described device include:
Skin picture obtains module, for obtaining skin picture;
Character font identification module, for identifying character font from the skin picture;
Background picture setup module, for the background picture using the skin picture as the interface of input method;
Button character adjusts module, for adjusting input method circle according to the character font on the background picture
The character of the key in face.
Optionally, the character font identification module, comprising:
Character extracting sub-module, for extracting character from the skin picture;
Character font identifies submodule, for according to the character font for identifying the character in preset characters library.
Optionally, the background picture setup module, comprising:
Character zone identifies submodule, for identification the character zone in the skin picture out, and wipes the skin
Character zone in picture;
Character zone repairs submodule, for repairing for the character zone after the character erase;
Submodule is arranged in background picture, for the back using the skin picture after the reparation as the interface of input method
Scape picture.
Optionally, the button character adjusts module, comprising:
Keyboard layout determines submodule, for determining keyboard layout;
Key places submodule, is used on the background picture according to the keyboard layout placing key-press;
Character font adjusting submodule, for adjusting the font of character on the key according to the character font.
Optionally, the key places submodule, comprising:
Key coordinate extraction unit, including the corresponding key coordinate of each key is extracted from the keyboard layout;
Key placement unit, including corresponding key is placed on the background picture according to the key coordinate.
Optionally, further includes:
Freehandhand-drawing character obtains module, for obtaining the Freehandhand-drawing character of user's input;
Button character setup module, for the character of the key to be arranged according to the Freehandhand-drawing character.
Optionally, the button character setup module, comprising:
Freehandhand-drawing key determines submodule, for determining the key of interface of input method corresponding to each Freehandhand-drawing character;
Submodule is arranged in first Freehandhand-drawing character, for the key of corresponding interface of input method to be arranged using each Freehandhand-drawing character
Character.
Optionally, the button character setup module, comprising:
Character feature extracting sub-module, for extracting character feature from the Freehandhand-drawing character;
Similarity calculation submodule, for similar to the character font calculating in preset characters library using the character feature
Degree;
Character font determines submodule, for using the highest character font of similarity as the character words of the Freehandhand-drawing character
Body;
Submodule is arranged in second character font, and the key of the interface of input method is arranged for the use character font
Character font.
Optionally, further includes:
Interface setting information obtains module, the interface setting information of the input for obtaining user;The interface setting letter
Breath includes key patterns, character color and/or skin picture size;
Interface of input method setup module, for the interface of input method to be arranged using the interface setting information.
It include memory and one or more than one program the embodiment of the invention also discloses a kind of equipment,
Perhaps more than one program is stored in memory and is configured to be executed by one or more than one processor for one of them
The one or more programs include the instruction for performing the following operation:
Obtain skin picture;
Character font is identified from the skin picture;
Background picture using the skin picture as the interface of input method;
The character of the key of the interface of input method is adjusted according to the character font on the background picture.
The embodiment of the invention also discloses a kind of readable storage medium storing program for executing, when the instruction in the storage medium is by equipment
When managing device execution, enable a device to execute the processing method such as above-mentioned interface of input method.
The embodiment of the present invention includes following advantages:
In embodiments of the present invention, when interface of input method is arranged, word is identified from the skin picture got first
Font is accorded with, then sets skin picture to the background picture of interface of input method, and on background picture according to the word identified
The character for according with the key of font adjustment interface of input method, can be completed input without using skin installation kit in the embodiment of the present invention
The setting at method interface, user's option is more and more flexible, improves user experience.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of the processing method embodiment 1 of interface of input method of the invention;
Fig. 2 is a kind of step flow chart of the processing method embodiment 2 of interface of input method of the invention;
Fig. 3 is a kind of schematic diagram of skin picture of the invention;
Fig. 4 is a kind of schematic diagram of interface of input method of the invention;
Fig. 5 is a kind of structural block diagram of the processing device embodiment of interface of input method of the invention;
Fig. 6 is a kind of processing equipment 400 for interface of input method shown according to an exemplary embodiment of the invention
Structural block diagram;
Fig. 7 is a kind of structural schematic diagram of server of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
One of the core concepts of the embodiments of the present invention is, when interface of input method is arranged, after skin picture has been determined,
Character in intelligent extraction skin picture, and writing style (character font) can be analyzed, dynamic generation corresponds to font for setting
The font of the character in interface of input method on keyboard is set, then the character on intelligence erasing skin picture, and completion covers erasing
Skin picture after character, background picture of the skin picture as interface of input method after finally using erasing, using the present invention
Embodiment can be greatly saved material required for customized interface of input method.It is introduced below for the embodiment of the present invention.
Referring to Fig.1, a kind of step flow chart of the processing method embodiment 1 of interface of input method of the invention, institute are shown
Interface of input method is stated with background picture and key, the method can specifically include following steps:
Step 101, skin picture is obtained;
The embodiment of the present invention is suitable for electronic equipment, for example, mobile phone, tablet computer or other smart machines.These intelligence
Input method can be installed in equipment, these input methods have its corresponding interface of input method, for user carry out character input and its
He operates.
In the concrete realization, in order to enable interface of input method can satisfy users ' individualized requirement, in setting input method circle
When face, it can choose one photo of shooting or choose an existing picture as skin picture, inputted for subsequent
The setting at method interface.
Step 102, character font is identified from the skin picture;
It wherein, may include having character in the skin picture of acquisition, such as number, Chinese character, English alphabet and Arabic number
Word etc..The embodiment of the present invention identifies the character font of the character after getting skin picture from skin picture.Specifically
Ground, character font may include regular script, imitation Song-Dynasty-style typeface, the refined hundreds of known font such as black.
Step 103, the background picture using the skin picture as the interface of input method;
The embodiment of the present invention is after determining the skin picture of interface of input method, just using the skin picture as input method circle
The background picture in face.Certainly, in practical applications, skin picture can also be adjusted according to user demand, such as adjustment figure
The placement location etc. of piece height, picture luminance and picture ratio and skin picture in interface of input method.
Step 104, the word of the key of the interface of input method is adjusted according to the character font on the background picture
Symbol.
Mainly have powerful connections picture and keyboard in interface of input method, in the background for setting skin picture to interface of input method
When picture, also further according to the character font identified, the character on the keyboard on interface of input method will be adjusted,
So that the font of the interface of input method upper keyboard character after final adjustment, consistent with the font on skin picture.
In embodiments of the present invention, when interface of input method is arranged, word is identified from the skin picture got first
Font is accorded with, then sets skin picture to the background picture of interface of input method, and on background picture according to the word identified
The character for according with the key of font adjustment interface of input method, can be completed input without using skin installation kit in the embodiment of the present invention
The setting at method interface, user's option is more and more flexible, improves user experience.
Referring to Fig. 2, a kind of step flow chart of the processing method embodiment 2 of interface of input method of the invention, institute are shown
Interface of input method is stated with background picture and key, the method can specifically include following steps:
Step 201, skin picture is obtained;
In practical applications, the acquiring way of skin picture is obtained from local picture library, is also possible to live direct
Shoot resulting photo, naturally it is also possible to it is the picture in other sources, it, will when determining that the picture is used to that interface of input method to be arranged
The picture is as skin picture.Wherein, skin picture is referred to shown in Fig. 3.
Step 202, character is extracted from the skin picture, according to the word for identifying the character in preset characters library
Accord with font.
Include character in skin picture, after the skin picture of interface of input method has been determined, extracts the skin figure
Character, and the character font of the character is found in preset character repertoire according to character is extracted.
Step 203, it identifies the character zone in the skin picture, and wipes the character area in the skin picture
Domain;
When the background picture of interface of input method is arranged, if directly less beautiful using the skin picture setting with character
It sees, therefore the embodiment of the present invention can identify the character zone in skin picture, then wipe the character in the skin picture
Region.
Step 204, the character zone after the character erase is repaired, using the skin picture after the reparation
Background picture as the interface of input method.
Destruction is caused for skin picture after erasing character zone, so skin picture at this time and unsightly, because
This embodiment of the present invention will also be repaired further to erasing the character zone after character.It specifically, can be to original
Character zone is made up according to adjacent picture information, it is of course also possible to use other modes are completed for skin picture
It repairs, the embodiment of the present invention does not need this to limit.
Step 205, keyboard layout is determined;
In practical applications, the layout type of keyboard of the keyboard on interface of input method can be diversified, at this
In inventive embodiments, keyboard layout can be determined according to the user's choice, or keyboard layout is determined based on system default.
Step 206, according to the keyboard layout placing key-press on the background picture;
In simple terms, keyboard layout refers to modes of emplacement of the key on interface of input method.Therefore after determining keyboard layout,
The placement of the keys such as alphanumeric can be carried out according to keyboard layout on background picture.
In one preferred embodiment of the invention, the step 206 may include following sub-step:
The corresponding key coordinate of each key is extracted from the keyboard layout;
Corresponding key is placed on the background picture according to the key coordinate.
In practice, the key position on different keyboard layouts is different, for example Chinese nine grids, Chinese are complete
The key position of the keyboard types such as keyboard, English full keyboard.
In the concrete realization, the key on interface of input method can be positioned by coordinate, that is to say that a key is corresponding
One coordinate.Therefore, the embodiment of the present invention can determine the corresponding key coordinate of each key from keyboard layout, then again
According to the coordinate of each key, corresponding key is placed in background picture.
Step 207, the font of character on the key is adjusted according to the character font.
After placing key, the character font that the character recognition based on skin picture goes out removes character on adjustment key
Font.So that the font of key is consistent with the font of skin picture.It is set for completing interface of input method based on skin picture
The effect picture postponed, is referred to shown in Fig. 4.It can be seen from the figure that the character font of interface of input method upper keyboard, with Fig. 3
In skin picture in character script be consistent, and be set as interface of input method for the skin picture after text is erased
Background picture.
In one preferred embodiment of the invention, after the acquisition skin picture, the method can also include
Following steps:
Obtain the Freehandhand-drawing character of user's input;
The character of the key is set according to the Freehandhand-drawing character.
In one case, i.e., if there is no character in skin picture, alternatively, text information is very little in picture, it is possible to
It can not identify character font, can choose the mode that allows user oneself to be manually entered Freehandhand-drawing character at this time to complete on key
The setting of character.
In one preferred embodiment of the invention, the character font that the key is set according to the Freehandhand-drawing character
May include following sub-step:
Determine the key of interface of input method corresponding to each Freehandhand-drawing character;
The character of the key of corresponding interface of input method is set using each Freehandhand-drawing character.
Specifically in practice, user can complete the Freehandhand-drawing character of the character of all keys, that is, include English character and
Numerical character, then can be determined on interface of input method corresponding to each Freehandhand-drawing character in the key of setting interface of input method
Key after, directly set the Freehandhand-drawing character to the character of the key of the interface of input method.
It preferably, can be when user selects the character using the key of Freehandhand-drawing character setting interface of input method, by mentioning
The mode shown allow user complete alphabet setting, to ensure that the unification of button character on interface of input method.
In another preferred embodiment of the invention, the character words that the key is set according to the Freehandhand-drawing character
Body may include following sub-step:
Character feature is extracted from the Freehandhand-drawing character;
Similarity is calculated using the character font in the character feature and preset characters library;
Using the highest character font of similarity as the character font of the Freehandhand-drawing character;
The character font of the key of the interface of input method is set using the character font.
Specifically in practice, user may only on the several interface of input method of Freehandhand-drawing key character, at this time then can be with
It identifies the character feature of user's Freehandhand-drawing character, then carries out similarity with the character feature of the character font in preset characters library
Calculating, the character of interface of input method is finally set according to the highest character of similarity.
Certainly, in addition to allowing other than user's hand drawn keypad character, the character font of other in system can also be used
The setting of character on key is completed, the embodiment of the present invention does not need this to limit.
In one preferred embodiment of the invention, the method can also include the following steps:
Obtain the interface setting information of the input of user;The interface setting information includes key patterns, character color and/
Or skin picture size;
The interface of input method is arranged using the interface setting information.
In order to meet the needs of different user, key font and Background on interface of input method are completed according to skin picture
After the setting of piece, the interface setting information that can also be inputted according to user carries out interface of input method adjustment.Such as skin picture
Size, character color, size of character etc..
In embodiments of the present invention, it is known that font style, under the attribute conditions such as text color, in the Background obtained before
On piece, according to the layout of the keyboard determined, placing key-press, corresponding key letter is drawn using font style, and key can be completed
It draws at disk interface.The embodiment of the present invention can be realized on an electronic device, can also be realized by networked server, the present invention
Embodiment does not need this to limit.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Referring to Fig. 5, a kind of structural block diagram of the processing device embodiment of interface of input method of the invention is shown, it is described defeated
Enter method interface with background picture and key, described device can specifically include following module:
Skin picture obtains module 301, for obtaining skin picture;
Character font identification module 302, for identifying character font from the skin picture;
Background picture setup module 303, for the background picture using the skin picture as the interface of input method;
Button character adjusts module 304, for adjusting the input according to the character font on the background picture
The character of the key at method interface.
In one preferred embodiment of the invention, the character font identification module 302 may include:
Character extracting sub-module, for extracting character from the skin picture;
Character font identifies submodule, for according to the character font for identifying the character in preset characters library.
In one preferred embodiment of the invention, the background picture setup module 303 may include:
Character zone identifies submodule, for identification the character zone in the skin picture out, and wipes the skin
Character zone in picture;
Character zone repairs submodule, for repairing for the character zone after the character erase;
Submodule is arranged in background picture, for the back using the skin picture after the reparation as the interface of input method
Scape picture.
In one preferred embodiment of the invention, the button character adjusts module 304, may include:
Keyboard layout determines submodule, for determining keyboard layout;
Key places submodule, is used on the background picture according to the keyboard layout placing key-press;
Character font adjusting submodule, for adjusting the font of character on the key according to the character font.
In one preferred embodiment of the invention, the key places submodule, may include:
Key coordinate extraction unit, including the corresponding key coordinate of each key is extracted from the keyboard layout;
Key placement unit, including corresponding key is placed on the background picture according to the key coordinate.
In one preferred embodiment of the invention, can also include:
Freehandhand-drawing character obtains module, for obtaining the Freehandhand-drawing character of user's input;
Button character setup module, for the character of the key to be arranged according to the Freehandhand-drawing character.
In one preferred embodiment of the invention, the button character setup module may include:
Freehandhand-drawing key determines submodule, for determining the key of interface of input method corresponding to each Freehandhand-drawing character;
Submodule is arranged in first Freehandhand-drawing character, for the key of corresponding interface of input method to be arranged using each Freehandhand-drawing character
Character.
In one preferred embodiment of the invention, the button character setup module may include:
Character feature extracting sub-module, for extracting character feature from the Freehandhand-drawing character;
Similarity calculation submodule, for similar to the character font calculating in preset characters library using the character feature
Degree;
Character font determines submodule, for using the highest character font of similarity as the character words of the Freehandhand-drawing character
Body;
Submodule is arranged in second character font, and the key of the interface of input method is arranged for the use character font
Character font.
In one preferred embodiment of the invention, can also include:
Interface setting information obtains module, the interface setting information of the input for obtaining user;The interface setting letter
Breath includes key patterns, character color and/or skin picture size;
Interface of input method setup module, for the interface of input method to be arranged using the interface setting information.
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.
In this way, in embodiments of the present invention, when interface of input method is arranged, being identified from the skin picture got first
Then character font out sets skin picture to the background picture of interface of input method, and basis identifies on background picture
Character font adjustment interface of input method key character, can be completed without using skin installation kit in the embodiment of the present invention
The setting of interface of input method, user's option is more and more flexible, improves user experience.
Fig. 6 is a kind of structural frames of processing equipment 400 for interface of input method shown according to an exemplary embodiment
Figure.For example, equipment 400 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console put down
Panel device, Medical Devices, body-building equipment, personal digital assistant, server etc..
Referring to Fig. 4, equipment 400 may include following one or more components: processing component 402, memory 404, power supply
Component 406, multimedia component 408, audio component 410, the interface 412 of input/output (I/O), sensor module 414, and
Communication component 416.
Processing component 402 usually control equipment 400 integrated operation, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing element 402 may include that one or more processors 420 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 402 may include one or more modules, just
Interaction between processing component 402 and other assemblies.For example, processing component 402 may include multi-media module, it is more to facilitate
Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in equipment 400.These data are shown
Example includes the instruction of any application or method for operating on device 400, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 404 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.
Electric power assembly 404 provides electric power for the various assemblies of equipment 400.Electric power assembly 404 may include power management system
System, one or more power supplys and other with for equipment 400 generate, manage, and distribute the associated component of electric power.
Multimedia component 408 includes the screen of one output interface of offer between the equipment 400 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 408 includes a front camera and/or rear camera.When equipment 400 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 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike
Wind (MIC), when equipment 400 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 404 or via communication set
Part 416 is sent.In some embodiments, audio component 410 further includes a loudspeaker, is used for output audio signal.
I/O interface 412 provides interface between processing component 402 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 414 includes one or more sensors, and the state for providing various aspects for equipment 400 is commented
Estimate.For example, sensor module 414 can detecte the state that opens/closes of equipment 400, and the relative positioning of component, for example, it is described
Component is the display and keypad of equipment 400, and sensor module 414 can be with 400 1 components of detection device 400 or equipment
Position change, the existence or non-existence that user contacts with equipment 400,400 orientation of equipment or acceleration/deceleration and equipment 400
Temperature change.Sensor module 414 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 414 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 416 is configured to facilitate the communication of wired or wireless way between equipment 400 and other equipment.Equipment
400 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 414 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 414 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, equipment 400 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 404 of instruction, above-metioned instruction can be executed by the processor 420 of equipment 400 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..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal
When row, the processing method for executing a kind of interface of input method is enabled the terminal to, the interface of input method has background picture and presses
Key, which comprises
Obtain skin picture;
Character font is identified from the skin picture;
Background picture using the skin picture as the interface of input method;
The character of the key of the interface of input method is adjusted according to the character font on the background picture.
It is optionally, described to identify character font from the skin picture, comprising:
Character is extracted from the skin picture;
According to the character font for identifying the character in preset characters library.
Optionally, the background picture using the skin picture as the interface of input method, comprising:
It identifies the character zone in the skin picture, and wipes the character zone in the skin picture;
Character zone after the character erase is repaired;
Background picture using the skin picture after the reparation as the interface of input method.
Optionally, the key for adjusting the interface of input method according to the character font on the background picture
Character, comprising:
Determine keyboard layout;
According to the keyboard layout placing key-press on the background picture;
The font of character on the key is adjusted according to the character font.
Optionally, it is described on the background picture according to the keyboard layout placing key-press, comprising:
The corresponding key coordinate of each key is extracted from the keyboard layout;
Corresponding key is placed on the background picture according to the key coordinate.
Optionally, after the acquisition skin picture, further includes:
Obtain the Freehandhand-drawing character of user's input;
The character of the key is set according to the Freehandhand-drawing character.
Optionally, the character font that the key is set according to the Freehandhand-drawing character, comprising:
Determine the key of interface of input method corresponding to each Freehandhand-drawing character;
The character of the key of corresponding interface of input method is set using each Freehandhand-drawing character.
Optionally, the character that the key is set according to the Freehandhand-drawing character, comprising:
Character feature is extracted from the Freehandhand-drawing character;
Similarity is calculated using the character font in the character feature and preset characters library;
Using the highest character font of similarity as the character font of the Freehandhand-drawing character;
The character font of the key of the interface of input method is set using the character font.
Optionally, further includes:
Obtain the interface setting information of the input of user;The interface setting information includes key patterns, character color and/
Or skin picture size;
The interface of input method is arranged using the interface setting information.
Fig. 7 is a kind of structural schematic diagram of server in the embodiment of the present invention.The server 500 can because configuration or performance not
Bigger difference is generated together, may include one or more central processing units (central processing
Units, CPU) 522 (for example, one or more processors) and memory 532, one or more storages apply journey
The storage medium 530 (such as one or more mass memory units) of sequence 542 or data 544.Wherein, 532 He of memory
Storage medium 530 can be of short duration storage or persistent storage.The program for being stored in storage medium 530 may include one or one
With upper module (diagram does not mark), each module may include to the series of instructions operation in server.Further, in
Central processor 522 can be set to communicate with storage medium 530, execute on server 500 a series of in storage medium 530
Instruction operation.
Server 500 can also include one or more power supplys 526, one or more wired or wireless networks
Interface 550, one or more input/output interfaces 558, one or more keyboards 556, and/or, one or one
The above operating system 541, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
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.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
The processing of the processing method to a kind of interface of input method provided by the present invention and a kind of interface of input method fills above
It sets, is described in detail, used herein a specific example illustrates the principle and implementation of the invention, above
The explanation of embodiment is merely used to help understand method and its core concept of the invention;Meanwhile for the general skill of this field
Art personnel, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this
Description should not be construed as limiting the invention.
Claims (10)
1. a kind of processing method of interface of input method, which is characterized in that the interface of input method has background picture and key, institute
The method of stating includes:
Obtain skin picture;
Character font is identified from the skin picture;
Background picture using the skin picture as the interface of input method;
The character of the key of the interface of input method is adjusted according to the character font on the background picture.
2. the method according to claim 1, wherein described identify character font from the skin picture,
Include:
Character is extracted from the skin picture;
According to the character font for identifying the character in preset characters library.
3. method according to claim 1 or 2, which is characterized in that described to use the skin picture as the input
The background picture at method interface, comprising:
It identifies the character zone in the skin picture, and wipes the character zone in the skin picture;
Character zone after the character erase is repaired;
Background picture using the skin picture after the reparation as the interface of input method.
4. the method according to claim 1, wherein it is described on the background picture according to the character font
Adjust the character of the key of the interface of input method, comprising:
Determine keyboard layout;
According to the keyboard layout placing key-press on the background picture;
The font of character on the key is adjusted according to the character font.
5. according to the method described in claim 4, it is characterized in that, it is described on the background picture according to the keyboard layout
Placing key-press, comprising:
The corresponding key coordinate of each key is extracted from the keyboard layout;
Corresponding key is placed on the background picture according to the key coordinate.
6. according to the method described in claim 4, it is characterized in that, after the acquisition skin picture, further includes:
Obtain the Freehandhand-drawing character of user's input;
The character of the key is set according to the Freehandhand-drawing character.
7. according to the method described in claim 6, it is characterized in that, the word that the key is arranged according to the Freehandhand-drawing character
Accord with font, comprising:
Determine the key of interface of input method corresponding to each Freehandhand-drawing character;
The character of the key of corresponding interface of input method is set using each Freehandhand-drawing character.
8. a kind of processing unit of interface of input method, which is characterized in that the interface of input method has background picture and key, institute
Stating device includes:
Skin picture obtains module, for obtaining skin picture;
Character font identification module, for identifying character font from the skin picture;
Background picture setup module, for the background picture using the skin picture as the interface of input method;
Button character adjusts module, for adjusting the interface of input method according to the character font on the background picture
The character of key.
9. a kind of equipment, which is characterized in that include memory and one or more than one program, one of them or
More than one program of person is stored in memory, and be configured to be executed by one or more than one processor it is one or
More than one program of person includes the instruction for performing the following operation:
Obtain skin picture;
Character font is identified from the skin picture;
Background picture using the skin picture as the interface of input method;
The character of the key of the interface of input method is adjusted according to the character font on the background picture.
10. a kind of readable storage medium storing program for executing, which is characterized in that when the instruction in the storage medium is executed by the processor of equipment
When, enable a device to the processing method for executing the interface of input method as described in one or more of claim to a method 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810241221.6A CN110297678B (en) | 2018-03-22 | 2018-03-22 | Input method interface processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810241221.6A CN110297678B (en) | 2018-03-22 | 2018-03-22 | Input method interface processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110297678A true CN110297678A (en) | 2019-10-01 |
CN110297678B CN110297678B (en) | 2024-02-06 |
Family
ID=68025744
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810241221.6A Active CN110297678B (en) | 2018-03-22 | 2018-03-22 | Input method interface processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110297678B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111352685A (en) * | 2020-02-28 | 2020-06-30 | 北京百度网讯科技有限公司 | Input method keyboard display method, device, equipment and storage medium |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1728062A (en) * | 2004-07-30 | 2006-02-01 | 招商银行股份有限公司 | Graphics keyboard based security input method for computer information |
US20100125449A1 (en) * | 2008-11-17 | 2010-05-20 | Cheng-Tung Hsu | Integratd phonetic Chinese system and inputting method thereof |
CN102314441A (en) * | 2010-06-30 | 2012-01-11 | 百度在线网络技术(北京)有限公司 | Method for user to input individualized primitive data and equipment and system |
CN102999340A (en) * | 2012-11-28 | 2013-03-27 | 百度在线网络技术(北京)有限公司 | Editing method and device of input method interface |
CN103164231A (en) * | 2011-12-08 | 2013-06-19 | 腾讯科技(深圳)有限公司 | Input method virtual keyboard skin management method and device |
CN103207755A (en) * | 2012-01-13 | 2013-07-17 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and character font changing method |
CN104915104A (en) * | 2015-06-29 | 2015-09-16 | 小米科技有限责任公司 | Display method and device of keyboard interface |
CN105094325A (en) * | 2015-07-17 | 2015-11-25 | 百度在线网络技术(北京)有限公司 | Method and device used for determining application background information |
CN105159673A (en) * | 2015-08-31 | 2015-12-16 | 百度在线网络技术(北京)有限公司 | Method and device for setting control style |
CN105224302A (en) * | 2014-06-27 | 2016-01-06 | 北京搜狗科技发展有限公司 | The skin processing method of input method and input method system |
CN105335036A (en) * | 2014-06-27 | 2016-02-17 | 北京搜狗科技发展有限公司 | Input interaction method and input method system |
CN106569658A (en) * | 2016-10-19 | 2017-04-19 | 武汉悦然心动网络科技股份有限公司 | Multimedia theme configuration method and multimedia theme configuration system of input method |
CN107656727A (en) * | 2017-10-20 | 2018-02-02 | 维沃移动通信有限公司 | A kind of font object library generating method and mobile terminal |
-
2018
- 2018-03-22 CN CN201810241221.6A patent/CN110297678B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1728062A (en) * | 2004-07-30 | 2006-02-01 | 招商银行股份有限公司 | Graphics keyboard based security input method for computer information |
US20100125449A1 (en) * | 2008-11-17 | 2010-05-20 | Cheng-Tung Hsu | Integratd phonetic Chinese system and inputting method thereof |
CN102314441A (en) * | 2010-06-30 | 2012-01-11 | 百度在线网络技术(北京)有限公司 | Method for user to input individualized primitive data and equipment and system |
CN103164231A (en) * | 2011-12-08 | 2013-06-19 | 腾讯科技(深圳)有限公司 | Input method virtual keyboard skin management method and device |
CN103207755A (en) * | 2012-01-13 | 2013-07-17 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and character font changing method |
CN102999340A (en) * | 2012-11-28 | 2013-03-27 | 百度在线网络技术(北京)有限公司 | Editing method and device of input method interface |
CN105224302A (en) * | 2014-06-27 | 2016-01-06 | 北京搜狗科技发展有限公司 | The skin processing method of input method and input method system |
CN105335036A (en) * | 2014-06-27 | 2016-02-17 | 北京搜狗科技发展有限公司 | Input interaction method and input method system |
CN104915104A (en) * | 2015-06-29 | 2015-09-16 | 小米科技有限责任公司 | Display method and device of keyboard interface |
CN105094325A (en) * | 2015-07-17 | 2015-11-25 | 百度在线网络技术(北京)有限公司 | Method and device used for determining application background information |
CN105159673A (en) * | 2015-08-31 | 2015-12-16 | 百度在线网络技术(北京)有限公司 | Method and device for setting control style |
CN106569658A (en) * | 2016-10-19 | 2017-04-19 | 武汉悦然心动网络科技股份有限公司 | Multimedia theme configuration method and multimedia theme configuration system of input method |
CN107656727A (en) * | 2017-10-20 | 2018-02-02 | 维沃移动通信有限公司 | A kind of font object library generating method and mobile terminal |
Non-Patent Citations (4)
Title |
---|
KARIM SAID: "Button blender: remixing input to improve video game accessibility", CHI EA \'13: CHI \'13 EXTENDED ABSTRACTS ON HUMAN FACTORS IN COMPUTING SYSTEMS * |
刘冬冬;: "讯飞输入法自制创意皮肤", 计算机与网络, no. 09 * |
吾守尔・斯拉木;努尔麦麦提・尤鲁瓦斯;张玲;: "Windows CE.Net嵌入式操作系统本地化研究及实现", 新疆大学学报(自然科学版), no. 03 * |
罗克宁: "拼音输入法擂台的争霸赛 两大拼音流派汇集, 微软拼音2003VS紫光拼音3.0", 电脑, no. 07 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111352685A (en) * | 2020-02-28 | 2020-06-30 | 北京百度网讯科技有限公司 | Input method keyboard display method, device, equipment and storage medium |
CN111352685B (en) * | 2020-02-28 | 2024-04-09 | 北京百度网讯科技有限公司 | Display method, device, equipment and storage medium of input method keyboard |
Also Published As
Publication number | Publication date |
---|---|
CN110297678B (en) | 2024-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8400414B2 (en) | Method for displaying data and mobile terminal thereof | |
US10162489B2 (en) | Multimedia segment analysis in a mobile terminal and control method thereof | |
US8612885B2 (en) | Mobile terminal and controlling method thereof | |
US8564618B2 (en) | Adjusting the display orientation of an image on a mobile terminal | |
CN107315609B (en) | Switching method and device of card simulation function | |
CN104461348B (en) | Information choosing method and device | |
CN105335198B (en) | Font adding method and device | |
KR20150144547A (en) | Video display device and operating method thereof | |
CN104915104B (en) | The display methods and device of keyboard interface | |
CN106791092A (en) | The searching method and device of contact person | |
CN110221739A (en) | A kind of data processing method, device and electronic equipment | |
CN106503131A (en) | Obtain the method and device of interest information | |
CN104853223B (en) | The inserting method and terminal device of video flowing | |
CN110782510B (en) | Label paper generation method and device | |
CN104902318B (en) | Control method for playing back and terminal device | |
CN104883603B (en) | Control method for playing back, system and terminal device | |
CN107506134A (en) | Dummy keyboard button background display methods and device | |
CN105930034B (en) | The method and apparatus for showing dialog box | |
CN110297678A (en) | A kind for the treatment of method and apparatus of interface of input method | |
CN109388249A (en) | Input processing method, device, terminal and the readable storage medium storing program for executing of information | |
CN107179866B (en) | Application control method, device and storage medium | |
CN104991779A (en) | Presentation method and device | |
CN108874172A (en) | input method and device | |
CN111538450B (en) | Theme background display method and device and storage medium | |
CN107704911A (en) | Generation, read method and the device of Quick Response Code |
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 |