A7 B7 460843 5684twf.doc/008 五、發明說明(1 ) 本發明是有關於一種具有修正重顯功能的計算器及其 處理方法’且特別是有關於一種能夠對輸入數據進行逐j立 更動之具對比及逐位修正重顯功能的計算器及其處理方^ 目前市面上帶有重顯(replay)計算功能的數位處理器 (包括:計算器、PDA及相關機型),當使用者要修改數據. 時’必須先將螢幕的游標移動到需要修正的數據上,按^ 修改鍵對整個數據進行重新轍入,當確認輸入數據無誤 後,跳離修改功能並儲存新數據,才算完成整個修改^靡 的過程。 豕 但是,由於這一類的計算器多是用在財務或銀行工作 中,而這類工作接觸較多的都不是一些簡單的數字,也就 是說,通常數據的長度會很長。但是一般在鍵入數據時\ 發生的錯誤僅是十幾位數字中的一位而已。爲了要更動這 —位數字,卻必須要將整串數據重新輸入一次,不但浪g 時間,而且更可能會在重新輸入的數據中產生新的錯誤。' 有鑒於此’本發明提出一種具對比及逐位修正重顯# 能的計算器及其處理方法,其在現有的功能上更增力卩了$ 位比對及修正的功能。如此一來,對一些較長數據中微小 錯誤的修正就能更爲簡便。 本發明提出一種具對比及逐位修正重顯功能的§十算 器,可以輸入包括至少一數位的一數據資料組.。此計算器 包括一個輸入裝置,一個顯示裝置,一個隨機存取裝置以 及一個中央處理單元。在輸入裝置中包括有一個程序輸人 裝置,其用以輸入一個修正程序資料。而顯示裝置則用以^ 顯示數據資料組,以及由計算器處理過後需顯示的處5里嘗 3 本紙張尺度適用申國國家標準<CNS)A4規格(210 X 297公釐) 一 - (請先閱讀背面之注意事項再填寫本頁) 裝 經濟部智慧財產局員工消費合作社印製 A7 B7 4 6084 3 5684twf.doc/008 五、發明說明(V) 料。 ' · 隨機存取儲存裝置則具有一個第一儲存區,一個第= 儲存區以及一個第三儲存區。其中,第一儲存區用以儲存 包括至少二·個數據資料組的第一數據資料,第二儲存區用 以儲存包括至少一個數據資料組的第二數據資料,而第三· 儲存區則用以儲存代表第一數據資料與第二數據資料相異 處的一組比較資料。中央處理單元是用以比較第一數據資 料以及第二數據資料,並將所得的比較資料儲存於第三儲 存區中。此外,中央處理單元根據修正程序資料,決定數 據資料組儲存於第一儲存區或第二儲存區,並決定一個數 據修改範圍。 本發明另外提出一種具對比及逐位修正重顯功能的計 算器的處理方法。在此處理方法中,首先儲存至少一個第 一數據組爲第一數據資料,其中,任一個第一數據組包括 至少一個數位。接下來,儲存至少一個第二數據組爲第二 數據資料,任一個第二數據組也包括至少一個數位。而後, 比較第二數據組及對應於此第二數據組的第一數據組,並 儲存代表相異處的一組比較資料。之後,即根據此比較資 料,顯示對應於相異處的第一數據組及第二數據組。最後, 在相異處,對應於相異處之第一數據組,及對應於相異處 之第二數據組三者中,擇一進行修改。 綜上所述,本發明可以針對兩次輸入的數據進行逐位 比對,並且可以在相異處少的時候,僅針對相異處進行修 改;此外,也可以在相異處多的時候,直接修改整串數據。 藉此以提供使用者更方便的使用界面。 4 ' . _____/ I---1--!!/ _ 裝 — II 訂!— !-^y (請先閱讀背面之注意事項再填寫本頁) 經濟部智慧財產局員工消費合作社印製 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 經濟部智慧財產局員工消費合作社印製 4 6084 3 A7 5684twf.doc/008 gy 五、發明說明(> ) 爲讓本發明之上述和其他目的、特徵、和優點能更明 顯易懂,下文特舉較佳實施例,並配合所附圖式,作詳細 說明如下: 圖式之簡單說明:. '•第1圖繪不的是根據本發明之一較佳實施例的系統架 構方塊圖;以及 第2圖繪示的是根據本發明之一較佳實施例的施行步 驟流程圖。 重要元件標號 10:中央處理單元 20:輸入裝置 25 :程序輸入裝置 30 :液晶顯示裝置 40:隨機存取儲存裝置 較佳實施例 請參照第1圖,其繪示的是依照本發明一較佳實施例的 一種系統架構方塊圖。在本實施例中,包括一個中央處理 單元10,一個輸入裝置20,一個液晶顯示裝置30以及一個 隨機存取儲存裝置40。液晶顯示裝置30是用來顯示從輸入 裝置20所輸入的數據資料組,以及其他由中央處理單元10 處理過後,需要顯示的處理資料。而隨機存取儲存裝置40 則具有一個第一儲存區(在此並未畫出),一個第二儲存區 (在此並未畫出)以及一個第三儲存區(在此並未畫出)。其 中,第一儲存區用以儲存包括至少一個數據資料組的第一 數據資料,第二儲存區用以儲存包括至少一個數據資料組 的第二數據資料,第三儲存區則儲存第一數據資料與第二 數據資料的相異處。其中,這些記錄相異處的資料,在本 ------------ -I --------訂---------^一 (請先閱讀背面之注意事項再填寫本頁) 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) A7 B7 460843 5684twf.doc/〇〇8 五、發明說明(4) (請先閱讀背面之注意事項再填寫本頁) 發明中稱爲比較資料。而隨機存取儲存裝置40可以是一個 隨機存取記憶體(Random Access Memory),或是其他可以 儲存電子訊號的裝置。 而在輸入裝置中則包括一個程序輸入裝置25,其用以 輸入一個修正程序資料。在本實施例中,程序輸入裝置包' 括一個移位按鍵,一個數據切換按鍵,一個修正按鍵以及 一個重顯按鍵。其中,移位按鍵發出的移位訊號係用以透 過中央處理單元10,控制液晶顯示裝置30上之游標的移 動。而數據切換按鍵所發出之數據切換訊號,係用以透過 中央處理單元10,切換液晶顯示裝置30顯示第一數據資料 中的數據資料組或第二數據資料中的數據資料組。 經濟部智慧財產局員工消費合作社印製 此外,在相鄰兩次觸動修正按鍵之間,中央處理單元 10即根據輸入之數據資料組,移位訊號以及數據切換訊 號,對第一數據資料或第二數據資料進行修改。也就是說, 第一次觸動修正按鍵之後,中央處理單元10就會根據輸入 的數據切換訊號,在第一數據資料及第二數據資料之間移 動游標,或是在液晶顯示裝置30上轉換顯示第一數據資料 及第二數據資料;接下來,根據移位訊號以及輸入的數據 資料組來更動需要修改的數據資料;最後再按一次修正按 鍵以完成修改動作。 最後,重顯按鍵是用以控制中央處理單元10,將按下 重顯按鍵後輸入的數據資料儲存於第二儲存區中。 必須注意的是,上述的各種按鍵都僅是爲了說明方便 而舉例,於實際應用時並這些按鍵並不一定要單獨存在。 也就是說,只要是能夠產生與這些按鍵同樣功能的結構’ 本紙張尺度適用中國國家標準(CNS〉A4規格(210 X 297公釐) A7 B7 4 60843 5684twf.doc/008 五、發明說明(κ) 都是本發明可以應用的範圍。而且本發明並不限定僅能使 用液晶顯示器,這也是必須注意的。 中央處理單元10依序比較第一數據資料內的數位以 及相對應之第二數據資料內的數位,並將所得的比較資料 儲存於第三儲存區中。此外,中央處理單元10根據由程序· 輸入裝置25所輸入的修正程序資料,以決定輸入的數據資 料組要儲存於第一儲存區或第二儲存區中。而且根據由程 序輸入裝置25所輸入的修正程序資料,中央處理單元還可 以決定數據修改範圍爲第一儲存區中對應於前述比較資料 的數據資料組,或是第二儲存區中對應於前述比較資料的 數據資料組,還是第一儲存區中對應於比較資料之數據資 料組中的數位,又或是第二儲存區中對應於比較資料之數 據資料組中的數位。 接下來請參考第2圖,其顯示了根據本發明之一較佳 實施例的施行步驟流程圖。請合倂第1圖以方便說明。但 是必須注意的是,這僅是爲了方便說明而爲的方法,並非 限定本施行步驟必須與第1圖的系統結構合倂使用才行。 首先’在步驟S2〇0中,中央處理單元10接收到使用者通 過輸入裝置20所依序輸入的第一數據組時,就將這第一數 據組存放在隨機存取儲存裝置40之中的第一儲存區,成爲 組成第一數據資料的數據之一。其中,任一個第一數據組 包含至少一個數位。 接下來’在步驟S2 10中,若中央處理單元1〇接收到 從程序輸入裝置23之重顯按鍵所發出的一個重顯訊號 時’就會在步驟S215中要求使用者重新輸入第一數據組, 本紙張尺度適用中國國豕標準(CNS)A4規格(210 X 297公楚 (請先閲讀背面之注意事項再填寫本頁) afll n n aiaa —i n I ^ f 經濟部智慧財產局員工消費合作社印製 460843 A7 5684twf.doc/008 β7 五、發明說明U ) 並將此時輸入的數據儲存於隨機存取儲存裝置40之中的 第二儲存區,成爲組成第二數據資料的數據之一,也就是 一個第二數據組。而後,在步驟S220中,中央處理單元 10就以第一數據資料爲準,對步驟S215中輸入的數據進 行逐位的比對。如果在比對過程中發現不相符的地方,就‘ 將核對所得的相異處儲存於隨機存取儲存裝置40之中的 第三儲存區。在本實施例中,是在第三儲存區中對應於相 異處的地方做上標記。 而在步驟S220中的比對,若是沒有發現不一致的地 方,就進入步驟S230。在步驟S230中,中央處理單元10 判斷現在輸入的是否是最後一個數據,若不是則回到步驟 S220,並重複進行到最後一個數據輸入完畢爲止。當步驟 S230判斷出輸入的是最後一個數據時,流程就進入步驟 S235。此時,若第三儲存區中存有相異處,就在步驟S240 中根據上述第三儲存區中存放的相異處,在液晶顯示器30 上顯示相對應的錯誤信息標誌。雖然,在本實施例中是以 閃爍數據中對應於相異處的數位來表示錯誤信息標誌,但 必須注意的是,其他能夠標出相異數位的顯示方法,都是 本發明可以運用的方法。 當使用者看到由步驟S240所顯示的錯誤信息標誌之 後’就可以在步驟SM5中按下修正按鍵以使得計算器進入 修改狀態。當進入修改狀態後,在步驟S25〇中,使用者就 可以移動游標到數據需要更動的數位上,進行單一數位的: 修改。而當修改完畢後,就再按一次修正按鍵,表示修改 完畢。此時,根據使用者更動的是第一數據資料或是第二 8 -' » . 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) (請先閱讀背面之注意事項再填寫本頁) I裝 訂----- 經濟部智慧財產局員工消費合作社印製 B7 460843 5684twf.doc/008 五、發明說明(Q) 數據資料,中央處理單元10就會把修改後的資料存回相對 應的地方。而後,就回到步驟S220以繼續比較後續的數 據。 當然’在上述的修改步驟S245.以及S250之中,使用 者也可以選擇對整筆數據進行修改,而非僅對相異處加以. 修改。如此可以提供使用者在使用上具有更多的彈性。 而若在步驟S235中沒有相異處存在於第^儲存區 中,則中央處理單元10就顯示出核對無誤的訊息,並結束 本發明的流程。 經過實驗所得’在長度爲8個數位的數據中進行修正 時’每修正一個數據,本發明可以比習知技術少按動鍵盤 約3至4次。而且這種優勢在數據越長的時候,就會越明 顯。 綜上所述,現將本發明的優點略述如下。本發明可以 針對兩次輸入的數據進行逐位比對,並且可以僅針對相異 處進行修改,藉此提供使用者更方便的使用界面。 雖然本發明已以較佳實施例揭露如上,然其並非用以 限定本發明,任何熟習此技藝者,在不脫離本發明之精神 和範圍內,當可作各種之更動與潤飾,因此本發明之保護 範圍當視後附之申請專利範圍所界定者爲準。 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) ----------- I 裝--- (請先閱讀背面之注意事項再填寫本頁) 訂· 經濟部智慧財產局員工消費合作社印製A7 B7 460843 5684twf.doc / 008 V. Description of the invention (1) The present invention relates to a calculator with a correction and re-display function and a processing method thereof, and in particular to a method capable of making individual changes to input data. Calculator with contrast and bit-by-bit correction and re-display function and its processing method ^ Currently on the market, digital processors (including calculators, PDAs and related models) with re-play calculation functions are available. To modify the data, you must first move the screen cursor to the data that needs to be corrected, and press ^ Modify key to re-enter the entire data. After confirming that the input data is correct, leave the modification function and save the new data to complete the calculation. The entire modification process.豕 However, since this type of calculator is mostly used in finance or banking work, and this type of work is not exposed to simple numbers, that is, the length of the data is usually very long. But when you type data, the error is only one of a dozen digits. In order to change this digit, it is necessary to re-enter the entire string of data, not only the time, but also more likely to cause new errors in the re-entered data. In view of this, the present invention proposes a calculator with contrast and bit-wise correction and reappearance, and a processing method thereof, which further enhances the functions of $ -bit comparison and correction in the existing functions. This makes it easier to correct minor errors in longer data. The invention proposes a § ten calculator with a function of comparison and bitwise correction and re-display, which can input a data data set including at least one digit. The calculator includes an input device, a display device, a random access device, and a central processing unit. The input device includes a program input device for inputting a correction program data. The display device is used to display the data data set and the area to be displayed after processing by the calculator. The paper size is applicable to the national standard of Shen Guo < CNS) A4 (210 X 297 mm).--( Please read the notes on the back before filling out this page) Install the printed A7 B7 4 6084 3 5684twf.doc / 008 of the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs V. Description of the invention (V). '· The random access storage device has a first storage area, a first storage area and a third storage area. The first storage area is used to store the first data data including at least two data data sets, the second storage area is used to store the second data data including at least one data data set, and the third storage area is used to A set of comparison data representing differences between the first data data and the second data data is stored. The central processing unit is used to compare the first data material and the second data material, and store the obtained comparison data in the third storage area. In addition, the central processing unit determines whether the data data set is stored in the first storage area or the second storage area and determines a data modification range based on the correction procedure data. The invention also proposes a processing method of a calculator with the functions of contrast and bitwise correction and re-display. In this processing method, at least one first data set is first stored as first data data, wherein any one of the first data sets includes at least one digit. Next, at least one second data set is stored as second data, and any second data set also includes at least one digit. Then, the second data set and the first data set corresponding to the second data set are compared, and a set of comparison data representing differences are stored. After that, based on the comparison data, the first data group and the second data group corresponding to the differences are displayed. Finally, at the difference, one of the first data set corresponding to the difference and the second data set corresponding to the difference are selected for modification. In summary, the present invention can perform bit-by-bit comparison on the data input twice, and can only modify the differences when there are few differences; in addition, when there are many differences, Modify the entire string of data directly. This provides a more convenient user interface. 4 '. _____ / I --- 1-!! / _ Pack — II Order! —! -^ y (Please read the notes on the back before filling out this page) Printed by the Intellectual Property Bureau of the Ministry of Economic Affairs, Consumer Cooperatives This paper is printed in accordance with Chinese National Standard (CNS) A4 (210 X 297 mm) Intellectual Property Bureau of the Ministry of Economic Affairs Printed by Employee Consumption Cooperative 4 6084 3 A7 5684twf.doc / 008 gy 5. Description of the Invention (>) In order to make the above and other objects, features, and advantages of the present invention more comprehensible, the following exemplifies preferred embodiments In conjunction with the attached drawings, the detailed description is as follows: A brief description of the drawings: '• The first diagram does not show a block diagram of the system architecture according to a preferred embodiment of the present invention; and the second diagram shows What is shown is a flowchart of execution steps according to a preferred embodiment of the present invention. Reference numerals of important components 10: Central processing unit 20: Input device 25: Program input device 30: Liquid crystal display device 40: Random access storage device For a preferred embodiment, please refer to FIG. 1, which shows a preferred embodiment according to the present invention. A system architecture block diagram of an embodiment. In this embodiment, a central processing unit 10, an input device 20, a liquid crystal display device 30, and a random access storage device 40 are included. The liquid crystal display device 30 is used to display data data sets input from the input device 20 and other processing data that needs to be displayed after being processed by the central processing unit 10. The random access storage device 40 has a first storage area (not shown here), a second storage area (not shown here), and a third storage area (not shown here). . The first storage area is used to store the first data data including at least one data data set, the second storage area is used to store the second data data including at least one data data set, and the third storage area is used to store the first data data. Difference from the second data sheet. Among them, the data of these records are different, in this ------------ -I -------- order --------- ^ one (please read first Note on the back page, please fill in this page again) This paper size is applicable to China National Standard (CNS) A4 specification (210 X 297 mm) A7 B7 460843 5684twf.doc / 〇〇8 5. Description of the invention (4) (Please read the back page first (Notes on this page, please fill in this page) The invention is called comparative information. The random access storage device 40 may be a random access memory (Random Access Memory), or other devices that can store electronic signals. The input device includes a program input device 25 for inputting a correction program data. In this embodiment, the program input device includes a shift button, a data switching button, a correction button, and a redisplay button. The shift signal from the shift button is used to control the movement of the cursor on the liquid crystal display device 30 through the central processing unit 10. The data switching signal sent by the data switching button is used to switch the liquid crystal display device 30 to display the data data group in the first data data or the data data group in the second data data through the central processing unit 10. Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs. In addition, between two adjacent touches of the correction button, the central processing unit 10 shifts the signal and the data switching signal according to the input data and data set. Second, the data is modified. That is, after the correction button is touched for the first time, the central processing unit 10 switches the signal according to the input data, moves the cursor between the first data data and the second data data, or switches the display on the liquid crystal display device 30 The first data data and the second data data; next, change the data data to be modified according to the shift signal and the input data data set; finally, press the correction button again to complete the modification action. Finally, the redisplay button is used to control the central processing unit 10 to store the data entered after pressing the redisplay button in the second storage area. It must be noted that the above-mentioned various keys are just examples for the convenience of description. In actual applications, these keys do not have to exist separately. In other words, as long as the structure can produce the same functions as these keys, this paper size applies the Chinese national standard (CNS> A4 specification (210 X 297 mm) A7 B7 4 60843 5684twf.doc / 008 5. Description of the invention (κ ) Are the applicable scope of the present invention. Moreover, the present invention is not limited to the use of only liquid crystal displays, which must also be noted. The central processing unit 10 sequentially compares the digits in the first data and the corresponding second data. And the comparison data obtained is stored in the third storage area. In addition, the central processing unit 10 determines the input data data set to be stored in the first according to the modified program data input by the program · input device 25 The storage area or the second storage area. Moreover, according to the correction program data input by the program input device 25, the central processing unit may determine the data modification range to be the data data group corresponding to the aforementioned comparison data in the first storage area, or The data set corresponding to the comparison data in the second storage area or the number corresponding to the comparison data in the first storage area According to the digits in the data set, or the digits in the data set corresponding to the comparison data in the second storage area, please refer to FIG. 2 which shows the implementation steps according to a preferred embodiment of the present invention. Flow chart. Please combine Figure 1 for easy explanation. However, it must be noted that this is only a method for the convenience of explanation. It does not limit the implementation steps must be combined with the system structure of Figure 1. 'In step S200, when the central processing unit 10 receives the first data set sequentially input by the user through the input device 20, it stores the first data set in the first access point in the random access storage device 40. A storage area becomes one of the data constituting the first data. Among them, any one of the first data sets contains at least one digit. Next, in step S2 10, if the central processing unit 10 receives the input from the program input device 23 When a re-display signal is issued by the re-display button, the user will be requested to re-enter the first data set in step S215. The paper size applies to China National Standard (CNS) A4 specification (210 X 297 Gongchu (Please read the notes on the back before filling this page) afll nn aiaa —in I ^ f Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 460843 A7 5684twf.doc / 008 β7 V. Description of Invention U) and The data input at this time is stored in the second storage area in the random access storage device 40 and becomes one of the data constituting the second data data, that is, a second data group. Then, in step S220, the central processing Unit 10 takes the first data as the standard, and performs a bit-by-bit comparison on the data input in step S215. If a mismatch is found during the comparison, it will 'store the differences obtained by the verification in a random storage Take the third storage area in the storage device 40. In this embodiment, marks are placed in the third storage area corresponding to different places. If there is no inconsistency in the comparison in step S220, the process proceeds to step S230. In step S230, the central processing unit 10 determines whether the last data input is currently input. If not, it returns to step S220 and repeats until the last data input is completed. When it is determined in step S230 that the last data is input, the flow proceeds to step S235. At this time, if there are differences in the third storage area, a corresponding error message mark is displayed on the liquid crystal display 30 according to the differences stored in the third storage area in step S240. Although the error information flag is represented by the digits corresponding to the different places in the flicker data in this embodiment, it must be noted that other display methods capable of marking the different digits are methods that can be applied by the present invention. . When the user sees the error message flag displayed in step S240, he can press the correction button in step SM5 to put the calculator into the modified state. After entering the modification state, in step S25, the user can move the cursor to the digit whose data needs to be changed, and perform a single digit: modify. When the modification is completed, press the correction button again to indicate that the modification is complete. At this time, according to the user's change is the first data or the second 8-'». This paper size applies the Chinese National Standard (CNS) A4 specification (210 X 297 mm) (Please read the precautions on the back before (Fill in this page) I Binding ----- Printed by B7 460843 5684twf.doc / 008, Employees' Cooperative of Intellectual Property Bureau of the Ministry of Economy V. Description of Invention (Q) Data, the central processing unit 10 will store the modified data Back to the corresponding place. Then, it returns to step S220 to continue comparing the subsequent data. Of course, in the above-mentioned modification steps S245. And S250, the user can also choose to modify the entire data, instead of just modifying the differences. This can provide users with more flexibility in use. If no difference exists in the third storage area in step S235, the central processing unit 10 displays a message that it is correct and ends the process of the present invention. According to the experiment, when "correction is performed on data having a length of 8 digits", the present invention can press the keyboard about 3 to 4 times less than the conventional technique for each data correction. And this advantage becomes more apparent the longer the data. In summary, the advantages of the present invention are briefly described below. The invention can perform bit-by-bit comparison on the data input twice, and can only modify the differences, thereby providing a more convenient user interface. Although the present invention has been disclosed as above with a preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art can make various modifications and retouches without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of protection shall be determined by the scope of the attached patent application. This paper size applies to China National Standard (CNS) A4 (210 X 297 mm) ----------- I Pack --- (Please read the precautions on the back before filling this page) Order · Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs