CN109634711A - A kind of Dynamic Configuration of dummy keyboard - Google Patents
A kind of Dynamic Configuration of dummy keyboard Download PDFInfo
- Publication number
- CN109634711A CN109634711A CN201910026939.8A CN201910026939A CN109634711A CN 109634711 A CN109634711 A CN 109634711A CN 201910026939 A CN201910026939 A CN 201910026939A CN 109634711 A CN109634711 A CN 109634711A
- Authority
- CN
- China
- Prior art keywords
- configuration file
- layout
- language
- keyboard
- button
- 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.)
- Pending
Links
Classifications
-
- 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
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
The present invention relates to a kind of Dynamic Configurations of dummy keyboard, user demand is decomposed into three layout, function, language aspects by it, and correspondingly configure layout configuration file, keypad function configuration file and the language profile of xml format, when configuring dummy keyboard, according to the layout requirements, functional requirement and language needs of user, it is successively read layout configuration file, keypad function configuration file and language profile, then it carries out parsing and generates corresponding instance, and draw and generate dummy keyboard.Each configuration file of the invention can dynamic configuration, subsequent development, the workload of maintenance can be greatly reduced in flexible combination, the reusability that configuration file can be improved simultaneously, when user demand changes, it is only necessary to change configuration file, it is not necessary to modify code, the stability of function is secure.
Description
Technical field
The present invention relates to dummy keyboard fields, and in particular to a kind of Dynamic Configuration of dummy keyboard.
Background technique
Key on hardware be it is fixed and a limited number of, obtain better user experience if necessary, it is necessary to can
A kind of visual dummy keyboard is provided, the character range that can be inputted is increased considerably, and shortens the path for obtaining target character,
By dummy keyboard, user can directly input desired target character with What You See Is What You Get.
Existing common dummy keyboard scheme is using current Graphics platform, each character to be shown finally to be needed to create
Key control simultaneously associates in a specific receptance function, and key control and receptance function correspond, to reach
Input the effect of target character.Its major defect has following two points:
One, the corresponding function of key is fixed, when the unknown need for needing to safeguard multiple dummy keyboards or reply being needed to change greatly
When asking, need to remodify whole keyboard correlative codes, heavy workload and easy error;Once changes in demand, originally write generation
Code cannot reuse substantially, and reusable degree is low;
Two, key is individually created for each character, that is, creates multiple rendered objects on drawing platform, whenever generation key
When response or drafting event, drawing platform will carry out the relevant event handling of the various platforms to each key, if pressed
Bond number amount is more, then can seriously drag slow display or response speed, extreme influence user experience.
Summary of the invention
The purpose of the present invention is to provide a kind of Dynamic Configurations of dummy keyboard, can be convenient, rapidly dynamically real
The dummy keyboard of existing various language, various layouts, can be compatible with various user demands, and can reduce maintenance workload.
To achieve the above object, the technical solution adopted by the present invention is that:
The user demand of dummy keyboard is decomposed into layout, function, language three by a kind of Dynamic Configuration of dummy keyboard
Part;For user demand, layout configuration file, the keypad function configuration file, language profile of xml format are configured;
The layout configuration file corresponds to the layout requirements of user, is used to determine the arrangement form of button on keyboard;The key
Disk functional configuration file corresponds to the functional requirement of user, and on the basis of using some layout configuration file, which matches
It sets file and determines the corresponding function of each button;The language profile is corresponding with the language needs of user;
When configuring dummy keyboard, according to the layout requirements, functional requirement and language needs of user, it is successively read layout configuration text
Then part, keypad function configuration file and language profile carry out parsing and generate corresponding instance, and draw and generate virtually
Keyboard.
After being parsed, the layout of all not tape characters is drawn out, while keyboard being plotted in caching, work as key
When button in disk is clicked, draw be clicked button press effect.
In the layout configuration file, using the block of layout as root node, and presses attribute and be grouped button, have
The button of same characteristic features is divided into one group, and the node of each button is then inserted under each child node.
In the keypad function configuration file, each button is provided with more than more than one character.
After adopting the above scheme, user demand is decomposed into three layout, function, language aspects by the present invention, and correspondingly
Layout configuration file, keypad function configuration file and the language profile for configuring xml format, when configuring dummy keyboard, root
According to the layout requirements, functional requirement and language needs of user, it is successively read layout configuration file, keypad function configuration file and language
It says configuration file, then carries out parsing and generate corresponding instance, and draw and generate dummy keyboard.Each configuration file of the invention
Can dynamic configuration, flexible combination can be greatly reduced subsequent development, the workload of maintenance, while configuration file can be improved
Reusability, when user demand changes, it is only necessary to change configuration file, it is not necessary to modify code, the stability of function has guarantor
Barrier.
In addition, the present invention after having parsed configuration file, just draws out the layout of all not tape characters, compared to total
It is that complete keyboard is just drawn when using keyboard, it is only necessary to text is drawn in keyboard to be used, speed is faster;Phase
Whole keyboard than always drawing out, then can occupy less memory headroom.
The present invention only draws when reality is drawn using keyboard is first plotted to the way in caching and is clicked pressing for button
Effect, even if the case where there are multiple spot clicks, at the time of also only pressing of real response, and multiple spot click also certainly exists elder generation
Sequence afterwards, conventional practice can be met by only drawing one and pressing effect, and can be the embedded platform inadequate resource the case where
Under meet performance requirement.
Detailed description of the invention
Fig. 1 is user demand exploded block diagram of the present invention;
Fig. 2 is configuration file block diagram of the present invention;
Fig. 3 is the dummy keyboard schematic diagram that the present invention generates.
Specific embodiment
As shown in Figure 1 to Figure 3, present invention discloses a kind of Dynamic Configurations of dummy keyboard, by dummy keyboard
User demand is decomposed into three layout, function, language parts;For user demand, the layout (Layout) for configuring xml format is matched
Set file, keypad function (Keyboard) configuration file, language (Language) configuration file.When configuring dummy keyboard, root
According to the layout requirements, functional requirement and language needs of user, it is successively read layout configuration file, keypad function configuration file and language
It says configuration file, then carries out parsing and generate corresponding instance, and draw and generate dummy keyboard.
Wherein, be laid out configuration file, for determining the arrangement form of button on keyboard, can according to user's actual need with
Meaning variation, a kind of layout is possibly used for multiple function keyboards, but is indifferent to the specific effect of button, and being also indifferent to keyboard will be used for
Where.
Keypad function configuration file determines each button institute after using some to be laid out configuration file as its basis
Corresponding function, the keyboard without concern for generation will be used for where.
Language profile is combined into most according to actual needs under the premise of each functional configuration file is ready
Eventually as a result, can switch function keyboard possessed by the language in certain language, the overall situation can switch to any one language.
Configuration file is added to its distinctive attribute based on xml format, for all types of, reaches and meets various demands
Purpose.Wherein, layout configuration file is in configuration, using the block of layout as a line in root node, such as keyboard layout;
Then button is grouped, each group of child node as root node, then is inserted into the section of each button under each child node
Point;The purpose of grouping is that will there is the button of same characteristic features to be integrated together, by the attribute column of identical attribute write-in group node
In table, for replacing the attribute of button node, the amount of text of configuration file was both reduced, and had also increased the readable of configuration file
Property.
Keypad function configuration file is in configuration, for generally existing Latin system alphabetic writing, is substantially all in the presence of big
There are a characters the case where multiple mutation for the case where small letter and part verbal, to every in keypad function configuration file
Size write characters can be set in a button, and the character more than one can be set, after having read keypad function configuration file
Directly capital and small letter is generated as two kinds of keyboards, and the alternately character of the character more than one, the side of long-pressing can be passed through
Formula is selected.
Language profile is in configuration, in existing key events, can incite somebody to action any several certain language of composition,
Such as language 1 has spcial character keyboard 1, it then both may include figure keyboard 1 that language 2, which also has spcial character keyboard 1,
And actually only has a spcial character keyboard 1.
The present invention just draws out the layout of all not tape characters after having parsed configuration file, compares and always exists
Complete keyboard is just drawn when using to keyboard, it is only necessary to text is drawn in keyboard to be used, speed is faster;Compared to total
It is to draw out whole keyboards, then can occupies less memory headroom.
If drawn for each button, whole drafting and event calculation amount are all very big, be easy to cause bad
User experience.Therefore, the present invention is using being first plotted to the way in caching for keyboard, it is practical only draw when drawing be clicked by
Button presses effect, even if the case where there are multiple spot clicks, at the time of also only pressing of real response, and multiple spot click also must
So there are sequencing, conventional practice can be met by only drawing one and pressing effect, but can embedded platform resource not
Meet performance requirement in the case where foot.
It is of the invention it is critical that the actual demand of keyboard is decomposed into three aspects and can dynamically matched by the present invention
It sets, flexible combination, subsequent development, the workload of maintenance can be greatly reduced, while the reusability of configuration file, example can be improved
If the same keyboard layout can provide english keyboard and German keyboard use simultaneously, the same spcial character keyboard is provided to Russia
Language input method group and French input method group use.In short, the present invention can faster adapt to the demand of various change more easily, and only
It needs to change configuration file, it is not necessary to modify code, the stability of function is secure;Effectively improve response speed.
The above is only the embodiment of the present invention, is not intended to limit the scope of the present invention, therefore all
Any subtle modifications, equivalent variations and modifications to the above embodiments according to the technical essence of the invention still fall within this
In the range of inventive technique scheme.
Claims (4)
1. a kind of Dynamic Configuration of dummy keyboard, it is characterised in that: the user demand of dummy keyboard is decomposed into layout, function
Three energy, language parts;For user demand, layout configuration file, the keypad function configuration file, language of xml format are configured
Configuration file;
The layout configuration file corresponds to the layout requirements of user, is used to determine the arrangement form of button on keyboard;The key
Disk functional configuration file corresponds to the functional requirement of user, and on the basis of using some layout configuration file, which matches
It sets file and determines the corresponding function of each button;The language profile is corresponding with the language needs of user;
When configuring dummy keyboard, according to the layout requirements, functional requirement and language needs of user, it is successively read layout configuration text
Then part, keypad function configuration file and language profile carry out parsing and generate corresponding instance, and draw and generate virtually
Keyboard.
2. a kind of Dynamic Configuration of dummy keyboard according to claim 1, it is characterised in that: after being parsed,
The layout of all not tape characters is drawn out, while keyboard being plotted in caching, when the button in keyboard is clicked, is drawn
What system was clicked button presses effect.
3. a kind of Dynamic Configuration of dummy keyboard according to claim 1, it is characterised in that: the layout configuration text
It in part, using the block of layout as root node, and presses attribute and is grouped button, the button with same characteristic features is divided into one
Then group, every group of child node as root node are inserted into the node of each button under each child node.
4. a kind of Dynamic Configuration of dummy keyboard according to claim 1, it is characterised in that: the keypad function is matched
It sets in file, each button is provided with more than more than one character.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910026939.8A CN109634711A (en) | 2019-01-11 | 2019-01-11 | A kind of Dynamic Configuration of dummy keyboard |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910026939.8A CN109634711A (en) | 2019-01-11 | 2019-01-11 | A kind of Dynamic Configuration of dummy keyboard |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109634711A true CN109634711A (en) | 2019-04-16 |
Family
ID=66060675
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910026939.8A Pending CN109634711A (en) | 2019-01-11 | 2019-01-11 | A kind of Dynamic Configuration of dummy keyboard |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109634711A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112799578A (en) * | 2021-01-26 | 2021-05-14 | 挂号网(杭州)科技有限公司 | Keyboard drawing method and device, electronic equipment and storage medium |
CN113094129A (en) * | 2021-03-25 | 2021-07-09 | 北京机电工程研究所 | Button menu implementation method of weapon control software |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101491127A (en) * | 2006-05-30 | 2009-07-22 | Sk电信有限公司 | Method for configurating keypad of terminal and the terminal and system including the terminal and the keypad capable of reconfiguration |
CN101853136A (en) * | 2010-06-22 | 2010-10-06 | 上海合合信息科技发展有限公司 | Virtual keyboard and dynamic adjustment method thereof and electronic device |
CN101984398A (en) * | 2010-11-11 | 2011-03-09 | 中兴通讯股份有限公司 | Method and device for generating soft keyboard and terminal device |
CN102231096A (en) * | 2011-07-28 | 2011-11-02 | 青岛海信移动通信技术股份有限公司 | Method and equipment for adjusting soft keyboard keys |
CN102314296A (en) * | 2010-06-30 | 2012-01-11 | 北京搜狗科技发展有限公司 | Method for displaying virtual keyboard, virtual keyboard and touch screen terminal |
CN106604093A (en) * | 2016-12-14 | 2017-04-26 | 深圳Tcl数字技术有限公司 | Keyboard matching method and device |
-
2019
- 2019-01-11 CN CN201910026939.8A patent/CN109634711A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101491127A (en) * | 2006-05-30 | 2009-07-22 | Sk电信有限公司 | Method for configurating keypad of terminal and the terminal and system including the terminal and the keypad capable of reconfiguration |
CN101853136A (en) * | 2010-06-22 | 2010-10-06 | 上海合合信息科技发展有限公司 | Virtual keyboard and dynamic adjustment method thereof and electronic device |
CN102314296A (en) * | 2010-06-30 | 2012-01-11 | 北京搜狗科技发展有限公司 | Method for displaying virtual keyboard, virtual keyboard and touch screen terminal |
CN101984398A (en) * | 2010-11-11 | 2011-03-09 | 中兴通讯股份有限公司 | Method and device for generating soft keyboard and terminal device |
CN102231096A (en) * | 2011-07-28 | 2011-11-02 | 青岛海信移动通信技术股份有限公司 | Method and equipment for adjusting soft keyboard keys |
CN106604093A (en) * | 2016-12-14 | 2017-04-26 | 深圳Tcl数字技术有限公司 | Keyboard matching method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112799578A (en) * | 2021-01-26 | 2021-05-14 | 挂号网(杭州)科技有限公司 | Keyboard drawing method and device, electronic equipment and storage medium |
CN112799578B (en) * | 2021-01-26 | 2022-06-17 | 挂号网(杭州)科技有限公司 | Keyboard drawing method and device, electronic equipment and storage medium |
CN113094129A (en) * | 2021-03-25 | 2021-07-09 | 北京机电工程研究所 | Button menu implementation method of weapon control software |
CN113094129B (en) * | 2021-03-25 | 2024-01-09 | 北京机电工程研究所 | Method for realizing button menu of weapon control software |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180196567A1 (en) | Pressure sensitive virtual keyboard | |
US7707515B2 (en) | Digital user interface for inputting Indic scripts | |
US20060224553A1 (en) | Method and system for generating an auto-completion list for a cascading style sheet selector | |
US8589817B2 (en) | Technique for supporting user data input | |
DE202008000258U1 (en) | Portable electronic device | |
CN104461519B (en) | A kind of flow chart dynamic generation and the method for control of authority | |
JP2005346709A (en) | Input of asian language using keyboard | |
CN102193645A (en) | Character inputting method and system | |
CN109634711A (en) | A kind of Dynamic Configuration of dummy keyboard | |
KR20100000792A (en) | Input method for a numerical formula using a medium of computing | |
AU2013204600A1 (en) | Method and apparatus for correcting document formatting based on source document | |
JP2004355074A (en) | Document correspondence relation inspection apparatus, translation processing apparatus, document correspondence relation inspection method, translation processing method and document correspondence relation inspection program | |
CN104750663A (en) | Identification method and device for text messy codes in page | |
CN101984389B (en) | Method, device and terminal device for inputting Chinese characters | |
CN117666815B (en) | English input method based on 10-key keyboard and applied to small-screen electronic equipment | |
US20110298719A1 (en) | Method and apparatus for inputting chinese characters | |
KR101159323B1 (en) | Handwritten input for asian languages | |
CN104850242B (en) | A kind of Chinese character pinyin input method and the method using the input method coding Chinese character | |
JP2004062863A (en) | Japanese input device and method for mobile communication terminal | |
JP7160327B2 (en) | Information processing device, information processing method and information processing program | |
WO2015136692A1 (en) | Digital image document editing system | |
CN115248881A (en) | Webpage input information rendering method and device, electronic equipment and storage medium | |
CN101788853A (en) | Method for inputting Chinese phonetic alphabet through simultaneous stroking of a plurality of fingers based on symmetric virtual key mapping of computer standard keyboard | |
Correll | Graphite: an extensible rendering engine for complex writing systems | |
CN117131136B (en) | Research and development data sharing method, system, equipment 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190416 |
|
RJ01 | Rejection of invention patent application after publication |