JP2023001311A - Electronic device, input support method, and program - Google Patents

Electronic device, input support method, and program Download PDF

Info

Publication number
JP2023001311A
JP2023001311A JP2022179936A JP2022179936A JP2023001311A JP 2023001311 A JP2023001311 A JP 2023001311A JP 2022179936 A JP2022179936 A JP 2022179936A JP 2022179936 A JP2022179936 A JP 2022179936A JP 2023001311 A JP2023001311 A JP 2023001311A
Authority
JP
Japan
Prior art keywords
display
numerical value
tax
key
calculation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2022179936A
Other languages
Japanese (ja)
Other versions
JP7416174B2 (en
Inventor
博明 吉澤
Hiroaki Yoshizawa
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2022179936A priority Critical patent/JP7416174B2/en
Publication of JP2023001311A publication Critical patent/JP2023001311A/en
Application granted granted Critical
Publication of JP7416174B2 publication Critical patent/JP7416174B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a computer configured to allow a specific numerical value used in a specific calculation to be modified through a simple operation, and a computing program.
SOLUTION: A computer 1 includes: a determination unit which determines, when a first numerical value is input, by which operation an operation key has been operated, first operation method or second operation method; and a control unit which executes a specific calculation, when a determination is made that the operation key has been operated by the first operation method, on the first numerical value using a second numerical value set as an argument, or controls the first numerical value to be set as an argument when a determination is made that the operation key has been operated by the second operation method.
SELECTED DRAWING: Figure 1
COPYRIGHT: (C)2023,JPO&INPIT

Description

本発明は、計算機及び計算プログラムに関する。 The present invention relates to a calculator and a calculation program.

卓上計算機等の計算機には、予め設定された特定の数値を用いて特定の計算を実施する機能を有しているものがある。このような機能は、例えば消費税の計算機能を含む。消費税の計算では、計算が実行されると、予め設定されている消費税率が呼び出され、入力された金額に対する税込価格又は税抜価格が計算される。 2. Description of the Related Art Some calculators such as desktop calculators have a function of performing specific calculations using preset specific numerical values. Such functions include, for example, a consumption tax calculation function. In the consumption tax calculation, when the calculation is executed, a preset consumption tax rate is called up, and the tax-included price or the tax-excluded price for the input amount is calculated.

特開2001-109721号公報Japanese Patent Application Laid-Open No. 2001-109721

消費税の計算等の特定の計算に用いられる消費税率等は、法律の改正等によって変更され得る。このため、特定の計算に用いられる特定の数値は、適宜に変更できることが望ましい。また、このような変更は、より簡易な操作によって行われることが望まれている。 Consumption tax rates, etc., used for specific calculations, such as consumption tax calculations, may be changed due to amendments to laws, etc. Therefore, it is desirable that specific numerical values used in specific calculations can be changed as appropriate. Moreover, it is desired that such a change be performed by a simpler operation.

本発明は、簡易な操作によって特定の計算に用いられる特定の数値を変更することが可能な計算機及び計算プログラムを提供することを目的とする。 SUMMARY OF THE INVENTION An object of the present invention is to provide a computer and a calculation program capable of changing specific numerical values used for specific calculations by simple operations.

本発明の第1の態様の計算機は、第1の数値が入力された後、操作キーが第1の操作方法と第2の操作方法との何れで操作されたかを判定する判定部と、操作キーが第1の操作方法で操作されたと判定されたときには、引数として設定されている第2の数値を用いて第1の数値に対する特定の計算を実施し、操作キーが第2の操作方法で操作されたと判定されたときには、引数として第1の数値を設定する、ように制御する制御部とを具備する。 A computer according to a first aspect of the present invention includes a determination unit that determines whether an operation key is operated by a first operation method or a second operation method after a first numerical value is input; When it is determined that the key has been operated in the first operation method, the second numerical value set as the argument is used to perform a specific calculation on the first numerical value, and the operation key is operated in the second operation method. a control unit for setting a first numerical value as an argument when it is determined that the operation has been performed.

本発明の第2の態様の計算プログラムは、第1の数値が入力された後、操作キーが第1の操作方法と第2の操作方法との何れで操作されたかを判定することと、操作キーが第1の操作方法で操作されたと判定されたときには、引数として予め設定されている第2の数値を用いて第1の数値に対する特定の計算を実施することと、操作キーが第2の操作方法で操作されたと判定されたときには、引数としての第2の数値を第1の数値で更新することとをプロセッサに実行させる。 A calculation program according to a second aspect of the present invention determines whether an operation key is operated by a first operation method or a second operation method after a first numerical value is input; When it is determined that the key has been operated by the first operation method, a second numerical value preset as an argument is used to perform a specific calculation on the first numerical value, and the operation key is operated by the second numerical value. updating the second numerical value as the argument with the first numerical value when it is determined that the operation method has been operated.

本発明によれば、簡易な操作によって特定の計算に用いられる特定の数値を変更することが可能な計算機及び計算プログラムを提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the calculator and calculation program which can change the specific numerical value used for specific calculation by simple operation can be provided.

図1は、各実施形態に係る計算機の構成の一例を示す図である。FIG. 1 is a diagram showing an example of the configuration of a computer according to each embodiment. 図2は、計算機の外観正面図である。FIG. 2 is an external front view of the computer. 図3は、第1の実施形態の計算機の税計算の処理を示すフローチャートである。FIG. 3 is a flow chart showing tax calculation processing of the computer of the first embodiment. 図4は、第1の実施形態における税率の設定時のディスプレイの表示について示した図である。FIG. 4 is a diagram showing display on the display when the tax rate is set according to the first embodiment. 図5は、第1の実施形態における税計算の実施時のディスプレイの表示について示した図である。FIG. 5 is a diagram showing display on the display during tax calculation according to the first embodiment. 図6は、第2の実施形態の計算機の税計算の処理を示すフローチャートである。FIG. 6 is a flow chart showing tax calculation processing of the computer of the second embodiment. 図7は、第2の実施形態における税率の設定時のディスプレイの表示について示した図である。FIG. 7 is a diagram showing a display when setting the tax rate in the second embodiment.

以下、本発明の実施形態について、図面を参照して説明する。
[第1の実施形態]
図1は、各実施形態に係る計算機1の構成の一例を示す図である。計算機1は、プロセッサ11と、メモリ12と、操作キー13と、ディスプレイドライバ(DD)14と、ディスプレイ15とを有している。計算機1は、卓上計算機、所謂電卓であってよい。計算機1は、電卓以外の数値の計算機能を有する各種の電子機器であってもよい。また、計算機1は、図1で示した以外の構成を有していてもよい。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[First embodiment]
FIG. 1 is a diagram showing an example of the configuration of a computer 1 according to each embodiment. The computer 1 has a processor 11 , a memory 12 , operation keys 13 , a display driver (DD) 14 and a display 15 . The calculator 1 may be a desktop calculator, a so-called calculator. Calculator 1 may be various electronic devices having numerical calculation functions other than calculators. Also, the computer 1 may have a configuration other than that shown in FIG.

プロセッサ11は、計算機1の各種動作を制御するプロセッサである。プロセッサ11は、CPU、ASIC、FPGA等であってよい。また、プロセッサ11は、2つ以上のプロセッサで構成されていてもよい。プロセッサ11は、操作キー13のうちの特定の操作キーの操作方法を判定する判定部として動作する。また、プロセッサ11は、特定の操作キーの操作方法に応じて実行する処理を変える制御部として動作する。 The processor 11 is a processor that controls various operations of the computer 1 . Processor 11 may be a CPU, ASIC, FPGA, or the like. Also, the processor 11 may be composed of two or more processors. The processor 11 operates as a determination unit that determines how to operate a specific operation key among the operation keys 13 . Also, the processor 11 operates as a control unit that changes the processing to be executed according to the operation method of a specific operation key.

メモリ12は、RAM及びROMを含む。RAMは、揮発性のメモリである。RAMは、プロセッサ11における各種のデータを一時記憶するための作業メモリ等に用いられる。ROMは、不揮発性のメモリである。ROMには、各種の計算機能を実行するための計算プログラム等の各種プログラムが記憶されている。また、ROMには、数値計算等に用いられる各種の特定の数値等が引数として記憶されている。この特定の数値は、例えば税計算に用いられる税率の値を含む。 Memory 12 includes RAM and ROM. RAM is volatile memory. The RAM is used as a work memory or the like for temporarily storing various data in the processor 11 . ROM is non-volatile memory. Various programs such as a calculation program for executing various calculation functions are stored in the ROM. The ROM also stores various specific numerical values used for numerical calculations as arguments. This particular numerical value includes, for example, a tax rate value used for tax calculation.

操作キー13は、ユーザが計算機1を操作するための各種のキーである。操作キー13を用いた操作が受け付けられたとき、その操作に応じた入力信号がプロセッサ11に伝達される。 The operation keys 13 are various keys for the user to operate the computer 1 . When an operation using operation key 13 is accepted, an input signal corresponding to the operation is transmitted to processor 11 .

ディスプレイドライバ14は、プロセッサ11の制御の下、ディスプレイ15を駆動する。ディスプレイドライバ14は、ディスプレイ15の駆動に必要な各種の信号をディスプレイ15に送出する。 Display driver 14 drives display 15 under the control of processor 11 . The display driver 14 sends various signals necessary for driving the display 15 to the display 15 .

ディスプレイ15は、液晶ディスプレイ等の表示部である。ディスプレイ15は、電卓機能に係る各種の表示をする。 The display 15 is a display unit such as a liquid crystal display. The display 15 provides various displays related to the calculator function.

図2は、計算機1の外観正面図である。図2に示すように、計算機1の筐体正面には、操作キー13とディスプレイ15とが設けられている。 FIG. 2 is an external front view of the computer 1. FIG. As shown in FIG. 2, operation keys 13 and a display 15 are provided on the front of the housing of the computer 1 .

操作キー13は、数値キーと、演算キーと、機能キーとを有している。数値キーは、数値を入力するためのキーであって、例えば0から9のそれぞれの数値に対応したキーを含む。演算キーは、四則演算の実施のためのキーであって、例えば+(加算)、-(減算)、×(乗算)、÷(除算)のそれぞれの演算子に対応したキーと、=(演算実行)キーとを含む。機能キーは、計算機1の各種機能の実施のためのキーであって、例えばオールクリアキー(ACキー)、クリアキー(Cキー)、メモリキー(MRCキー、M+キー、M-キー)を含む。さらに、実施形態では、操作キー13は、税計算キー131を含む。税計算キー131は、入力された数値に対して引数として予め設定された税率を用いた消費税計算を実施するためのキーである。税計算は、税込価格の計算と税抜価格の計算とを含む。また、税率は、法改正等によって変更され得る。このような税率の変更に対応した、税率の設定も税計算キー131を用いて行われる。 The operation keys 13 have numeric keys, operation keys, and function keys. Numerical keys are keys for inputting numerical values, and include keys corresponding to numerical values from 0 to 9, for example. The operation keys are keys for performing the four arithmetic operations, for example, keys corresponding to the operators + (addition), - (subtraction), × (multiplication), and ÷ (division), and = (operation execution) key. Function keys are keys for executing various functions of the computer 1, and include, for example, all clear key (AC key), clear key (C key), memory keys (MRC key, M+ key, M− key). . Furthermore, in the embodiment, the operation keys 13 include tax calculation keys 131 . The tax calculation key 131 is a key for performing consumption tax calculation using a preset tax rate as an argument for an input numerical value. Tax calculation includes calculation of price including tax and calculation of price without tax. In addition, the tax rate may be changed due to changes in laws, etc. The tax calculation key 131 is also used to set the tax rate corresponding to such a tax rate change.

図3は、第1の実施形態の計算機1の税計算の処理を示すフローチャートである。図3の処理は、メモリ12のROMに記憶された計算プログラムをプロセッサ11が実行することによって行われる。税計算の処理以外の計算機1の動作は、特に限定されない。例えば、プロセッサ11は、ユーザのキー操作に従って計算結果をディスプレイ15に表示させたり、メモリ機能等の各種の機能の処理を実施したりする。ここで、図3の処理を説明するに当たり、計算機1には何等かの数値が既に入力され、入力された数値がディスプレイ15に表示されているものとする。数値の入力は、数値キーによって行われ得る。 FIG. 3 is a flow chart showing tax calculation processing of the computer 1 of the first embodiment. The processing in FIG. 3 is performed by the processor 11 executing a calculation program stored in the ROM of the memory 12 . The operation of the calculator 1 other than tax calculation processing is not particularly limited. For example, the processor 11 causes the display 15 to display calculation results according to user's key operations, and performs processing of various functions such as a memory function. Here, in explaining the processing of FIG. 3, it is assumed that some numerical value has already been input to the computer 1 and the input numerical value is being displayed on the display 15 . Numerical input can be made by means of numeric keys.

ステップS1において、プロセッサ11は、税計算キー131が押されたか否かを判定する。ステップS1において、税計算キー131が押されていないと判定されたときには、図3の処理は終了する。ステップS1において、税計算キー131が押されたと判定されたときには、処理はステップS2に移行する。 At step S1, the processor 11 determines whether or not the tax calculation key 131 has been pressed. When it is determined in step S1 that the tax calculation key 131 has not been pressed, the process of FIG. 3 ends. When it is determined in step S1 that the tax calculation key 131 has been pressed, the process proceeds to step S2.

ステップS2において、プロセッサ11は、税計算キー131の押し込み時間の計測を開始する。押し込み時間は、例えば計算機1に設けられる図示しない時計によって計測されてよい。 In step S<b>2 , the processor 11 starts measuring the pressing time of the tax calculation key 131 . The pressing time may be measured by a clock (not shown) provided in the computer 1, for example.

ステップS3において、プロセッサ11は、ディスプレイ15の表示を消去する。ディスプレイ15の表示の消去の処理は、計算機1の通常の処理から税計算に係る処理に移行したことをユーザに認知させるための処理である。ディスプレイの表示の消去の処理は省略されてもよい。 At step S3, the processor 11 erases the display on the display 15. FIG. The process of erasing the display on the display 15 is a process for making the user aware that the normal processing of the computer 1 has shifted to the processing related to tax calculation. The process of erasing the display on the display may be omitted.

ステップS4において、プロセッサ11は、税計算キー131の押し込み時間の計測開始から所定時間が経過したか否かを判定する。この所定時間は、例えば2秒である。この所定時間は、任意に設定され得る。ステップS4において、所定時間が経過していないと判定されたときには、処理はステップS5に移行する。ステップS4において、所定時間が経過したと判定されたときには、処理はステップS8に移行する。なお、ステップS4の判定に代えて、税計算キー131が連続して押し込まれている回数が所定回数以上となったか否かが判定されることによって、後で説明する短押しと長押しの判定が行われてもよい。 In step S<b>4 , the processor 11 determines whether or not a predetermined time has passed since the start of measuring the pressing time of the tax calculation key 131 . This predetermined time is, for example, two seconds. This predetermined time can be set arbitrarily. When it is determined in step S4 that the predetermined time has not elapsed, the process proceeds to step S5. When it is determined in step S4 that the predetermined time has passed, the process proceeds to step S8. Instead of the determination in step S4, it is determined whether or not the number of times the tax calculation key 131 has been continuously pressed has exceeded a predetermined number of times. may be performed.

ステップS5において、プロセッサ11は、税計算キー131の押し込みが解除されたか否かを判定する。ステップS5において、税計算キー131の押し込みが解除されていないと判定されたときには、処理はステップS4に戻る。ステップS5において、税計算キー131の押し込みが解除されたと判定されたときには、処理はステップS6に移行する。 In step S5, the processor 11 determines whether or not the tax calculation key 131 has been released. If it is determined in step S5 that the tax calculation key 131 has not been released, the process returns to step S4. When it is determined in step S5 that the tax calculation key 131 has been released, the process proceeds to step S6.

ステップS6において、プロセッサ11は、税計算を実施する。具体的には、プロセッサ11は、予めROMに設定されている税率の値を呼び出し、この税率の値を用いて事前にユーザによって入力されている数値に対する税計算を実施する。その後、処理はステップS7に移行する。すなわち、税計算キー131の押し込み時間が所定時間よりも短い、短押しであるときには予め設定された税率を用いた税計算が実施される。ここで、税計算は、税込価格の計算と税抜価格の計算とを含む。税込価格の計算と税抜価格の計算の何れが実施されるかは、事前にユーザによって設定され得る。または、税計算キー131が税込計算キーと税抜計算キーとに分けられていてもよい。この場合、税込計算キーが押されたときには税込計算が実施され、税抜計算キーが押されたときには税抜計算が実施される。また、税計算の結果、端数が生じる場合がある。端数の処理として、切り上げ、切り捨て、四捨五入の何れを用いるかも事前にユーザによって設定され得る。さらには、国によっては複数の消費税率が使い分けられることもある。このため、税計算キー131は、消費税率毎の税計算を実施する複数の税計算キーに分けられていてもよい。この場合には、ROMには税計算キー毎の複数の税率が記憶される。そして、押された税計算キーに対応した税率を用いて税計算が実施される。なお、税計算キー131が税込計算キーと税抜計算キーとに分けられている場合であっても、消費税率毎の税計算を実施する複数の税計算キーに分けられている場合であっても、図3の処理は同様にして行われ得る。 At step S6, the processor 11 performs tax calculation. Specifically, the processor 11 calls up the tax rate value set in advance in the ROM, and uses this tax rate value to perform the tax calculation for the numerical value entered in advance by the user. After that, the process moves to step S7. That is, when the tax calculation key 131 is pressed for a short time, i.e., the tax calculation key 131 is pressed for a short time, tax calculation is performed using a preset tax rate. Here, tax calculation includes calculation of tax-inclusive price and calculation of tax-excluded price. Which of the tax-included price calculation and the tax-excluded price calculation is performed can be set in advance by the user. Alternatively, the tax calculation key 131 may be divided into a tax-included calculation key and a tax-excluded calculation key. In this case, tax-included calculation is performed when the tax-included calculation key is pressed, and tax-excluded calculation is performed when the tax-excluded calculation key is pressed. In addition, fractions may occur as a result of tax calculation. Whether to use rounding up, rounding down, or rounding off as fraction processing can be set in advance by the user. In addition, some countries use multiple consumption tax rates. Therefore, the tax calculation key 131 may be divided into a plurality of tax calculation keys for performing tax calculation for each consumption tax rate. In this case, the ROM stores a plurality of tax rates for each tax calculation key. Then, tax calculation is performed using the tax rate corresponding to the pressed tax calculation key. Note that even if the tax calculation key 131 is divided into a tax-inclusive calculation key and a tax-excluded calculation key, even if the tax calculation key 131 is divided into a plurality of tax calculation keys for performing tax calculation for each consumption tax rate, , the process of FIG. 3 can be similarly performed.

ステップS7において、プロセッサ11は、税計算の結果をディスプレイ15に表示させる。その後、図3の処理は終了する。 At step S7, the processor 11 causes the display 15 to display the result of the tax calculation. After that, the process of FIG. 3 ends.

ステップS8において、プロセッサ11は、事前に入力された数値を新たな税率の値に設定する。具体的には、プロセッサ11は、事前に入力された数値を用いてROMに記憶されている税率の値を更新する。その後、処理はステップS9に移行する。すなわち、税計算キー131の押し込み時間が所定時間よりも長い、長押しであるときには税率の値の設定が実施される。ここで、税計算キー131が消費税率毎の税計算を実施する複数の税計算キーに分けられているときには、押された税計算キーに対応した税率の値が更新される。 At step S8, processor 11 sets the previously entered numerical value to the value of the new tax rate. Specifically, the processor 11 updates the tax rate value stored in the ROM using the previously input numerical value. After that, the process moves to step S9. That is, when the tax calculation key 131 is pressed for a long time longer than a predetermined time, the tax rate value is set. Here, when the tax calculation key 131 is divided into a plurality of tax calculation keys for performing tax calculation for each consumption tax rate, the tax rate value corresponding to the pressed tax calculation key is updated.

ステップS9において、プロセッサ11は、税率の値の設定が実施されたことをユーザに認知させるための設定完了表示をディスプレイ15に表示させる。設定完了表示については後で説明する。 In step S9, the processor 11 causes the display 15 to display a setting completion display for letting the user recognize that the tax rate value has been set. The setting completion display will be described later.

ステップS10において、プロセッサ11は、ディスプレイ15の表示を消去する。その後、図3の処理は終了する。ディスプレイ15の表示の消去の処理は、税率の設定の処理から計算機1の通常の処理に移行したことをユーザに認知させるための処理である。 At step S10, the processor 11 erases the display on the display 15. FIG. After that, the process of FIG. 3 ends. The process of erasing the display on the display 15 is a process for making the user aware that the process of setting the tax rate has shifted to the normal process of the computer 1 .

図4は、第1の実施形態における税率の設定時のディスプレイ15の表示について示した図である。まず、税率の設定の前にユーザは、数値キーを操作して設定したい税率の値を入力する。このとき、図4のaで示すようにして、ユーザによって入力された数値151がディスプレイ15に表示される。例えば、図4のaでは、数値151として「8」が表示されている。 FIG. 4 is a diagram showing the display on the display 15 when setting the tax rate in the first embodiment. First, before setting the tax rate, the user operates the numeric keys to input the desired tax rate value. At this time, the numerical value 151 input by the user is displayed on the display 15 as shown in FIG. For example, "8" is displayed as the numerical value 151 in a of FIG.

続いて、ユーザは、税計算キー131を長押しする。税計算キー131が押された直後、図4のbで示すようにディスプレイ15の表示が消去される。 Subsequently, the user presses the tax calculation key 131 for a long time. Immediately after the tax calculation key 131 is pressed, the display on the display 15 is erased as shown in FIG. 4b.

その後、所定時間、例えば2秒間の税計算キー131の押し込みがされたことが判定されると、税率の設定が行われる。図4の例では、ROMに記憶されている税率の値が「8」(%)に更新される。その後、図4のcで示すように設定完了表示が行われる。設定完了表示では、新たに設定された税率の値、すなわち事前にユーザによって入力された数値151に加えて、税計算キー131が押されたことを示す「TAX」表示152と、税率の設定が行われたことを示す「SET%」表示153が表示される。このような設定完了表示により、ユーザは税率の設定がされたことを認知できる。税計算キー131が消費税率毎の税計算を実施する複数の税計算キーに分けられているときには、「TAX」表示152は、「TAX1」、「TAX2」、…、といったように、押された税計算キーに応じた異なる表示に変更されてもよい。 After that, when it is determined that the tax calculation key 131 has been pressed for a predetermined time, for example, two seconds, the tax rate is set. In the example of FIG. 4, the tax rate value stored in the ROM is updated to "8" (%). After that, as shown in FIG. 4c, a setting completion display is performed. In the setting completion display, in addition to the newly set tax rate value, that is, the numerical value 151 input by the user in advance, a "TAX" display 152 indicating that the tax calculation key 131 has been pressed, and the tax rate setting are displayed. A "SET %" display 153 is displayed to indicate that it has been done. Such a setting completion display allows the user to recognize that the tax rate has been set. When the tax calculation key 131 is divided into a plurality of tax calculation keys that perform tax calculation for each consumption tax rate, the "TAX" display 152 indicates "TAX1", "TAX2", . . . It may be changed to a different display according to the tax calculation key.

図4のcで示す設定完了表示の後、図4のdで示すようにディスプレイ15の表示が消去される。このようにして税率の設定が完了する。 After the setting completion display shown in FIG. 4c, the display on the display 15 disappears as shown in FIG. 4d. In this way, setting of the tax rate is completed.

図5は、第1の実施形態における税計算の実施時のディスプレイ15の表示について示した図である。まず、税計算の実施の前にユーザは、数値キーを操作して税計算を実施したい金額の数値を入力する。このとき、図5のaで示すようにして、ユーザによって入力された数値151がディスプレイ15に表示される。例えば、図5のaでは、数値151として「8」が表示されている。 FIG. 5 is a diagram showing the display on the display 15 during tax calculation according to the first embodiment. First, before the tax calculation, the user operates the numeric keys to input the amount of money for which the tax calculation is to be performed. At this time, the numerical value 151 input by the user is displayed on the display 15 as shown in FIG. For example, in FIG. 5a, "8" is displayed as the numerical value 151.

続いて、ユーザは、税計算キー131を長押しする。税計算キー131が押された直後、図5のbで示すようにディスプレイ15の表示が消去される。 Subsequently, the user presses the tax calculation key 131 for a long time. Immediately after the tax calculation key 131 is pressed, the display on the display 15 is erased as shown in FIG. 5b.

その後、所定時間が経過する前、例えば2秒が経過する前に税計算キー131の押し込みが解除されたことが判定されると、税計算が実施される。税計算の完了後、図5のcで示すようにして、税計算の計算結果がディスプレイ15に表示される。結果表示では、計算結果を表す数値154が表示される。図5のcでは、税率10%の計算結果を表す数値154が表示された例が示されている。なお、図5のcの例では、端数が切り上げ処理されている。さらに、結果表示では数値154に加えて、税計算キー131が押されたことを示す「TAX」表示152が表示される。税計算キー131が消費税率毎の税計算を実施する複数の税計算キーに分けられているときには、「TAX」表示152は、「TAX1」、「TAX2」、…、といったように、押された税計算キーに応じた異なる表示に変更されてもよい。 Thereafter, if it is determined that the pressing of the tax calculation key 131 is released before a predetermined time elapses, for example, before two seconds elapse, tax calculation is performed. After the tax calculation is completed, the calculation result of the tax calculation is displayed on the display 15 as shown in FIG. 5c. In the result display, a numerical value 154 representing the calculation result is displayed. FIG. 5c shows an example in which a numerical value 154 representing the calculation result of a tax rate of 10% is displayed. In addition, in the example of FIG. 5c, fractions are rounded up. Furthermore, in the result display, in addition to the numerical value 154, a "TAX" display 152 indicating that the tax calculation key 131 has been pressed is displayed. When the tax calculation key 131 is divided into a plurality of tax calculation keys that perform tax calculation for each consumption tax rate, the "TAX" display 152 indicates "TAX1", "TAX2", . . . It may be changed to a different display according to the tax calculation key.

以上説明したように第1の実施形態では、税計算キー131について複数の操作方法が割り当てられる。そして、税計算キー131の第1の操作方法としての短押しでは、事前に入力された数値に対して予め引数として設定された税率を用いた税計算が実施される。また、税計算キー131の第2の操作方法としての長押しでは、事前に入力された数値が新たな税率の値に設定される。このため、第1の実施形態では、税率の設定をするための専用のキーの操作及び税率の設定をするための専用のモードが不要である。また、1つのキーに対する異なる操作方法で簡単に税計算の実施と税率の設定との切り替えが行われ得る。 As described above, in the first embodiment, the tax calculation key 131 is assigned a plurality of operation methods. When the tax calculation key 131 is pressed for a short time as the first operating method, tax calculation is performed using a tax rate set in advance as an argument for a numerical value input in advance. Further, when the tax calculation key 131 is pressed long as the second operation method, a numerical value input in advance is set as a new tax rate value. Therefore, in the first embodiment, it is not necessary to operate a dedicated key for setting the tax rate and a dedicated mode for setting the tax rate. In addition, it is possible to easily switch between performing tax calculation and setting the tax rate by using different operation methods for one key.

[第2の実施形態]
次に、第2の実施形態を説明する。ここで、第2の実施形態において計算機1の構成については第1の実施形態と同様である。したがって、計算機1の構成については説明を省略する。
[Second embodiment]
Next, a second embodiment will be described. Here, the configuration of the computer 1 in the second embodiment is the same as in the first embodiment. Therefore, description of the configuration of the computer 1 is omitted.

図6は、第2の実施形態の計算機1の税計算の処理を示すフローチャートである。以下、第1の実施形態と同様の処理については適宜に説明を省略又は簡略化する。図6の処理においても、計算機1には何等か数値が既に入力され、入力された数値がディスプレイ15に表示されているものとする。 FIG. 6 is a flow chart showing tax calculation processing of the computer 1 of the second embodiment. In the following, the description of the same processing as in the first embodiment will be appropriately omitted or simplified. In the processing of FIG. 6 as well, it is assumed that some numerical value has already been input to the computer 1 and the input numerical value is displayed on the display 15 .

ステップS21において、プロセッサ11は、税計算キー131が押されたか否かを判定する。ステップS21において、税計算キー131が押されていないと判定されたときには、図6の処理は終了する。ステップS21において、税計算キー131が押されたと判定されたときには、処理はステップS22に移行する。 At step S21, the processor 11 determines whether or not the tax calculation key 131 has been pressed. When it is determined in step S21 that the tax calculation key 131 has not been pressed, the process of FIG. 6 ends. When it is determined in step S21 that the tax calculation key 131 has been pressed, the process proceeds to step S22.

ステップS22において、プロセッサ11は、税計算キー131の押し込み時間の計測を開始する。 In step S<b>22 , the processor 11 starts measuring the pressing time of the tax calculation key 131 .

ステップS23において、プロセッサ11は、税計算キー131の押し込み開始から第1の所定時間が経過したか否かを判定する。この第1の所定時間は、例えば0.3秒である。この第1の所定時間は、後で説明する第2の所定時間よりも短い時間の中で任意に設定され得る。ステップS23において、第1の所定時間が経過していないと判定されたときには、処理はステップS24に移行する。ステップS23において、第1の所定時間が経過したと判定されたときには、処理はステップS27に移行する。 In step S23, the processor 11 determines whether or not the first predetermined time has elapsed since the tax calculation key 131 was started to be pressed. This first predetermined time is, for example, 0.3 seconds. This first predetermined time can be arbitrarily set within a time shorter than the second predetermined time described later. When it is determined in step S23 that the first predetermined time has not elapsed, the process proceeds to step S24. When it is determined in step S23 that the first predetermined time has elapsed, the process proceeds to step S27.

ステップS24において、プロセッサ11は、税計算キー131の押し込みが解除されたか否かを判定する。ステップS24において、税計算キー131の押し込みが解除されていないと判定されたときには、処理はステップS23に戻る。ステップS24において、税計算キー131の押し込みが解除されたと判定されたときには、処理はステップS25に移行する。 In step S24, the processor 11 determines whether or not the tax calculation key 131 has been released. When it is determined in step S24 that the tax calculation key 131 has not been released, the process returns to step S23. When it is determined in step S24 that the tax calculation key 131 has been released, the process proceeds to step S25.

ステップS25において、プロセッサ11は、税計算を実施する。その後、処理はステップS26に移行する。 At step S25, the processor 11 performs tax calculation. After that, the process moves to step S26.

ステップS26において、プロセッサ11は、税計算の結果をディスプレイ15に表示させる。その後、図6の処理は終了する。 At step S26, the processor 11 causes the display 15 to display the tax calculation result. After that, the process of FIG. 6 ends.

ステップS27において、プロセッサ11は、ディスプレイ15の表示を消去する。 At step S27, the processor 11 erases the display on the display 15. FIG.

ステップS28において、プロセッサ11は、税計算キー131の押し込み開始から第2の所定時間が経過したか否かを判定する。この第2の所定時間は、例えば2秒である。この第2の所定時間は、任意に設定され得る。ステップS28において、第2の所定時間が経過していないと判定されたときには、処理はステップS29に移行する。ステップS28において、第2の所定時間が経過したと判定されたときには、処理はステップ30に移行する。 In step S28, the processor 11 determines whether or not the second predetermined time has elapsed since the tax calculation key 131 was started to be pressed. This second predetermined time is, for example, two seconds. This second predetermined time can be set arbitrarily. When it is determined in step S28 that the second predetermined time has not elapsed, the process proceeds to step S29. When it is determined in step S28 that the second predetermined time has elapsed, the process proceeds to step S30.

ステップS29において、プロセッサ11は、税計算キー131の押し込みが解除されたか否かを判定する。ステップS29において、税計算キー131の押し込みが解除されていないと判定されたときには、処理はステップS28に戻る。ステップS29において、税計算キー131の押し込みが解除されたと判定されたときには、処理はステップS25に移行する。すなわち、税計算が実施される。 In step S29, the processor 11 determines whether or not the tax calculation key 131 has been released. When it is determined in step S29 that the tax calculation key 131 has not been released, the process returns to step S28. When it is determined in step S29 that the tax calculation key 131 has been released, the process proceeds to step S25. That is, tax calculation is performed.

ステップS30において、プロセッサ11は、事前に入力された数値を新たな税率の値に設定する。その後、処理はステップS31に移行する。 At step S30, processor 11 sets the previously entered numerical value to the value of the new tax rate. After that, the process moves to step S31.

ステップS31において、プロセッサ11は、税率の値の設定が実施されたことをユーザに認知させるための設定完了表示をディスプレイ15に表示させる。 In step S31, the processor 11 causes the display 15 to display a setting completion display for letting the user recognize that the tax rate value has been set.

ステップS32において、プロセッサ11は、ディスプレイ15の表示を消去する。その後、図6の処理は終了する。 At step S32, the processor 11 erases the display on the display 15. FIG. After that, the process of FIG. 6 ends.

図7は、第2の実施形態における税率の設定時のディスプレイ15の表示について示した図である。まず、税率の設定の前にユーザは、数値キーを操作して設定したい税率の値を入力する。このとき、図7のaで示すようにして、ユーザによって入力された数値151がディスプレイ15に表示される。例えば、図7のaでは、数値151として「8」が表示されている。 FIG. 7 is a diagram showing the display on the display 15 when setting the tax rate in the second embodiment. First, before setting the tax rate, the user operates the numeric keys to input the desired tax rate value. At this time, the numerical value 151 input by the user is displayed on the display 15 as shown in FIG. For example, in FIG. 7a, "8" is displayed as the numerical value 151. In FIG.

続いて、ユーザは、税計算キー131を長押しする。税計算キー131が押されてから第1の所定時間、例えば0.3秒が経過するまでは、図7のbで示すようにディスプレイ15の表示は継続される。 Subsequently, the user presses the tax calculation key 131 for a long time. The display on the display 15 continues as shown in FIG. 7b until the first predetermined time, for example 0.3 seconds, has elapsed since the tax calculation key 131 was pressed.

その後、第1の所定時間の税計算キー131の押し込みがされたことが判定されると、図7のcで示すようにディスプレイ15の表示は消去される。 After that, when it is determined that the tax calculation key 131 has been pressed for the first predetermined time, the display on the display 15 is erased as shown in FIG. 7c.

さらにその後、第2の所定時間、例えば2秒の税計算キー131の押し込みがされたことが判定されると、税率の設定が行われる。その後、図7のdで示すように設定完了表示が行われる。 After that, when it is determined that the tax calculation key 131 has been pressed for a second predetermined time, for example, two seconds, the tax rate is set. After that, as shown in FIG. 7d, setting completion display is performed.

図7のdで示す設定完了表示の後、図7のeで示すようにディスプレイ15の表示が消去される。このようにして税率の設定が完了する。 After the setting completion display shown in FIG. 7d, the display on the display 15 disappears as shown in FIG. 7e. In this way, setting of the tax rate is completed.

ここで、第2の実施形態における税計算の実施時のディスプレイ15の表示では、図5のaと図5のbとの間に図7のbと同様の表示の継続期間が加えられる。詳細については説明を省略する。 Here, in the display on the display 15 at the time of tax calculation in the second embodiment, a display duration similar to that of FIG. 7b is added between FIG. 5a and FIG. 5b. Details will be omitted.

以上説明したように第2の実施形態では、税計算キー131の押し込みから第1の所定時間が経過するまで、すなわち税計算キー131の短押しと長押しの何れがされたかを判定する期間のうちの所定期間、ディスプレイ15の表示が継続される。税計算キー131の押し込み時間が短い場合、ディスプレイ15の表示の消去から計算結果の表示までの間隔が短くなる。この間隔の短さにより、ちらつきが発生する可能性がある。税計算キー131の押し込みから第1の所定時間が経過するまではディスプレイ15の表示が継続されることにより、税計算キー131の押し込み時間が短い場合のディスプレイ15のちらつきが抑制される。 As described above, in the second embodiment, it is determined whether the tax calculation key 131 is pressed for a short time or a long time until the first predetermined time elapses after the tax calculation key 131 is pressed. The display on the display 15 is continued for a predetermined period of time. When the tax calculation key 131 is pressed for a short period of time, the interval between the erasing of the display on the display 15 and the display of the calculation result is shortened. This short interval can cause flickering. By continuing the display on the display 15 until the first predetermined time elapses after the tax calculation key 131 is pressed, flickering of the display 15 when the tax calculation key 131 is pressed for a short period of time is suppressed.

[変形例]
実施形態の変形例を説明する。実施形態では、税計算キー131に対して第1の操作方法である短押しと第2の操作方法である長押しの2つの操作方法が割り当てられ、それぞれの操作方法に対して事前に入力された数値に対する異なる処理が実施される。第1の操作方法と第2の操作方法は、任意の操作方法であってよい。例えば、税計算キー131に対する第1の操作方法として、短押しが割り当てられ、第2の操作方法として税計算キー131とダブルタップ操作(連続した2回押し操作)が割り当てられてもよい。また、割り当てられる操作方法は、2つに限るものでもない。つまり、税計算キー131に対して3つ以上の操作方法が割り当てられ、それぞれの操作方法に対して事前に入力された数値に対する異なる処理が実施されてもよい。例えば、税計算キー131に対する第3の操作方法として、ダブルタップ操作(連続した2回押し操作)が割り当てられ、ダブルタップ操作がされたときには入力された数値に応じて税込計算モードと税抜計算モードとの切り替えが行われてもよい。また、税計算キー131に対する第4の操作方法として、税計算キー131と他のキーとの同時押し操作が割り当てられ、同時押し操作がされたときには入力された数値に応じて端数処理の切り替えが行われてもよい。このように、操作方法と、操作方法の数と、それぞれの操作方法に割り当てる処理については適宜に設定され得る。
[Modification]
A modification of the embodiment will be described. In the embodiment, two operation methods, namely, short press as the first operation method and long press as the second operation method, are assigned to the tax calculation key 131, and input is made in advance for each operation method. Different processing is performed on the numeric value. The first operating method and the second operating method may be arbitrary operating methods. For example, a short press may be assigned to the tax calculation key 131 as the first operation method, and the tax calculation key 131 and a double tap operation (continuous two-time press operation) may be assigned to the second operation method. Also, the assigned operation methods are not limited to two. In other words, three or more operation methods may be assigned to the tax calculation key 131, and different processing may be performed on numerical values input in advance for each operation method. For example, as a third operation method for the tax calculation key 131, a double-tap operation (continuous double-tap operation) is assigned. Switching between modes may be performed. As a fourth operation method for the tax calculation key 131, simultaneous pressing of the tax calculation key 131 and another key is assigned, and when the simultaneous pressing is performed, the rounding is switched according to the input numerical value. may be done. In this way, the operation method, the number of operation methods, and the processing assigned to each operation method can be appropriately set.

また、実施形態では、税計算キーへの適用例が説明されている。これに対し、実施形態の技術は、予め設定された特定の数値を用いて特定の計算を実施する操作キーを備えた各種の計算機に適用され得る。このような特定の計算を実施する操作キーは、通貨の換算計算を実施するための換算計算キーを含む。この場合も、換算計算キーが短押しされたときには予め設定された換算レートを用いて事前に入力された数値に対する換算計算が実施され、換算計算キーが長押されたときには換算レートの値が事前に入力された数値に設定される、といった処理の割り当てが行われ得る。この他、このような特定の計算を実施する操作キーは、散薬監査計算を実施するための散薬監査キー等を含み得る。 Also, in the embodiment, an example of application to a tax calculation key is described. On the other hand, the technology of the embodiment can be applied to various computers having operation keys for carrying out specific calculations using preset specific numerical values. Operation keys for performing such specific calculations include conversion calculation keys for performing currency conversion calculations. In this case also, when the conversion calculation key is pressed for a short time, the conversion calculation is performed for the numerical value entered in advance using the preset conversion rate, and when the conversion calculation key is long-pressed, the conversion rate value is set in advance. Assignment of processing, such as being set to an input numerical value, can be performed. Alternatively, operational keys for performing such specific calculations may include powder audit keys for performing powder audit calculations, or the like.

さらに、実施形態では計算機1の操作キーはハードウェアキーであるとしている。これに対し、操作キーはタッチパネル等によって操作されるソフトウェアキーであってもよい。この場合において、計算機1自体もソフトウェアによって実現されるものであってもよい。つまり、計算機1は、スマートフォンやタブレット端末といった端末にインストールされるものであってもよい。 Furthermore, in the embodiment, the operation keys of the computer 1 are assumed to be hardware keys. On the other hand, the operation keys may be software keys operated by a touch panel or the like. In this case, the computer 1 itself may also be realized by software. That is, the computer 1 may be installed in a terminal such as a smart phone or a tablet terminal.

以上実施形態に基づいて本発明を説明したが、本発明は上述した実施形態に限定されるものではなく、本発明の要旨の範囲内で種々の変形や応用が可能なことは勿論である。 Although the present invention has been described above based on the embodiments, the present invention is not limited to the above-described embodiments, and various modifications and applications are of course possible within the scope of the present invention.

また、上述した実施形態による各処理は、コンピュータであるプロセッサ11に実行させることができるプログラムとして記憶させておくこともできる。この他、磁気ディスク、光ディスク、半導体メモリ等の外部記憶装置の記憶媒体に格納して配布することができる。そして、プロセッサ11は、この外部記憶装置の記憶媒体に記憶されたプログラムを読み込み、この読み込んだプログラムによって動作が制御されることにより、上述した処理を実行することができる。 Further, each process according to the above-described embodiment can be stored as a program that can be executed by the processor 11, which is a computer. In addition, it can be distributed by being stored in a storage medium of an external storage device such as a magnetic disk, an optical disk, or a semiconductor memory. Then, the processor 11 reads the program stored in the storage medium of the external storage device, and the operation is controlled by the read program, thereby executing the above-described processing.

本発明は、上記実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。また、各実施形態は適宜組み合わせて実施してもよく、その場合組み合わせた効果が得られる。さらに、上記実施形態には種々の発明が含まれており、開示される複数の構成要件から選択された組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件からいくつかの構成要件が削除されても、課題が解決でき、効果が得られる場合には、この構成要件が削除された構成が発明として抽出され得る。 The present invention is not limited to the above-described embodiments, and can be modified in various ways without departing from the scope of the present invention at the implementation stage. Further, each embodiment may be implemented in combination as appropriate, in which case the combined effect can be obtained. Furthermore, various inventions are included in the above embodiments, 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 embodiments, if the problem can be solved and effects can be obtained, the configuration with the constituent elements deleted can be extracted as an invention.

以下に、本願の発明の実施の形態から抽出され得る発明を付記する。
[1] 第1の数値が入力された後、操作キーが第1の操作方法と第2の操作方法との何れで操作されたかを判定する判定部と、
前記操作キーが前記第1の操作方法で操作されたと判定されたときには、引数として設定されている第2の数値を用いて前記第1の数値に対する特定の計算を実施し、前記操作キーが前記第2の操作方法で操作されたと判定されたときには、前記引数として前記第1の数値を設定する、ように制御する制御部と、
を具備する計算機。
[2] 入力された前記第1の数値を表示する表示部をさらに具備し、
前記制御部は、前記操作キーが前記第2の操作方法で操作されたと判定されたときには、前記引数として前記第1の数値が設定されたことを前記表示部に表示させる[1]に記載の計算機。
[3] 前記制御部は、前記操作キーが前記第1の操作方法と前記第2の操作方法との何れで操作されているかを判定している間、前記第1の数値の表示を消去する[2]に記載の計算機。
[4] 前記制御部は、前記操作キーが前記第1の操作方法と前記第2の操作方法との何れで操作されているかを判定している間の所定期間、前記第1の数値の表示を継続し、前記所定期間の経過後に前記第1の数値の表示を消去する[2]に記載の計算機。
[5] 前記制御部は、前記操作キーが前記第1の操作方法で操作されたと判定されたときには、前記第1の数値に代えて前記特定の計算によって得られた第3の数値を前記表示部に表示させる[2]-[4]の何れか1に記載の計算機。
[6] 第1の数値が入力された後、操作キーが第1の操作方法と第2の操作方法との何れで操作されたかを判定することと、
前記操作キーが前記第1の操作方法で操作されたと判定されたときには、引数として予め設定されている第2の数値を用いて前記第1の数値に対する特定の計算を実施することと、
前記操作キーが前記第2の操作方法で操作されたと判定されたときには、前記引数としての第2の数値を前記第1の数値で更新することと、
をプロセッサに実行させるための計算プログラム。
Inventions that can be extracted from the embodiments of the invention of the present application are added below.
[1] a determination unit that determines whether the operation key is operated by the first operation method or the second operation method after the first numerical value is input;
When it is determined that the operation key has been operated by the first operation method, a second numerical value set as an argument is used to perform a specific calculation on the first numerical value, and the operation key is operated according to the a control unit configured to set the first numerical value as the argument when it is determined that the operation is performed by the second operation method;
A calculator comprising
[2] further comprising a display unit that displays the input first numerical value;
The control unit according to [1], when it is determined that the operation key is operated by the second operation method, causes the display unit to display that the first numerical value has been set as the argument. calculator.
[3] The control unit erases the display of the first numerical value while determining whether the operation key is operated by the first operation method or the second operation method. The computer according to [2].
[4] The control unit displays the first numerical value for a predetermined period of time while it is determined whether the operation key is operated by the first operation method or the second operation method. and erases the display of the first numerical value after the predetermined period of time has elapsed.
[5] When it is determined that the operation key is operated by the first operation method, the control unit displays the third numerical value obtained by the specific calculation instead of the first numerical value. The computer according to any one of [2] to [4] displayed on the unit.
[6] Determining whether the operation key is operated by the first operation method or the second operation method after the first numerical value is input;
performing a specific calculation on the first numerical value using a second numerical value preset as an argument when it is determined that the operation key has been operated by the first operation method;
updating a second numerical value as the argument with the first numerical value when it is determined that the operation key has been operated by the second operation method;
A calculation program for causing a processor to execute

1 計算機、11 プロセッサ、12 メモリ、13 操作キー、14 ディスプレイドライバ(DD)、15 ディスプレイ15。 1 calculator, 11 processor, 12 memory, 13 operation keys, 14 display driver (DD), 15 display 15 .

本発明は、電子機器、入力支援方法及びプログラムに関する。 The present invention relates to an electronic device, an input support method, and a program .

本発明は、簡易な操作によって特定の計算に用いられる特定の数値を変更することが可能な電子機器、入力支援方法及びプログラムを提供することを目的とする。 SUMMARY OF THE INVENTION It is an object of the present invention to provide an electronic device, an input support method, and a program capable of changing specific numerical values used for specific calculations through simple operations.

本発明に係る第1の態様の電子機器は、所定の手順での操作に応答して、所定の操作ボタンに対応付けて予め登録されている第1の値を前記所定の手順での操作の開始に先立って入力された第2の値に更新登録する更新手段と、前記第2の値の入力に伴って開始された前記第2の値の表示部への表示が、前記所定の手順での操作を満たすと判定されるまでの間の少なくとも一部の期間において消えるように、且つ、前記所定の手順での操作を満たすと判定された後に再開されるように、前記第2の値の表示を制御する表示制御手段と、を備えることを特徴とする。An electronic device according to a first aspect of the present invention sets a first value registered in advance in association with a predetermined operation button in response to an operation in a predetermined procedure. The updating means for updating and registering the second value input prior to the start, and the display of the second value on the display unit, which is started in accordance with the input of the second value, are performed by the predetermined procedure. The second value so that it disappears in at least a part of the period until it is determined that the operation of and display control means for controlling display.
本発明に係る第2の態様の電子機器は、所定の操作ボタンが第1の時間以上継続して押し込み続けられる長押し操作に応答して、前記所定の操作ボタンに対応付けて予め登録されている第1の値を前記長押し操作に先立って入力された第2の値に更新登録する更新手段と、前記第2の値の入力に伴って開始された前記第2の値の表示部への表示が、前記所定の操作ボタンに対する押し込みの開始が検出されてから前記所定の操作ボタンに対する操作が前記長押し操作と判定されるまでの間の少なくとも一部の期間において消えるように、且つ、前記所定の操作ボタンに対する操作が前記長押し操作と判定された後に再開されるように、前記第2の値の表示を制御する表示制御手段と、を備えることを特徴とする。In the electronic device according to the second aspect of the present invention, in response to a long-pressing operation in which a predetermined operation button is continuously pressed for a first period of time or longer, the operation button is registered in advance in association with the predetermined operation button. updating means for updating and registering the first value entered prior to the long-pressing operation to the second value inputted prior to the long-pressing operation; disappears during at least part of the period from when the start of pressing of the predetermined operation button is detected to when the operation of the predetermined operation button is determined to be the long-press operation, and display control means for controlling display of the second value so that the operation of the predetermined operation button is restarted after the operation is determined to be the long press operation.

本発明に係る第1の態様の入力支援方法は、電子機器が実行する入力支援方法であって、所定の手順での操作に応答して、所定の操作ボタンに対応付けて予め登録されている第1の値を前記所定の手順での操作の開始に先立って入力された第2の値に更新登録する更新処理と、前記第2の値の入力に伴って開始された前記第2の値の表示部への表示が、前記所定の手順での操作を満たすと判定されるまでの間の少なくとも一部の期間において消えるように、且つ、前記所定の手順での操作を満たすと判定された後に再開されるように、前記第2の値の表示を制御する表示制御処理と、を含むことを特徴とする。An input support method according to a first aspect of the present invention is an input support method executed by an electronic device, which is registered in advance in correspondence with a predetermined operation button in response to an operation in a predetermined procedure. an update process of updating and registering the first value to the second value input prior to the start of the operation in the predetermined procedure; and the second value started along with the input of the second value. display on the display unit disappears for at least a part of the period until it is determined that the operation in the predetermined procedure is satisfied, and it is determined that the operation in the predetermined procedure is satisfied and display control processing for controlling display of the second value so that it can be resumed later.
本発明に係る第2の態様の入力支援方法は、電子機器が実行する入力支援方法であって、所定の操作ボタンが第1の時間以上継続して押し込み続けられる長押し操作に応答して、前記所定の操作ボタンに対応付けて予め登録されている第1の値を前記長押し操作に先立って入力された第2の値に更新登録する更新処理と、前記第2の値の入力に伴って開始された前記第2の値の表示部への表示が、前記所定の操作ボタンに対する押し込みの開始が検出されてから前記所定の操作ボタンに対する操作が前記長押し操作と判定されるまでの間の少なくとも一部の期間において消えるように、且つ、前記所定の操作ボタンに対する操作が前記長押し操作と判定された後に再開されるように、前記第2の値の表示を制御する表示制御処理と、を含むことを特徴とする。An input support method according to a second aspect of the present invention is an input support method executed by an electronic device, wherein in response to a long press operation in which a predetermined operation button is continuously pressed for a first time or more, update processing of updating and registering a first value pre-registered in association with the predetermined operation button to a second value input prior to the long-pressing operation; display of the second value on the display unit, which is started by pressing the predetermined operation button, until the operation of the predetermined operation button is determined to be the long-press operation after the start of pressing of the predetermined operation button is detected. display control processing for controlling the display of the second value so that it disappears during at least a part of the period of and resumes after the operation on the predetermined operation button is determined to be the long press operation; , is characterized by including
本発明に係る第1の態様のプログラムは、コンピュータを、所定の手順での操作に応答して、所定の操作ボタンに対応付けて予め登録されている第1の値を前記所定の手順での操作の開始に先立って入力された第2の値に更新登録する更新手段、前記第2の値の入力に伴って開始された前記第2の値の表示部への表示が、前記所定の手順での操作を満たすと判定されるまでの間の少なくとも一部の期間において消えるように、且つ、前記所定の手順での操作を満たすと判定された後に再開されるように、前記第2の値の表示を制御する表示制御手段、として機能させることを特徴とする。A program according to a first aspect of the present invention causes a computer to change a first value registered in advance in association with a predetermined operation button in response to an operation in a predetermined procedure. updating means for updating and registering the second value input prior to the start of the operation; The second value so as to disappear in at least a part of the period until it is determined that the operation in is satisfied, and to be resumed after it is determined that the operation in the predetermined procedure is satisfied It is characterized by functioning as display control means for controlling the display of.
本発明に係る第2の態様のプログラムは、コンピュータを、所定の操作ボタンが第1の時間以上継続して押し込み続けられる長押し操作に応答して、前記所定の操作ボタンに対応付けて予め登録されている第1の値を前記長押し操作に先立って入力された第2の値に更新登録する更新手段、前記第2の値の入力に伴って開始された前記第2の値の表示部への表示が、前記所定の操作ボタンに対する押し込みの開始が検出されてから前記所定の操作ボタンに対する操作が前記長押し操作と判定されるまでの間の少なくとも一部の期間において消えるように、且つ、前記所定の操作ボタンに対する操作が前記長押し操作と判定された後に再開されるように、前記第2の値の表示を制御する表示制御手段、として機能させることを特徴とする。According to a second aspect of the present invention, there is provided a program that causes a computer to respond to a long press operation in which a predetermined operation button is continuously pressed for a first period of time or more, and is registered in advance in association with the predetermined operation button. updating means for updating and registering the current first value to the second value input prior to the long-pressing operation; and a display unit for the second value started in accordance with the input of the second value. disappears during at least a part of the period from when the start of pressing of the predetermined operation button is detected until the operation of the predetermined operation button is determined to be the long-press operation, and and display control means for controlling the display of the second value so that the operation of the predetermined operation button is restarted after it is determined to be the long press operation.

本発明によれば、簡易な操作によって特定の計算に用いられる特定の数値を変更することが可能な電子機器、入力支援方法及びプログラムを提供することができる。 Advantageous Effects of Invention According to the present invention, it is possible to provide an electronic device, an input support method, and a program capable of changing specific numerical values used for specific calculations by a simple operation.

Claims (6)

第1の数値が入力された後、操作キーが第1の操作方法と第2の操作方法との何れで操作されたかを判定する判定部と、
前記操作キーが前記第1の操作方法で操作されたと判定されたときには、引数として設定されている第2の数値を用いて前記第1の数値に対する特定の計算を実施し、前記操作キーが前記第2の操作方法で操作されたと判定されたときには、前記引数として前記第1の数値を設定する、ように制御する制御部と、
を具備する計算機。
a determination unit that determines whether the operation key is operated by the first operation method or the second operation method after the first numerical value is input;
When it is determined that the operation key has been operated by the first operation method, a second numerical value set as an argument is used to perform a specific calculation on the first numerical value, and the operation key is operated according to the a control unit configured to set the first numerical value as the argument when it is determined that the operation is performed by the second operation method;
A calculator comprising
入力された前記第1の数値を表示する表示部をさらに具備し、
前記制御部は、前記操作キーが前記第2の操作方法で操作されたと判定されたときには、前記引数として前記第1の数値が設定されたことを前記表示部に表示させる請求項1に記載の計算機。
further comprising a display unit that displays the input first numerical value,
2. The method according to claim 1, wherein, when it is determined that the operation key is operated by the second operation method, the control unit causes the display unit to display that the first numerical value has been set as the argument. calculator.
前記制御部は、前記操作キーが前記第1の操作方法と前記第2の操作方法との何れで操作されているかを判定している間、前記第1の数値の表示を消去する請求項2に記載の計算機。 2. The control unit erases the display of the first numerical value while determining whether the operation key is operated by the first operation method or the second operation method. Calculator as described in . 前記制御部は、前記操作キーが前記第1の操作方法と前記第2の操作方法との何れで操作されているかを判定している間の所定期間、前記第1の数値の表示を継続し、前記所定期間の経過後に前記第1の数値の表示を消去する請求項2に記載の計算機。 The control unit continues to display the first numerical value for a predetermined period of time during which it is determined whether the operation key is operated by the first operation method or the second operation method. 3. The computer according to claim 2, wherein the display of said first numerical value is erased after said predetermined period of time has elapsed. 前記制御部は、前記操作キーが前記第1の操作方法で操作されたと判定されたときには、前記第1の数値に代えて前記特定の計算によって得られた第3の数値を前記表示部に表示させる請求項2乃至4の何れか1項に記載の計算機。 The control unit displays a third numerical value obtained by the specific calculation on the display unit instead of the first numerical value when it is determined that the operation key is operated by the first operation method. 5. The computer according to any one of claims 2 to 4. 第1の数値が入力された後、操作キーが第1の操作方法と第2の操作方法との何れで操作されたかを判定することと、
前記操作キーが前記第1の操作方法で操作されたと判定されたときには、引数として予め設定されている第2の数値を用いて前記第1の数値に対する特定の計算を実施することと、
前記操作キーが前記第2の操作方法で操作されたと判定されたときには、前記引数としての第2の数値を前記第1の数値で更新することと、
をプロセッサに実行させるための計算プログラム。
Determining whether the operation key is operated by a first operation method or a second operation method after the first numerical value is input;
performing a specific calculation on the first numerical value using a second numerical value preset as an argument when it is determined that the operation key has been operated by the first operation method;
updating a second numerical value as the argument with the first numerical value when it is determined that the operation key has been operated by the second operation method;
A calculation program for causing a processor to execute
JP2022179936A 2020-09-17 2022-11-10 Electronic devices, input support methods and programs Active JP7416174B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022179936A JP7416174B2 (en) 2020-09-17 2022-11-10 Electronic devices, input support methods and programs

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020156506A JP7184068B2 (en) 2020-09-17 2020-09-17 Calculator, calculation method and calculation program
JP2022179936A JP7416174B2 (en) 2020-09-17 2022-11-10 Electronic devices, input support methods and programs

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2020156506A Division JP7184068B2 (en) 2020-09-17 2020-09-17 Calculator, calculation method and calculation program

Publications (2)

Publication Number Publication Date
JP2023001311A true JP2023001311A (en) 2023-01-04
JP7416174B2 JP7416174B2 (en) 2024-01-17

Family

ID=80854229

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2020156506A Active JP7184068B2 (en) 2020-09-17 2020-09-17 Calculator, calculation method and calculation program
JP2022179936A Active JP7416174B2 (en) 2020-09-17 2022-11-10 Electronic devices, input support methods and programs

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2020156506A Active JP7184068B2 (en) 2020-09-17 2020-09-17 Calculator, calculation method and calculation program

Country Status (1)

Country Link
JP (2) JP7184068B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005083903A (en) 2003-09-09 2005-03-31 Osamu Sato Information processing auxiliary device
JP2005141559A (en) * 2003-11-07 2005-06-02 Sharp Corp Information processor with conversion function and conversion processing program
JP6784110B2 (en) 2016-09-20 2020-11-11 カシオ計算機株式会社 Arithmetic logic unit, arithmetic printing method, and program
JP6635132B2 (en) * 2018-02-06 2020-01-22 カシオ計算機株式会社 Tax calculator, tax calculation method and tax calculation program
JP6593505B1 (en) 2018-09-07 2019-10-23 カシオ計算機株式会社 Computer, electronic device, setting method, and program
JP7163705B2 (en) * 2018-10-03 2022-11-01 カシオ計算機株式会社 Calculators, calculation methods, and programs

Also Published As

Publication number Publication date
JP2022050103A (en) 2022-03-30
JP7184068B2 (en) 2022-12-06
JP7416174B2 (en) 2024-01-17

Similar Documents

Publication Publication Date Title
JP6221323B2 (en) Graph display device and control program thereof
US10937110B2 (en) Tax calculator, tax calculation method, and storage medium storing program
JP2014241029A (en) Graph display device, program, and server device
CN105824502A (en) Information processing method and electronic equipment
CN109491573B (en) Electronic device control method and electronic device for executing the method
US10235328B2 (en) Calculation device, calculation method, and storage medium
CN109871133B (en) Keyboard control method and device, keyboard and computer readable storage medium
JP2014203375A (en) Touch panel display control device
EP2891967A1 (en) Display control device, thin-client system, display control method, and recording medium
JP2010066835A (en) Information processing apparatus and program
JP5155786B2 (en) Information processing apparatus and program
JP7184068B2 (en) Calculator, calculation method and calculation program
JP2005284404A (en) Information processor and information processing method
WO2017016333A1 (en) Screen adjustment method and device
JP7163705B2 (en) Calculators, calculation methods, and programs
JP6635132B2 (en) Tax calculator, tax calculation method and tax calculation program
JP6593505B1 (en) Computer, electronic device, setting method, and program
JP2020038722A (en) Tax calculator, tax calculating method, and tax calculating program
JP2015176270A (en) Method for operating computer and computer
JP6554597B1 (en) GAME DEVICE, GAME DEVICE CONTROL METHOD, AND GAME PROGRAM
JP6620907B1 (en) Computer, setting method, and program
JP2021152807A (en) Electronic apparatus, method for switching operation mode, and program
JP2013186810A (en) Operation device
JP2011129138A (en) Electronic calculator
WO2023047846A1 (en) Method, device, and program for editing mathematical formula

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221122

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221122

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20231205

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231218

R150 Certificate of patent or registration of utility model

Ref document number: 7416174

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150