Electronic device, input support method and program
By displaying input items in chronological order and using derived values for parameter input with assigned operation keys, the electronic device simplifies complex calculations, enhancing user-friendliness and workability in functional modes.
Patent Information
- Application Number
- JP2023061214
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-04-05
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-03-24
AI Technical Summary
Conventional electronic devices face complexity in operations and data handling, particularly in functional modes requiring multiple arguments and calculations, leading to a need for improved user-friendliness and workability, especially in inputting parameters for calculation formulas.
The electronic device displays input items in chronological order, uses derived numerical values for parameter input, and assigns operation keys for arithmetic operations, enhancing the input support method and program to simplify the process.
This approach improves workability by allowing intuitive and efficient input of parameters in calculation formulas, reducing the complexity of mode switching and ensuring accurate, easy-to-use operations.
Smart Images

Figure 00000017_0000 
Figure 00000017_0001 
Figure 00000017_0002
Abstract
Description
[Technical field]
[0001] The present invention 、 electronic equipment, Input support method and Regarding the program. [Background technology]
[0002] In recent years, in order to improve user convenience and functionality, electronic devices known as calculators have been proposed and put into practical use that do not simply perform arithmetic operations but also have functional modes that perform calculations according to specific rules based on arguments.
[0003] Patent Document 1 describes a technique for a handheld terminal having a numeric input mode and a calculator mode. In this handheld terminal, when a specific key (F1 key) is operated while in numeric input mode, the mode transitions from numeric input mode to calculator mode, and the numeric value input on the numeric input screen immediately before that is set as the input value for the calculator mode. When another confirmation key (Enter key) is operated after performing an arithmetic operation in the calculator mode, the mode returns to numeric input mode, and the result of the operation in the calculator mode is set as the input value for the numeric input mode.
[0004] Patent document 2 describes a technology in which a character input device determines whether an input string is an arithmetic expression, and if so, performs the calculation, and outputs the calculation result or the arithmetic expression as a candidate for kana-kanji conversion data. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2004-213456 A [Patent Document 2] Japanese Patent Application Publication No. 6-202995 Summary of the Invention [Problem to be solved by the invention]
[0006] In the function mode of an electronic device, operations and processing tend to be complicated due to the handling of multiple arguments and data, and therefore there is a demand for improving the ease of use and operability for users in the function mode. For example, when performing a specific calculation in the function mode, there is a demand for more efficient input and determination of arguments, in addition to simple input of numerical values. However, conventional technologies such as those disclosed in Patent Documents 1 and 2 could not meet such demands.
[0007] Therefore, the present invention provides When inputting parameters for each of multiple input items in a given formula Workability of improvement To provide an electronic device, an input support method, and a program that can The purpose of this document is to [Means for solving the problem]
[0008] The electronic device according to the present invention is configured to: and displaying each of the plurality of input items on a display unit in a time-series manner in a predetermined order, thereby allowing a user to input a parameter corresponding to each of the plurality of input items in the order. An electronic device, When any one of the plurality of input items is displayed on the display unit as an input item in the current order, The numerical value derived by arithmetic operations is used as the parameter In the input field for this order, To enter and to switch the input item displayed on the display unit from the current input item to the next input item, The derived values are The input items for this order together with The present invention is characterized in that the operation keys operated by the user when the value is displayed on the display unit are also assigned as operation keys operated by the user when confirming input for the four arithmetic operations to derive the numerical value. Further, the input support method according to the present invention includes the steps of: prompting a user to input parameters corresponding to each of a plurality of input items in a predetermined calculation formula; and displaying each of the plurality of input items on a display unit in a time-series manner in a predetermined order, thereby allowing a user to input a parameter corresponding to each of the plurality of input items in the order. An input assistance method executed by an electronic device, comprising: When any one of the plurality of input items is displayed on the display unit as an input item in the current order, The numerical value derived by arithmetic operations is used as the parameter In the input field for this order, To enter and to switch the input item displayed on the display unit from the current input item to the next input item, The derived values are The input items for this order together with The present invention is characterized by including a control process for assigning an operation key for the user to operate when the operation key is displayed on the display unit as an operation key for the user to operate when confirming input for the four arithmetic operations to derive the numerical value. In addition, the program according to the present invention is a program for prompting a user to input parameters corresponding to each of a plurality of input items in a predetermined calculation formula. and displaying each of the plurality of input items on a display unit in a time-series manner in a predetermined order, thereby allowing a user to input a parameter corresponding to each of the plurality of input items in the order. Computers, electronic devices When any one of the plurality of input items is displayed on the display unit as an input item in the current order, The numerical value derived by arithmetic operations is used as the parameter In the input field for this order, To enter and to switch the input item displayed on the display unit from the current input item to the next input item, The derived values are The input items for this order together with The present invention is characterized in that the operation keys operated by the user while displayed on the display unit also function as control means that are assigned to operate the operation keys operated by the user when confirming input for the four arithmetic operations to derive the numerical value. Effect of the Invention
[0009] According to the present invention, When inputting parameters for each of multiple input items in a given formula Workability of improvement To make can. [Brief description of the drawings]
[0010] [Figure 1] 1 is a diagram showing the appearance of an embodiment of an electronic device according to the present invention; [Diagram 2] FIG. 2 is a block diagram showing an example of a hardware configuration of the electronic device. [Diagram 3] FIG. 2 is an explanatory diagram showing a first example of use of a functional mode of the electronic device. [Figure 4] 13 is a flowchart showing a process in a first example of use of the functional mode. [Diagram 5] 11A and 11B are explanatory diagrams showing a second example of use of the functional mode of the electronic device, where (A) shows a case where a period is displayed as a calculation result, and (B) shows a case where a date is displayed as a calculation result. [Figure 6] 13 is a flowchart showing a process in a second example of use of the functional mode. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. Fig. 1 is a diagram showing the appearance of an electronic device 10 according to an embodiment of the present invention, and Fig. 2 is a block diagram showing an example of the hardware configuration of the electronic device 10.
[0012] As shown in Fig. 1, electronic device 10, which is a portable terminal (calculator), has an input unit 11 and a display unit 12. Input unit 11 is a unit that accepts user operations and is composed of multiple keys that can be pressed. Display unit 12 is a unit that displays numbers and predetermined characters on a display screen using liquid crystal, LEDs (Light Emitting Diodes), etc.
[0013] As shown in FIG. 2, the hardware configuration of electronic device 10 includes, in addition to input unit 11 and display unit 12, a CPU (Central Processing Unit) 13, ROM (Read Only Memory) 14, RAM (Random Access Memory) 15, and a display driver 16.
[0014] When each key of the input unit 11 is pressed, a signal is input from a key switch (not shown) corresponding to each key to the CPU 13. The CPU 13 is a processor that performs overall control of each part of the electronic device 10 in response to the signal input from the input unit 11. For convenience of explanation, even if one of the functional blocks related to the control of the electronic device 10 is mounted in a part other than the hardware configuration of FIG. 2, the following description will be given assuming that the CPU 13 is the main controller.
[0015] ROM 14 is a read-only semiconductor memory that stores programs used for processing in electronic device 10. CPU 13 executes various processes (described later) according to the programs stored in ROM 14. RAM 15 is a randomly accessible semiconductor memory that is used as a working area for programs and data when CPU 13 executes a program.
[0016] The display driver 16 executes a process for displaying numbers and characters on the display unit 12 under the control of the CPU 13 .
[0017] The electronic device 10 of this embodiment is a calculator that has a function mode for performing calculations according to specific rules based on arguments, in addition to a calculator mode for normal calculations that do not depend on arguments. Note that the contents of the function mode described below as a usage example are suitable for medical professionals such as pharmacists, but the function mode in the present invention is not limited to the following usage example.
[0018] The input unit 11 will be described in detail with reference to Fig. 1. Of the input unit 11, the numeric key area 20, the calculation command key area 21, and the memory key area 28, which are enclosed by dashed lines in Fig. 1, are each conceptual groups consisting of a plurality of keys.
[0019] The numeric key area 20 has ten numeric keys from 0 to 9 and a decimal point key. The keys in the numeric key area 20 are used as operation means for inputting numerical values in both the calculator mode and the function mode. In a second use example of the function mode (FIGS. 5(A) and 5(B)) described later, some of the keys in the numeric key area 20 are also used as means for selecting the content of calculation.
[0020] The calculation command key area 21 arranged to the right of the numeric key area 20 is an area where the type of calculation (such as the four arithmetic operations) is selected in calculator mode and operator-specified data is input, and it has calculation keys for addition, subtraction, multiplication, and division (+, -, ×, ÷). The calculation command key area 21 is further provided with a remainder calculation key used to execute division that produces a remainder.
[0021] The calculation data in this embodiment includes at least operator designation data. As a first mode of the calculation data, the combination of operator designation data input by key operation in the calculation command key area 21 and a numerical value input by key operation in the numeric key area 20 becomes the calculation data. As a second mode of the calculation data, the calculation data may be obtained only by key operation in the calculation command key area 21, i.e., only by inputting the operator designation data. An example of the second mode is a case where the "x" key is pressed multiple times to perform a power calculation. Another example of the second mode is a case where the "x^2" key, which is not arranged on the input unit 11 of the electronic device 10, is pressed to perform a factorial calculation.
[0022] An equals key 22 is disposed at the bottom of the input section 11, between the numeric key area 20 and the calculation command key area 21. The equals key 22 is used as a calculation completion operation means for inputting the command "=" to complete a calculation in calculator mode. The equals key 22 is also used to input a calculation execution instruction and to confirm the result of a calculation in a function mode, which will be described later. In response to this operating system, in addition to the "=" displayed on the key top of the equals key 22, the words "input / confirm" are displayed below the equals key 22.
[0023] On the left side of the numeric key area 20, arranged from the bottom are an all clear (AC) key 23, a clear (C) key 24, a digit down key 25, a sign change key 26, and an off (OFF) key 27. On the upper side of the numeric key area 20 is a memory key area 28 including three keys (MRC, M+, M-) for memory operations.
[0024] The input unit 11 has function keys 30 and 31 arranged on the top row. The function key 30 is an operation means for entering a BMI (Body Mass Index) calculation mode (hereinafter referred to as a BMI calculation mode) among the function modes of the electronic device 10, and has "BMI" displayed on the key top. The function key 31 is an operation means for entering a date calculation mode (hereinafter referred to as a date calculation mode) among the function modes of the electronic device 10, and has "date calculation" displayed on the key top. In this embodiment, in order to explain BMI and date calculation as an example, only the function keys 30 and 31 corresponding to these are shown on the input unit 11, but other function keys corresponding to other function modes may be provided.
[0025] First, as a first example of use of the function mode of the electronic device 10, a case where it is applied to the calculation of BMI will be described. BMI is a body mass index that indicates the degree of obesity calculated from the relationship between height and weight. If weight (kg) is w and height (m) is h, BMI=w / h 2 The data including this formula is stored in the ROM 14 as an application for BMI calculation.
[0026] 3 shows, in steps D01 to D09, the relationship between the input contents to the input unit 11, the processing by the CPU 13 and the like, and the display contents on the display unit 12 when the BMI is calculated by the electronic device 10. Note that, in the following explanation, each process of the electronic device 10 is assumed to be performed by a control block (FIG. 2) centered around the CPU 13, except for the contents clearly stated as operations by the user.
[0027] As described above, the function key 30 is the function key for entering the BMI calculation mode. As shown in Fig. 3, when the user operates the all clear key 23 (D01) and then operates the function key 30, the BMI calculation application is read from the ROM 14 and the BMI calculation mode is entered (D02).
[0028] When the BMI calculation mode is entered, the top row of the display unit 12 displays "BMI Calculation" indicating the type of function mode (D02). This display continues until the BMI calculation mode ends. In this embodiment, the first argument (the first parameter set by the user) in the BMI calculation mode is height. The display unit 12 displays "Height?" to prompt the user to input height, which is the first argument, and "cm" indicating the unit of height (D02).
[0029] In the process of inputting height, the keys in the numeric key area 20 are used to input numerical values, and the keys in the calculation command key area 21 are used to input operator-specifying data.
[0030] In the usage example of Fig. 3, the user first operates the numeric keys "1" and "0". In response to this operation, "10" is stored in the RAM 15 as the input value (first numeric value), and the numeric value "10" is displayed in the numeric display area of the display unit 12 (D03). At this stage, the input value can be corrected or changed by operating the clear key 24, the move down key 25, each key in the numeric key area 20, etc.
[0031] Next, when the user operates the "x" key in the calculation command key area 21 to input operator designation data, the process moves to a process of preparing multiplication, and "x", indicating a multiplication process, is displayed to the right of the numeric value "10" on the display unit 12 (D04). In this state, when the user operates the numeric key "5" to input a second numeric value associated with the operator designation data, the input value "5" is stored in the RAM 15, and the input value "5" is displayed in the numeric display area of the display unit 12 (D05). The first calculation data is input with the operator designation data "x" in D04 and the numeric value "5" in D05.
[0032] Next, when the user operates the "+" key in the calculation command key area 21 to input further operator designation data, a calculation based on the first calculation data (multiplication based on the first input operator designation data "x" and the second numerical value "5" associated with the operator) is executed on the previously stored input value "10". The result of the calculation, the calculated value "50", is then displayed in the number display area of the display unit 12 (D06). At the same time, the second input operator designation data "+" causes a transition to a process of preparing addition to the displayed calculated value, and "+", indicating an addition process, is displayed to the right of the numerical value "50" on the display unit 12 (D06). If a calculation is then performed based on the next calculation data, the previous calculated value "50" becomes the first numerical value in the next calculation.
[0033] Next, when the user successively operates the numeric keys "1," "2," and "0" to input a second numerical value associated with the operator designation data "+" previously input, the input value "120" corresponding to the operation is stored in the RAM 15, and the input value "120" is displayed in the numerical display area of the display unit 12 (D07). The second calculation data is input by the operator designation data "+" in D06 and the second numerical value "120" in D07. At this stage, the input value can be corrected or changed by operating the clear key 24, the move down key 25, and each key in the numerical key area 20.
[0034] In this state, when the user operates the equals key 22, a calculation based on the second calculation data (addition based on the second input operator designation data "+" and the second numerical value "120" input in conjunction with the operator) is performed on the calculated value (first numerical value) "50" based on the first calculation data. This first operation of the equals key 22 ends the series of calculations in the first argument input state, and the numerical value "170", which is the calculation result based on the second calculation data, is stored in the RAM 15, and the calculated value "170" is displayed in the number display area of the display unit 12 (D08).
[0035] As described above, in argument input in function mode, calculations can be performed based on appropriate calculation data for values input by the user and values calculated based on the input values. Note that in the above example, both the first calculation data and the second calculation data include input of operator-designating data and numerical values (first aspect described above), but calculations may also be performed using calculation data based only on input of operator-designating data (second aspect described above).
[0036] At this stage, the input of the first argument, height, has not been finalized. If the user wishes to change the height value, it can be done by appropriately operating the keys in the numeric key area 20 and calculation command key area 21, the clear key 24, the move down key 25, etc., based on the calculation result "170." When a numeric value is changed, the count of the number of times the equal key 22 is operated is reset, and the next operation of the equal key 22 is counted as the first time again. In other words, the determination is made as to whether or not the equal key 22 has been operated consecutively, rather than the total number of times it has been operated.
[0037] When the desired value is displayed on the display 12 (the calculation is completed by the first operation of the equal key 22), the user operates the equal key 22 a second time to confirm the height value, which is the first argument in the BMI calculation mode. In this way, the input process of height is completed by operating the equal key 22 a second time to confirm the argument, following the first operation of the equal key 22 to complete the calculation.
[0038] When the height value is confirmed by the second operation of the equal key 22, the process transitions to the weight value input process, which is the second argument (the parameter set by the user second) in the BMI calculation mode. With this transition, the display unit 12 displays "Weight?" to prompt the user to input the weight, which is the second argument, and "kg", which is the unit of weight (D09).
[0039] 3, the process of inputting weight, like the input of height described above, can involve not only simple numerical input but also calculations to be performed on numerical values input using each key in the numeric key area 20 or on calculated values after calculations, using calculation data including at least operator designation data input using each key in the calculation command key area 21. In other words, when a first numerical value as an input value or calculated value is displayed on the display unit 12 and calculation data is input, a calculation is performed based on the first numerical value and the calculation data, and the calculation result is displayed on the display unit 12.
[0040] In the example of use in Fig. 3, when the height value is finalized and the process transitions to the weight value input process (D09), the provisional weight value "60" is automatically displayed, and this provisional value becomes the first value immediately after the transition. Unlike this example of use, when the process transitions to the weight value input process, the provisional value may not be displayed, and the user may be configured to directly input the first value.
[0041] When the user operates the equals key 22 while the calculation result is displayed on the display unit 12, the weight value, which is the second argument, is confirmed. If a calculation is performed during the weight input process, the weight input process is completed by operating the equals key 22 a second time to confirm the argument, following the first operation of the equals key 22 to complete the calculation.
[0042] Although not shown in FIG. 3, when both the first argument, height, and the second argument, weight, are determined, the CPU 13 executes a BMI calculation process. Specifically, the calculation formula is BMI=w / h 2 The second argument, weight, is entered into "w" and the first argument, height, is entered into "h" (the value determined in cm is converted into m), to calculate BMI. The calculated BMI value is then displayed in the numeric display area of the display unit 12.
[0043] Figure 4 is a flow chart of the control corresponding to the BMI calculation mode described above. This flow chart corresponds to the input of both height as the first argument and weight as the second argument.
[0044] First, the CPU 13 determines whether or not each key in the numeric key area 20 has been operated (step S100).
[0045] When any key in the numeric key area 20 is operated (step S100: YES), the CPU 13 performs a numeric input process (step S101), stores a numeric value based on a signal from the operated key in the RAM 15, and sends an instruction to the display driver 16 to display the numeric value on the display unit 12. The numeric input process in step S101 causes the display unit 12 to display the numbers in the order in which the keys in the numeric key area 20 were operated. After executing step S101, the process returns to step S100.
[0046] If there is no key operation in the numeric key area 20 (step S100: NO), the CPU 13 determines whether or not each key in the calculation command key area 21 is operated (step S102).
[0047] When any key in the calculation command key area 21 is operated (step S102: YES), the CPU 13 judges whether or not calculation data for calculation and an instruction to execute the calculation are input (step S103). Note that the instruction to execute the calculation here means an instruction to execute the calculation by any means other than the operation of the equal key 22.
[0048] Here, if a numerical value is input following the operator designation data, or if a specific power calculation is designated by the operator designation data, it is determined that calculation data has been input (step S103: YES). Then, in response to an instruction to execute the calculation, the calculation based on the calculation data is executed (step S104). After executing step S104, an instruction is sent to the display driver 16 to display the calculated value on the display unit 12, and the process returns to step S100.
[0049] For example, as in D04 to D06 in the usage example of Fig. 3, inputting "x" followed by "5" inputs calculation data, and then operating the "+" key commands execution of the calculation. This results in a YES determination in step S103, and the process proceeds to step S104 where the calculation is executed. Then, the calculated value "50" is displayed on the display unit 12.
[0050] As a calculation method based on the calculation data, there are two cases: calculation is performed in the order of the operated operator designation data, and calculation is performed with priority given to higher-order operator designation data. For example, suppose that following the first input value "10", the user operates each key of the input unit 11 in the order of "+", "5", "×", and "8".
[0051] Here, if calculations are performed in the order of the manipulated operator-designated data, the first calculation is "10+5," and the second calculation is "15×8" based on the calculated value "15" to obtain the calculated value "120." In this case, the calculation data corresponding to the first numerical value "10" is the operator-designated data "+" and the second numerical value "5." Next, the second calculation is performed based on the operator-designated data "×" and the second numerical value "8," with the calculated value "15" as the new first numerical value.
[0052] When prioritizing calculations on higher-order operator-designated data, the first calculation is "5 x 8," and the second calculation is "10 + 40" based on the calculated value "40" to obtain the calculated value "50." In this case, the calculation data corresponding to the first numerical value "10" is the operator-designated data "+" and the second numerical value "40" from the first calculation.
[0053] In this way, the calculation based on the first numerical value and the calculation data is not limited to being completed in one go, but includes the case where the calculation value from the previous calculation is updated as the second numerical value and calculation is performed multiple times. In addition, the input of the calculation data when multiple calculations are performed means the input (reception process) of the calculation data corresponding to the order in which the actual calculation is performed, not the order of the user's operations. For example, if the calculation in the function mode of the electronic device 10 is specified to give priority to higher-order operator designation data in the calculation, it is determined that the calculation data corresponding to "10" has been input (YES in step S103) not at the time of the user's operation of "+" and "5" in the above operation example, but by the input of higher-order operator designation data "x" and "8".
[0054] On the other hand, if it is determined in step S103 that no numerical value is input following the operator designation data (including the case where no numerical value is input following the higher-order operator designation data in a specification that prioritizes higher-order operator designation data) or if a predetermined power calculation is not specified by the operator designation data, it is determined that no calculation data has been input (step S103: NO), and a reception process for the operator designation data is performed (step S105), and the process returns to step S100. In the reception process for the operator designation data, a calculation corresponding to the operator designation data is prepared (storage in RAM 15), and an instruction is sent to the display driver 16 to display the operator (+, -, ×, ÷, etc.) on the display unit 12.
[0055] In the determination in step S102, when no key operation has been performed in the calculation command key area 21 (step S102: NO), the CPU 13 determines whether or not the equal key 22 has been operated (step S106).
[0056] If the equal key 22 is not operated (step S106: NO), the calculation is not completed and the system waits in a state in which input of numerical values by the keys in the numeric key area 20 and input of operator-specifying data by the keys in the calculation command key area 21 are permitted.
[0057] If the equal key 22 is operated (step S106: YES), the CPU 13 determines whether or not the calculation based on the calculation data is completed (step S107).
[0058] If it is determined in step S107 that a calculation based on the calculation data is in progress (step S107: YES), that is, if the equal key 22 has not been operated immediately before and the calculation has not yet reached completion status, the CPU 13 executes a calculation execution process and a calculation result display setting process (step S108). In the process of step S108, a calculation based on the calculation data is executed, and an instruction is sent to the display driver 16 to display the numerical value of the calculation result on the display unit 12. In the use example of FIG. 3, this corresponds to the state (D08) in which the numerical value "170" is displayed on the display unit 12.
[0059] If it is determined in step S107 that the calculation is not in progress (step S107: NO), the process proceeds to step S109. At this stage, the calculation in step S108 has been completed and the user has operated the equal key 22. That is, as shown in D09 of FIG. 3, the second operation of the equal key 22 has been performed. Then, the CPU 13 performs an argument confirmation process in step S109. In the confirmation process, the numerical value of the calculation result displayed on the display unit 12 is stored in the RAM 15 as the confirmed value of the argument. Also, in step S109, a process such as waiting for key input or switching of the screen display is performed in preparation for the next argument setting, as in the case of setting the weight after the height is confirmed in the use example of FIG. 3. In the use example of FIG. 3, this corresponds to the state (D09) in which the numerical value "60" is displayed on the display unit 12.
[0060] In the above example of using the BMI calculation mode, when arguments (height, weight) are input, not only is a simple numerical value input, but the input value and the previous calculated value are subjected to arithmetic operations and the like, so that the final calculated value can be set as the argument. This improves the workability of information input in the function mode (BMI calculation mode) which performs a different type of calculation process (operation according to specific rules based on arguments) from the calculator mode. In particular, when each argument handled in the function mode is of a type that requires some kind of calculation, it is time-consuming to calculate the argument in advance in the calculator mode, switch to the function mode, and then input the recorded argument. In contrast, in this example of use, arguments can be freely set using both numerical input and calculation in the function mode, which improves convenience without the need for cumbersome mode switching.
[0061] As a comparative example, a case where height is input as an argument in a conventional function mode will be described. In the argument input state in the conventional function mode, only simple numerical input is accepted. Therefore, when the same key operation as in FIG. 3 is performed on the input unit 11, the following occurs. In the key operation of "10", "x", and "5", the input of "x" is ignored, and the numerical input of "105" is performed, and "105" is displayed on the display unit 12. In the next key operation of "+" and "120", the input of "+" is ignored, and it is treated as if only the numerical input of "120" was performed. As a result, the display unit 12 displays "105120". Therefore, in the conventional function mode, the user has no choice but to directly input an accurate numerical argument, and if the user wishes to use a calculation to obtain the argument, the processing in the function mode cannot handle this.
[0062] In this example, when arguments (height, weight) are input, the calculation result is displayed on the display unit 12 after the calculation is performed (D06, D08 in FIG. 3), and the user confirms the displayed content and then operates the equal key 22 to confirm the argument. The user only needs to be aware that "in function mode, the argument is confirmed by operating the equal key 22 when the calculation result is displayed," and does not need to perform complicated operations. When inputting arguments, the other keys in the numeric key area 20 and the calculation command key area 21 are used for contents equivalent to the functions of each key in calculator mode (inputting numerical values and inputting data designated by operators), so there is no risk of confusion in operation. In this way, when inputting arguments in function mode, it is possible to realize an operation system that is intuitively easy to use without giving the user a sense of incongruity, while improving the accuracy of input by visually confirming the calculation result.
[0063] Furthermore, when there is an argument to be set next, the previous argument is confirmed by operating the equals key 22, and the display and processing for inputting the next argument are automatically started, so that multiple arguments can be input efficiently.
[0064] Next, as a second use example of the function mode of the electronic device 10, a case where it is applied to date calculation will be described. Figures 5(A) and 5(B) show the relationship between the input to the input unit 11, the processing by the CPU 13 and the display on the display unit 12 when calculating a date using the electronic device 10. Figure 5(A) is a use example for calculating the period (number of days) from a reference date to a specified date, and includes steps D11 to D20. Figure 5(B) is a use example for calculating the date in the specified period (number of days) from the reference date, and includes steps D21 to D28. Data such as a formula used for date calculation is stored in the ROM 14 as an application for date calculation.
[0065] First, an example of use of Fig. 5(A) will be described. Function key 31 in input unit 11 is the function key for entering date calculation mode. When the user operates all clear key 23 (D11) and then the operation of function key 31 is input to CPU 13, an application for date calculation is read from ROM 14 and the date calculation mode is entered (D12).
[0066] When the date calculation mode is entered, the display prompts the user to input a base date with "Base date?", and then displays the date units "20yy mm dd" (D12). Note that the number input area of the display unit 12 is pre-displayed with the first two digits of the year, "20," to reduce the user's effort in inputting numbers. However, it is also possible to set the display so that the user keys in all digits of the year, without displaying the first two digits.
[0067] In the date calculation mode, the user operates the equals key 22 to confirm the input result and to instruct the execution of a calculation. When the electronic device 10 displays the date "20yy mm dd" on the display unit 12, it displays "=" to the right of it. This "=" display is intended to inform the user that by operating the equals key 22 while the date is displayed, the displayed date will be confirmed as the input value.
[0068] The user inputs the base date using each key in the numeric key area 20. The user inputs a six-digit number excluding the first two digits of the pre-displayed year as the date. In the example of use in FIG. 5(A), in order to set the base date to January 1, 2020, the user operates the three keys in the numeric key area 20 to input "200101." In response to this input, the date "2020-01-01" is displayed in the numeric display area of the display unit 12 (D13). Note that the user only inputs numbers, and the hyphens between the year, month, and day are automatically displayed.
[0069] At this stage, the base date can be corrected or changed by operating the clear key 24, the digit down key 25, the various keys in the numeric key area 20, etc. to input a series of six digits as appropriate. When the input and display of the base date is complete and the user operates the equal key 22, the date displayed on the display unit 12 is determined to be the base date.
[0070] Next, you proceed to the state where you select the calculation content in the date calculation mode. The calculation content that can be selected here is the forward date calculation process that calculates the date corresponding to the specified period (number of days) before the base date, the backward date calculation process that calculates the date corresponding to the specified period (number of days) after the base date, and the period calculation process that calculates the period (number of days) from the base date to a specified date (either before or after).
[0071] When the user operates the equals key 22 after inputting the base date, the determined base date is stored in the RAM 15 and a calculation content selection screen is displayed on the display unit 12 (D14). The calculation content selection screen displays the letters "days before" and the number "1" which indicate forward date calculation processing, the letters "days after" and the number "2" which indicate backward date calculation processing, and the letters "period" and the number "3" which indicate period calculation processing.
[0072] On the calculation content selection screen, the user selects the desired calculation content using the number keys "1" to "3" in the number key area 20. In the usage example of FIG. 5(A), a period calculation process is performed, so the user operates the number key "3". This key operation completes the selection of the period calculation process. In other words, with the input base date displayed on the display unit 12, one of three types of calculation processes is selected by combining the operation of the equals key 22 and the number keys "1" to "3".
[0073] When the user operates the numeric key "3" while the calculation content selection screen is displayed on the display unit 12, the screen proceeds to a state where the target date for calculating the period from the base date is to be input, and the display screen of the display unit 12 changes to one for inputting the target date. Specifically, "Date?" is displayed to prompt the user to input the target date, and the date unit "20yy mm dd" is displayed (D15). Also, to the right of this, "=" is displayed, which indicates the equal key 22 that functions as the confirmation key for date input (D15).
[0074] When inputting the target date, in the same way as in the case of inputting the reference date described above, the first two digits of the year, "20," are displayed in advance in the numeric input area of the display unit 12 (D15). It is also possible to set the display to not show these first two digits, and to have the user enter all the digits of the year by keying in.
[0075] The user inputs the target date using each key in the numeric key area 20. In the example of use in FIG. 5(A), in order to set the target date to May 5, 2025, the user operates three keys in the numeric key area 20 to input the six-digit number "250505." In response to this input, the date "2025-05-05" is displayed in the numeric display area of the display unit 12 (D16).
[0076] At this stage, the target date can be corrected by operating the clear key 24, the decrease digit key 25, the various keys in the numeric key area 20, etc. to re-enter a series of six digits. When the input and display of the target date is complete and the user operates the equal key 22, the date displayed on the display unit 12 is determined to be the target date.
[0077] When the user operates the equals key 22 after inputting the target date, a calculation is performed for the period from the base date to the target date based on the base date (D13) and the target date (D16). The period (number of days) resulting from this calculation is 1951 days, and the number "1951" indicating this period is displayed in the number display area of the display unit 12 (D17). The number "1951", which is the output result of the calculation in the date calculation function mode, becomes the first number. In addition, the characters "The period is" indicating the meaning of the number resulting from the calculation are displayed on the display unit 12 (D17).
[0078] It is possible to switch from the function mode for date calculation to the calculator mode for normal calculation and execute successive calculations based on a first numerical value (the output result of the function mode) displayed on the display unit 12. The transition from this function mode (date calculation mode) to the calculator mode is performed in response to the input of calculation data, on the condition that the first numerical value as the output result in the date calculation mode is displayed on the display unit 12 (D17). More specifically, the transition from the function mode to the calculator mode occurs upon the input of operator designation data among the calculation data. In other words, each key in the calculation command key area 21 is preset as a specific key that can be taken over to the calculator mode.
[0079] In the example of use in FIG. 5(A), the calculator mode is switched to when the user inputs operator-designated data by operating the "+" key. The CPU 13 reads out the calculator application stored in the ROM 14 and displays the "+" mark indicating an addition process on the display unit 12 (D18). From this point on, the process is in the calculator mode. For example, when the user operates the numeric key "9" as the second numerical value following the operator-designated data, "9" is displayed on the display unit 12 (D19), and when the equals key 22 is subsequently operated, an operation (operation based on the calculation data) is executed to add the second numerical value "9" input in the calculator mode to the calculation result (first numerical value) "1951" in the period calculation process, and the numerical value "1960" resulting from the calculation in the calculator mode is displayed on the display unit 12 (D20).
[0080] In addition, when performing a power calculation by operating the "x" key multiple times, the second numerical value is not input by operating the numeric key area 20, and the calculation data is input using only the operator designation data, and the calculation is performed in calculator mode.
[0081] In this way, by carrying over the calculation results in the function mode (period calculation processing) to the calculator mode, it is possible to perform successive calculations on the calculation results in the function mode. Each key in the calculation command key area 21 is set as a specific key that can be carried over to the calculator mode, and mode switching is automatically performed by operating these specific keys, so the user does not need to be aware of any special operations for mode switching, and can easily and efficiently move to successive calculations on the calculation results.
[0082] In the electronic device 10, while the period (number of days) is being displayed on the display unit 12 as the result of a calculation in the function mode (D17), in addition to the keys in the calculation command key area 21 that transition to the calculator mode, the operation of the all clear key 23 and the function key 31 are accepted as valid inputs.
[0083] When the all clear key 23 is operated while the period (number of days) that is the calculation result is displayed on the display unit 12, the calculation result of the period and the data of the reference date are cleared from the RAM 15, the display of the period on the display unit 12 is erased, and the mode is switched from the date calculation mode to the calculator mode.
[0084] When the function key 31 is operated while the period (number of days) that is the calculation result is displayed on the display unit 12, the calculation result is erased and the state returns to the state (D13) where the previously input base date is displayed on the display unit 12. In other words, the previously input base date data is controlled to be held until the date calculation mode, which is a function mode, is exited.
[0085] 5(A) shows an example of a period calculation process in which the target date is a date after the base date, but the operations by the user and the processing of the electronic device 10 are the same as those described above for a period calculation process in which the target date is a date before the base date. Because the content to be calculated is a period (number of days), even if the target date is a date before the base date, the numerical value (D17) of the calculation result is displayed on the display unit 12 without a "-" added.
[0086] Next, the usage example of Fig. 5(B) will be described. The process from inputting the base date to displaying the selection screen for calculation contents on the display unit 12 (D21 to D24) is the same as D11 to D14 in the usage example of Fig. 5(A) described above, so the description will be omitted.
[0087] In the usage example of FIG. 5(B), in order to perform forward date calculation processing, the user operates the numeric key "1" while the calculation content selection screen is displayed on the display unit 12 (D24). This key operation inputs the selection of forward date calculation processing. This input causes the electronic device 10 to change the display screen of the display unit 12 to one that prompts the input of how many days back from the base date to go, and displays "How many days back?" to prompt the input of the period (D25). Also, to the right of this, "=" is displayed, which indicates the equal key 22 that functions as the confirmation key for inputting the period.
[0088] Next, the user inputs the period (number of days) using each key in the numeric key area 20. In the example of use in FIG. 5(B), in order to calculate the date 100 days before the reference date, the user operates two keys in the numeric key area 20 to input the number "100." In response, "100" is displayed in the numeric display area of the display unit 12 (D26). At this stage, the period to be input can be modified by operating the clear key 24, the move down key 25, each key in the numeric key area 20, etc.
[0089] When the user operates the equals key 22 after completing the input and display of the period, the date 100 days prior to the reference date is calculated based on the previously input reference date (D23) and period (D26). In the example of use in FIG. 5(B), the result of the calculation is September 23, 2019, and the number "2019-09-23" indicating this date is displayed in the number display area of the display unit 12 (D27). In addition, the words "100 days prior" are displayed above the number display area of the display unit 12, indicating the meaning of the date that is the result of the calculation.
[0090] When the date is displayed (D27) as a result of the forward date calculation process, even if the keys in the calculation command key area 21 are operated to input operator specification data, the consecutive calculation process is not started.
[0091] In the electronic device 10, while the date is displayed on the display unit 12 as the calculation result in the function mode, the operation of the all clear key 23 and the function key 31 is accepted as valid input.
[0092] When the all clear key 23 is operated while the date, which is the calculation result, is displayed on the display unit 12, the calculation result of the date and the data of the reference date are cleared from the RAM 15, the date display on the display unit 12 is erased, and the mode is switched to the calculator mode.
[0093] When the function key 31 is operated while the calculation result, that is, the date, is displayed on the display unit 12, the state returns to the state (D28) where the previously input base date is displayed on the display unit 12. In other words, the previously input base date data is controlled to continue to be stored until the date calculation mode, which is a function mode, is exited.
[0094] Note that, while FIG. 5(B) illustrates an example of a forward date calculation process that calculates a date going back (to the past) from a reference date, the backward date calculation process that calculates a date going back (to the future) from a reference date also has basically the same control and processing as the forward date calculation process. When performing the backward date calculation process, the user operates the numeric key "2" while the calculation content selection screen is displayed on the display unit 12 (D24). The display control of the display unit 12 of the electronic device 10 differs in that the text on the period input screen (D25, D26) becomes "How many days later?" and that the text on the calculation result display screen (D27) becomes "·· days later" (·· is the input value on D26).
[0095] Figure 6 is a flow chart of the control corresponding to the above date calculation modes. The flow chart of Figure 6 focuses on the difference between the process when the calculation result is a numerical value (number of days) (period calculation process shown in Figure 5(A)) and the process when the calculation result is a date (date calculation process shown in Figure 5(B)), and the process of obtaining the calculation result in each calculation process is omitted.
[0096] When a key input is made to the input unit 11 in the date calculation mode, the CPU 13 determines whether or not the result of a calculation in the date calculation mode is being displayed on the display unit 12 (step S200).
[0097] If the calculation result is displayed on the display unit 12 (step S200: YES), the CPU 13 determines whether the content displayed on the display unit 12 is a numerical value (number of days) or a non-numerical value (date) (step S201).
[0098] If the content displayed on the display unit 12 is a numerical value (number of days) (step S201: YES), the CPU 13 judges whether the currently operated key is a key that can be transferred to the calculator mode (step S202). In the example of use in FIG. 5(A), the keys that can be transferred to the calculator mode are the keys in the calculation command key area 21.
[0099] If the key operated this time is a key that can be taken over to the calculator mode (step S202: key that can be taken over to the calculator), CPU 13 reads out the calculator application stored in ROM 14 and sets the transition state to the calculator mode (step S203). At this time, the numerical value of the calculation result in the date calculation mode is not erased but is retained. Next, the application for the date calculation mode is ended and the calculator application is started, completing the transition to the calculator mode (step S204).
[0100] Step S205 collectively represents the overall processing in each of the following cases in which the transition to the calculator mode (steps S203 and S204) does not proceed.
[0101] If it is determined in step S200 that the calculation result is not displayed on the display unit 12 (step S200: NO), in step S205, the CPU 13 waits until a key input is made to execute a calculation in the date calculation mode if the calculation in the date calculation mode has not been executed. If a calculation is being executed, the CPU 13 controls the display unit 12 to display the calculation result.
[0102] If it is determined in step S201 that the calculation result displayed on the display unit 12 is not a numerical value (is a date) (step S201: NO), in step S205, the CPU 13 does not determine whether the currently operated key is a key that can be switched over to the calculator mode (step S202), and performs processing according to the type of the key. In the example of use in FIG. 5(B), the keys that are treated as valid at this time are the all clear key 23 and the function key 31, as described above, and if the currently operated key is the all clear key 23 or the function key 31, processing according to the respective keys is performed in step S205. If the currently operated key is other than the all clear key 23 or the function key 31, the date remains displayed on the display unit 12 and the CPU 13 waits for the next key input.
[0103] If it is determined in step S202 that the key operated this time is a key that cannot be carried over to calculator mode (a key other than the calculation command key area 21) (step S202: key that cannot be carried over to calculator), in step S205, the CPU 13 displays the numerical value that is the calculation result on the display unit 12, does not change the numerical value, and waits for the next key input.
[0104] As described above, in the electronic device 10 of this embodiment, in a function mode for performing BMI calculation or date calculation, when a first numerical value (an input value or a calculated value of a first argument in the function mode, or an output result of the function mode) is displayed on the display unit 12, if calculation data including at least operator designation data is input, a calculation is performed based on the first numerical value and the calculation data, and the calculation result is displayed on the display unit 12. In this way, a calculation can be directly performed based on the output result of the function mode, and the calculation result can be displayed on the display unit, improving the operability of information input in the function mode of the electronic device 10.
[0105] In the above-described embodiment, when a first numerical value is displayed on display unit 12, if calculation data including at least operator designation data is input, an operation is performed based on the first numerical value and the calculation data, and the operation result is displayed on display unit 12. However, even if calculation data is input, the operation may not be performed, and the operation may be performed in accordance with the input of a calculation completion operation means that completes the operation.
[0106] In the above-described embodiment, calculation of BMI and calculation of dates are given as examples of use of function modes, but the present invention may be applied to function modes for other calculation contents.
[0107] The electronic device 10 of the above-described embodiment includes an input unit 11 configured with a key that can be operated by pressing, but the input unit is not limited to this and may be one that senses input using a touch sensor or an optical sensor, one that performs input by voice, etc. Also, when the input unit is configured using keys, a key arrangement or type of keys different from those of the above-described embodiment may be adopted.
[0108] In addition, the present invention is not limited to the above-mentioned embodiment, and various modifications can be made in the implementation stage without departing from the gist of the invention. In addition, the functions executed in the above-mentioned embodiment may be implemented in appropriate combinations as much as possible. The above-mentioned embodiment includes various steps, and various inventions can be extracted by appropriate combinations of the multiple components disclosed. For example, if an effect can be obtained even if some components are deleted from all the components shown in the embodiment, the configuration from which the components are deleted can be extracted as an invention.
[0109] The following supplementary notes are further disclosed regarding the above embodiment. (Appendix 1) An electronic device having an input unit and a display unit, and operable in a calculator mode and a function mode for performing calculations according to specific rules based on arguments, an input unit that receives input of calculation data including at least operator designation data when a first numerical value, which is either an input value of a first argument of the function mode, a calculation value based on the input value, or an output result of the function mode, is displayed on the display unit in the function mode, the input unit receives input of calculation data including at least operator designation data, performs a calculation based on the first numerical value and the calculation data, and displays the result of the calculation on the display unit. (Appendix 2) The input unit has a calculation completion operation means for completing a calculation, in the function mode, when the input value of the first argument of the function mode or the calculated value based on the input value is displayed on the display unit, when the calculation data is input and then an operation of the calculation completion operation means is input, a calculation is executed based on the first numerical value and the calculation data, and the calculated result is displayed on the display unit; The electronic device described in Appendix 1, characterized in that when the result of the calculation in the function mode is displayed on the display unit, if an operation of the calculation completion operation means is further input, the numerical value of the first argument in the function mode is confirmed and the display unit is transitioned to a display for inputting the numerical value of the second argument in the function mode. (Appendix 3) The electronic device described in Appendix 1, characterized in that when the first numerical value is the output result of the function mode, the operating mode is switched from the function mode to the calculator mode in accordance with the input of the calculation data. (Appendix 4) when the output result of the function mode is a numerical value, switching from the function mode to the calculator mode in accordance with the input of the calculation data; 4. The electronic device according to claim 3, wherein when the output result of the function mode is other than a numerical value, the function mode is not switched to the calculator mode even if the calculation data is input. (Appendix 5) A method for controlling an electronic device that has an input unit and a display unit and is operable in a calculator mode and a function mode for performing calculations according to specific rules based on arguments, comprising: a step of displaying, in the function mode, a first numerical value on the display unit, which is any one of an input value of a first argument of the function mode, a calculated value based on the input value, and an output result of the function mode; receiving an input of calculation data including at least operator designation data from the input unit, executing a calculation based on the first numerical value and the calculation data, and displaying a result of the calculation on the display unit; 13. A method for controlling an electronic device comprising: (Appendix 6) A processor of an electronic device having an input unit and a display unit, In a function mode for a calculation according to a specific rule based on an argument, a first numerical value which is either an input value of a first argument of the function mode, a calculation value based on the input value, or an output result of the function mode is displayed on the display unit; a program for receiving input of calculation data including at least operator designation data by the input unit while the first numerical value is displayed on the display unit in the function mode, performing a calculation based on the first numerical value and the calculation data whose input is received, and displaying the result of the calculation on the display unit. [Explanation of symbols]
[0110] 10:Electronic equipment 11: Input section 12: Display section 13: CPU (processor) 14: ROM 15: RAM 16: Display driver 20: Number key area 21: Calculation command key area (operation selection means) 22: Equal key (operation completion operation means) 30: Function key 31: Function key
Claims
1. 1. An electronic device that, when prompting a user to input parameters corresponding to a plurality of input items in a predetermined formula, causes a display unit to chronologically display each of the plurality of input items in a predetermined order, thereby prompting a user to input parameters corresponding to each of the plurality of input items in the predetermined order, an operation key for a user to operate when any one of the input items of the plurality of input items is displayed on the display unit as the input item of the current order, to input a numerical value derived by an arithmetic operation as the parameter into the input item of the current order, and to switch the input item displayed on the display unit from the input item of the current order to the input item of the next order, while the derived numerical value is displayed on the display unit together with the input item of the current order, is also assigned as an operation key for a user to operate when confirming the input for the arithmetic operation to derive the numerical value; 1. An electronic device comprising:
2. The operation key is an equal key.
2. The electronic device according to claim 1 .
3. A control means for causing the display unit to display a unit corresponding to the input item, The control means continues to display the unit on the display unit during an input for the four arithmetic operations by a user.
3. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
4. The control means switches the display of the units in response to switching of the input items displayed on the display unit.
4. The electronic device according to claim 3.
5. An input assistance method executed by an electronic device, in which, when a user is prompted to input parameters corresponding to a plurality of input items in a predetermined formula, each of the plurality of input items is displayed on a display unit in chronological order according to a predetermined order, thereby prompting the user to input parameters corresponding to each of the plurality of input items in the order, a control process for inputting a numerical value derived by an arithmetic operation as the parameter into the input item of the current order when any one of the input items of the plurality of input items is displayed on the display unit as the input item of the current order, and for switching the input item displayed on the display unit from the input item of the current order to the input item of the next order, the control process further comprising: a control process for assigning an operation key to be operated by a user when the derived numerical value is displayed on the display unit together with the input item of the current order, as an operation key to be operated by a user when confirming an input for the arithmetic operation to derive the numerical value, 13. An input assistance method comprising:
6. A computer for an electronic device which, when prompting a user to input parameters corresponding to a plurality of input items in a predetermined formula, displays each of the plurality of input items on a display unit in chronological order according to a predetermined order, thereby prompting a user to input parameters corresponding to each of the plurality of input items in the order, and functioning as a control means for inputting a numerical value derived by an arithmetic operation as the parameter into the input item of the current order when any one of the plurality of input items is displayed on the display unit as the input item of the current order, and for switching the input item displayed on the display unit from the input item of the current order to the input item of the next order, the control means also assigning an operation key to be operated by a user when the derived numerical value is displayed on the display unit together with the input item of the current order, as an operation key to be operated by a user when confirming an input for the arithmetic operation to derive the numerical value. A program characterized by:
Citation Information
Patent Citations
Incoming coin settler
JP1987209690A
JP1992040349U
Character input device
JP1994202995A
Handy terminal
JP2004213456A
Medical calculator
JP3176165U
