Abstract:
A field-directed screen help technique for a data entry system responds to a user request for help by overwriting a portion of the data entry screen with explanatory text that relates to the field the user is currently entering. The explanatory text may overlay other fields on the screen but leaves the related field area in view. The explanatory text is highlighted and linked to the data entry field so that the user can see the explanatory text in the context of the field. The explanatory text disappears when the user presses a response key.

Description:
BACKGROUND OF THE INVENTION 
     The invention generally relates to data entry systems of the type employing a keyboard or other data entry user interface and a display screen such as a cathode ray tube (CRT) or similar display for displaying data entered by the user. More particularly, the invention is directed to a screen help technique to assist the user in the correct entry of data. A typical data entry system in which the technique according to the invention can be advantageously used ranges from small, self-contained microcomputer systems generally referred to a personal computers to large main-frame systems having a plurality of terminals. Virtually any type of data entry system where accurate, rapid entry of data by personnel having little or no training is improved by the use of the technique according to the invention. 
     Conventionally, a data entry system is designed to display a &#34;screen&#34; or &#34;menu&#34; having a plurality of data entry labels or categories with blanks immediately adjacent each data entry label or category. It is in these blanks where the user is required to enter the corresponding data. The blanks may be delineated by an underline or some other demarcation to show the user where the data is going by category. The blanks have a predefined length in terms of the number of characters that can be accepted by the system for the corresponding categories, and the underlining or other demarcation would also serve the purpose of showing the length as well as the location of the data required. Such &#34;screens&#34; or &#34;menus&#34; can be generated by a screen generator which is a computer program written specifically for that purpose. Those skilled in the art will also know that a screen generator program can be written from scratch very simply by using BASIC or other suitable computer programming languages. A characteristic of the &#34;screens&#34; or &#34;menus&#34; which are produced for data entry purposes is that the cursor which is displayed on the screen can only be placed in one of the designated blanks and no where else on the screen. Thus, data entry is limited to predefined areas on the screen, and these areas themselves provide the interface with the data entry program which is requesting the data. In other words, the user is relieved of the burden of telling the data entry program what category of data is being entered since the data entry program will recognize the category by the location on the screen in which the data is entered. 
     Obviously, the data entry system just described is a very good one in that it is simple and easy to use. In those cases where the type of data is straight forward and fairly routine such as would be encountered in motor vehicle statistics and employee records, it takes very little time for a user to become proficient in making data entries. In those cases where the user is just learning the system, help can be provided by a manual. It is also known to provide a special &#34;help&#34; key or command for the user to call up a &#34;help&#34; screen or menu if s/he is uncertain about the entry of certain data. Typically, such a menu obstructs all or at least part of the data entry screen and provides a set of instructions or explanations which merely repeat those which would be found in the manual. This procedure has the advantage of allowing the user quick reference to instructions or explanations without having to fumble through the manual. 
     There are certain situations, however, where the data entry is not routine. For example, if the user does not regularly use the data entry system, it may take the user some time to remember the data entry procedure and the quality and quantity of data required by the system. Obviously, the display of a full or partial screen menu of &#34;help&#34; instructions or explanations will save some time for the user by avoiding the time spent leafing through a manual. But the user will still have to study the information presented and make some judgements as to how those instructions or explanations apply to their situation. In another example, the data entry system may be used for purposes of configuring a control program for a particular application. An example of such a system is disclosed in U.S. Pat. No. 4,644,478, filed Sept. 13, 1983, by Lawrence Keith Stephens and Robert B. Hayes for &#34;Monitoring and Alarm System for Custom Applications&#34;, and assigned to the assignee of this application. Especially in this type of situation, the data entered is unique to the particular application and, although the data entry screen is designed to promote ease of data entry, the user may at times need better quality help than is provided by manuals or help screens. 
     SUMMARY OF THE INVENTION 
     It is therefore an object of the present invention to provide a screen help technique which provides the user with significantly better assistance in making data entries than is possible with help screens that have been heretofore used in data entry systems. 
     It is another object of the invention to provide a screen help technique for data entry systems in which the guidance provided is relevant to the particular field or blank of the data entry screen about which the user has questions. 
     According to the present invention, when the user presses the &#34;help&#34; key, a portion of the data entry screen is overwritten with explanatory text that relates to the field that the user is currently entering. The explanatory text may overlay other fields on the screen but not the related field area for which help is requested. The explanatory text is surrounded by lines that form a box or &#34;window&#34; and is related to the corresponding input field with a line from the box to the field. This lets the user see the explanatory text in the context of the field. The explanatory text disappears when the user presses any key. 
    
    
     DESCRIPTION OF THE DRAWINGS 
     The foregoing and other objects, advantages and aspects of the invention will be better understood from the following detailed,. description of the invention with reference to the drawings, in which: 
     FIG. 1 is a sample data entry screen before the user presses the &#34;help&#34; key; 
     FIG. 2 is the sample data entry screen shown in FIG. 1 after the, user presses the &#34;help&#34; key showing the field-directed &#34;help window&#34; provided according to the invention; 
     FIG. 3 is a flow diagram of the field-directed screen help technique according to the invention. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     Referring now to the drawings and more particularly to FIG. 1, there is shown a sample data entry screen which has a plurality of labels such as &#34;High Alarm Limit&#34;, &#34;Low Warning Limit&#34; and so forth. Adjacent each of the labels is a field which, prior to data entry, is blank. In the sample data entry screen shown in FIG. 1, the fields all contain data such as &#34;980&#34; for the &#34;High Alarm Limit&#34; label and &#34;150&#34; for the &#34;Low Warning Limit&#34;. Some of these fields may have default values which are automatically entered in the data entry screen but which may be changed by the user. The particular screen shown is one which might typically be used in the system disclosed in the aforementioned application Ser. No. 531,650 of Stephens et al. When using this or similar type of data entry screen, the user typically is presented with the screen with all fields blank and the cursor in the first blank field which serves to prompt the user to enter data required for the corresponding label. The user enters the data and goes on to the next field and repeats the process. Generally, the cursor automatically goes to the next field when all the character spaces have been filled in one field or, if less than all the character spaces are required, when the user presses the ENTER key or other cursor movement key. When all fields have been filled, the next data entry screen may be automatically displayed or the user might be required to press a SAVE key before the data entered into the several fields is saved and the next data entry screen is displayed. The latter option of course gives the user an opportunity to review the data entered before it is saved. It will be observed that at the bottom of the sample data entry screen shown in FIG. 1 there is a message to &#34;Fill in each value and press ←; then F3 to save.&#34; The symbol ← is used for the carriage return or ENTER key on most computer keyboards. The function key F3 has been defined in this system as the SAVE key. 
     It will also be observed at the bottom of the sample data entry screen shown in FIG. 1 there is a last line that defines several of the function keys. The function key of particular interest in the context of the present invention is the Fl key, which is defined as the &#34;help&#34; key. The provision of such a &#34;help&#34; key is of course old in the art. However, when the Fl or &#34;help&#34; key is pressed by the user in a data entry system which incorporates the screen help technique according to the present invention, the result is like that shown in FIG. 2. Note that in FIG. 1 the cursor represented by a one character underline is beneath the &#34;D&#34; in the field corresponding to the label &#34;Engineering Units&#34;. When the user pressed the F1 key, a &#34;window&#34; appeared as shown in FIG. 2 which provides an explanation that is specifically directed to the field in which the cursor is located. This window is outlined by a box from which there is a line that points to the field in question thereby providing a clear visual correlation of the explanatory text in the context of the field in question. Moreover, while the &#34;window&#34; overlays a portion of the data entry screen, it does not overlay or obscure the field or its label where the user is currently entering data. When the user presses any key as when making a data entry, the &#34;window&#34; with its explanatory text automatically disappears. Alternatively, the &#34;window&#34; and its explanatory text may be retained on the screen until the data for that field has been entered and the user presses the ENTER key at which point the &#34;window&#34; with its explanatory text would automatically disappear. 
     The essential elements of the invention are (1) that the help screen be related to the field of data being entered, (2) that the help text appear on the same screen, (3) that the help screen be clearly identified as relating to the field being entered, and (4) that the help text disappear when the user keys a response into the field. In the example shown in FIG. 2, the help text is surrounded by lines forming a box, but those skilled in the art will recognize that other forms of highlighting such as reverse video or color changes can be substituted. 
     The program which implements the field-directed screen help technique is illustrated in the flow diagram shown in FIG. 3. This program constantly monitors the &#34;help&#34; key, recycling until that key is pressed by the user. When the &#34;help&#34; key is pressed, the first thing that happens is that the current content of the screen is saved. Then, by determining the field wherein the cursor is currently located, the program calls from memory the &#34;help text&#34; that corresponds to that field. The &#34;help text&#34; is displayed on the data entry screen at a location that does not obscure the field being entered, and a highlighting box is drawn around the &#34;help text&#34;. A line is then drawn from the box to the field being entered in order to link the &#34;help text&#34; to that data entry field. The program then waits until a response key is pressed. This may be any key or, as previously mentioned, it may be the ENTER key. When the response key is pressed, the prior screen content is restored thereby automatically removing the &#34;help text&#34;, its highlighting box and the linking line from the display. 
     The program illustrated by the flow diagram shown in FIG. 3 is further described by a program design language (PDL) following the procedures set forth by P. Van Leer, &#34;Top-down Development Using a Program Design Language,&#34; IBM System Journal, no. 2, 1976, pages 155 to 170, as follows: 
     Process keyboard input 
     PERFORM UNTIL end-key pressed 
     IF help-key pressed 
     THEN Help screen routine 
     ELSE Process non-help key input 
     ENDIF 
     ENDLOOP 
     Help screen routine 
     SAVE current content of screen in save area 
     SAVE current cursor postion 
     OPEN file of help text (or reset pointer to start of text) 
     PERFORM UNTIL help text found that matches field READ next help text 
     ENDLOOP 
     WRITE matching text onto display screen 
     HIGHLIGHT help text (surround with a box; display reverse video; etc.) 
     CASE entry-field location relative to help text OF above: Draw vertical line from entry field to help text 
     below: Draw vertical line from help text to entry field 
     left: Draw horizontal line from entry field to help text 
     right: Draw horizontal line from help text to entry field 
     ENDCASE 
     RESET cursor to prior location on screen 
     WAIT for next keyboard input 
     RESTORE prior screen contents (wipe out help text) 
     RETURN