CN114153370A - Control method and system of digital virtual keyboard, UE (user Equipment) equipment and storage medium - Google Patents

Control method and system of digital virtual keyboard, UE (user Equipment) equipment and storage medium Download PDF

Info

Publication number
CN114153370A
CN114153370A CN202111455685.5A CN202111455685A CN114153370A CN 114153370 A CN114153370 A CN 114153370A CN 202111455685 A CN202111455685 A CN 202111455685A CN 114153370 A CN114153370 A CN 114153370A
Authority
CN
China
Prior art keywords
virtual keyboard
type
screen
layout
digital virtual
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
CN202111455685.5A
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.)
CHANGZHOU XINRUIDE INSTRUMENT CO LTD
Original Assignee
CHANGZHOU XINRUIDE INSTRUMENT 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 CHANGZHOU XINRUIDE INSTRUMENT CO LTD filed Critical CHANGZHOU XINRUIDE INSTRUMENT CO LTD
Priority to CN202111455685.5A priority Critical patent/CN114153370A/en
Publication of CN114153370A publication Critical patent/CN114153370A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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/04886Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04186Touch location disambiguation

Abstract

The invention relates to a control method and a control system of a digital virtual keyboard, UE (user equipment) equipment and a computer readable storage medium, wherein the control method of the digital virtual keyboard comprises the following steps: step S1, determining the virtual keyboard type as a numerical value type; step S2, constructing a digital virtual keyboard layout according to the position of the input box; and step S3, determining the display position according to the layout of the digital virtual keyboard. The virtual keyboard layout can be automatically switched according to the content input by the user, the layout position can be automatically adjusted through the content position, and the input content can be prevented from being shielded, so that the user can conveniently check the input content, and the use experience and the input efficiency of the user are greatly improved.

Description

Control method and system of digital virtual keyboard, UE (user Equipment) equipment and storage medium
Technical Field
The present invention relates to an electronic device with a virtual keyboard and a virtual keyboard display method thereof, and more particularly, to a method for operating switching and displaying of a virtual keyboard according to user input content.
Background
Compared with the traditional equipment with liquid crystal and solid keys, the full-touch equipment has the advantages of more displayed information, simpler and more convenient operation, low cost of hands and the like, and meanwhile, as the Android is an open system with more perfect experience on the interaction of the full-touch equipment at present, more and more hardware manufacturers release the equipment based on the full-touch of the Android system in recent years.
The full-touch device has a significant disadvantage when a user inputs content, and if the input content is large, the situation of blocking the content is shown in fig. 1(a), and especially, the user input efficiency is greatly reduced on the full-touch device with the aspect ratio larger than 4: 3.
At present, there are two solutions in the industry, the first is to move the content up a certain distance when the user needs to input the content, so as to ensure that the user input content is not blocked as shown in fig. 1(b), and the solution can cause the interface to move up greatly when the user inputs the content at the bottom, so that the interface is squeezed, and the user experience is poor.
The second is to jump to a new interface to display the content input by the user as shown in fig. 1(c), and this scheme requires continuous switching of the interface to increase the user operation cost when inputting a large amount of content, resulting in very poor user experience.
Disclosure of Invention
The invention aims to provide a control method and a control system of a digital virtual keyboard, UE (user equipment) equipment and a computer readable storage medium.
In order to solve the above technical problem, the present invention provides a method for controlling a digital virtual keyboard, comprising the following steps:
step S1, determining the virtual keyboard type as a numerical value type;
step S2, constructing a digital virtual keyboard layout according to the position of the input box; and
step S3, determining a display position according to the layout of the numeric virtual keyboard.
The invention also provides a control system of the digital virtual keyboard, which comprises:
the attribute calculation module is used for acquiring the content type input by the user and determining the virtual keyboard type as a numerical value type;
the digital virtual keyboard layout generating module is used for constructing a digital virtual keyboard layout according to the position of the input frame;
and the layout display module determines a display position according to the layout of the digital virtual keyboard.
The present invention also provides a UE device, including: the display screen and the control system are used for controlling the display screen to display the digital virtual keyboard.
The present invention also provides a computer readable storage medium having stored thereon computer instructions, wherein the computer instructions, when executed by a processor, implement the control method.
The control method and the control system of the digital virtual keyboard, the UE equipment and the computer readable storage medium have the advantages that the virtual keyboard layout can be automatically switched according to the content input by the user, the layout position can be automatically adjusted through the content position, and the input content can be prevented from being shielded, so that the user can conveniently check the input content, and the use experience and the input efficiency of the user are greatly improved.
Drawings
The invention is further illustrated with reference to the following figures and examples.
FIG. 1(a) is a schematic diagram of the occlusion phenomenon mentioned in the background art;
FIG. 1(b) is a schematic diagram of a first prior art solution;
FIG. 1(c) is a schematic diagram of a second prior art solution;
FIG. 2 is a functional block diagram of a method of controlling a digital virtual keyboard of the present invention;
FIG. 3 is a schematic illustration of the display of a pop-up box of the present invention;
FIG. 4 is a schematic diagram of a layout of a virtual keyboard according to a pop-up box scenario of the present invention;
figure 5 is a schematic view of the display of the fixed frame of the invention;
FIG. 6 is a schematic diagram of a layout of a digital virtual keyboard in a fixed frame scene according to the present invention;
fig. 7 is a functional block diagram of a control system for a numeric virtual keyboard.
Wherein
Screen 1, pop-up box 101, fixed frame 102, input box 103.
Detailed Description
The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic views illustrating only the basic structure of the present invention in a schematic manner, and thus show only the constitution related to the present invention.
Based on the existing problems described in the digital virtual keyboard described in the background art, as shown in fig. 1, the present embodiment provides a method for controlling a digital virtual keyboard, including the following steps:
step S1, determining the virtual keyboard type as a numerical value type;
step S2, constructing a digital virtual keyboard layout according to the position of the input box 103; and
step S3, determining a display position according to the layout of the numeric virtual keyboard.
By adopting the control method of the digital virtual keyboard, the virtual keyboard layout can be automatically switched according to the content input by the user, and the layout position can be automatically adjusted through the content position, so that the input content can be ensured not to be shielded, the user can conveniently check the input content, and the use experience and the input efficiency of the user are greatly improved.
In this embodiment, the method for determining that the virtual keyboard type is the numeric type in step S1 includes: determining the type of the virtual keyboard as a numerical value type, namely a digital virtual keyboard, according to the content type input by a user; the method comprises the steps that a text attribute and a numerical value attribute are divided according to a preset content control attribute value, wherein the text attribute sets a virtual keyboard type as default, and the numerical value attribute is set as a numerical value type.
In this embodiment, the step S1 further includes a method for determining whether to intercept the system keyboard according to the virtual keyboard type after determining the virtual keyboard type, where the method includes: judging whether to intercept the system keyboard according to the type of the virtual keyboard; namely, when the type of the virtual keyboard is default, the system keyboard is not intercepted; and intercepting the system keyboard when the virtual keyboard type is the numerical value type.
In this embodiment, as shown in fig. 3 to 6, the method for constructing a layout of a numeric virtual keyboard according to the position of the input box 103 in step S2 includes:
step S21, depending on the position of the input box 103 relative to the screen and indicated to the left or right; as shown in fig. 3 and 5, the input box 103 may be located in the screen fixed frame 102 (also referred to as the fixed frame 102) or the screen pop-up box 101 (also referred to as the pop-up box 101), and the input box 103 may also be referred to as an input field, and the specific implementation method is as follows: a reference coordinate system can be established from the lower left corner of the screen by transversely placing the mobile phone, the abscissa position of the central position of the input box 103 is firstly calculated, and then the abscissa position of the central position of the screen is calculated; if the central abscissa of the input box 103 is larger than the central abscissa of the screen, it indicates that the input box 103 is located at a right position with the screen center as a boundary, and conversely, indicates a left position, and the up-down judgment of the input box 103 can be obtained in a similar manner; as can be seen from fig. 3 and 5, the pop-up box 101 is located at the center of the screen, and the fixed frame 102 is located at the left of the screen.
In step S22, based on the position of the input box 103 relative to the screen determined in step S21, the left or right pop-up position of the numeric virtual keyboard relative to the screen is determined to construct a numeric virtual keyboard layout. As shown in fig. 3 and 4, the keyboard pops up from the direction F2.
In this embodiment, the method for constructing a layout of a digital virtual keyboard according to the position of the input box 103 in step S2 further includes:
step S23, determining whether the input box 103 needs to be moved, wherein when the input box 103 is located on the screen fixing frame 102 as shown in fig. 5 and 6, the digital virtual keyboard pops up according to the direction F2 determined in step S22; or the input box 103 is located at the screen pop-up box 101, and while the numeric virtual keyboard is popped up in the direction F2 determined in step S22, the input box 103 is moved in the direction F1 to avoid the numeric virtual keyboard. In particular, as can be seen from fig. 3, the pop-up box 101 needs to be moved, otherwise it would block the digital virtual keyboard popped up from direction F2, and as can be seen from fig. 5, the fixed frame 102 does not need to be moved, because there is enough room on the right side to ensure the digital virtual keyboard pops up. The final results are shown in fig. 4 and 6, respectively.
In the present embodiment, the method for determining whether the input box 103 is located in the screen fixing frame 102 or the screen pop-up box 101 includes: and acquiring the width and/or length of the current focus window frame, and if the width and/or length of the current focus window frame is smaller than the corresponding set value, indicating that the current input box 103 is positioned in the screen pop-up box 101. Specifically, the setting value can be set according to actual needs, for example, the setting value is 0.9 times or 0.8 times of the screen width, and the setting value can be configured in advance according to actual conditions.
The method for determining the display position according to the layout of the digital virtual keyboard in the step S3 includes:
step S31, constructing a virtual keyboard object, so as to avoid resource waste caused by frequently constructing a virtual keyboard, first determining whether the virtual keyboard object is empty, if so, constructing based on the layout file, otherwise, not needing to be reconstructed.
Step S32, calculating the display position of the digital virtual keyboard, namely obtaining the width and height of the screen;
setting the ratio of the width and the height of the digital virtual keyboard to the width and the height of a screen; determining a display position of the numeric virtual keyboard, which is positioned to the left or right of the screen based on the determination of S22, while maintaining alignment with one side of the screen; specifically, the calculation method of the display position comprises the following steps: firstly, acquiring the width and the height of a screen; optionally, the width of the virtual keyboard is set to be 0.38 times of the width of the screen, and the height of the virtual keyboard is set to be the height of the screen; the display position of the virtual keyboard is determined to be left or right relative to the screen based on the determination of S22 while maintaining alignment with the bottom of the screen.
Step S33, completing the display of the digital virtual keyboard based on the display position determined in step 32, the final effect is shown in fig. 4 and fig. 6.
As shown in fig. 7, this embodiment further provides a control system of a digital virtual keyboard, including:
the attribute calculation module is used for acquiring the content type input by the user and determining the virtual keyboard type as a numerical value type;
the digital virtual keyboard layout generating module is used for constructing a digital virtual keyboard layout according to the position of the input frame 103;
and the layout display module determines a display position according to the layout of the digital virtual keyboard.
The present embodiment also provides a UE device, including: the display screen and the control system are used for controlling the display screen to display the digital virtual keyboard.
The present embodiments also provide a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the control method.
In summary, the control method and the control system for the digital virtual keyboard, the UE device and the computer readable storage medium of the present invention can automatically switch the virtual keyboard layout according to the content input by the user, and can automatically adjust the layout position according to the content position, so as to ensure that the input content is not blocked, thereby facilitating the user to check the input content, and greatly improving the user experience and the input efficiency of the user.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
It should be noted that, in the above embodiments, all or part of the implementation may be realized by software, hardware, firmware or any combination thereof, and when the implementation is realized by software, all or part of the implementation may be realized in the form of a computer program product. The computer program product includes one or more computer instructions. The processes or functions according to the embodiments of the present application are generated in whole or in part when the computer instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., Digital Versatile Disk (DVD)), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
In light of the foregoing description of the preferred embodiment of the present invention, many modifications and variations will be apparent to those skilled in the art without departing from the spirit and scope of the invention. The technical scope of the present invention is not limited to the content of the specification, and must be determined according to the scope of the claims.

Claims (10)

1. A control method of a digital virtual keyboard is characterized by comprising the following steps:
step S1, determining the virtual keyboard type as a numerical value type;
step S2, constructing a digital virtual keyboard layout according to the position of the input box; and
step S3, determining a display position according to the layout of the numeric virtual keyboard.
2. The control method according to claim 1,
the method for determining the virtual keyboard type as the numeric type in step S1 includes:
determining the type of the virtual keyboard as a numerical value type, namely a digital virtual keyboard, according to the content type input by a user; wherein
And dividing the content control into a text attribute and a numerical attribute according to a preset content control attribute value, wherein the text attribute sets the virtual keyboard type as default, and the numerical attribute is set as a numerical type.
3. The control method according to claim 2,
the step S1 further includes a method for determining whether to intercept the system keyboard according to the virtual keyboard type after determining the virtual keyboard type, which includes:
judging whether to intercept the system keyboard according to the type of the virtual keyboard; namely, it is
When the type of the virtual keyboard is default, the system keyboard is not intercepted;
and intercepting the system keyboard when the virtual keyboard type is the numerical value type.
4. The control method according to claim 2,
the method for constructing the layout of the digital virtual keyboard according to the position of the input box in the step S2 includes:
step S21, depending on the position of the input box relative to the screen and indicated to the left or right;
in step S22, based on the relative screen position of the input box determined in step S21, the left or right pop-up position of the numeric virtual keyboard relative to the screen is determined to construct a numeric virtual keyboard layout.
5. The control method according to claim 4,
the method for constructing a layout of a digital virtual keyboard according to the position of the input box in step S2 further includes:
step S23, judging whether the input box needs to move the position, wherein
When the input frame is positioned on the screen fixing frame, the digital virtual keyboard pops up according to the direction determined in the step S22; or
When the input box is located in the screen pop-up box, and while the numeric virtual keyboard is popped up in accordance with the direction determined in step S22, the input box is moved to avoid the numeric virtual keyboard.
6. The control method according to claim 5,
the method for judging whether the input box is positioned in the screen fixing frame or the screen pop-up box comprises the following steps:
and acquiring the width and/or length of the current focus window, and if the width and/or length of the current focus window is smaller than a corresponding set value, indicating that the current input frame is positioned in the screen pop-up frame.
7. The control method according to claim 6,
the method for determining the display position according to the layout of the digital virtual keyboard in the step S3 includes:
step S31, constructing a numeric virtual keyboard object, i.e. a keyboard
Constructing based on the layout file after the digital virtual keyboard object is judged to be empty;
step S32, calculating the display position of the digital virtual keyboard, i.e. the display position of the digital virtual keyboard
Acquiring the width and the height of a screen;
setting the ratio of the width and the height of the digital virtual keyboard to the width and the height of a screen;
determining a display position of the numeric virtual keyboard, which is positioned to the left or right of the screen based on the determination of S22, while maintaining alignment with one side of the screen;
step S33, completing the display of the digital virtual keyboard based on the display position determined in step 32.
8. A control system for a digital virtual keyboard, comprising:
the attribute calculation module is used for acquiring the content type input by the user and determining the virtual keyboard type as a numerical value type;
the digital virtual keyboard layout generating module is used for constructing a digital virtual keyboard layout according to the position of the input frame;
and the layout display module determines a display position according to the layout of the digital virtual keyboard.
9. A UE device, comprising: a display screen and a control system as claimed in claim 8 for controlling the display screen to display a digital virtual keyboard.
10. A computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, implement the control method of any one of claims 1 to 7.
CN202111455685.5A 2021-12-01 2021-12-01 Control method and system of digital virtual keyboard, UE (user Equipment) equipment and storage medium Pending CN114153370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111455685.5A CN114153370A (en) 2021-12-01 2021-12-01 Control method and system of digital virtual keyboard, UE (user Equipment) equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111455685.5A CN114153370A (en) 2021-12-01 2021-12-01 Control method and system of digital virtual keyboard, UE (user Equipment) equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114153370A true CN114153370A (en) 2022-03-08

Family

ID=80455603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111455685.5A Pending CN114153370A (en) 2021-12-01 2021-12-01 Control method and system of digital virtual keyboard, UE (user Equipment) equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114153370A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981699A (en) * 2011-11-01 2013-03-20 微软公司 Adjusting content to avoid occlusion by a virtual input panel
JP2015046150A (en) * 2013-07-31 2015-03-12 キヤノンマーケティングジャパン株式会社 Information processing device, information processing method, and program
CN109885241A (en) * 2019-01-16 2019-06-14 平安普惠企业管理有限公司 Dummy keyboard generation method, server and computer readable storage medium
CN111247510B (en) * 2018-03-23 2021-06-04 华为技术有限公司 Display method of application window and terminal
CN112988032A (en) * 2021-04-07 2021-06-18 北京字节跳动网络技术有限公司 Control display method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981699A (en) * 2011-11-01 2013-03-20 微软公司 Adjusting content to avoid occlusion by a virtual input panel
JP2015046150A (en) * 2013-07-31 2015-03-12 キヤノンマーケティングジャパン株式会社 Information processing device, information processing method, and program
CN111247510B (en) * 2018-03-23 2021-06-04 华为技术有限公司 Display method of application window and terminal
CN109885241A (en) * 2019-01-16 2019-06-14 平安普惠企业管理有限公司 Dummy keyboard generation method, server and computer readable storage medium
CN112988032A (en) * 2021-04-07 2021-06-18 北京字节跳动网络技术有限公司 Control display method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US11474657B2 (en) Screen casting method, apparatus, terminal and storage medium
US7441204B2 (en) Method and system for automatically displaying content of a window on a display that has changed orientation
WO2021036870A1 (en) Side toolbar display method and device, terminal, and storage medium
US20150215524A1 (en) Method and apparatus for varying focal length of camera device, and camera device
US10109079B2 (en) Method and apparatus for processing tab in graphical interface
WO2022252528A1 (en) Information presentation method and apparatus
US20150113428A1 (en) Widget Setting Method and Terminal Device
KR20130094054A (en) Apparatus and method for managing object in portable electronic device
KR20130119129A (en) Method for controlling window size and an electronic device thereof
US20150378599A1 (en) Method and electronic device for displaying virtual keyboard
EP2874054B1 (en) Application text adjusting method, device, and terminal
EP3472699B1 (en) Method and electronic device for managing functionality of applications
KR20140040401A (en) Method for providing one hand control mode and an electronic device thereof
US20160217143A1 (en) Method and device for displaying browser resources and computer readable storage medium
US20200201976A1 (en) Quick account login method, mobile terminal, and apparatus with storage function
US20140130032A1 (en) Method and apparatus for managing application update information in an electronic device
US11656761B2 (en) Touch hotspot adjustment method, apparatus, and device, and touchscreen terminal device
RU2630368C2 (en) Method and device for controlling switching of virtual navigation panel
WO2020181946A1 (en) Video playback method and device
CN114153370A (en) Control method and system of digital virtual keyboard, UE (user Equipment) equipment and storage medium
WO2023109404A1 (en) Terminal display method and terminal display apparatus
CN112579927A (en) Method and device for displaying navigation bar
US11836897B2 (en) Table shifting and skewing
CN115525186A (en) Folder control method, terminal device and storage medium
US20140289674A1 (en) Apparatus and method for managing shortcut menu of applications

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