KR20000025995A - Method for realizing calculation function of wireless mobile communication terminal - Google Patents

Method for realizing calculation function of wireless mobile communication terminal Download PDF

Info

Publication number
KR20000025995A
KR20000025995A KR1019980043344A KR19980043344A KR20000025995A KR 20000025995 A KR20000025995 A KR 20000025995A KR 1019980043344 A KR1019980043344 A KR 1019980043344A KR 19980043344 A KR19980043344 A KR 19980043344A KR 20000025995 A KR20000025995 A KR 20000025995A
Authority
KR
South Korea
Prior art keywords
operator
operand
input
buffer
calculation
Prior art date
Application number
KR1019980043344A
Other languages
Korean (ko)
Inventor
안철회
Original Assignee
김영환
현대전자산업 주식회사
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 김영환, 현대전자산업 주식회사 filed Critical 김영환
Priority to KR1019980043344A priority Critical patent/KR20000025995A/en
Publication of KR20000025995A publication Critical patent/KR20000025995A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/34Microprocessors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/36Memories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/38Displays

Abstract

PURPOSE: A method for realizing a calculation function of a wireless mobile communication terminal is provided to make unnecessary an additional input operation for selecting an operator by assigning five keys except numbers(0-9,.) as operands(+,-,*,/,=), to delete or modify operands and operators by storing the operators and numbers that a user inputs in a buffer, and to make possible a continuous calculation by using the operands that the user inputs. CONSTITUTION: A method for realizing a calculation function of a wireless mobile communication terminal includes a first through eighth steps. The first step is to store a first operand into a first input buffer. The second step is to store the operators of +,-,*,/ into a predetermined position of the input buffer after performing the first step when inputting the operators. The third step is to store a second operator into a second input buffer after the second step. The fourth step is to perform the related calculation according to the operator stored in an operational buffer in the second step when the operator of '=' is input after the third step. The fifth step is to display the value resulted from the calculation performed in the fourth step on a monitor. The sixth step is to perform again the first through fifth steps when the operand is input after the fifth step, to process the result value of the calculation displayed in the fifth step as a first operand when the operand is input, and then perform again the third step through the fifth step. The seventh step is to override the operators of +,-,*,/ in the operational buffer which the operator is stored in the second step when the operators of +,-,*,/ are input in the third step, and to output the first operand without performing a calculation by performing the fifth step when the operator of '=' is input. The eighth step is to store the operators of +,-,*,/ in the operational buffer when the operators of +,-,*,/ are input in the first step, to process the first operand as an integral '0' and then perform again the third step through seventh step.

Description

무선 이동통신 단말기의 계산 기능 구현방법Implementation method of calculation function of wireless mobile communication terminal

본 발명은 무선 이동통신 단말기에서 제공하는 연산기능을 이용하여 실수연산을 포함한 사칙연산을 수행함으로써 사용자가 조작하기 쉽고 사용하기 편리하여 휴대용 간이 계산기로도 이용할 수 있도록 한 무선 이동통신 단말기의 계산 기능 구현방법에 관한 것이다.The present invention implements a calculation function of a wireless mobile communication terminal that can be used as a portable simple calculator that is easy to use and convenient for a user by performing arithmetic operations including real number calculation using a calculation function provided by a wireless mobile communication terminal. It is about a method.

일반적으로 무선 이동통신 단말기는 전화 통화 기능을 수행하기 위한 것으로, 이러한 음성 통화 서비스 이외에 전화번호 저장 및 탐색을 위한 메모리 기능, 자동 착/발신 기능, 현재 시간 및 요일 표시 기능, 자동 전원 꺼짐 기능, 비상 전화 다이얼 기능, 잠금 기능, 경보 기능, 지역번호 확인 기능, 멜로디 입력 기능, 바이오 리듬 확인 기능 등과 같은 각종 부가적인 기능 서비스를 제공한다.In general, the wireless mobile terminal is to perform a phone call function, in addition to the voice call service, memory functions for storing and retrieving a phone number, automatic call-in / out function, current time and day display function, automatic power off function, emergency It provides various additional functions such as telephone dialing function, lock function, alarm function, area code confirmation function, melody input function and bio rhythm confirmation function.

이때, 무선 이동통신 단말기는 상기와 같은 부가 기능 이외에도 사칙연산을 수행하는 연산기능 서비스도 제공하게 된다.In this case, the wireless mobile communication terminal also provides a service for performing arithmetic operations in addition to the above additional functions.

이러한 종래 무선 이동통신 단말기에서 제공하는 연산방법은, 첫 번째 피연산자를 입력하고, 이어 기정의된 키(예를 들어, 조그 셔틀)를 이용하여 연산자를 선택하며, 마지막으로 두 번째 피연산자를 입력한 후 다시 기정의된 키를 이용하여 연산을 수행하도록 되어 있었다.In the conventional method provided by the wireless mobile communication terminal, the first operand is input, and then an operator is selected using a predetermined key (for example, a jog shuttle), and finally, after inputting the second operand. Again, the operation was performed using the predefined key.

