Electronic device, method for controlling electronic device, and control program for electronic device

The integration of hardware keys and communication in an electronic device with a smart device facilitates accurate arithmetic operations, addressing input difficulties and enhancing utility by leveraging smart device processing.

JP7709128B2Active Publication Date: 2025-07-16CASIO COMPUTER CO LTD
View PDF 22 Cites 0 Cited by

Patent Information

Application Number
JP2022194553
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-12-06
Publication Date
2025-07-16
Estimated Expiration
2038-09-20

AI Technical Summary

Technical Problem

Smart devices lack hardware keys, making input operations difficult, and there is a need to enhance the utility of electronic devices like calculators by integrating them with smart devices for accurate arithmetic processing.

Method used

An electronic device with hardware keys for input, a communication unit for synchronization with a smart device, and a control unit that performs arithmetic operations using values received from the smart device, ensuring correct arithmetic results.

Benefits of technology

Enables accurate arithmetic operations on the electronic device by integrating it with a smart device, allowing for seamless data transfer and processing, thereby enhancing its utility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007709128000001
    Figure 0007709128000001
  • Figure 0007709128000002
    Figure 0007709128000002
  • Figure 0007709128000003
    Figure 0007709128000003
Patent Text Reader

Abstract

An electronic device, a control method for an electronic device, and a control program for an electronic device are provided that can obtain correct calculation results based on content acquired from an external device. [Solution] Electronic device 10 has a key input unit 11 equipped with hardware keys, a communication unit 17 for communicating with a smart device 50, and a memory 21 having a digit input area 25 for storing at least numerical values ​​input from the key input unit for display, a key transfer memory storage area 31 for storing at least numerical values ​​transferred from the smart device, and a digit storage area 33 for storing confirmed digits used in calculations. The electronic device further has a display unit 13 for displaying values ​​stored in the digit input area, and a processor 19 for storing the transferred values ​​in the key transfer memory storage area, and then storing the values ​​stored in the key transfer memory storage area in the digit storage area and the digit input area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an electronic device, a method for controlling an electronic device, and a control program for an electronic device.

Background Art

[0002] For example, in an electronic desktop calculator (hereinafter referred to as a calculator) disclosed in Patent Document 1, hardware keys are arranged. These hardware keys have a user-friendly specification for input, such as preventing mis-pressing of the keys, making it easy to obtain a pressing feeling, and enabling easy input by blind touch.

[0003] On the other hand, in recent years, smart devices (external devices) such as smartphones have become popular, and calculator software is also provided as application software for this smart device.

Prior Art Documents

Patent Documents

[0004]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0005] Generally, smart devices do not have hardware keys, so there is a problem that input is difficult. Therefore, it is conceivable to use an electronic device such as a calculator having hardware keys as an input device for a smart device. In this case, if the processing result of the smart device is fed back to the electronic device and the electronic device can inherit the operation using the processing result of the smart device, the electronic device can be used not only as a simple input device but also the utility value of the electronic device is improved.

[0006] Specifically, for example, it is conceivable that a calculator receives a processing result such as an arithmetic result transferred from a smart device and further performs an arithmetic operation on the received processing result.

[0007] An object of the present invention is to provide an electronic device, a control method for an electronic device, and a control program for an electronic device that can obtain a correct arithmetic result based on the content acquired from an external device.

Means for Solving the Problems

[0008] One embodiment of the present invention includes a key for instructing the execution of an arithmetic operation, a communication unit for communicating with an external device, and, before the execution instruction of the arithmetic operation by the key, a key operation for instructing synchronization with the external device to the communication unit. After that, in response to determining that the first numerical value has been received from the external device, the first numerical value is stored in the storage unit, and after the execution instruction of the arithmetic operation by the key, in response to determining that the second numerical value has been received from the synchronized external device, the second numerical value is stored in the storage unit, and a control unit that performs the arithmetic operation instructed by the execution instruction of the arithmetic operation by the key using the first numerical value and the second numerical value stored in the storage unit. An electronic device characterized by comprising: External device

Advantages of the Invention

[0011] According to the present invention, it is possible to provide an electronic device, a control method for an electronic device, and a control program for an electronic device that can obtain a correct arithmetic result based on the content acquired from an external device.

Brief Description of the Drawings

[0012]

Figure 1

Figure 2

Figure 3A

Figure 3B

Figure 4

Figure 5

Figure 6

Figure 7

Figure 8

Figure 9

Figure 10

Figure 11

Figure 12

Mode for Carrying Out the Invention

[0013] Embodiments of the present invention will be described with reference to the drawings. Note that, in some of the drawings, a part of the members is omitted for clarity.

[0014] [First Embodiment] The first embodiment will be described below. FIG. 1 is a front view showing the respective external configurations of an electronic desktop calculator as an electronic device (hereinafter referred to as calculator 10) and a smartphone 50 that performs data communication with calculator 10.

[0015] The calculator 10 performs data communication with the smartphone 50 using a short-range wireless communication technology such as Bluetooth (registered trademark) Low Energy (hereinafter referred to as BLE). The calculator 10 is an example of an electronic device capable of data communication, and other devices having a hardware key and a computing function may be used instead of the calculator 10. The smartphone 50 is an example of a smart device capable of data communication, and for example, a tablet terminal or the like may be used instead of the smartphone 50.

[0016] On the front of the main body of the calculator 10, a key input unit 11 and a display unit 13 are provided.

[0017] The key input unit 11 has a group of hardware keys including, for example, numeric keys 11a, arithmetic keys 11b, first function keys 11c, and second function keys 11d.

[0018] The numeric keys 11a have a plurality of keys corresponding to, for example,

[00] , [0] to [9]. The arithmetic keys 11b have a plurality of keys corresponding to, for example, [+] (addition), [-] (subtraction), [×] (multiplication), [÷] (division), [=] (equal). The first function keys 11c have, for example, an all clear key ([AC] key), a clear key ([C] key), a plurality of memory keys 11g ([MC], [MR], [M+], [M-]) related to the memory function, and a grand total key ([GT] key). The second function keys 11d have a BLE key 11e that is operated for the calculator 10 to synchronize with the smartphone 50 when the calculator 10 performs data communication with the smartphone 50 using BLE, a plurality of direction keys (up key, down key, left key, right key) corresponding to the up, down, left, and right directions, a backspace ([BS]) key, and an enter key ([Enter]).

[0019] These keys have a structure of push (stroke) keys that are pressed by the user's pressing operation to input the content indicated (printed) on the key top into the arithmetic processing system in the calculator 10.

[0020] The display unit 13 consists of a dot matrix type or segment type (for example, the so-called Japanese character type) liquid crystal display unit. On the display unit 13, the numerical values and operators input by the pressing operations on the numerical keys 11a and the arithmetic keys 11b, the symbol (M) corresponding to the memory key 11g, the symbol (GT) corresponding to the grand total key, the symbol (BLE) indicating that it is connected by BLE to the smartphone 50, etc. are displayed.

[0021] On the front of the main body of the smartphone 50, a touch panel 51 for inputting information such as numerical values and characters to the smartphone 50 and a display unit 53 for displaying the information input from the touch panel 51 are provided. The touch panel 51 is placed on the display unit 53.

[0022] FIG. 2 is a block diagram showing the configuration of the electronic circuits of the calculator 10 and the smartphone 50 shown in FIG. 1.

[0023] The electronic circuits of the calculator 10 and the smartphone 50 include a plurality of units, and these units include communication units 17, 57, a CPU (Central Processing Unit) 19, 59 which is a processor constituting a computer, and memories 21, 61. The units of the calculator 10 also include the key input unit 11 and the display unit 13, and the units of the smartphone 50 also include the touch panel 51 and the display unit 53.

[0024] The communication unit 17 of the calculator 10 is a communication interface that performs wireless data communication with the communication unit 57 of the smartphone 50 using BLE when the BLE key 11e is pressed. The communication units 17, 57 may perform data communication via a server on a communication network (including the Internet, etc.). In addition, if the communication unit 17 only has a wired serial communication function, a BLE unit may be connected to the communication unit 17 so that wireless data communication can be performed via the BLE unit.

[0025] The CPU 19 of calculator 10 executes a calculation processing program 23 stored in memory 21 of calculator 10 to control the operation of each part of the circuit and execute various arithmetic processing in accordance with inputs from key input unit 11. Note that in calculation processing program 23, for example, variables and the like are set for displaying operators as so-called symbols on display unit 13, and the CPU 19 can display on display unit 13 symbols corresponding to the types of operators entered from key input unit 11.

[0026] The calculation processing program 23 is pre-stored in the memory 21, but may also be downloaded from the smartphone 50 or from a server on a communication network via the communication unit 17 and stored in the memory 21. The calculation processing program 23 may also be read from an external recording medium such as a memory card via a recording medium reading unit (not shown) and stored in the memory 21.

[0027] In the memory 21, a numeral entry area 25, a GT independent memory storage area 27, an M independent memory storage area 29, a key transfer memory storage area 31, a numeral entry storage area 33, and an operator information area 35 are secured.

[0028] The area 25 for inputting numeric values is an area in which values (numeric values) to be displayed on the display unit 13 are stored. When the numeric key 11a is pressed, a key code (numeric code) indicating the numeric value written on the key top of the numeric key 11a is stored in the area 25 for inputting numeric values as one element.

[0029] In the GT independent memory storage area 27, the numerical value displayed on the display unit 13 by the operation of the [GT] key is stored.

[0030] The M independent memory storage area 29 is an area for storing the calculation result of the numerical value already stored in the M independent memory storage area 29 and the numerical value stored in the setting input area 25 when the memory key 11g (the [M+][M-] keys which are memory storage keys) is pressed. When the memory key 11g ([M+][M-] keys) is pressed, the numerical value obtained by calculating (adding or subtracting) the numerical value stored in the setting input area 25 from the numerical value already stored in the M independent memory storage area 29 is overwritten and stored in the M independent memory storage area 29.

[0031] The key transfer memory storage area 31 is an area for storing the data transferred from the smartphone 50 when a predetermined condition is satisfied. When a value (numerical value) is transferred from the smartphone 50, the value (numerical value) is stored in the key transfer memory storage area 31 when a predetermined condition is satisfied. The key transfer memory storage area 31 is used as an area corresponding to the M independent memory storage area 29 when data is transferred from the smartphone 50 and a predetermined condition is satisfied.

[0032] The setting storage area 33 stores the determined setting (numerical value) used in the calculation.

[0033] The operator information area 35 stores the operator used in the calculation.

[0034] The CPU 59 of the smartphone 50 controls the operations of each part of the circuit and executes various calculation processes according to the input from the touch panel 51 by executing the calculation processing program stored in the memory 61 of the smartphone 50.

[0035] Next, the operation of the calculator 10 in this embodiment will be described. FIGS. 3A and 3B are flowcharts showing the operation of the calculator 10. Here, the CPU 19 of the calculator 10 acquires the input data input from the key input unit 11 or the received data transferred from the smartphone 50, and performs the processes described below according to the type of the acquired data (for example, numerical value, operator, information on memory functions, data received from the smartphone, etc.). Note that during operation, it is assumed that the BLE key 11e is pressed once and the calculator 10 is synchronized with the smartphone 50.

[0036] In step S1, the CPU 19 acquires the input data input from the key input unit 11 or the received data transferred from the smartphone 50. The acquired data is held in a data temporary storage unit such as a key input buffer or a reception buffer (not shown in the figure), for example. The input data here refers to the values (numerical values) and operators (for example, "1", "+", "AC", [M+], [BS], etc.) indicated on the key tops of the key input unit 11. That is, the input data is information on various functions such as numerical values, operators, "AC", [M+], [BS]. Also, the received data is, for example, a numerical value or an operator.

[0037] Next, in step S2, the CPU 19 checks whether the AC key has been pressed. In step S2, if the CPU 19 determines that the AC key has been pressed, it proceeds to the process of step S3. In step S3, the CPU 19 clears (erases) the stored contents of the setting input area 25 and the setting storage area 33, respectively. As a result, the setting input area 25 and the setting storage area 33 are in a state where "0" is stored. Next, in step S4, the CPU 19 causes the display unit 13 to display the numerical value (in this case, "0") stored in the setting input area 25. In step S5, the CPU 19 transmits the numerical value (in this case, "0") stored in the setting input area 25 to the smartphone 50 via the communication unit 17. Then, the CPU 19 proceeds to the process of step S1.

[0038] In step S2, if it is determined that the AC key is not pressed, the CPU 19 proceeds to the process of step S6. In step S6, the CPU 19 checks whether the data acquired in step S1 was obtained by pressing the numeric key 11a and inputting a numeric value.

[0039] In step S6, if it is determined that a numeric value has been input, the CPU 19 proceeds to the process of step S7. In step S7, the CPU 19 stores the data (numeric value) acquired in step S1 in the set number input area 25. After that, the CPU 19 proceeds to the process of step S4. Therefore, in this case, the numeric value stored in the set number input area 25 is displayed on the display unit 13 in step S4 and transmitted to the smartphone 50 via the communication unit 17 in step S5.

[0040] Also, in step S6, if it is determined that no numeric value has been input, the CPU 19 proceeds to the process of step S8. In step S8, the CPU 19 checks whether the data acquired in step S1 was obtained by pressing the arithmetic key 11b and inputting an operator.

[0041] In step S8, if it is determined that an operator has been input, the CPU 19 proceeds to the process of step S9. Details of step S9 will be described below.

[0042] In step S9, the CPU 19 stores the input operator in the operator information area 35. Also, the CPU 19 performs set number determination processing according to the type of operator as follows. Here, as examples of the types of operators, “+”, “-”, “×”, “÷”, and “=” will be used for explanation.

[0043] When an operator (any one of “+”, “-”, “×”, “÷”, and “=”) is input, the CPU 19 performs an operation according to the set number stored in the set number storage area 33 and the value stored in the set number input area 25, and stores the operation result as a new set number in the set number storage area 33.

[0044] Here, when the type of operator is any one of "+", "-", "×", and "÷", the CPU 19 continues to store the numerical value already stored in the setting input area 25 as it is. Then, the CPU 19 proceeds to the process of step S4. Therefore, in this case, since the stored content of the numerical value in the setting input area 25 remains unchanged, the display of the numerical value on the display unit 13 is not changed in step S4. In this step S4, an operator is additionally displayed (so-called symbol display) on the display unit 13. Also, in step S5, data regarding the operator is transmitted to the smartphone 50.

[0045] On the other hand, when the type of operator is "=", the CPU 19 stores the same value as the calculation result (new setting) to be stored in the setting storage area 33 in the setting input area 25. Then, the CPU 19 proceeds to the process of step S4. Therefore, in this case, since the stored content of the numerical value in the setting input area 25 is changed to the calculation result, the display of the numerical value on the display unit 13 is changed to the calculation result in step S4. Also, in step S5, data regarding the calculation result and the operator is transmitted to the smartphone 50.

[0046] In step S8, when it is determined that no operator is input, the CPU 19 proceeds to the process of step S10. In step S10, the CPU 19 checks whether the data acquired in step S1 above is such that the [M+] key or the [M-] key among the memory keys 11g has been pressed and a memory registration function (one of the memory functions) has been input.

[0047] In step S10, when it is determined that the [M+] key or the [M-] key, which is the memory storage key, has been pressed, the CPU 19 proceeds to the process of step S11. In step S11, the CPU 19 stores the calculation result corresponding to the [M+] key or the [M-] key in the M-independent memory storage area 29. The details of step S11 will be described below.

[0048] In step S11, the CPU 19 performs an operation (addition or subtraction) on the numerical value stored in the M independent memory storage area 29 according to the memory key 11g ([M+][M-] key) of the numerical value stored in the setting input area 25, and stores the operation result in the M independent memory storage area 29. Further, the CPU 19 stores the numerical value stored in the setting input area 25 in the setting storage area 33. The CPU 19 stores the input information of the memory registration function ([M+] or [M-]) in the operator information area 35. Then, the CPU 19 proceeds to the process of step S4. Therefore, in this case, since the numerical value in the setting input area 25 remains unchanged, the display on the display unit 13 is not changed in step S4, and the data is not transmitted to the smartphone 50 in step S5. In step S4, a display (so-called symbol display) indicating that the numerical value has been memorized may be performed, and the smartphone 50 may be notified of the information.

[0049] In step S10, when it is determined that the [M+] or [M-] key has not been pressed, the CPU 19 proceeds to the process of step S12. In step S12, the CPU 19 checks whether the data acquired in step S1 above is the result of the [MR] key, which is one of the memory keys 11g, being pressed and the memory read function (one of the memory functions) being input.

[0050] In step S12, when it is determined that the [MR] key has been pressed, the CPU 19 proceeds to the process of step S13. In step S13, the CPU 19 performs the first MR key process. In the first MR key process, the CPU 19 stores the numerical value stored in the M independent memory storage area 29 in the setting input area 25 and the setting storage area 33. Then the CPU 19 proceeds to the step S4 process. Therefore, in this case, the numerical value stored in the setting input area 25 is displayed on the display unit 13 in step S4 and transmitted to the smartphone 50 via the communication unit 17 in step S5.

[0051] Here, the storage procedures for each area of the memory 21 according to the input data from the key input unit 11 in the above steps S1 to S13 will be described using examples. FIG. 4 shows the stored contents of each area when the keys "5", "M+", "+", "3", "=", and "MR" of the key input unit 11 are pressed in sequence. As an initial state, it is assumed that the setting input area 25, the setting storage area 33, and the M independent memory storage area 29 are cleared (erased) and in a state where "0" is stored. Also, as an initial state, it is assumed that the operator information area 35 is in a state where nothing is stored.

[0052] In the storage procedure (A) of FIG. 4, when the "5" key among the numeric keys 11a is pressed, the CPU 19 acquires the input data (step S1), determines that a numeric input has been made (step S6: Yes), and stores the numeric value "5" in the setting input area 25 (step S7).

[0053] In the storage procedure (B) of FIG. 4, when the "M+" key among the memory keys 11g is pressed, the CPU 19 acquires the input data (step S1), determines that the memory function "M+" has been input (step S10: Yes), stores the memory function "M+" in the operator information area 35, adds the numeric value "5" stored in the setting input area 25 to the numeric value "0" stored in the M independent memory storage area 29, and stores the calculation result "5" in the setting storage area 33 and the M independent memory storage area 29 (step S11). Note that "5" remains stored in the setting input area 25.

[0054] In the storage procedure (C) of FIG. 4, when the "+" key among the arithmetic keys 11b is pressed, the CPU 19 acquires the input data (step S1), determines that an operator has been input (step S8: Yes), and stores the operator "+" in the operator information area 35 (step S9). Note that "5", "5", and "5" remain stored in the setting input area 25, the setting storage area 33, and the M independent memory storage area 29, respectively.

[0055] In the storage procedure (D) of FIG. 4, when the "3" key among the numeric keys 11a is pressed, the CPU 19 acquires the input data (step S1), determines that a numeric value has been input (step S6: Yes), and stores the numeric value "3" in the data entry area 25 for setting values (step S7). Note that the values "5", "5", and "+" are still stored in the setting storage area 33, the M independent memory storage area 29, and the operator information area 35, respectively.

[0056] In the storage procedure (E) of FIG. 4, when the "=" key among the arithmetic keys 11b is pressed, the CPU 19 acquires the input data (step S1), determines that an operator has been input (step S8: Yes), stores the operator "=" in the operator information area 35, and performs an operation using the setting value ("5") stored in the setting storage area 33 and the numeric value "3" stored in the data entry area 25 for setting values to calculate the operation result "8", and stores this in the data entry area 25 for setting values and the setting storage area 33 (step S9). Note that the value "5" is still stored in the M independent memory storage area 29.

[0057] In the storage procedure (F) of FIG. 4, when the "MR" key, which is the memory read key among the memory keys 11g, is pressed, the CPU 19 acquires the input data (step S1), determines that the memory function "MR" has been input (step S12: Yes), stores the memory function "MR" in the operator information area 35, and stores the "5" stored in the M independent memory storage area 29 in the data entry area 25 for setting values and the setting storage area 33 (step S13). Note that at this time, the value "5" is still stored in the M independent memory storage area 29.

[0058] Next, the operation of the smartphone 50 when the calculator 10 transmits a numeric value to the smartphone 50 in step S5 will be described. FIG. 5 is a flowchart showing the operation of the smartphone 50.

[0059] In step S51, the CPU 59 acquires the input data input from the touch panel 51 or the received data transferred from the calculator 10. The input data referred to here is, for example, a numerical value or an operator. The received data is, for example, a value (numerical value) displayed on the display unit 13 of the calculator 10.

[0060] Next, in step S52, the CPU 59 checks whether the data acquired in step S51 was input from the touch panel 51. If it is determined in step S52 that an input has been made, the CPU 59 proceeds to the process of step S53. In step S53, the CPU 59 updates the state of the smartphone 50. For example, the CPU 59 stores the input data from the touch panel 51 in the memory 61 and reflects it on the display unit 53. The input data may be a numerical value or may be an instruction for a predetermined process such as arithmetic processing. In the case of an instruction for a predetermined process, the data of the processing result can be stored in the memory 61 and reflected on the display unit 53. Next, in step S54, the CPU 59 transfers the updated content (input data or processing result data) to the calculator 10 via the communication unit 57 using it as a key code. As a result, in the calculator 10, step S1 is executed. Next, the CPU 59 returns to the process of step S51.

[0061] If it is determined in step S52 that no input has been made, the CPU 59 proceeds to the process of step S55. In step S55, the CPU 59 checks whether the data acquired in step S51 was received from the calculator 10.

[0062] If it is determined in step S55 that the data was received from the calculator 10, the CPU 59 proceeds to the process of step S56. In step S56, the CPU 59 updates the state of the smartphone 50. For example, the CPU 59 stores the received data in the memory 61 and reflects it on the display unit 53. Next, the CPU 59 returns to the process of step S51.

[0063] If it is determined in step S55 that the data has not been received from the calculator 10, the CPU 59 proceeds to the process of step S57. In step S57, the CPU 59 performs other processes. Here, for example, the CPU 59 changes the font size of the value displayed on the display unit 53, switches the usage mode of the smartphone 50 to the calculator mode and causes the calculator key layout to be displayed on the display unit 53, returns the display content on the display unit 53 from the currently displayed first content to the second content that was displayed before the first content, clears the input data and received data already stored in the memory 61, and so on. Next, the CPU 59 returns to the process of step S51.

[0064] Returning to FIG. 3B, the description of the operation of the calculator 10 is continued. In step S12, if it is determined that the [MR] key has not been pressed, the CPU 19 proceeds to the process of step S14. In step S14, the CPU 19 checks whether the data acquired in step S1 above has received the data transferred from the smartphone 50 in step S54. In step S14, if it is determined that the acquired data has been received from the smartphone 50, the CPU 19 proceeds to the process of step S15. In step S15, the CPU 19 performs the received data control process described later. Then, the CPU 19 returns to the process of step S4.

[0065] Note that in step S14, if it is determined that the acquired data has not been received from the smartphone 50, the CPU 19 proceeds to the process of step S16. In step S16, the CPU 19 performs other processes. Here, for example, in response to the [GT] key within the memory key 11g being pressed, the CPU 19 stores the numerical value stored in the GT independent memory storage area 27 in the set input area 25 and the set storage area 33.

[0066] Next, the received data control process of step S15 above will be described. FIG. 6 is a flowchart showing the received data control process. Here, the received data will be described as being, for example, a numerical value.

[0067] In step S31, the CPU 19 clears (erases) the numerical value already stored in the key transfer memory storage area 31. As a result, the key transfer memory storage area 31 stores "0".

[0068] Next, in step S32, the CPU 19 temporarily stores the numerical value, which is the received data transferred from the smartphone 50, in the set value input area 25.

[0069] Next, in step S33, the CPU 19 checks whether the display unit 13 can display the numerical value stored in the set value input area 25. For example, the CPU 19 checks whether the number of digits of the numerical value is within the displayable number of digits.

[0070] If it is determined in step S33 that the display unit 13 can display the numerical value stored in the set value input area 25, the CPU 19 proceeds to the process of step S34. In step S34, the CPU 19 stores the numerical value stored in the set value input area 25 in the key transfer memory storage area 31. That is, in step S34, the "0" stored in the key transfer memory storage area 31 in step S31 is overwritten with the numerical value stored in the set value input area 25 in step S32. Thereafter, the CPU 19 proceeds to the process of step S35.

[0071] Also, if it is determined in step S33 that the display unit 13 cannot display the numerical value stored in the set value input area 25, the CPU 19 proceeds to the process of step S35. When thus proceeding from the process of step S33 to the process of step S35, the numerical value stored in the set value input area 25 is not stored in the key transfer memory storage area 31, and the key transfer memory storage area 31 remains storing "0".

[0072] In step S35, the CPU 19 performs the second MR key process. In this second MR key process, the CPU 19 causes the numerical value stored in the key transfer memory storage area 31 to be stored in the setting storage area 33 as a setting value, and also stores it in the setting input area 25. That is, when the process proceeds in the order of steps S33, S34, and S35, the numerical value transferred from the smartphone 50 is stored in the key transfer memory storage area 31 from the setting input area 25 and then stored in the setting storage area 33 and the setting input area 25. On the other hand, when the process proceeds in the order of steps S33 and S35, the numerical value stored in the setting input area 25 is not transferred to the key transfer memory storage area 31, and the "0" stored in the key transfer memory storage area 31 is stored in the setting storage area 33 and the setting input area 25. Here, "storing in the setting input area 25" in step S35 means overwriting the numerical value already stored in the setting input area 25 with the numerical value stored in the key transfer memory storage area 31. After that, the CPU 19 proceeds to the process of step S36.

[0073] In step S36, the CPU 19 checks whether it has determined in step S33 that the display unit 13 can display the numerical value stored in the setting input area 25. If it has determined that it can be displayed, the CPU 19 ends the received data control process of step S15 and returns to the process of step S4. If it has not determined that it can be displayed, the CPU 19 proceeds to the process of step S37.

[0074] In step S37, the CPU 19 again causes the numerical value received from the smartphone 50 and held in step S1 to be directly stored in the setting input area 25. Next, in step S38, the CPU 19 sets the display operation of the display unit 13 so that the display unit 13 does not display the decimal point of the least significant digit, and ends the received data control process of step S15. After that, the CPU 19 returns to the process of step S4 and operates the display unit 13 according to the setting content of the display operation of the display unit 13.

[0075] Next, the storage procedures for each area of the memory 21 according to the received data from the smartphone 50 and the input data from the key input unit 11 will be described using an example. The storage procedures (A) to (D) in FIG. 7 show the storage procedures in the received data control process of step S15. Specifically, they show the stored contents of each area when the numerical value "1234" is input from the smartphone 50 as a numerical value. The storage procedures (E) to (H) in FIG. 7 show the stored contents of each area when the keys "+", "5", "6", and "=" are sequentially pressed in the key input unit 11 after the received data control process. As an initial state, it is assumed that "0" is stored in the setting input area 25 and the setting storage area 33. Also, as an initial state, it is assumed that a predetermined value (numerical value) is stored in the key transfer memory storage area 31. Further, as an initial state, it is assumed that the operator information area 35 is in a state where nothing is stored.

[0076] In the calculator 10, when receiving the numerical data "1234" from the smartphone 50 (step S14: Yes), in the storage procedure (A) of FIG. 7, the CPU 19 stores "0" in the key transfer memory storage area 31 by clearing the numerical value stored in the key transfer memory storage area 31. (Step S31).

[0077] Next, in the storage procedure (B) of FIG. 7, the CPU 19 stores the received and held "1234" in the setting input area 25 (step S32). Here, it is assumed that "1234" is determined to be a numerical value that can be displayed on the display unit 13 (step S33: Yes).

[0078] In the storage procedure (C) of FIG. 7, the CPU 19 causes the "1234" stored in the setting input area 25 to be stored in the key transfer memory storage area 31 (step S34).

[0079] In the storage procedure (D) of FIG. 7, the CPU 19 stores "1234" stored in the key transfer memory storage area 31 in the set input area 25 and the set storage area 33 (step S35). Since it is determined that "1234" is a numerical value that can be displayed on the display unit 13 (step S36: Yes), the CPU 19 proceeds to the process of step S4 and causes the "1234" stored in the set input area 25 to be displayed on the display unit 13. In this case, since "1234" is received data from the smartphone 50, there is no need to perform the transfer to the smartphone 50 in the process of step S5, and the process proceeds to the process of step S1.

[0080] In the storage procedure (E) of FIG. 7, when the "+" key of the key input unit 11 is pressed, the CPU 19 acquires the input data (step S1) and stores the operator "+", in the operator information area 35 (step S9). At this time, "1234", "1234", and "1234" are still stored in the set input area 25, the set storage area 33, and the key transfer memory storage area 31, respectively.

[0081] In the storage procedure (F) of FIG. 7, when the "5" key of the key input unit 11 is pressed, the CPU 19 acquires the input data (step S1) and stores "5" in the set input area 25 (step S7).

[0082] In the storage procedure (G) of FIG. 7, when the "6" key of the key input unit 11 is pressed, the CPU 19 acquires the input data (step S1) and stores "6" in the set input area 25 (step S7). Since "5" is already stored in the set input area 25, "56" is stored in the set input area 25.

[0083] In the storage procedure (H) of FIG. 7, when the "=" key of the key input unit 11 is pressed, the CPU 19 acquires the input data (step S1), stores "=" in the operator information area 35, and performs an operation (here, addition) using "1234" stored in the setting storage area 33 and "56" stored in the setting input area 25, calculates the operation result "1290", and stores this in the setting input area 25 and the setting storage area 33 (step S9). At this time, "1234" remains stored in the key transfer memory storage area 31.

[0084] Next, another example will be used to explain the storage procedure for each area of the memory 21 according to the received data from the smartphone 50 and the input data from the key input unit 11. Since the storage procedures (A) to (D) in FIG. 8 are the same as the storage procedures (A) to (D) in FIG. 7, the description thereof is omitted. The storage procedures (E) to (G) in FIG. 8 show the storage procedures for each area when the keys "5", "6", and "=" are sequentially pressed at the key input unit 11 after the received data control process in step S15. That is, FIG. 8 is missing the storage procedure (E) in FIG. 7.

[0085] In the storage procedure (E) of FIG. 8, when the "5" key of the key input unit 11 is pressed, the CPU 19 acquires the input data (step S1) and stores "5" in the setting input area 25 (step S7). At this time, "1234" remains stored in the setting storage area 33 and the key transfer memory storage area 31. Also, the operator information area 35 remains in a state where nothing is stored.

[0086] When the "6" key on the key input unit 11 is pressed in the storage procedure (F) of FIG. 8, the CPU 19 acquires the input data (step S1) and stores "6" in the set input area 25 (step S7). Since "5" is already stored in the set input area 25, "56" is stored in the set input area 25. At this time, "1234" and "1234" are still stored in the set storage area 33 and the key transfer memory storage area 31, respectively. Also, the operator information area 35 remains in a state where nothing is stored.

[0087] When the "=" key on the key input unit 11 is pressed in the storage procedure (G) of FIG. 8, the CPU 19 acquires the input data (step S1), stores "=" in the operator information area 35, and determines the set numbers for the calculation (step S9). In this case, in step S9, "56" stored in the set input area 25 is not calculated with respect to "1234" stored in the set storage area 33, and the CPU 19 determines "56" stored in the set input area 25 as the set numbers and stores it in the set storage area 33 (step S9).

[0088] As described above, the CPU 19 of the present embodiment temporarily stores the value (numerical value) transferred from the smartphone 50 in the key transfer memory storage area 31, and then stores the value stored in the key transfer memory storage area 31 in the set storage area 33 and performs the process of storing it in the set input area 25. Since the transferred value (numerical value) is stored in the set input area 25, the transferred value (numerical value) can be visually recognized on the display unit 13. Also, since the value (numerical value) transferred from the smartphone 50 is also stored in the set storage area 33, the transferred value (numerical value) is determined as the set numbers used for the calculation performed by the calculator 10. Therefore, even if a calculation is performed on the transferred value (numerical value) by the calculator 10, the correct calculation can be executed.

[0089] In addition, when it is determined by the CPU 19 that the value (numerical value) transferred from the smartphone 50 can be displayed on the display unit 13 as the value stored in the setting input area 25, the value is temporarily stored in the key transfer memory storage area 31 before being processed. Therefore, the transferred value (numerical value) can be separated from the values stored in the M independent memory storage area 29 and the GT independent memory storage area 27, preventing confusion between the transferred value (numerical value) and the stored values when calculations are performed on the calculator 10, and enabling the calculation result to match the display content on the display unit 13.

[0090] In addition, when it is determined by the CPU 19 that the value (numerical value) transferred from the smartphone 50 can be displayed on the display unit 13 as the value stored in the setting input area 25, the value is automatically stored in the setting storage area 33 and the setting input area 25 without operating the key input unit 11. Therefore, the user of the calculator 10 can concentrate on the calculation operation.

[0091] As described above, the CPU 19 performs a process of temporarily storing the value (numerical value) transferred from the smartphone 50 in the setting input area 25. Generally, the CPU 19 performs a process of storing the value input from the key input unit 11 in the setting input area 25. Therefore, the process of storing the transferred value (numerical value) in the setting input area 25 and the process of storing the value input from the key input unit 11 in the setting input area 25 can be made common as a process of storing the value input to the calculator 10 in the setting input area 25, simplifying the program of the calculator 10 and reducing the burden on the CPU 19 during operation.

[0092] As described above, before storing the value (numerical value) transferred from the smartphone 50 in the key transfer memory storage area 31, the CPU 19 performs a process of clearing the value stored in the key transfer memory storage area 31. For this reason, the value (numerical value) that has already been transferred from the smartphone 50 to the calculator 10 (transferred until the previous communication) will not be used for calculations on the calculator 10.

[0093] Also, as described above, the CPU 19 performs a process of determining whether the value stored in the setting input area 25 can be displayed on the display unit 13. If it can be displayed, the value stored in the setting input area 25 is stored in the key transfer memory storage area 31. If it cannot be displayed, the process of not storing the value stored in the setting input area 25 in the key transfer memory storage area 31 is performed. Therefore, only the values that can be displayed on the display unit 13 among the values (numerical values) transferred from the smartphone 50 can be used for the calculation. For example, when the value (numerical value) transferred from the smartphone 50 is calendar information, it is not stored in the key transfer memory storage area 31, so unnecessary processing in the calculator 10 is not performed.

[0094] Also, the process of storing the value stored in the key transfer memory storage area 31 in the setting storage area 33 and the setting input area 25 is the same as the process of storing the numerical value stored in the M independent memory storage area 29 in the setting input area 25 and the setting storage area 33. This can simplify the program of the calculator 10 and reduce the burden on the CPU 19 during operation.

[0095] In the above description, the value (numerical value) transferred from the smartphone 50 to the calculator 10 is first stored in the setting input area 25, and then when the CPU 19 determines that the numerical value stored in the setting input area 25 can be displayed on the display unit 13, it is described as being stored in the key transfer memory storage area 31. However, it may be directly stored in the key transfer memory storage area 31 without being stored in the setting input area 25. This can quickly store the transferred value (numerical value) in the key transfer memory storage area 31 and reduce the burden on the CPU 19 during operation.

[0096] Also, although the setting storage area 33 has been described as storing only one piece of data, the setting storage area 33 may be divided into a plurality of areas, and data may be stored in each area respectively.

[0097] [Second Embodiment] The following describes the second embodiment. In this embodiment, the points different from the first embodiment will mainly be described.

[0098] FIG. 9 is a front view showing the external configurations of the calculator 10 and the smartphone 50 according to this embodiment. In this embodiment, it is different from the first embodiment in that a days switching key 41 is further provided in the key input unit 11 of the calculator 10.

[0099] A days calculation application is installed in the smartphone 50. This days calculation application causes the CPU 59 of the smartphone 50 to calculate the number of days 75 (1057 days) between the start date 71 (for example, September 1, 2017) and the end date 73 (for example, July 24, 2020), which are the reference dates input by the touch panel 51 or the numeric keys 11a of the calculator 10 as in the aforementioned first embodiment. The CPU 59 can also calculate the result of converting the number of days 75 into, for example, the number of weeks (151 weeks + 0 days), the number of months (34 months + 23 days), the number of years (2 years + 327 days), and the number of years and months (2 years + 10 months + 23 days). The smartphone 50 can transmit the reference date data including the reference date and the calculated number of days 75 to the calculator 10. The number of days 75 transmitted to the calculator 10 is used as the value stored in the setting storage area 33.

[0100] The CPU 19 of the calculator 10 according to this embodiment can perform operations (addition or subtraction) on the number of days 75 received from the smartphone 50 in response to an input from the key input unit 11, or perform date calculations based on the reference date data in response to the pressing of the days switching key 41 of the key input unit 11.

[0101] FIG. 10 is a block diagram showing the configuration of the electronic circuits of the calculator 10 and the smartphone 50 shown in FIG. 9. This is different from the first embodiment in that a reference date storage area 37 for storing the reference date data received from the smartphone 50 is added to the memory 21 of the calculator 10. When the calculator 10 receives the reference date data from the smartphone 50, the reference date storage area 37 stores the received reference date data.

[0102] FIG. 11 is a flowchart showing the date calculation process in the calculator 10 according to this embodiment. This date calculation can be incorporated, for example, into the other processes shown in step S16 in the first embodiment.

[0103] In step S71, the CPU 19 checks whether the number-of-days switching key 41 of the key input unit 11 has been pressed.

[0104] If it is determined in step S71 that the number-of-days switching key 41 has been pressed, the CPU 19 proceeds to the process of step S72. In step S72, the CPU 19 receives the reference date data from the smartphone 50. Next, in step S73, the CPU 19 stores the received reference date data in the reference date storage area 37 of the memory 21. In step S74, for example, the CPU 19 performs a date calculation to add or subtract the set value stored in the set value storage area 33 with respect to the reference date. Subtraction indicates how many days before the reference date, and addition indicates how many days after the reference date. In step S75, the CPU 19 stores the date (year, month, and day) calculated by the date calculation in the set value input area 25 and the set value storage area 33. Thereafter, the CPU 19 returns to the process of step S4, thereby enabling the calculated year, month, and day to be displayed on the display unit 13.

[0105] If it is determined in step S71 that the number-of-days switching key 41 has not been pressed, the CPU 19 proceeds to the process of step S76. In step S76, the CPU 19 performs other processes.

[0106] Next, the storage procedures for each area of the memory 21 according to the received data from the smartphone 50 and the input data from the key input unit 11 will be described using an example. The storage procedures (A) to (D) in FIG. 12 show the stored contents in the received data control process of step S15. The storage procedures (E) to (H) in FIG. 12 show the stored contents when subtraction is performed on the number of received days. The stored contents shown in the storage procedures (A) to (H) in FIG. 12 are basically the same as the stored contents shown in the storage procedures (A) to (H) in FIG. 7, but the only difference is that the received data or input data "1234", "+", and "56" in the storage procedures (A) to (H) in FIG. 7 are changed to "1057", "-", and "75". Since the processes executed in each step of the stored contents shown in the storage procedures (A) to (H) in FIG. 12 are the same as those in the first embodiment, the description will be omitted. The storage procedures (I) to (J) in FIG. 12 show the stored contents of each area when the number-of-days switching key 41 is pressed and the date is calculated. Hereinafter, the contents after the storage procedure (I) after the storage procedure (H) in FIG. 12 will be described.

[0107] If it is determined that the number-of-days switching key 41 of the key input unit 11 has been pressed (step S71: Yes), the CPU 19 receives reference date data indicating the reference date "2017-9-1" from the smartphone 50 in the storage procedure (I) in FIG. 12 (step S72), and stores the reference date (2017-9-1) in the reference date storage area 37 (step S73).

[0108] Next, the CPU 19 performs a date calculation to show how many days after the set value "982" stored in the set value storage area 33 is from the reference date "2017-9-1" stored in the reference date storage area 37 (step S74). Then, in the storage procedure (J) in FIG. 12, the CPU 19 stores the "2020-5-10" calculated by the date calculation in the set value input area 25 and the set value storage area 33 (step S75).

[0109] As described above, the CPU 19 of the present embodiment performs a process of calculating (adding or subtracting) a date based on the set value stored in the set value storage area 33 and the reference date, and stores the calculated date in the set value input area 25 and the set value storage area 33. When the value (numerical value) transferred from the smartphone 50 to the calculator 10 is stored in the set value storage area 33, the transferred value (numerical value) is determined as the set value used for the calculation performed by the calculator 10. Therefore, even if an operation is performed on the transferred value (numerical value) and a date calculation is further performed on the operation result in the calculator 10, a correct date calculation can be executed.

[0110] Note that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist thereof at the implementation stage. Also, each embodiment may be implemented in appropriate combination, and in that case, the combined effects can be obtained. Furthermore, the above-described embodiment includes various inventions, and various inventions can be extracted by combinations selected from a plurality of disclosed constituent elements. For example, even if some constituent elements are deleted from all the constituent elements shown in the embodiment and the problem can be solved and the effect can be obtained, the configuration from which these constituent elements are deleted can be extracted as an invention.

[0111] The invention described in the original claims of the present application is appended below. [1] A key input unit including an input key, A communication unit for communicating with an external device, A memory having a set value input area for storing at least the numerical value input from the key input unit for display, a key transfer memory storage area for storing at least the numerical value transferred from the external device, and a set value storage area for storing the determined set value used for calculation, A processor that, after storing the value transferred from the external device in the key transfer memory storage area, stores the value stored in the key transfer memory storage area in the set value storage area and also stores it in the set value input area, An electronic device comprising the same. [2] The electronic device according to [1], further comprising a display unit that displays the value stored in the setting input area. [3] The electronic device according to [2], wherein the processor performs a process of transferring the value stored in the setting input area to the key transfer memory storage area after temporarily storing the value transferred from the external device in the setting input area. [4] The processor performs a process of clearing the value stored in the key transfer memory storage area before storing the value transferred from the external device in the key transfer memory storage area, performs a process of determining whether the display unit can display the value stored in the setting input area, if it can be displayed, stores the value stored in the setting input area in the key transfer memory storage area, and if it cannot be displayed, does not store the value stored in the setting input area in the key transfer memory storage area. The electronic device according to [3]. [5] The memory further has an independent memory storage area in which numerical values are stored, The processor stores, in response to an input from the memory storage key of the key input unit, the numerical value obtained by processing the numerical value stored in the setting input area in the independent memory storage area, and in response to an input from the memory read key of the key input unit, performs a process of storing the numerical value stored in the independent memory storage area in the setting input area and the setting storage area. The process of storing the value stored in the key transfer memory storage area in the setting storage area and the setting input area is the same as the process of storing the numerical value stored in the independent memory storage area in the setting input area and the setting storage area. The electronic device according to [1]. [6] The memory further has a reference date storage area in which a reference date is stored, The processor performs a process of calculating a date based on the set value stored in the set value storage area and the reference date, and stores the calculated date in the set value input area and the set value storage area. The electronic device according to [1]. [7] The input key is a hardware key. The electronic device according to [1]. [8] The external device is a smart device. The electronic device according to [1]. [9] A control method for an electronic device including a key input unit having an input key, a communication unit for communicating with an external device, a set value input area for storing at least a numerical value input from the key input unit for display, a key transfer memory storage area for storing at least a numerical value transferred from the external device, and a memory having a set value storage area for storing a determined set value used in an operation, and a processor for controlling the key input unit, the communication unit, and the memory, storing, by the processor, a value transferred from the external device in the key transfer memory storage area, storing, by the processor, the value stored in the key transfer memory storage area in the set value storage area and in the set value input area, A control method including.

[10] A control program for an electronic device including a key input unit having an input key, a communication unit for communicating with an external device, a memory, and a processor, causing the value transferred from the external device to be stored in the key transfer memory storage area of the memory, causing the value stored in the key transfer memory storage area to be stored in the set value storage area of the memory in which a determined set value used in an operation is stored, and in the set value input area of the memory in which at least a numerical value input from the key input unit for display is stored, A control program for an electronic device that causes a computer to execute.

Explanation of Symbols

[0112] 10…Calculator, 11…Key input section, 13…Display section, 17…Communication section, 19…CPU, 21…Memory, 23…Calculation processing program, 25…Area for setting input, 27…GT independent memory storage area, 29…M independent memory storage area, 31…Memory storage area for key transfer, 33…Setting storage area, 35…Operator information area, 37…Reference date storage area, 50…Smartphone, 51…Touch panel, 53…Display section, 57…Communication section, 59…CPU, 61…Memory.

Claims

1. a key for instructing the execution of an operation, a communication unit for communicating with an external device, in response to determining that a first numerical value has been received from the external device after a key operation for instructing synchronization with the external device has been performed on the communication unit before the execution instruction of the operation by the key, storing the first numerical value in a storage unit, in response to determining that a second numerical value has been received from the synchronized external device after the execution instruction of the operation by the key, storing the second numerical value in the storage unit, a control unit that performs an operation instructed by the execution instruction of the operation by the key using the first numerical value and the second numerical value stored in the storage unit, An electronic device comprising the above.

2. The electronic device according to claim 1, wherein at least one of the first numerical value and the second numerical value is a numerical value that can be displayed on a display unit of the electronic device.

3. The first numerical value is a set value in the calculation of the number of days, the second numerical value is a reference date in the calculation of the number of days, and the operation is a process of calculating a date based on the set value and the reference date. The electronic device according to claim 1.

4. The key is a hardware key. The electronic device according to claim 1.

5. The external device is a smart device. The electronic device according to claim 1.

6. a key for instructing the execution of an operation, a communication unit for communicating with an external device, and a storage unit, A control method for an electronic device comprising: a step of storing the first numerical value in the storage unit in response to determining that a first numerical value has been received from the external device after a key operation for instructing synchronization with the external device has been performed on the communication unit before the execution instruction of the operation by the key; a step of storing the second numerical value in the storage unit in response to determining that a second numerical value has been received from the synchronized external device after the execution instruction of the operation by the key; a step of performing an operation instructed by the execution instruction of the operation by the key using the first numerical value and the second numerical value stored in the storage unit; A control method for an electronic device, characterized by including the above.

7. a key for instructing the execution of an operation, a communication unit for communicating with an external device, and a storage unit, In a computer of an electronic device comprising the above, Before the execution instruction of the operation by the key, in response to determining that a key operation for instructing synchronization with the external device has been performed on the communication unit and then the first numerical value has been received from the external device, storing the first numerical value in the storage unit; After the execution instruction of the operation by the key, in response to determining that the second numerical value has been received from the synchronized external device, storing the second numerical value in the storage unit; Performing the operation instructed by the execution instruction of the operation by the key, using the first numerical value and the second numerical value stored in the storage unit; A control program for an electronic device for causing the above to be executed.

Citation Information

Patent Citations

  • Electronic Device, Method For Controlling Display Of Variable, And Recording Medium Recording Variable Display Controlling Program

    CN104933006A

  • Method for destination setting for a navigation system

    EP1944724A1

  • JP1977056535U

  • Calendar information display system

    JP1980000919A

  • Calender information display system

    JP1980003001A