CN109739366A - A kind of method and apparatus that soft keyboard is shown - Google Patents

A kind of method and apparatus that soft keyboard is shown Download PDF

Info

Publication number
CN109739366A
CN109739366A CN201810230081.2A CN201810230081A CN109739366A CN 109739366 A CN109739366 A CN 109739366A CN 201810230081 A CN201810230081 A CN 201810230081A CN 109739366 A CN109739366 A CN 109739366A
Authority
CN
China
Prior art keywords
keyboard
soft keyboard
type
soft
pop
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
Application number
CN201810230081.2A
Other languages
Chinese (zh)
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 ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201810230081.2A priority Critical patent/CN109739366A/en
Publication of CN109739366A publication Critical patent/CN109739366A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a kind of method and apparatus that soft keyboard is shown, this method comprises: firstly, in response to user trigger display soft keyboard operation, obtain soft keyboard idsplay order;Then, according to the soft keyboard idsplay order, determine that target keyboard type, the target keyboard type include that need to show the keyboard type of N kind soft keyboard, wherein N >=2;Finally, showing the N kind soft keyboard of the corresponding target keyboard type in N number of soft keyboard pop-up according to the target keyboard type, the keyboard type of the soft keyboard shown in N number of soft keyboard pop-up is different.It can be seen that can at least show the soft keyboard of two kinds of keyboard types when user triggers and calls soft keyboard;The soft keyboard operation of different keyboard types is not needed to toggle, the soft keyboard that shown different keyboard types can directly be operated realizes the input of the contents such as different type character, which is saved handover operation and can be saved the time, mitigates operating burden, to improve input efficiency.

Description

A kind of method and apparatus that soft keyboard is shown
Technical field
The present invention relates to screen display technology field more particularly to a kind of method and apparatus that soft keyboard is shown.
Background technique
With the development of science and technology, in daily life or work intelligent terminal using more and more common, intelligence The screen of terminal device is also increasing, for example, palm PC, tablet computer and touch one-piece machine etc..Applying these large-size screen monitors When intelligent terminal, it is usually directed to the input of the contents such as character, specifically, by calling soft keyboard analog physical keyboard to realize The input of the contents such as character.
The type of the contents such as the character due to input is different, such as can be divided into Chinese, English, number, symbol, expression class Type, accordingly, the keyboard type of soft keyboard are also different, input in Chinese can be divided into, English input, numeral input, symbol input, The keyboard types such as expression input.Traditionally, when calling soft keyboard, a kind of soft keyboard of above-mentioned keyboard type, example are only able to display Such as, input in Chinese soft keyboard is shown;When user wants input other types character content, need to be switched to other types soft key Disk.
A kind of soft keyboard of keyboard type is only able to display when inventor has found that calling soft keyboard, therefore, it is necessary to The soft keyboard for toggling different keyboard types realizes the purpose of the contents such as input different type character, when which expends Between, cause input efficiency lower.
Summary of the invention
The technical problem to be solved by the invention is to provide a kind of method and apparatus that soft keyboard is shown, do not need back and forth Switch the soft keyboard operation of different keyboard types, it will be able to the input of the contents such as different type character is directly realized by, when saving Between, mitigate operating burden, improves input efficiency.
In a first aspect, the embodiment of the invention provides a kind of methods that soft keyboard is shown, this method comprises:
Obtain soft keyboard idsplay order;
According to the soft keyboard idsplay order, determine that target keyboard type, the target keyboard type include that need to show N kind The keyboard type of soft keyboard, wherein N >=2;
According to the target keyboard type, show that the N kind of the corresponding target keyboard type is soft in N number of soft keyboard pop-up The keyboard type of keyboard, the soft keyboard shown in N number of soft keyboard pop-up is different.
Preferably, the keyboard type includes that input in Chinese type, English input type, numeral input type, symbol are defeated Enter type and expression input type.
Preferably, described according to the soft keyboard idsplay order, determine target keyboard type, comprising:
According to the soft keyboard idsplay order, corresponding default display information is read;
The default display information is parsed, the target keyboard type is obtained.
Preferably, described according to the target keyboard type, the corresponding target keyboard is shown in N number of soft keyboard pop-up The N kind soft keyboard of type, comprising:
According to the target keyboard type, determine that the soft keyboard of the corresponding target keyboard type draws information, it is described soft Keyboard draws the key value that information includes each control on soft keyboard, size information, coordinate information and display information;
Information is drawn according to the soft keyboard, the corresponding target keyboard type of display is drawn in N number of soft keyboard pop-up N kind soft keyboard.
Preferably, shown in N number of soft keyboard pop-up described the corresponding target keyboard type N kind soft keyboard it Afterwards, further includes:
Control size and/or the position of N number of soft keyboard pop-up;And/or
Control size and/or the position of the N kind soft keyboard.
Preferably, the soft keyboard pop-up further includes the first control, and first control is for hiding itself soft keyboard bullet Window, after the N kind soft keyboard for showing the corresponding target keyboard type in N number of soft keyboard pop-up, further includes:
In response to triggering the operation of first control, itself soft keyboard pop-up is hidden.
Preferably, the soft keyboard pop-up further includes the second control, and second control is for controlling other soft keyboard bullets The show or hide of window is drawn in soft keyboard pop-up after showing the N kind soft keyboard for corresponding to keyboard type, further includes:
In response to triggering the operation of second control, other soft keyboard pop-up show or hides are controlled.
Preferably, further includes:
Corresponding N number of independent engine is created for the N kind soft keyboard, the independent engine is based on the control for independent Key value carry out input association.
Preferably, if triggering N number of independent engine simultaneously, N number of independent engine works independently simultaneously.
Second aspect, the embodiment of the invention provides a kind of devices that soft keyboard is shown characterized by comprising
Acquiring unit, for obtaining soft keyboard idsplay order;
Determination unit, for determining target keyboard type, the target keyboard type according to the soft keyboard idsplay order Keyboard type including that need to show N kind soft keyboard, wherein N >=2;
Display unit, for showing the corresponding object key in N number of soft keyboard pop-up according to the target keyboard type The keyboard type of the N kind soft keyboard of disc-type, the soft keyboard shown in N number of soft keyboard pop-up is different.
Compared with prior art, the present invention has at least the following advantages:
Using the technical solution of the embodiment of the present invention, firstly, triggering the operation of display soft keyboard in response to user, obtain soft Keyboard & display instruction;Then, according to the soft keyboard idsplay order, target keyboard type, the target keyboard type packet are determined Include the keyboard type that need to show N kind soft keyboard, wherein N >=2;Finally, according to the target keyboard type, in N number of soft keyboard bullet The N kind soft keyboard of the corresponding target keyboard type, the keyboard of the soft keyboard shown in N number of soft keyboard pop-up are shown in window Type is different.It can be seen that can at least show the soft keyboard of two kinds of keyboard types when user triggers and calls soft keyboard;No Need to toggle the soft keyboard operation of different keyboard types, it will be able to the directly soft key of the shown different keyboard types of operation Disk realizes the input of the contents such as different type character, and which is saved handover operation and can be saved the time, mitigates operating burden, from And improve input efficiency.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in application, for those of ordinary skill in the art, without creative efforts, It can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is system framework schematic diagram involved in application scenarios a kind of in the embodiment of the present invention;
Fig. 2 is a kind of flow diagram for the method that soft keyboard is shown provided in an embodiment of the present invention;
Fig. 3 is soft keyboard display schematic diagram provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram that the independent engine of two kinds of soft keyboards provided in an embodiment of the present invention works independently simultaneously;
Fig. 5 is the schematic diagram that first control of triggering provided in an embodiment of the present invention hides itself soft keyboard pop-up;
Fig. 6 is the schematic diagram that other soft keyboard pop-ups are hidden and shown to second control of triggering provided in an embodiment of the present invention;
Fig. 7 is the flow diagram for the method that another soft keyboard provided in an embodiment of the present invention is shown;
Fig. 8 is a kind of structural schematic diagram for the device that soft keyboard is shown provided in an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only this Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
Inventor has found that generally, according to input character types, soft keyboard can be divided into input in Chinese, English The keyboard types such as literary input, numeral input, symbol input, expression input.When calling soft keyboard, it is only able to display above-mentioned wherein one The soft keyboard of kind keyboard type needs to be switched to other types soft keyboard when user wants input other types character content. For example, showing input in Chinese soft keyboard when calling soft keyboard;When user wants input English character content, need by Text input soft keyboard is switched to English input soft keyboard.Due to only showing a kind of soft keyboard of keyboard type when calling soft keyboard, The soft keyboard for resulting in the need for toggling different keyboard types is just able to satisfy the actual demand for inputting the contents such as different type character, The time is expended, input efficiency is lower.
In order to solve this problem, in embodiments of the present invention, firstly, triggering the behaviour of display soft keyboard in response to user Make, obtains soft keyboard idsplay order;Then, according to the soft keyboard idsplay order, target keyboard type, the object key are determined Disc-type includes the keyboard type that need to show N kind soft keyboard, wherein N >=2;Finally, according to the target keyboard type, N number of The N kind soft keyboard of the corresponding target keyboard type, the soft key shown in N number of soft keyboard pop-up are shown in soft keyboard pop-up The keyboard type of disk is different.It can be seen that can at least show the soft of two kinds of keyboard types when user triggers and calls soft keyboard Keyboard;The soft keyboard operation of different keyboard types is not needed to toggle, it will be able to the directly shown different keyboard types of operation The soft keyboard of type realizes the input of the contents such as different type character, and which is saved handover operation and can be saved the time, mitigates behaviour It bears, to improve input efficiency.
For example, one of the scene of the embodiment of the present invention, can be applied in scene as shown in Figure 1.The scene Including intelligent terminal 101, processor 102 and database 103.Firstly, being touched in response to user by intelligent terminal 101 The operation of hair display soft keyboard, generates soft keyboard idsplay order, and processor 102 obtains soft keyboard idsplay order;Then, processor 102 determine target keyboard type, the target according to the soft keyboard idsplay order, by the storage content in database 103 Keyboard type includes that need to show the keyboard type of N kind soft keyboard, wherein N >=2;Finally, processor 102 is according to the object key Disc-type shows the N kind soft keyboard of the corresponding target keyboard type in N number of soft keyboard pop-up of intelligent terminal 101, The keyboard type of the soft keyboard shown in N number of soft keyboard pop-up is different.
It is understood that in above-mentioned application scenarios, although by the action description of embodiment of the present invention by processor 102 execute, but these movements can also be executed by client 101, or can also partially be executed by client 101, part It is executed by processor 102.The present invention is unrestricted in terms of executing subject, as long as performing disclosed in embodiment of the present invention Movement.
It is understood that above-mentioned scene is only a Sample Scenario provided in an embodiment of the present invention, the embodiment of the present invention It is not limited to this scene.
With reference to the accompanying drawing, the method and apparatus shown by embodiment come soft keyboard in the present invention will be described in detail embodiment Specific implementation.
Illustrative methods
Referring to fig. 2, a kind of flow diagram for the method that soft keyboard is shown in the embodiment of the present invention is shown.In this implementation In example, the method for example be may comprise steps of:
Step 201: obtaining soft keyboard idsplay order.
It is understood that when user needs to input the contents such as character using large-size screen monitors intelligent terminal, it is usually logical Certain operation calls soft keyboards are crossed to show soft keyboard, subsequent user can operate the input that soft keyboard realizes the contents such as character. Specifically, it before showing soft keyboard, in response to the operation of the triggering display soft keyboard of user, generates a soft keyboard and shows and refer to It enables, processor obtains the soft keyboard idsplay order first to carry out subsequent processing.For example, behaviour of the user by click text box Make or user is by " opening input method " voice etc., generates a soft keyboard idsplay order, the available soft key of processor Disk idsplay order.
Step 202: according to the soft keyboard idsplay order, determining that target keyboard type, the target keyboard type include It need to show the keyboard type of N kind soft keyboard, wherein N >=2.
It is understood that the type of input character is different, for example, common character types may include Chinese, English, The types such as number, symbol, expression accordingly in some embodiments of the present embodiment, carry out soft according to input character types Keyboard classification, the keyboard type include input in Chinese type, English input type, numeral input type, symbol input type With expression input type.Certainly, in the present embodiment, the keyboard type of soft keyboard is not limited to above-mentioned five kinds of keyboard types, For example, it is also possible to include the keyboard types such as serial number input type and Pinyin Input type.
It should be noted that before showing soft keyboard, should know after step 201 obtains soft keyboard idsplay order Road needs the soft keyboard of which kind of keyboard type to be shown, that is, hard objectives keyboard type.Wherein, the determination of target keyboard type Mode is varied, for example, the display information of soft keyboard can be preset, the display information includes needing to show soft keyboard Keyboard type;After obtaining soft keyboard idsplay order, based on the default display available target keyboard type of information.Cause This, in some embodiments of the present embodiment, the step 202 for example be may comprise steps of:
Step A: according to the soft keyboard idsplay order, corresponding default display information is read;
Step B: the parsing default display information obtains the target keyboard type.
It should also be noted that, user, which is also based on the modifications such as personal habits, resets above-mentioned default display information. Certainly, in the present embodiment, determine that the mode of target keyboard type is not limited to aforesaid way, for example, obtaining soft keyboard After idsplay order, the option for supporting the keyboard type of soft keyboard of display is shown to user, user can be with according to the old option Voluntarily selection needs to show the keyboard type of soft keyboard, determines target keyboard type based on the selection of user.
Step 203: according to the target keyboard type, the corresponding target keyboard type is shown in N number of soft keyboard pop-up The keyboard type of the N kind soft keyboard of type, the soft keyboard shown in N number of soft keyboard pop-up is different.
It is understood that after step 202, just specifying and needing to pop up corresponding N number of soft keyboard pop-up, this is N number of Soft keyboard pop-up needs to show the soft keyboard of different keyboard types, that is, the N kind soft key of the corresponding target keyboard type of display Disk.For example, the target keyboard type determined is input in Chinese type, English input type and digital input type, then such as Fig. 3 institute Show a kind of schematic diagram that soft keyboard is shown, three kinds of soft keys of corresponding above-mentioned target keyboard type are shown in three soft keyboard pop-ups Disk, specifically, the first soft keyboard pop-up 301 show that input in Chinese type soft keyboard, the 2nd 302 soft keyboard pop-up display English are defeated Enter type soft keyboard, third soft keyboard pop-up 303 shows numeral input type soft keyboard.
It should be noted that before showing soft keyboard, other than knowing target keyboard type, it is also necessary to know target The corresponding key value of each control in the soft keyboard of keyboard type plants oneself in soft keyboard, occupies in size and display Hold, the soft keyboard of corresponding target keyboard type could be drawn out in soft keyboard pop-up.Therefore, in some embodiment party of the present embodiment In formula, the step 202 for example be may comprise steps of:
Step C: according to the target keyboard type, determining that the soft keyboard of the corresponding target keyboard type draws information, The soft keyboard draws the key value that information includes each control on soft keyboard, size information, coordinate information and display information;
Step D: drawing information according to the soft keyboard, and the corresponding object key of display is drawn in N number of soft keyboard pop-up The N kind soft keyboard of disc-type.
Wherein, the key value of each control refers in computer program each control on representative soft keyboard on soft keyboard Numerical value;The size information of each control can be width, height etc. of each control on soft keyboard on soft keyboard;On soft keyboard The coordinate information of each control can be x coordinate and y-coordinate of each control on soft keyboard;Each control is aobvious on soft keyboard Show that information refers to each control information such as required text to be shown or picture on soft keyboard.
It is understood that in the prior art, only showing a kind of soft keyboard of keyboard type, which is configured with one For the input method engine of association's candidate word, when soft keyboard switches to quotation input type from Chinese input type, the input Method engine is also required to therefrom Federation of Literary and Art Circles and thinks that state is switched to English association's state.Due in the present embodiment, in N number of soft keyboard pop-up The N kind soft keyboard of the corresponding target keyboard type of display can operate the independent work of N kind soft keyboard progress to meet user Make, a corresponding engine can be created for each soft keyboard pathbreaker of display, it is mutually indepedent between each engine.Therefore, It in some embodiments of the present embodiment, such as can also include: N number of independently to draw for N kind soft keyboard creation is corresponding It holds up, the independent engine is used for the independent key value based on the control and carries out input association.It is used it should also be noted that, existing Family operates a variety of soft keyboards simultaneously, while the case where input a plurality of types of character contents, at this point, creating for the N kind soft keyboard The corresponding N number of independent engine built needs to meet the condition that can be worked independently simultaneously.
For example, the schematic diagram that two kinds of independent engines as shown in Figure 4 work independently simultaneously, wherein the first soft keyboard pop-up 401 display input in Chinese type soft keyboards, the input in Chinese type soft keyboard are configured with Chinese engine, the second soft keyboard pop-up 402 show that English input type soft keyboard, the English input type soft keyboard are configured with English engine, and user clicks Chinese simultaneously When some control of input type soft keyboard and English input type soft keyboard, Chinese engine and English engine while independent work Make, selects word frame display Chinese to associate the choosing as a result, in the second soft keyboard pop-up 402 waiting in the first soft keyboard pop-up 401 Word frame display English association result.
It should be noted that using large-size screen monitors intelligent terminal in user by some embodiments in above-mentioned the present embodiment When equipment needs to input the contents such as character, the N kind soft key of the corresponding target keyboard type can be shown in N number of soft keyboard pop-up Disk, it is, however, possible to which user does not need the soft keyboard using certain shown keyboard type.In view of above-mentioned this feelings Condition can be arranged one for hiding the control of itself soft keyboard pop-up, so that user is shown by triggering in soft keyboard pop-up It is showing but do not need using soft keyboard on the control hide itself soft keyboard pop-up.That is, in some realities of the present embodiment It applies in mode, the soft keyboard pop-up further includes the first control, and first control is for hiding itself soft keyboard pop-up, in institute It after stating step 203, such as can also include: the operation in response to triggering first control, hide itself soft keyboard pop-up; Wherein, the soft keyboard that soft keyboard pop-up also illustrates that its hiding display is hidden.It is of course also possible to which a use is arranged on soft keyboard In the control for hiding itself soft keyboard.
For example, the first control of triggering as shown in Figure 5 hides the schematic diagram of itself soft keyboard pop-up, wherein show three altogether A soft keyboard pop-up, the first soft keyboard pop-up 501 show input in Chinese type soft keyboard, and the second soft keyboard pop-up 502 shows English Literary input type soft keyboard, third soft keyboard pop-up 503 show numeral input type soft keyboard, and user clicks third soft keyboard bullet The first control 504 on window, processor receive the instruction for hiding itself soft keyboard pop-up, hide third soft keyboard pop-up 503.
It should be noted that the limitation based on intelligent terminal screen size, corresponding institute is shown in N number of soft keyboard pop-up State the N kind soft keyboard of target keyboard type, the soft keyboard of not necessarily whole keyboard types, or to hide some soft above-mentioned After keyboard pop-up, it is also necessary to show the soft keyboard pop-up again.It, as shown in the above description, can be in view of these situations It is arranged one for showing or hiding the control of other soft keyboard pop-ups, so that user is by triggering the control in soft keyboard pop-up Part shows or hides other soft keyboard pop-ups.That is, the soft keyboard pop-up is also wrapped in some embodiments of the present embodiment The second control is included, second control is used to control the show or hide of other soft keyboard pop-ups, after the step 203, Such as can also include: operation in response to triggering second control, control other soft keyboard pop-up show or hides;Its In, display or hiding soft keyboard pop-up also illustrate that display or hide the soft keyboard of its display.It is of course also possible in soft key One is arranged on disk for showing or hiding the control of other soft keyboards.
The schematic diagram of other soft keyboard pop-ups is hidden and shown to second control of triggering as shown in FIG. 6, wherein shows three altogether A soft keyboard pop-up, the first soft keyboard pop-up 601 show input in Chinese type soft keyboard, and the second soft keyboard pop-up 602 shows English Literary input type soft keyboard, third soft keyboard pop-up 603 show numeral input type soft keyboard, and user clicks the first soft keyboard bullet The second control 604 on window, processor receive the instruction for hiding the pop-up of third soft keyboard, hide third soft keyboard pop-up 603;With Family again taps on the second control 604 in the first soft keyboard pop-up, and processor receives the instruction of display third soft keyboard pop-up, shows Show third soft keyboard pop-up 603.
It should also be noted that, show in N number of soft keyboard pop-up the correspondence target keyboard type N kind soft keyboard it Afterwards, it is contemplated that convenience, personal habits or display effect when use can also adjust soft keyboard pop-up and set in intelligent terminal The size of position or soft keyboard pop-up in standby;Similarly, also position of the adjustable soft keyboard in soft keyboard pop-up or The size of soft keyboard improves input efficiency so that soft keyboard is more convenient when using in soft keyboard pop-up adjusted.Cause This after the step 203, such as can also include: that control is described N number of soft in some embodiments of the present embodiment The size of keyboard pop-up and/or position;And/or control size and/or the position of the N kind soft keyboard.
Wherein, the size of N number of soft keyboard pop-up is controlled, such as is specifically as follows: in response to stretching or scaling the N The operation of a soft keyboard pop-up controls N number of soft keyboard pop-up and stretches or scale;Similarly, the big of the N kind soft keyboard is controlled Small, be specifically as follows: the operation in response to stretching or scaling the N kind soft keyboard controls the N kind soft keyboard and stretches or contract It puts.For example, user is in intelligent terminal scaled image or scaling soft keyboard pop-up, in response to the operation, processor is based on It stretches (or scaling) starting point and stretches (or scaling) terminal, stretched (or scaling) ratio;According to stretching (or scaling) ratio, (or scaling) is stretched to the soft keyboard pop-up.
Wherein, the position of N number of soft keyboard pop-up is controlled, such as is specifically as follows: in response to movement N number of soft key The operation of disk pop-up controls N number of soft keyboard pop-up and carries out position movement;Similarly, the position of the N kind soft keyboard is controlled, It is specifically as follows: in response to the operation of the movement N kind soft keyboard, controls the N kind soft keyboard and carry out position movement.For example, User is in the mobile soft keyboard pop-up of intelligent terminal screen, and in response to the operation, processor is based on mobile starting point and movement Terminal obtains moving direction and moving distance;According to moving direction and moving distance, the mobile soft keyboard pop-up.
The various embodiments provided through this embodiment obtain firstly, triggering the operation of display soft keyboard in response to user Obtain soft keyboard idsplay order;Then, according to the soft keyboard idsplay order, target keyboard type, the target keyboard type are determined Type includes that need to show the keyboard type of N kind soft keyboard, wherein N >=2;Finally, according to the target keyboard type, in N number of soft key The N kind soft keyboard of the corresponding target keyboard type is shown in disk pop-up, the soft keyboard shown in N number of soft keyboard pop-up Keyboard type is different.It can be seen that can at least show the soft key of two kinds of keyboard types when user triggers and calls soft keyboard Disk;The soft keyboard operation of different keyboard types is not needed to toggle, it will be able to the directly shown different keyboard types of operation Soft keyboard realize the inputs of the contents such as different type character, which is saved handover operation and can be saved the time, and operation is mitigated Burden, to improve input efficiency.
With reference to the accompanying drawing 7, it is display input in Chinese soft keyboard and English with the display information of pre-set soft keyboard Soft keyboard is inputted, the specific implementation side for the method that another embodiment shows come soft keyboard in the present invention will be described in detail embodiment is passed through Formula.
Referring to Fig. 7, the flow diagram for the method that another soft keyboard is shown in the embodiment of the present invention is shown.In this reality It applies in example, the method for example may comprise steps of:
Step 701: triggering the operation of display soft keyboard in response to user, obtain soft keyboard idsplay order.
Step 702: according to soft keyboard idsplay order, reading corresponding default display information.
Step 703: the parsing default display information determines that input in Chinese type and English input type are target keyboard Type.
Step 704: according to the target keyboard type, determining that input in Chinese soft keyboard draws information and English input soft key Disk draws information, the soft keyboard draw the key value that information includes each control on soft keyboard, size information, coordinate information and Show information.
Step 705: the first soft keyboard pop-up of pop-up and the second soft keyboard pop-up.
Step 706: information being drawn according to input in Chinese soft keyboard, display input in Chinese is drawn in the first soft keyboard pop-up Soft keyboard.
Step 707: information being drawn according to English input soft keyboard, display English input is drawn in the first soft keyboard pop-up Soft keyboard.
It should be noted that conditioning step 704 and step 705 do not execute sequence, both can with Steps 704, Step 705 can be first carried out.Also conditioning step 706 and step 707 do not execute sequence, both can be with Steps 706, can also To first carry out step 707, step 706 and step 707 may also be performed simultaneously.
The various embodiments provided through this embodiment obtain firstly, triggering the operation of display soft keyboard in response to user Obtain soft keyboard idsplay order;Then, according to the soft keyboard idsplay order, target keyboard type, the target keyboard type are determined Type includes that need to show the keyboard type of N kind soft keyboard, wherein N >=2;Finally, according to the target keyboard type, in N number of soft key The N kind soft keyboard of the corresponding target keyboard type is shown in disk pop-up, the soft keyboard shown in N number of soft keyboard pop-up Keyboard type is different.It can be seen that can at least show the soft key of two kinds of keyboard types when user triggers and calls soft keyboard Disk;The soft keyboard operation of different keyboard types is not needed to toggle, it will be able to the directly shown different keyboard types of operation Soft keyboard realize the inputs of the contents such as different type character, which is saved handover operation and can be saved the time, and operation is mitigated Burden, to improve input efficiency.
Example devices
Referring to Fig. 8, a kind of structural schematic diagram for the device that soft keyboard is shown in the embodiment of the present invention is shown.In this implementation In example, described device for example be can specifically include:
Acquiring unit 801, for obtaining soft keyboard idsplay order;
Determination unit 802, for determining target keyboard type, the target keyboard according to the soft keyboard idsplay order Type includes that need to show the keyboard type of N kind soft keyboard, wherein N >=2;
Display unit 803, for showing the corresponding mesh in N number of soft keyboard pop-up according to the target keyboard type The N kind soft keyboard of keyboard type is marked, the keyboard type of the soft keyboard shown in N number of soft keyboard pop-up is different.
Optionally, the keyboard type includes that input in Chinese type, English input type, numeral input type, symbol are defeated Enter type and expression input type.
Optionally, the determination unit 802 includes that reading subunit and parsing obtain subelement:
The reading subunit, for reading corresponding default display information according to the soft keyboard idsplay order;
The parsing obtains subelement and obtains the target keyboard type for parsing the default display information.
Optionally, the display unit 803 includes determining subelement and drawing display subelement:
The determining subelement, for determining the soft of the corresponding target keyboard type according to the target keyboard type Keyboard draws information, and it includes the key value of each control on soft keyboard, size information, coordinate information that the soft keyboard, which draws information, With display information;
The drafting shows subelement, for drawing information according to the soft keyboard, draws in N number of soft keyboard pop-up aobvious Show the N kind soft keyboard of the corresponding target keyboard type.
Optionally, described device further include:
First control unit, for controlling size and/or the position of N number of soft keyboard pop-up;And/or
Second control unit, for controlling size and/or the position of the N kind soft keyboard.
Optionally, the soft keyboard pop-up further includes the first control, and first control is for hiding itself soft keyboard bullet Window, after the N kind soft keyboard for showing the corresponding target keyboard type in N number of soft keyboard pop-up, described device is also Include:
Hidden unit hides itself soft keyboard pop-up for the operation in response to triggering first control.
Optionally, the soft keyboard pop-up further includes the second control, and second control is for controlling other soft keyboard bullets The show or hide of window, after the N kind soft keyboard for showing corresponding keyboard type is drawn in soft keyboard pop-up, described device is also wrapped It includes:
Third control unit controls other soft keyboard pop-ups and shows for the operation in response to triggering second control Or it hides.
Optionally, described device further include:
Creating unit, for creating corresponding N number of independent engine for the N kind soft keyboard, the independent engine is for only The key value of the control of being based on carries out input association.
Optionally, if triggering N number of independent engine simultaneously, N number of independent engine works independently simultaneously.
The various embodiments provided through this embodiment, acquiring unit are used to trigger display soft keyboard in response to user Operation obtains soft keyboard idsplay order;Determination unit be used for according to the soft keyboard idsplay order, determine target keyboard type, The target keyboard type includes that need to show the keyboard type of N kind soft keyboard, wherein N >=2;Display unit is used for according to Target keyboard type shows the N kind soft keyboard of the corresponding target keyboard type, N number of soft key in N number of soft keyboard pop-up The keyboard type of the soft keyboard shown in disk pop-up is different.It can be seen that can at least be shown when user triggers and calls soft keyboard Show the soft keyboard of two kinds of keyboard types;The soft keyboard operation of different keyboard types is not needed to toggle, it will be able to directly operate The soft keyboard of shown different keyboard types realizes the input of the contents such as different type character, and which saves handover operation can To save the time, mitigate operating burden, to improve input efficiency.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.The terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or equipment for including a series of elements not only includes those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including institute State in the process, method, article or equipment of element that there is also other identical elements.
The above described is only a preferred embodiment of the present invention, being not intended to limit the present invention in any form.Though So the present invention has been disclosed as a preferred embodiment, and however, it is not intended to limit the invention.It is any to be familiar with those skilled in the art Member, without departing from the scope of the technical proposal of the invention, all using the methods and technical content of the disclosure above to the present invention Technical solution makes many possible changes and modifications or equivalent example modified to equivalent change.Therefore, it is all without departing from The content of technical solution of the present invention, according to the technical essence of the invention any simple modification made to the above embodiment, equivalent Variation and modification, all of which are still within the scope of protection of the technical scheme of the invention.

Claims (10)

1. a kind of method that soft keyboard is shown characterized by comprising
Obtain soft keyboard idsplay order;
According to the soft keyboard idsplay order, determine that target keyboard type, the target keyboard type include that need to show N kind soft key The keyboard type of disk, wherein N >=2;
According to the target keyboard type, the N kind soft key of the corresponding target keyboard type is shown in N number of soft keyboard pop-up The keyboard type of disk, the soft keyboard shown in N number of soft keyboard pop-up is different.
2. the method according to claim 1, wherein the keyboard type include input in Chinese type, English it is defeated Enter type, numeral input type, symbol input type and expression input type.
3. determining target the method according to claim 1, wherein described according to the soft keyboard idsplay order Keyboard type, comprising:
According to the soft keyboard idsplay order, corresponding default display information is read;
The default display information is parsed, the target keyboard type is obtained.
4. the method according to claim 1, wherein described according to the target keyboard type, in N number of soft keyboard The N kind soft keyboard of the corresponding target keyboard type is shown in pop-up, comprising:
According to the target keyboard type, determine that the soft keyboard of the corresponding target keyboard type draws information, the soft keyboard Draw the key value, size information, coordinate information and display information that information includes each control on soft keyboard;
Information is drawn according to the soft keyboard, the N kind of the corresponding target keyboard type of display is drawn in N number of soft keyboard pop-up Soft keyboard.
5. the method according to claim 1, wherein being shown in N number of soft keyboard pop-up described in correspondence described After the N kind soft keyboard of target keyboard type, further includes:
Control size and/or the position of N number of soft keyboard pop-up;And/or
Control size and/or the position of the N kind soft keyboard.
6. the method according to claim 1, wherein the soft keyboard pop-up further includes the first control, described One control shows the corresponding target keyboard type for hiding itself soft keyboard pop-up, described in N number of soft keyboard pop-up N kind soft keyboard after, further includes:
In response to triggering the operation of first control, itself soft keyboard pop-up is hidden.
7. the method according to claim 1, wherein the soft keyboard pop-up further includes the second control, described Two controls are used to control the show or hide of other soft keyboard pop-ups, draw in soft keyboard pop-up and show corresponding keyboard type After N kind soft keyboard, further includes:
In response to triggering the operation of second control, other soft keyboard pop-up show or hides are controlled.
8. according to the method described in claim 4, it is characterized by further comprising:
Corresponding N number of independent engine is created for the N kind soft keyboard, the independent engine is used for the independent key based on the control Code value carries out input association.
9. according to the method described in claim 8, it is characterized in that, if triggering N number of independent engine simultaneously, it is described it is N number of solely Vertical engine works independently simultaneously.
10. a kind of device that soft keyboard is shown characterized by comprising
Acquiring unit, for obtaining soft keyboard idsplay order;
Determination unit, for determining that target keyboard type, the target keyboard type include according to the soft keyboard idsplay order It need to show the keyboard type of N kind soft keyboard, wherein N >=2;
Display unit, for showing the corresponding target keyboard type in N number of soft keyboard pop-up according to the target keyboard type The keyboard type of the N kind soft keyboard of type, the soft keyboard shown in N number of soft keyboard pop-up is different.
CN201810230081.2A 2018-03-20 2018-03-20 A kind of method and apparatus that soft keyboard is shown Pending CN109739366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810230081.2A CN109739366A (en) 2018-03-20 2018-03-20 A kind of method and apparatus that soft keyboard is shown

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810230081.2A CN109739366A (en) 2018-03-20 2018-03-20 A kind of method and apparatus that soft keyboard is shown

Publications (1)

Publication Number Publication Date
CN109739366A true CN109739366A (en) 2019-05-10

Family

ID=66354360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810230081.2A Pending CN109739366A (en) 2018-03-20 2018-03-20 A kind of method and apparatus that soft keyboard is shown

Country Status (1)

Country Link
CN (1) CN109739366A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110286845A (en) * 2019-06-14 2019-09-27 北京小米支付技术有限公司 A kind of method, apparatus and medium controlling password set interface
CN112034995A (en) * 2020-09-02 2020-12-04 中国银行股份有限公司 Display method and device of input method input interface, storage medium and electronic equipment
CN112382379A (en) * 2020-11-20 2021-02-19 深圳开立生物医疗科技股份有限公司 Soft keyboard implementation method and device of ultrasonic equipment, ultrasonic equipment and storage medium
CN112527172A (en) * 2020-12-30 2021-03-19 网易(杭州)网络有限公司 Interface display method and device, computer readable storage medium and electronic equipment
CN112799578A (en) * 2021-01-26 2021-05-14 挂号网(杭州)科技有限公司 Keyboard drawing method and device, electronic equipment and storage medium
CN113360074A (en) * 2021-06-01 2021-09-07 北京百度网讯科技有限公司 Soft keyboard display method, related device and computer program product
CN113360000A (en) * 2021-05-26 2021-09-07 维沃移动通信有限公司 Input keyboard display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019580A (en) * 2011-09-27 2013-04-03 鸿富锦精密工业(深圳)有限公司 Touch screen electronic device and soft keyboard starting method thereof
CN103064629A (en) * 2013-01-30 2013-04-24 龙凡 Portable electronic equipment and method capable of dynamically regulating graphical controls
CN103309593A (en) * 2012-03-12 2013-09-18 深圳富泰宏精密工业有限公司 Input method interface display system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019580A (en) * 2011-09-27 2013-04-03 鸿富锦精密工业(深圳)有限公司 Touch screen electronic device and soft keyboard starting method thereof
CN103309593A (en) * 2012-03-12 2013-09-18 深圳富泰宏精密工业有限公司 Input method interface display system and method
CN103064629A (en) * 2013-01-30 2013-04-24 龙凡 Portable electronic equipment and method capable of dynamically regulating graphical controls

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110286845A (en) * 2019-06-14 2019-09-27 北京小米支付技术有限公司 A kind of method, apparatus and medium controlling password set interface
CN112034995A (en) * 2020-09-02 2020-12-04 中国银行股份有限公司 Display method and device of input method input interface, storage medium and electronic equipment
CN112034995B (en) * 2020-09-02 2023-09-12 中国银行股份有限公司 Display method and device of input interface of input method, storage medium and electronic equipment
CN112382379A (en) * 2020-11-20 2021-02-19 深圳开立生物医疗科技股份有限公司 Soft keyboard implementation method and device of ultrasonic equipment, ultrasonic equipment and storage medium
CN112527172A (en) * 2020-12-30 2021-03-19 网易(杭州)网络有限公司 Interface display method and device, computer readable storage medium and electronic equipment
CN112527172B (en) * 2020-12-30 2022-12-16 网易(杭州)网络有限公司 Interface display method and device, computer readable storage medium and electronic equipment
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
CN113360000A (en) * 2021-05-26 2021-09-07 维沃移动通信有限公司 Input keyboard display method and device
CN113360000B (en) * 2021-05-26 2024-05-31 维沃移动通信有限公司 Input keyboard display method and device
CN113360074A (en) * 2021-06-01 2021-09-07 北京百度网讯科技有限公司 Soft keyboard display method, related device and computer program product
CN113360074B (en) * 2021-06-01 2024-01-12 北京百度网讯科技有限公司 Soft keyboard display method, related device and computer program product

Similar Documents

Publication Publication Date Title
CN109739366A (en) A kind of method and apparatus that soft keyboard is shown
TWI553541B (en) Method and computing device for semantic zoom
CN103049254B (en) DLL for semantic zoom
CN101427202B (en) Method and device for improving inputting speed of characters
CN101398717B (en) Display variable keyboard and input method
CN112148170B (en) Desktop element adjusting method and device and electronic equipment
WO2013189290A1 (en) Touch screen keyboard and input method thereof
KR20140074888A (en) Semantic zoom gestures
KR102260949B1 (en) Method for arranging icon and electronic device supporting the same
WO2017032193A1 (en) User interface layout adjustment method and apparatus
WO2023045927A1 (en) Object moving method and electronic device
CN112764613A (en) Icon arranging method and device, electronic equipment and readable storage medium
KR20070005579A (en) Split on-screen keyboard
US20130088432A1 (en) Alphabet input device and alphabet recognition system in small-sized keypad
US9753544B2 (en) Korean character input apparatus and method using touch screen
WO2023056977A1 (en) Application program start method and apparatus, and electronic device
EP3065032A1 (en) Word prediction input method and terminal
CN114356113A (en) Input method and input device
CN113805753A (en) Character editing method and device and electronic equipment
CN112764551A (en) Vocabulary display method and device and electronic equipment
CN106126093A (en) A kind of input method based on dummy keyboard and system
CN113076010B (en) Input method, input device, electronic equipment and medium
US20150278176A1 (en) Providing for text entry by a user of a computing device
CN111752428A (en) Icon arrangement method and device, electronic equipment and medium
JP3886472B2 (en) Information selective input system, information selective input method and program thereof

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: 20190510

RJ01 Rejection of invention patent application after publication