그러나, 상기와 같은 종래의 연산방법은 단 한 번의 연산에 여러 번의 키 입력이 요구되는 단점이 있을 뿐만 아니라 계산 결과치로만 연속 계산이 가능하고 연속된 피연산자의 입력은 불가능하며, 특히 사용자가 입력한 피연산자와 연산자의 삭제 또는 수정이 불가능하다라는 문제점이 있었다.However, the conventional operation method as described above not only has a disadvantage in that several key inputs are required for one operation, but also continuous calculation is possible only as a calculation result value, and input of consecutive operands is impossible. There was a problem that operands and operators cannot be deleted or modified.

본 발명은 상기와 같은 문제점을 해결하기 위해 안출한 것으로서, 그 목적은 숫자('0~9','.')이외의 키 다섯 개를 연산자('+ - × ÷ =')로 할당함으로써(예를 들어 '*'키를 곱셈연산자('×')로 할당) 연산자 선택을 위한 추가적인 입력동작이 필요없고, 사용자가 입력한 수와 연산자를 버퍼에 저장하여 피연산자 및 연산자를 삭제 또는 수정할 수 있으며, 계산결과치 뿐만 아니라 사용자가 입력하는 피연산자로 연속계산이 가능하도록 한 무선 이동통신 단말기의 계산 기능 구현방법을 제공하는 데에 있다.The present invention has been made to solve the above problems, the purpose of which is to assign five keys other than the numbers ('0-9', '.') By the operator ('+-× ÷ =') ( For example, the '*' key is assigned as a multiply operator ('×'). There is no need for additional input operations for operator selection, and the user can enter or delete operands and operators by storing them in a buffer. In addition, the present invention provides a method of implementing a calculation function of a wireless mobile communication terminal that enables continuous calculation as well as a calculation result value as an operand input by a user.

본 발명의 다른 목적은, 소수점을 포함하는 실수연산이 가능하고 소수점을 포함하여 9자리까지 계산범위를 확장할 수 있으며, 오버플로우와 같은 계산 오류를 알기 쉽게 표시하고, 종래의 연산자 선택방법도 병행하여 사용가능하게 함으로써 편리한 사용자 인터페이스를 제공할 수 있도록 한 무선 이동통신 단말기의 계산 기능 구현방법을 제공하는 데에 있다.It is another object of the present invention, it is possible to perform a real operation including a decimal point and to extend the calculation range up to 9 digits including a decimal point, to display a calculation error such as overflow easily, and also conventional operator selection method The present invention provides a method for implementing a calculation function of a wireless mobile communication terminal to provide a convenient user interface.

도 1은 일반적인 무선 이동통신 단말기의 블록 구성도,1 is a block diagram of a typical wireless mobile communication terminal,

도 2는 본 발명에 의한 무선 이동통신 단말기의 계산 기능 구현방법중 피연산자와 연산자를 입력하고 연산자에 따라 계산하는 동작을 보인 흐름도,2 is a flowchart illustrating an operation of inputting an operand and an operator and calculating the operator according to an operator in a method of implementing a calculation function of a wireless mobile communication terminal according to the present invention;

도 3은 본 발명에 의한 무선 이동통신 단말기의 계산 기능 구현방법중 연속계산을 위한 동작을 보인 흐름도,3 is a flowchart illustrating an operation for continuous calculation in a method for implementing a calculation function of a wireless mobile communication terminal according to the present invention;

도 4의 (가)는 '0'으로 나눗셈을 수행하였을 경우의 화면 처리 상태를 보인 도면이고, (나)는 오버플로우 오류가 발생하였을 경우의 화면 처리 상태를 보인 도면.4A is a diagram illustrating a screen processing state when division is performed by '0', and (B) is a diagram showing a screen processing state when an overflow error occurs.

<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>

1 : 주프로세서부 2 : RF부1: main processor unit 2: RF unit

3 : 메모리부 4 : 통화로3: memory unit 4: currency

5 : LCD 표시창 및 키패드 입력부5: LCD display and keypad input unit

이러한 목적을 달성하기 위한 본 발명의 무선 이동통신 단말기의 계산 기능 구현방법은, 연산에 필요한 피연산자와 연산자를 입력하는 과정과, 입력된 피연산자와 연산자를 삭제 또는 수정하는 과정과, 계산 오류를 알기 쉽게 화면으로 표시하는 과정과, 연산 처리 결과를 화면으로 알기 쉽게 표시하는 과정으로 이루어짐을 특징으로 한다.In order to achieve the above object, a method of implementing a calculation function of a wireless mobile communication terminal of the present invention includes a process of inputting an operand and an operator necessary for an operation, a process of deleting or modifying an input operand and an operator, and a calculation error to be easily understood. It is characterized by consisting of a process of displaying on the screen, and the process of displaying the result of the operation processing on the screen clearly.

이하, 첨부된 도면을 참고하여 본 발명에 의한 무선 이동통신 단말기의 계산 기능 구현방법을 상세히 설명한다.Hereinafter, a method of implementing a calculation function of a wireless mobile communication terminal according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 일반적인 무선 이동통신 단말기의 블록 구성도로서, 무선 이동통신 단말기의 모든 기능을 관리하고 제어하는 주프로세서부(1)와, 무선 데이터 송/수신을 담당하는 RF부(2)와; 비휘발성 메모리(3A)와 데이터 메모리(3B) 및 프로그램 메모리(3C)로 구성되어 사용자 정보와 통화 정보 등의 데이터를 저장하는 메모리부(3)와; 마이크와 이어피스(Earpiece)로 구성되어 사용자가 통화할 수 있는 통화로(4)와; 무선 이동통신 단말기의 상태를 표시하고, 다이얼링, 음량 조절, 기타 단말기의 조작에 필요한 LCD 표시창 및 키패드(Keypad) 입력부(5)를 포함하여 구성된다.1 is a block diagram of a typical wireless mobile communication terminal, comprising: a main processor unit 1 for managing and controlling all functions of a wireless mobile communication terminal, and an RF unit 2 for wireless data transmission / reception; A memory unit 3, comprising a nonvolatile memory 3A, a data memory 3B, and a program memory 3C, for storing data such as user information and call information; A communication path 4 composed of a microphone and an earpiece to which a user can talk; It is configured to display the status of the wireless mobile communication terminal, and include an LCD display window and a keypad input unit 5 necessary for dialing, volume control, and other terminal operation.

상기와 같이 구성된 무선 이동통신 단말기에서 본 발명에 의한 계산 기능 구현방법을 도면을 참조하여 설명하면 다음과 같다.Referring to the drawings, a method for implementing a calculation function according to the present invention in a wireless mobile communication terminal configured as described above is as follows.

먼저, 도 2를 참조하여 본 발명에 의한 무선 이동통신 단말기의 계산 기능 구현방법중 피연산자와 연산자를 입력하고 연산자에 따라 계산하는 동작을 설명한다.First, an operation of inputting an operand and an operator in a method of implementing a calculation function of a wireless mobile communication terminal according to the present invention will be described with reference to FIG. 2.

사용자가 단말기의 키패드 입력부(5)를 통해 '0~9','.'의 피연산자를 입력하면(S1) 이 입력된 피연산자를 데이터 메모리(3B)의 첫 번째 입력버퍼에 저장하고(S2), 이어 '+ - × ÷'의 기정의된 연산자(예를 들면, '*'키는 곱셈 연산자)를 입력하면(S3) 이 입력된 연산자를 데이터 메모리(3B)의 연산버퍼내 미리 정해진 위치에 저장한다(S4).When the user inputs operands of '0 to 9', '.' Through the keypad input unit 5 of the terminal (S1), the input operand is stored in the first input buffer of the data memory 3B (S2), Subsequently, when a predefined operator of '+-× ÷' (for example, the '*' key is a multiplication operator) is entered (S3), the operator is stored in a predetermined position in the operation buffer of the data memory 3B. (S4).

다시, 피연산자를 입력하여 데이터 메모리(3B)의 두 번째 입력버퍼에 저장한다(S5,S6).Again, the operand is input and stored in the second input buffer of the data memory 3B (S5, S6).

상기와 같이, 사용자가 입력한 숫자의 피연산자는 입력버퍼에 차례로 저장되어 각각 첫 번째 피연산자와 두 번째 피연산자를 구성하게 된다.As described above, the operands of the numbers input by the user are sequentially stored in the input buffer to form the first operand and the second operand, respectively.

이후, 사용자가 '='의 연산자를 입력하면(S7) 상기 단계(S4)에서 연산버퍼에 저장된 연산자에 따라 주프로세서부(1)에서 덧셈(+), 뺄셈(-), 곱셈(×), 나눗셈(÷)의 연산을 각각 수행하고(S9), 그 수행된 연산 결과치를 무선 이동통신 단말기의 LCD 표시창(5)에 표시한다(S10).Subsequently, when the user inputs an operator of '=' (S7), the main processor unit 1 adds (+), subtracts (-), multiplies (×), according to the operator stored in the operation buffer in the step (S4). Each operation of division (÷) is performed (S9), and the result of the calculation is displayed on the LCD display window 5 of the wireless mobile communication terminal (S10).

그리고 나서, 다시 피연산자를 입력하면 상기 단계(S2) 이하를 재수행하도록 하는 반면(S11), 연산자를 입력하면 상기 단계(S10)에서 표시된 연산 결과치를 첫 번째 피연산자로 처리한 후 상기 단계(S5) 이하를 재수행하도록 한다(S12,S13).Then, if the operand is input again, step S2 is performed again or less (S11), while if an operator is input, the operation result value displayed in step S10 is treated as the first operand and then step S5. The following operation is performed again (S12, S13).

한편, 상기 단계(S5)에서 피연산자가 아닌 '+ - × ÷'의 연산자를 다시 입력하면(S14) 이는 연산자를 수정하고자 하는 것으로, 이 입력된 연산자를 상기 단계(S4)에서 연산자가 저장된 연산버퍼에 덮어쓰도록 하며(S15), 이때 만약, '='의 연산자를 입력하면(S16) 상기 단계(S10)로 진행하여 연산 과정 수행없이 처음에 입력된 피연산자를 그대로 출력하도록 한다.On the other hand, if the operator of the '+-× ÷' rather than the operand in the step (S5) is input again (S14) This is to modify the operator, the operator in the operation buffer stored the operator in the step (S4) If the operator inputs '=' (S16), the process proceeds to step S10 to output the first operand without performing an operation process.

또한, 초기 상태시 상기 단계(S1)에서 피연산자가 아닌 '+ - × ÷'의 연산자를 입력하면(S17) 이 입력된 연산자를 연산버퍼에 저장하고(S18), 첫 번째 피연산자를 정수 '0'으로 처리한 다음(S19) 상기 단계(S5)로 진행하여 이하 과정을 수행하도록 한다.In addition, in the initial state, when an operator of '+-× ÷' is entered instead of an operand in step S1 (S17), the operator is stored in the operation buffer (S18), and the first operand is an integer '0'. Process (S19) and then proceed to step (S5) to perform the following process.

다음으로 도 3을 참조하여 본 발명에 의한 무선 이동통신 단말기의 계산 기능 구현방법중 연속계산을 위한 동작을 설명한다.Next, an operation for continuous calculation in the method for implementing the calculation function of the wireless mobile communication terminal according to the present invention will be described with reference to FIG. 3.

이때, 도 2 흐름도에서의 동작과 동일한 단계에 대해서는 동일 부호를 부여하여 설명한다.In this case, the same steps as in the operation in FIG. 2 will be described with the same reference numerals.

사용자가 단말기의 키패드 입력부(5)를 통해 '0~9','.'의 피연산자를 입력하면(S1) 이 입력된 피연산자를 첫 번째 입력버퍼에 저장하고(S2), 이어 '+ - × ÷'의 연산자를 입력하면(S3) 이 입력된 연산자를 첫 번째 연산버퍼에 저장한 다음(S'4), 다시 피연산자를 입력하여(S5) 두 번째 입력버퍼에 저장한다(S6).When the user inputs operands of '0 to 9' and '.' Through the keypad input unit 5 of the terminal (S1), the input operand is stored in the first input buffer (S2), and then '+-× ÷' When the operator of '(S3) is stored in the first operation buffer (S'4), and then enter the operands (S5) is stored in the second input buffer (S6).

이어 연속계산을 위해 '+ - × ÷ ='의 연산자를 입력하면(ST1) 이 입력된 연산자를 두 번째 연산버퍼에 저장한다(ST2).Subsequently, if an operator of '+-× ÷ =' is input for continuous calculation (ST1), the operator is stored in the second operation buffer (ST2).

그리고 나서, 상기 단계(S'4)에서 첫 번째 연산버퍼에 저장된 연산자에 따라(ST3) 주프로세서부(1)에서 덧셈(+), 뺄셈(-), 곱셈(×), 나눗셈(÷)의 연산을 각각 수행하고(S9), 두 번째 연산버퍼에 저장된 내용을 첫 번째 연산버퍼로 옮긴 후(ST4), 상기 단계(S9)에서 수행된 연산 결과치를 LCD 표시창(5)에 표시한다(S10).Then, according to the operator stored in the first operation buffer in the step (S'4) (ST3) of the addition (+), subtraction (-), multiplication (x), division (÷) in the main processor unit (1) Each operation is performed (S9), the contents stored in the second operation buffer are transferred to the first operation buffer (ST4), and the operation result value performed in the step S9 is displayed on the LCD display window 5 (S10). .

그리고 나서, 다시 피연산자를 입력하면 첫 번째 연산버퍼의 내용이 '='인지를 확인하여(ST5) '='이 아닌 경우 상기 단계(S6) 이하를 재수행하고 '='인 경우 상기 단계(S2) 이하를 재수행하도록 하는 반면(S11), '+ - × ÷'의 연산자를 입력하면 상기 단계(S10)에서 표시된 연산 결과치를 첫 번째 피연산자로 처리한 후 상기 단계(S5) 이하를 재수행하도록 한다(S12,S13).Then, if the operand is input again, it is checked whether the contents of the first operation buffer is '=' (ST5), and if it is not '=', the process is performed again (S6) or less and if it is '=', the step (S2). While the following operation is performed again (S11), inputting an operator of '+-× ÷' causes the operation result value displayed in the step S10 to be processed as the first operand and then performs the step S5 or less again. (S12, S13).

한편, 상기 단계(S5)에서 피연산자가 아닌 '+ - × ÷'의 연산자를 다시 입력하면(S14) 이 입력된 연산자를 상기 단계(S'4)에서 연산자가 저장된 첫 번째 연산버퍼에 덮어쓰도록 하며(S'15), 이때 만약, '='의 연산자를 입력하면(S16) 상기 단계(S10) 이하를 재수행하도록 한다.On the other hand, if the operator of '+-× ÷' rather than the operand in the step (S5) is input again (S14) to overwrite the input operator to the first operation buffer stored in the step (S'4) At this time, if the operator of '=' is input (S16), the step S10 or less is performed again.

또한, 초기 상태에 상기 단계(S1)에서 피연산자가 아닌 '+ - × ÷'의 연산자를 입력하면(S17) 이 입력된 연산자를 첫 번째 연산버퍼에 저장하고(S'18), 첫 번째 피연산자를 정수 '0'으로 처리한 다음(S19) 상기 단계(S5)로 진행하여 이하 과정을 수행하도록 한다.In addition, when an operator of '+-× ÷' other than an operand is input in the initial state (S1) (S17), the operator is stored in the first operation buffer (S'18), and the first operand is stored. After processing to an integer '0' (S19) to proceed to the step (S5) to perform the following process.

상기 도 2에 대해 도 3의 차이는 입력된 첫 번째 연산자를 제외하고 이후에 입력된 연산자를 모두 두 번째 연산버퍼(입력버퍼의 미리 정해진 위치, 예를 들면 마지막 바로 전위치)에 저장하고 계산 후에 다시 첫 번째 연산버퍼로 옮긴다는 점이다.The difference of FIG. 3 with respect to FIG. 2 is that except for the first operator input, all the operators input after are stored in the second operation buffer (predetermined position of the input buffer, for example, just before the last position) and after calculation. It is moved back to the first operation buffer.

본 발명에서는 사용자가 입력한 수를 첫 번째 입력버퍼에 저장하여 연산자를 입력할 때까지 그 값을 유지하게 되는데, 이때 사용자가 기정의된 지움(간이 계산기의 CE 기능)키를 입력하게 되면 버퍼에 저장된 수를 한자리씩 지울 수 있게 된다.In the present invention, the number stored by the user is stored in the first input buffer, and the value is maintained until the operator enters the input buffer. In this case, when the user inputs a predetermined erase (CE function of the simple calculator) key, the buffer is stored in the buffer. You can erase stored numbers one by one.

이에 따라, 사용자가 입력한 모든 수를 지우게 되면 초기상태가 되어, 입력한 수는 소수점을 포함하여 9자리까지 입력할 수 있다.Accordingly, when all the numbers input by the user are deleted, the initial state is entered, and the input number can be input up to 9 digits including the decimal point.

그 다음으로 사용자가 기정의된 '+ - × ÷'의 연산자 키를 입력하면, 선택된 연산자는 입력버퍼의 미리 정해진 위치(예를 들면, 입력버퍼의 마지막 위치)에 저장된다.Then, when the user inputs a predefined operator key of '+-× ÷', the selected operator is stored in a predetermined position of the input buffer (for example, the last position of the input buffer).

이때, 연산자 입력시에는 연산자 선택키를 눌러 표시되는 연산자 중에서 원하는 연산자를 선택할 수 있는 방법을 이용할 수 있다.In this case, when inputting an operator, a method of selecting a desired operator from among operators displayed by pressing an operator selection key may be used.

여기서 연산자 선택키를 누르면 '+ - × ÷'의 연산자가 LCD 표시창(5)에 표시되며 기본적으로 '+' 연산자가 깜빡이고, 좌우 선택키(예를 들면 '↑'키와 '↓'키)를 눌러 선택한 후 저장키(예를 들면 '저장'키)를 누르면 저장된다.If you press the operator selection key, the operator of '+-× ÷' is displayed on the LCD display (5). By default, the '+' operator flashes and the left and right selection keys (for example, '↑' and '↓' keys) Press to make a selection and press the Save key (for example, the 'Save' key) to save.

이때, 두 번째 피연산자 입력없이 기선택된 연산자를 포함하여 다른 연산자를 입력하거나 선택하게 되면 마지막으로 입력되거나 선택된 연산자가 입력버퍼의 정해진 위치에 저장되게 된다.In this case, when another operator is input or selected, including a pre-selected operator without inputting a second operand, the last input or selected operator is stored at a predetermined position of the input buffer.

그 다음으로 사용자가 입력한 수는 두 번째 입력버퍼에 저장되고, 다음 연산자를 입력할 때까지 그 값을 유지하며, 이 과정은 첫 번째 수를 입력할 때와 동일하다.The number entered by the user is then stored in the second input buffer, and the value is retained until the next operator is entered, which is the same as entering the first number.

마지막으로 사용자가 기정의된 '+ - × ÷'의 연산자중의 하나에 따라 연산을 수행하여 그 결과치를 단말기 LCD 표시창(5)에 표시하고, 여기서 선택한 연산자는 연속계산을 위하여 상기 기술된 연산자 선택방식과 같이 입력버퍼의 미리 정해진 위치에 저장되어 다음 연산을 준비한다.Finally, the user performs an operation in accordance with one of the predefined '+-× ÷' operators and displays the result on the terminal LCD display (5), where the selected operator selects the operator described above for continuous calculation. Like the method, it is stored in a predetermined position of the input buffer to prepare for the next operation.

이때 '='을 제외한 연산자는 위와 같은 방식으로 수정할 수 있다.In this case, the operator except '=' can be modified in the above manner.

한편, 본 발명에서는 상기 피연산자와 연산자 입력 방법에 부가하여 계산과정에서 발생할 수 있는 연산오류를 처리하는 과정을 수행한다.On the other hand, in the present invention, in addition to the operand and the operator input method is performed a process of processing a calculation error that may occur in the calculation process.

예를 들어, 첫째로 나눗셈을 수행할 때 사용자가 '0'을 젯수로 입력할 경우에는 단말기의 LCD 표시창(5)에 도 4의 (가)에 도시된 바와 같이 표시하여 나눗셈에서 '0'으로 나누는 계산오류가 발생했음을 사용자에게 알려주고, 연속계산을 방지하도록 한다.For example, if the user inputs '0' as the number of jets when performing the division, the display is displayed on the LCD display 5 of the terminal as shown in FIG. 4A to divide the division into '0'. Inform the user that a division error has occurred and avoid continuous calculations.

둘째로 연산과정에서 계산결과치가 수용할 수 있는 자릿수를 초과하는 오버플로우 오류가 발생할 경우에는 단말기의 LCD 표시창(5)에 도 4의 (나)에 도시된 바와 같이 오버플로우된 자릿수와 함께 결과치의 앞자리부터 소수점을 포함한 9자리까지만을 표시하여 오버플로우 오류가 발생했음을 알려주고, 상기 연산오류와 같이 연속계산을 방지하도록 한다.Second, in case of an overflow error exceeding the number of digits that can be accommodated in the calculation process, as shown in (b) of FIG. 4, the result value together with the number of digits overflowed on the LCD display window 5 of the terminal. Only up to nine digits including the decimal point from the first digit are displayed to indicate that an overflow error has occurred, and continuous calculation is prevented as in the operation error.

상기 설명에서와 같이 본 발명의 계산 기능 구현방법은 여섯 부분의 과정으로 이루어진다고 볼 수 있는데, 첫째 사용자가 계산을 하기 위해 첫 번째와 두 번째 피연산자를 입력하는 피연산자를 입력하는 과정이다.As described above, the method of implementing the calculation function of the present invention may be regarded as a six-part process, in which a first user inputs operands for inputting first and second operands to perform calculations.

둘째, 사용자가 원할 경우 피연산자를 삭제 또는 수정하는 과정으로, 사용자가 잘못 입력한 수를 삭제하거나 수정하는 과정이다.Second, the process of deleting or modifying operands if desired by the user. The process of deleting or modifying an incorrect number entered by the user.

셋째, 연산자를 입력하는 과정으로, 사용자가 원하는 연산자('+ - × ÷ =')를 입력하는 과정으로, 종래의 방법처럼 연산자중에서 선택하거나 아니면 기정의된 키를 눌러 연산자를 입력할 수 있는 과정이다.Third, a process of inputting an operator, a process of inputting a desired operator ('+-× ÷ ='), and a process of inputting an operator by selecting from among operators or pressing a predefined key as in the conventional method. to be.

넷째, 사용자가 원할 경우 연산자를 수정하는 과정으로, 사용자가 잘못 입력한 연산자를 수정하는 과정이다.Fourth, the process of modifying the operator if the user wants to.

다섯째, 실제 연산과정으로서, 사용자가 입력한 피연산자와 연산자로 실제의 연산(덧셈, 뺄셈, 곱셈, 나눗셈)을 수행하는 과정이다.Fifth, as an actual operation process, an operation (addition, subtraction, multiplication, division) is performed by operands and operators input by a user.

여섯째, 계산과정에서 발생할 수 있는 연산오류를 처리하는 과정으로서, '0'으로 나누는 오류와 오버플로우 오류를 처리하여 연속계산을 방지하는 과정이다.Sixth, as a process of processing arithmetic errors that may occur in the calculation process, it is a process of preventing continuous calculation by handling an error divided by '0' and an overflow error.

이상, 상기 설명에서와 같이 본 발명은 무선 이동통신 단말기에 조작하기 쉽고 사용하기 쉬운 계산기 기능을 부가하여 휴대용 간이 계산기로서의 역할도 충분히 수행하게 하고 종래의 방법을 병행하여 사용할 수 있게 함으로써 사용자와의 인터페이스를 향상시키며, 무선 이동통신의 저변확대를 꾀할 수 있을 뿐만 아니라 향후 개발되는 모든 무선 이동통신 단말기에 용이하게 적용시킬 수 있게 되는 효과가 있다.As described above, the present invention adds an easy-to-use and easy-to-use calculator function to the wireless mobile communication terminal to perform a sufficient role as a portable simple calculator and to use a conventional method in parallel. In addition to improving the base of the wireless mobile communication, there is an effect that can be easily applied to all future wireless mobile communication terminal development.

Claims (3)

무선 이동통신 단말기에서의 연산기능을 이용한 계산 기능 구현방법에 있어서,In a method of implementing a calculation function using a calculation function in a wireless mobile communication terminal, 첫 번째 피연산자를 입력하는 경우 이를 첫 번째 입력버퍼에 저장하는 제1단계와,A first step of storing the first operand in the first input buffer, 상기 제1단계 수행 후, '+ - × ÷'의 연산자를 입력하는 경우 이를 연산버퍼의 소정 위치에 저장하는 제2단계와,A second step of storing an operator of '+-× ÷' in a predetermined position of the operation buffer after performing the first step; 상기 제2단계 수행 후, 두 번째 피연산자를 입력하는 경우 이를 두 번째 입력버퍼에 저장하는 제3단계와,A third step of storing a second operand after inputting the second operand after performing the second step; 상기 제3단계 수행 후, '='의 연산자를 입력하는 경우 상기 제2단계에서 연산버퍼에 저장된 연산자에 따라 해당 연산을 각각 수행하는 제4단계와,A fourth step of performing a corresponding operation according to the operator stored in the operation buffer in the second step when inputting an operator of '=' after performing the third step; 상기 제4단계에서 수행된 연산 결과치를 화면으로 표시하는 제5단계와,A fifth step of displaying the calculation result value performed in the fourth step on a screen; 상기 제5단계 수행 후, 피연산자를 입력하면 상기 제1단계 이하를 재수행하고, 연산자를 입력하면 상기 제5단계에서 표시된 연산 결과치를 첫 번째 피연산자로 처리한 후 상기 제3단계 이하를 재수행하는 제6단계와,After performing the fifth step, if the operand is input, the first step is performed again. If the operator is input, the operation result value displayed in the fifth step is treated as the first operand and the sixth step is performed again. Steps, 상기 제3단계에서 두 번째 피연산자가 아닌 '+ - × ÷'의 연산자를 입력하는 경우에는 이를 상기 제2단계에서 연산자가 저장된 연산버퍼에 덮어씌우고, '='의 연산자를 입력하는 경우에는 상기 제5단계로 진행하여 연산 과정 수행없이 첫 번째 피연산자를 그대로 출력하는 제7단계와,In the third step, when an operator of '+-× ÷' is input, which is not the second operand, the operator overwrites the operation buffer in which the operator is stored in the second step, and in the case of inputting the operator of '=' A seventh step of outputting the first operand as it is without performing the operation process in step 5; 상기 제1단계에서 첫 번째 피연산자가 아닌 '+ - × ÷'의 연산자를 입력하는 경우에는 이를 연산버퍼에 저장하고, 첫 번째 피연산자를 정수 '0'으로 처리한 후 상기 제3단계 이하를 재수행하는 제8단계로 이루어지는 것을 특징으로 하는 무선 이동통신 단말기의 계산 기능 구현방법.In case of inputting an operator of '+-× ÷' rather than the first operand in the first step, the operator stores it in the operation buffer, processes the first operand as an integer '0', and then re-executes the third step or less. A method of implementing a calculation function of a wireless mobile communication terminal, comprising the eighth step. 제1항에 있어서, 무선 이동통신 단말기에서의 연산기능을 이용한 계산 기능 구현방법중 연속계산 과정은, 상기 제1단계 수행 후, '+ - × ÷'의 첫 번째 연산자를 입력하는 경우 이를 첫 번째 연산버퍼에 저장한 후 제3단계로 진행하는 제1과정과,The method of claim 1, wherein the continuous calculation process in the method of implementing a calculation function using the arithmetic function in the wireless mobile communication terminal is performed when the first operator of '+-× ÷' is input after performing the first step. A first process of storing in the operation buffer and proceeding to a third step; 상기 제3단계 수행 후, '+ - × ÷ ='의 두 번째 연산자를 입력하는 경우 이를 두 번째 연산버퍼에 저장하는 제2과정과,A second process of storing a second operator of '+-× ÷ =' after the third step is stored in the second operation buffer; 상기 제2과정 수행 후, 상기 제1과정에서 첫 번째 연산버퍼에 저장된 연산자에 따라 해당 연산을 각각 수행하는 제3과정과,A third process of performing a corresponding operation according to an operator stored in a first operation buffer in the first process after performing the second process; 상기 제3과정 수행 후, 상기 제2과정에서 두 번째 연산버퍼에 저장된 내용을 첫 번째 연산버퍼로 옮긴 후 상기 제5단계로 진행하는 제4과정과,A fourth process of moving to the fifth operation after transferring the contents stored in the second operation buffer to the first operation buffer after performing the third process; 상기 제5단계 수행 후, 피연산자를 입력하면 첫 번째 연산버퍼의 내용이 '='인지를 확인하여 '='이 아닌 경우 상기 제3단계 이하를 재수행하고 '='인 경우 상기 제1단계 이하를 재수행하며, '+ - × ÷'의 연산자를 입력하면 상기 제5단계에서 표시된 연산 결과치를 첫 번째 피연산자로 처리한 후 상기 제3단계 이하를 재수행하는 제5과정과,After performing the fifth step, if the operand is input, it checks whether the contents of the first operation buffer is '=' and if the '=' is not repeated, performs the third step or less and if the '=', the first step or less Performing a re-run, and inputting an operator of '+-× ÷', a fifth step of treating the operation result value displayed in the fifth step as the first operand and then performing the third or less step again; 상기 제3단계에서 두 번째 피연산자가 아닌 '+ - × ÷'의 연산자를 입력하는 경우에는 이를 상기 제1과정에서 첫 번째 연산자가 저장된 첫 번째 연산버퍼에 덮어씌우고, '='의 연산자를 입력하는 경우에는 상기 제5단계 이하를 재수행하는 제6과정과,In the third step, when an operator of '+-× ÷' is entered instead of the second operand, the operator overwrites the first operator buffer in which the first operator is stored in the first step, and inputs an operator of '='. In the case of the sixth step of performing the fifth step or less again, 상기 제1단계에서 첫 번째 피연산자가 아닌 '+ - × ÷'의 연산자를 입력하는 경우에는 이를 첫 번째 연산버퍼에 저장하고, 첫 번째 피연산자를 정수 '0'으로 처리한 후 상기 제3단계 이하를 재수행하는 제7과정을 포함하여 이루어지는 것을 특징으로 하는 무선 이동통신 단말기의 계산 기능 구현방법.In the case of inputting an operator of '+-× ÷' rather than the first operand in the first step, it is stored in the first operation buffer, the first operand is treated as an integer '0', and then A method of implementing a calculation function of a wireless mobile communication terminal, comprising the seventh step of re-execution. 제1항에 있어서, 상기 연산과정시 나눗셈을 수행할 때 사용자가 '0'을 젯수로 입력하는 연산오류 또는 연산과정에서 계산결과치가 수용할 수 있는 자릿수를 초과하는 오버플로우 오류가 발생할 경우 이를 단말기의 화면에 표시하여 사용자에게 오류발생을 알리고 연속계산을 방지하도록 함을 특징으로 하는 무선 이동통신 단말기의 계산 기능 구현방법.The terminal of claim 1, wherein when a division is performed during the calculation process, a user inputs a '0' as the number of jets or an overflow error exceeding the number of digits that can be accommodated in the calculation process. Method of implementing a calculation function of a wireless mobile terminal characterized in that the display of the screen to inform the user of the error occurrence and prevent continuous calculation.
KR1019980043344A 1998-10-16 1998-10-16 Method for realizing calculation function of wireless mobile communication terminal KR20000025995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980043344A KR20000025995A (en) 1998-10-16 1998-10-16 Method for realizing calculation function of wireless mobile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980043344A KR20000025995A (en) 1998-10-16 1998-10-16 Method for realizing calculation function of wireless mobile communication terminal

Publications (1)

Publication Number Publication Date
KR20000025995A true KR20000025995A (en) 2000-05-06

Family

ID=19554263

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980043344A KR20000025995A (en) 1998-10-16 1998-10-16 Method for realizing calculation function of wireless mobile communication terminal

Country Status (1)

Country Link
KR (1) KR20000025995A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020047838A (en) * 2000-12-14 2002-06-22 윤종용 Apparatus and method for performing a function of calculation in mobile phone
KR20040001058A (en) * 2002-06-26 2004-01-07 엘지전자 주식회사 Rate calculate method mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020047838A (en) * 2000-12-14 2002-06-22 윤종용 Apparatus and method for performing a function of calculation in mobile phone
KR20040001058A (en) * 2002-06-26 2004-01-07 엘지전자 주식회사 Rate calculate method mobile terminal

Similar Documents

Publication Publication Date Title
EP0886414B1 (en) An improved method of handling phone operations and a phone using the method
KR970002177B1 (en) Radiotelephone operating technique
JPH06133021A (en) High-speed dialing method of telephone device
JPH02228860A (en) Memory data registering system
US7103161B2 (en) Mobile terminal device, method of controlling telephone number display and program thereof
JP2573373B2 (en) Display device
KR20000025995A (en) Method for realizing calculation function of wireless mobile communication terminal
KR20050082874A (en) Method for setting hot key of mibile communication terminal
JP4350209B2 (en) Telephone terminal device
KR100613519B1 (en) Setting method of the Multi Group on a person for Mobile Communication Device
JPH08293908A (en) Portable telephone set
JPH09116606A (en) Redial method of telephone terminal device
KR20000044460A (en) Method for driving cellular phone
KR100372323B1 (en) Method for manipulating data of cellular phone
JP2011076571A (en) Mobile terminal device and character input method of the same
JP3164752B2 (en) Automatic dialing device
CA2335358A1 (en) Call origination in a mobile telephone apparatus
JPH11289362A (en) Portable telephone set
KR960011825B1 (en) Redialing method for keyphone
KR19990038134A (en) How to Enter Shortcut Keys on Your Phone
JPH04248738A (en) Data management method for electronic telephone directory utilizing ic card
JP2700960B2 (en) Electronic desk calculator
JP2002142001A (en) Communication terminal
JP2000201211A (en) Portable telephone set with number interpolation function and number interpolation method
JPH05284274A (en) Facsimile equipment

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination