CN107577388B - Input interface control method and device - Google Patents

Input interface control method and device Download PDF

Info

Publication number
CN107577388B
CN107577388B CN201710754478.7A CN201710754478A CN107577388B CN 107577388 B CN107577388 B CN 107577388B CN 201710754478 A CN201710754478 A CN 201710754478A CN 107577388 B CN107577388 B CN 107577388B
Authority
CN
China
Prior art keywords
input
input control
keyboard
display area
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710754478.7A
Other languages
Chinese (zh)
Other versions
CN107577388A (en
Inventor
潘学佰
张恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Mehdi Houstton Medicalsystem Technology Co ltd
Original Assignee
Suzhou Mehdi Houstton Medicalsystem 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 Suzhou Mehdi Houstton Medicalsystem Technology Co ltd filed Critical Suzhou Mehdi Houstton Medicalsystem Technology Co ltd
Priority to CN201710754478.7A priority Critical patent/CN107577388B/en
Publication of CN107577388A publication Critical patent/CN107577388A/en
Application granted granted Critical
Publication of CN107577388B publication Critical patent/CN107577388B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a control method and device of an input interface. The method comprises the following steps: if the input control on the current display interface obtains the focus, triggering a keyboard response event; if the keyboard response event is triggered, acquiring the input control which has obtained the focus and the type and the display area of the next input control; determining a display mode and a display area of a keyboard to be displayed according to the acquired type and display area attribute of the input control; and displaying the keyboard according to the determined display mode and the display area. The control method and the control device for the input interface provided by the embodiment of the invention can effectively avoid input obstacles caused by the fact that the input items are shielded by the keyboard.

Description

Input interface control method and device
Technical Field
The embodiment of the invention relates to the technical field of mobile terminals, in particular to a control method and device of an input interface.
Background
In recent years, the concept of mobile interconnection and everything interconnection has been the one of the way. Along with the gradual deepening of the degree of medical informatization, the application of the mobile terminal equipment in the medical industry is more and more extensive, the mobile terminal equipment is convenient to carry and simple to operate, a large amount of time is saved for medical practitioners, meanwhile, the occurrence of medical events caused by human factors is greatly reduced, medical workers can be relieved from complicated information records, and patients can obtain more humanistic care.
However, due to the small screen of the mobile terminal such as PDA, when the general input method soft keyboard is used for text entry, the information such as characters is entered one by one, and the entry efficiency is not as high as that of the PC terminal. Although most of the input methods in the market at present have an intelligent association function, the input efficiency is still low under the condition of multi-data entry and frequent focus switching. The concrete expression is as follows:
1. when the multi-line text box is recorded, the next item cannot be quickly switched to, and only the keyboard is closed first and then the next item is positioned;
2. because the data in the input items often has the characteristic of domain (each type usually has a fixed value range, such as sex only comprises male/female), the universal keyboard can only input the universal data, and the targeted requirement of the domain data cannot be met;
3. the method can only input the controls of text types, and cannot input drop-down boxes, radio boxes, check boxes and the like, so that the same interface needs to be switched among multiple input modes.
Disclosure of Invention
In view of the above technical problems, embodiments of the present invention provide a method and an apparatus for controlling an input interface, so as to avoid input obstacles caused by the input items being blocked by a keyboard.
In one aspect, an embodiment of the present invention provides a method for controlling an input interface, where the method includes:
if the input control on the current display interface obtains the focus, triggering a keyboard response event;
if the keyboard response event is triggered, acquiring the input control which has obtained the focus and the type and the display area of the next input control;
determining a display mode and a display area of a keyboard to be displayed according to the type and the display area of the acquired input control, wherein the display area of the keyboard is not overlapped with the acquired display area of the input control;
and displaying the keyboard according to the determined display mode and the display area.
On the other hand, an embodiment of the present invention further provides a control device for an input interface, where the device includes:
the event triggering module is used for triggering a keyboard response event when the input control on the current display interface obtains a focus;
the attribute acquisition module is used for acquiring the type and the display area of the input control which has acquired the focus and the next input control when the keyboard response event is triggered;
the display attribute determining module is used for determining a display mode and a display area of a keyboard to be displayed according to the acquired type and display area attribute of the input control, wherein the display area of the keyboard is not overlapped with the acquired display area of the input control;
and the display module is used for displaying the keyboard according to the determined display mode and the display area.
According to the input interface control method and device provided by the embodiment of the invention, the input control which has obtained the focus and the type and the display area of the next input control are obtained, the display mode and the display area of the keyboard to be displayed are determined according to the obtained type and the display area attribute of the input control, and the keyboard is displayed according to the determined display mode and the determined display area, so that the input obstacle caused by the fact that the input item is shielded by the keyboard is effectively avoided, and the input operation of a user is facilitated.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a flowchart of a control method of an input interface according to a first embodiment of the present invention;
FIG. 2 is a diagram of a keyboard display interface provided by the first embodiment of the present invention;
fig. 3 is a flowchart of a control method of an input interface according to a second embodiment of the present invention;
fig. 4 is a block diagram of a control device of an input interface according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
First embodiment
The embodiment provides a technical scheme of a control method of an input interface. In the technical scheme, the control method of the input interface is executed by the control device of the input interface. Whereas the control means of the input interface are typically integrated in various mobile terminals for medical-related applications.
Referring to fig. 1, the control method of the input interface includes:
and S11, if the input control on the current display interface obtains the focus, triggering a keyboard response event.
In this embodiment, the input control is a human-computer interaction control that is displayed to a user on a display interface and enables the user to input information. Specifically, the input control may be an input text box, which is simply called a text box, and may also be a Radio box (Radio button) or a multiple selection box (Check box). In addition, the input control may also be a Combo box (Combo box).
The control for information input should first get focus before the user actually performs the information input. For example, before text needs to be entered in a text box, a mouse pointer is first required to be placed within the text box.
In this embodiment, once an input control obtains focus, a keyboard response event corresponding to the input control is triggered. It should be noted that, in this embodiment, the triggered keyboard response event must correspond to an input control. In other words, each triggered keyboard response event is associated to an input control that obtains focus.
And S12, if the keyboard response event is triggered, acquiring the type and display area of the input control which has acquired the focus and the next input control.
Since there is one input control associated with each keyboard response event, the type and display area of the input control may be retrieved when the keyboard response event is triggered.
By next input control is meant an input control that is spatially adjacent to and ranked behind the input control that acquired the focus. The next input control may be the same type of input control as the input control that acquired focus, e.g., both are radio boxes. The next input control may also be a different type of input control than the input control that acquired focus, e.g., the input control that acquired focus is a multi-box and its next input control is a combo box.
The type of input control may be derived by identifying the category in which the control is described. The display area refers to an area occupied by the input control when displayed on the screen. Typically, this region is a rectangular region. And, this rectangular area may be determined by the display positions on the screen of the four upper, lower, left, and right boundaries of the area.
And S13, determining the display mode and the display area of the keyboard to be displayed according to the acquired type and the display area of the input control.
It will be appreciated that when a system keyboard is displayed, the keyboard may be displayed in a number of different key layout patterns. For example, in some cases, the keys in a keyboard are arranged relatively compactly, and the layout mode of such keys, i.e., the display mode of the keyboard, is referred to as a compact mode. In other cases, the layout pattern of the keys is referred to as a splay pattern because the keys are arranged relatively loosely due to a small number of keys or other reasons.
For example, the keyboard layout in the compact mode may be a QWERTY keyboard. The keyboard layout in the extended mode may be a nine-grid style keyboard.
When the area of the display area occupied by the input controls is large relative to the entire display screen, a compact mode keyboard display mode may be employed. And when the area of the display area occupied by the input control is smaller than that of the whole display screen, the keyboard display mode of the widening mode can be adopted.
In addition to determining the display mode of the keyboard, it is also necessary to determine the display area of the keyboard. It should be particularly noted that, no matter how the display area of the keyboard is determined, the determined display area of the keyboard may not coincide with the acquired display area of the input control. Here, the acquired input control refers to the input control that obtains the focus and the input control that is next to the input control that obtains the focus. Because the two are not overlapped, the condition that the input item is shielded by the keyboard can not occur after the display operation of the keyboard is finished.
And S14, displaying the keyboard according to the determined display mode and display area.
And after the display mode and the display area of the keyboard are determined, displaying the keyboard according to the display mode and the display area.
Fig. 2 shows a display interface of the keyboard. Referring to fig. 2, on the display interface, the keyboard does not block the input control currently getting focus, i.e., the display area of the first text box 21. At the same time, the keyboard does not obscure the next input control of the input control that gets focus, i.e., the display area of the second text box 22.
The control method has the advantages that no matter the current input control for acquiring the focus or the next input control is not shielded by the keyboard displayed on the display interface, the input items can be conveniently switched, and input obstacles caused by shielding of the input items can be avoided.
According to the method and the device for displaying the keyboard, when the input control on the current display interface obtains the focus, the keyboard response event is triggered, when the keyboard response event is triggered, the type and the display area of the input control which has obtained the focus are obtained, the display mode and the display area of the keyboard to be displayed are determined according to the type and the display area of the input control, and the keyboard is displayed according to the determined display mode and the determined display area.
Second embodiment
The present embodiment further provides another technical solution of a control method for an input interface based on the above embodiments of the present invention. In this technical solution, the method for controlling the input interface further includes: determining the domain characteristics of the input control; determining whether the input control has a bound input data source according to the field characteristics of the input control; if the input control has the bound input data source, determining the input content of the input control according to the bound input data source; and executing interface input according to the determined input content.
Referring to fig. 3, the control method of the input interface includes:
and S31, if the input control on the current display interface obtains the focus, triggering a keyboard response event.
And S32, if the keyboard response event is triggered, acquiring the type and display area of the input control which has acquired the focus and the next input control.
And S33, determining the display mode and the display area of the keyboard to be displayed according to the acquired type and display area attribute of the input control.
And S34, displaying the keyboard according to the determined display mode and display area.
And S35, determining the domain characteristics of the input control.
Specifically, the domain characteristics of the input control can be determined based on analysis of text having an obvious association with the input control. For example, text that is immediately adjacent to the layout position of the input control on the interface layout can be considered text that has a distinct association with the input control.
The specific way to determine the domain features is a match to keywords in the associated text. For example, a match in the associated text results in the keyword "shoot," or "shoot," which may identify the domain feature of the input control as a sports domain.
And S36, determining whether the input control has a bound input data source according to the domain characteristics of the input control.
Specifically, the operation may be to find whether there is a matching data dictionary based on the determined domain feature. The data dictionary is pre-established, providing a dictionary of input answers to various prompted questions. Each data dictionary has its particular domain partition. Preferably, the data dictionary can also provide different input answers for different users according to the historical input preferences of different users.
And S37, if the input control has the bound input data source, determining the input content of the input control according to the bound input data source.
Specifically, the operation may be that after the data dictionary matching the domain feature is found, the input content to be input into the input control is determined through content retrieval on the data dictionary.
Through the execution of the three steps of S35, S36, S37 described above, automatic determination of input contents according to the domain characteristics can be accomplished. Taking the input of the text box as an example, assuming that the prompt text in front of the text box is "current date", the field feature is determined to be "time" by analyzing the text. Then, the data dictionary which is preset in the system and is related to the time is searched, the current date data is obtained through searching the data dictionary, the date data is converted into the text through format conversion of the date data, and the input content which is required to be input into the text box is obtained.
And taking the input of the radio box as an example, assuming that the prompt text in front of the text is 'gender', and determining the domain characteristics as 'user basic attributes' by analyzing the prompt text. And searching the corresponding data dictionary. And then, acquiring a user name of the current user, retrieving the data dictionary by using the user name to obtain the gender attribute of the current user, and further determining the value of the input content of the radio box.
And S38, executing interface input according to the determined input content.
For a text box, the interface input is to add the determined input content text in the text box. For radio boxes and multi-boxes, the interface input is the click of the corresponding option on the interface.
Further, after the interface input is executed, preferably, a next input control on the display interface can be further searched; move focus to the next input control. The advantage of performing the above-described control find and focus move is that the input of information in multiple input controls can be performed continuously. Therefore, the control searching and focus moving are continuously executed, so that the method is quite suitable for application scenes with more system entries.
The above input process for determining the domain characteristics and according to the bound data sources has the advantage of further facilitating the input operation of the user. For example, the allergy history of the patient needs to be entered in a certain text box and corresponding data sources (data including penicillin allergy history and cefamycin allergy history) are bound, so that the bound data can be displayed when the keyboard is popped up, and the user can complete the entry operation by clicking the keyboard once, thereby avoiding the entry in a Pinyin mode. Therefore, the keyboard clicking operation can be obviously reduced, and the input efficiency is improved.
According to the method and the device, the domain characteristics of the input control are determined, whether the input control is bound with the input data source is determined according to the determined domain characteristics, the input content of the input control is determined according to the bound input data source, and the input of the input content is finally executed, so that the keyboard component can complete the data of the general data, can complete the data input with the obvious domain characteristics, and meanwhile improves the execution efficiency of the data input.
Third embodiment
The embodiment provides a technical scheme of a control device of an input interface. Referring to fig. 4, in this embodiment, the control device of the input interface includes: an event triggering module 40, an attribute obtaining module 41, a display attribute determining module 42, and a display module 43.
The event triggering module 40 is configured to trigger a keyboard response event when the input control on the current display interface obtains focus.
The attribute acquiring module 41 is configured to acquire the type and display area of the input control that has acquired the focus and the next input control thereof when the keyboard response event is triggered.
The display attribute determining module 42 is configured to determine a display mode and a display area of the keyboard to be displayed according to the type and the display area of the acquired input control, where the display area of the keyboard is not overlapped with the acquired display area of the input control.
The display module 43 is used for displaying the keyboard according to the determined display mode and display area.
Preferably, the types of input controls include: a text box, a radio box, or a check box.
Preferably, the display mode of the keyboard comprises: compact mode, or widened mode.
Preferably, the control device of the input interface further includes: a domain determination module 44, a data source determination module 45, a content determination module 46, and an input module 47.
The domain determination module 44 is used to determine domain characteristics of the input control.
The data source determining module 45 is configured to determine whether the input control has a bound input data source according to the domain feature of the input control.
The content determining module 46 is configured to determine the input content of the input control according to the bound input data source when the input control has the bound input data source.
The input module 47 is used for executing interface input according to the determined input content.
Preferably, the domain determining module 44 is specifically configured to: and determining the domain characteristics of the input control according to the analysis of the input control associated text.
Preferably, the data source determining module 45 is specifically configured to: and searching a data dictionary corresponding to the domain feature according to the domain feature of the input control.
Preferably, the content determining module 46 is specifically configured to: and if the data dictionary corresponding to the domain feature is found, determining the input content of the input control by finding the data dictionary.
Preferably, the control device of the input interface further includes: a control lookup module 48, and a focus movement module 49.
Control lookup module 48 is used to lookup the next input control on the display interface.
The focus movement module 49 moves the focus to the next input control.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A control method of an input interface is characterized by comprising the following steps:
if the input control on the current display interface obtains the focus, triggering a keyboard response event;
if the keyboard response event is triggered, acquiring the input control which has obtained the focus and the type and the display area of the next input control; wherein the types of input controls include: a text box, a radio box, or a check box;
determining a display mode and a display area of a keyboard to be displayed according to the type and the display area of the acquired input control, wherein the display area of the keyboard is not overlapped with the acquired display area of the input control;
and displaying the keyboard according to the determined display mode and the display area.
2. The method of claim 1, wherein the display mode of the keyboard comprises: compact mode, or widened mode.
3. The method of any of claims 1 to 2, further comprising:
determining the domain characteristics of the input control;
determining whether the input control has a bound input data source according to the field characteristics of the input control;
if the input control has the bound input data source, determining the input content of the input control according to the bound input data source;
and executing interface input according to the determined input content.
4. The method of claim 3, wherein determining the domain characteristic of the input control comprises:
and determining the domain characteristics of the input control according to the analysis of the input control associated text.
5. The method of claim 4, wherein determining whether the input control has a bound input data source according to the domain characteristics of the input control comprises:
and searching a data dictionary corresponding to the domain feature according to the domain feature of the input control.
6. The method of claim 5, wherein if the input control has a bound input data source, determining the input content of the input control according to the bound input data source comprises:
and if the data dictionary corresponding to the domain feature is found, determining the input content of the input control by finding the data dictionary.
7. The method of claim 3, further comprising:
searching a next input control on the display interface;
move focus to the next input control.
8. A control device for an input interface, comprising:
the event triggering module is used for triggering a keyboard response event when the input control on the current display interface obtains a focus;
the attribute acquisition module is used for acquiring the type and the display area of the input control which has acquired the focus and the next input control when the keyboard response event is triggered; wherein the types of input controls include: a text box, a radio box, or a check box;
the display attribute determining module is used for determining a display mode and a display area of a keyboard to be displayed according to the type and the display area of the acquired input control, wherein the display area of the keyboard is not overlapped with the acquired display area of the input control;
and the display module is used for displaying the keyboard according to the determined display mode and the display area.
CN201710754478.7A 2017-08-29 2017-08-29 Input interface control method and device Active CN107577388B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710754478.7A CN107577388B (en) 2017-08-29 2017-08-29 Input interface control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710754478.7A CN107577388B (en) 2017-08-29 2017-08-29 Input interface control method and device

Publications (2)

Publication Number Publication Date
CN107577388A CN107577388A (en) 2018-01-12
CN107577388B true CN107577388B (en) 2020-06-16

Family

ID=61030428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710754478.7A Active CN107577388B (en) 2017-08-29 2017-08-29 Input interface control method and device

Country Status (1)

Country Link
CN (1) CN107577388B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110262844B (en) * 2019-04-17 2022-10-14 创新先进技术有限公司 Dialog box component calling method, dialog box component calling device, dialog box component server and storage medium
CN111182345B (en) * 2019-12-20 2022-10-25 海信视像科技股份有限公司 Display method and display equipment of control

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329616A (en) * 2008-07-24 2008-12-24 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method and system for displaying virtual keyboard
CN101493750A (en) * 2008-11-28 2009-07-29 深圳华为通信技术有限公司 Application program control input method and device based on touch screen input
CN102364424A (en) * 2011-06-30 2012-02-29 广州市动景计算机科技有限公司 Method for positioning input frame, device, browser and mobile terminal
CN103577104A (en) * 2013-09-27 2014-02-12 苏州佳世达电通有限公司 Display method of virtual keyboard, control device and touch equipment
CN104077313A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Display method and display method of multiple input boxes in webpage page and terminal equipment
CN104834457A (en) * 2014-02-11 2015-08-12 中兴通讯股份有限公司 Method and apparatus for automatically adjusting touch screen keyboard
CN105653112A (en) * 2014-11-14 2016-06-08 深圳市腾讯计算机系统有限公司 Method and device for displaying floating layer
CN106687909A (en) * 2014-09-16 2017-05-17 日本电气株式会社 Information-processing apparatus, information-processing method, and information-processing program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102313353B1 (en) * 2013-07-29 2021-10-18 삼성전자주식회사 Character inputting method and display apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329616A (en) * 2008-07-24 2008-12-24 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method and system for displaying virtual keyboard
CN101493750A (en) * 2008-11-28 2009-07-29 深圳华为通信技术有限公司 Application program control input method and device based on touch screen input
CN102364424A (en) * 2011-06-30 2012-02-29 广州市动景计算机科技有限公司 Method for positioning input frame, device, browser and mobile terminal
CN104077313A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Display method and display method of multiple input boxes in webpage page and terminal equipment
CN103577104A (en) * 2013-09-27 2014-02-12 苏州佳世达电通有限公司 Display method of virtual keyboard, control device and touch equipment
CN104834457A (en) * 2014-02-11 2015-08-12 中兴通讯股份有限公司 Method and apparatus for automatically adjusting touch screen keyboard
CN106687909A (en) * 2014-09-16 2017-05-17 日本电气株式会社 Information-processing apparatus, information-processing method, and information-processing program
CN105653112A (en) * 2014-11-14 2016-06-08 深圳市腾讯计算机系统有限公司 Method and device for displaying floating layer

Also Published As

Publication number Publication date
CN107577388A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
US7962478B2 (en) Movement-based dynamic filtering of search results in a graphical user interface
JP6517352B2 (en) Method and system for providing translation information
JP5803910B2 (en) Region recommendation device, region recommendation method and program
US8468458B2 (en) Dynamic and local management of hierarchical discussion thread data
US9852157B2 (en) Searching of images based upon visual similarity
WO2022111249A1 (en) Information presentation method, apparatus, and computer storage medium
CN106021449A (en) Searching method and device for mobile terminal and mobile terminal
US20130066902A1 (en) Information processing apparatus, information processing method, and computer-readable storage medium
CN105302461B (en) A kind of method and apparatus for the offer target pages in mobile application
KR20160023412A (en) Method for display screen in electronic device and the device thereof
CN111159431A (en) Knowledge graph-based information visualization method, device, equipment and storage medium
CN112612391B (en) Message processing method and device and electronic equipment
CN109478191B (en) Text mining method, recording medium, and text mining device
US10061893B2 (en) Method and apparatus for controlling electronic medical record system based output window
CN107577388B (en) Input interface control method and device
US20140272898A1 (en) System and method of providing compound answers to survey questions
JP3339937B2 (en) Database search device
JP6871691B2 (en) Information processing equipment, information processing methods and information processing programs
US20210173850A1 (en) Categorical search using visual cues and heuristics
CN109407941A (en) A kind of display processing system and display methods
CN111752436A (en) Recommendation method and device and recommendation device
CN105989030A (en) Text retrieval method and device
US20180188907A1 (en) Content item state retrieval system
CN112100463A (en) Information processing method and device, electronic equipment and readable storage medium
CN107102797A (en) A kind of method and terminal that search operation is performed to selected contents of object

Legal Events

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