TW442722B - Device and method for automatically detecting the error of personal digital assistant device - Google Patents

Device and method for automatically detecting the error of personal digital assistant device Download PDF

Info

Publication number
TW442722B
TW442722B TW86119394A TW86119394A TW442722B TW 442722 B TW442722 B TW 442722B TW 86119394 A TW86119394 A TW 86119394A TW 86119394 A TW86119394 A TW 86119394A TW 442722 B TW442722 B TW 442722B
Authority
TW
Taiwan
Prior art keywords
command
pda
patent application
item
pda device
Prior art date
Application number
TW86119394A
Other languages
Chinese (zh)
Inventor
Huai-Yan Chen
Hai-Feng Jiang
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW86119394A priority Critical patent/TW442722B/en
Application granted granted Critical
Publication of TW442722B publication Critical patent/TW442722B/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a device and a method for automatically detecting the error of a personal digital assistant (PDA) device. The present invention can, while testing a PDA device, automatically record all operations in the hard disk of a personal computer (PC) and, when an error occurs in the PDA device, retrieve the recorded operation to rebuild a new test environment so that the program tester can practically find the reason why the application program generates errors. The error detection device consists of a command interpretation module located in the PDA device, and a recording module and a feedback module located in the PC. When the application program of the PDA device starts testing, the command interpretation module will interpret the optical pen/keyboard command of the PDA device and transmit the command to the PC. After the recording module receives a command transmitted from the PDA device, the command will be stored in the hard disk of the PC. When it is required to retrieve the operation of the application program error, the feedback module will transmit the stored command back to the PDA device for rebuilding the test environment.

Description

Βϋ»1 44272 2 Α7 _______Β7 五、發明説明() 5-1發明領城: 本發明係關於一種使用於個人* 卿人數位助理(PDA)裝置中之 錯誤自動偵測裝置與其運作方法,杜21 0 ^ T ^ 在’特别是指能自動記錄ρ 的所有操作,且於PDA裝置發生 ^DA 生錯勒時將所記錄的操作锏 出,以重建測試環境之錯誤自動墙測裝置。 ]评作調5-2發明背景: 經濟部中央標準局負工消費合作社印製 目前的電腦與電子相關產品ρ 已廣泛的應用在各種產業 及人們的日常生活之中,而-&备1 — _ k些電子產品之動作往往需 要一些應用程式,除了正確择括+ %保技電子產品之動作外,亦能提供生動的人機介面給使用者,tJ哥’輅以輸入命令之用,所以 將這些應用程式比喻成這垃σ μ 度οσ的靈魂亦不爲過。 然而在應用程式的發展過箱也 取阳程中,免不了需經過一些•偵錯 的程序,用以除去應用程式中通 〜邏輯錯誤之處,進而使所有 的操控動作皆能正確運作。目前,在pe上雖然有許多測試 輔助工具’甚-不輪入之命令加以記綠,見 能依氧麻足^人員 能在程式執彳時,將產生缓捷重設至一 起始^態後二並以逐條執行命令之方式進行測試,且在觀 察暫存器或指標所儲存之内容'或是執行結果之後,即矸 以 {請先閲讀背面之注意事項再填寫本頁) JW, 訂Βϋ »1 44272 2 Α7 _______ Β7 V. Description of the Invention (5) 5-1 The City of Invention: This invention relates to an automatic error detection device and its operation method used in personal * personal digital assistant (PDA) devices. Du 21 0 ^ T ^ In particular, it means that all operations of ρ can be automatically recorded, and when the PDA device makes a mistake, the recorded operations are extracted to reconstruct the error automatic wall test device of the test environment. ] Commentary tune 5-2 Background of the Invention: The Central Computer Bureau of the Ministry of Economic Affairs has printed current computer and electronics-related products, which has been widely used in various industries and people's daily life. — _K Some electronic products often require some application programs. In addition to correctly selecting +% Baotech electronic products, they can also provide a vivid human-machine interface to the user. So it is no exaggeration to compare these applications to the soul of this σ μ ° οσ. However, in the development process of the application program, it is necessary to go through some debugging procedures to remove the logical errors in the application program, so that all the control actions can operate correctly. At present, although there are many test aids on pe, which are not even in rotation, they are green. I can see that they can be used to administer the program. When the program is executed, it will be reset slowly to an initial state. Second, the test is performed by executing the order one by one, and after observing the contents stored in the register or indicator 'or the execution result, then {Please read the precautions on the back before filling this page) JW, order

YY

-ί II 表紙法尺度邮中困嶋芈(CNS ) 經濟部中央標準局員工消费合作社印^ 442 72 2 A7 B7 ---------------—_______ _____ 五、發明説明() 推斷產生錯誤之所在,進而作爲修改程式之依據。 上述之測試環境重設,必須利用pc的硬碟作爲倚存命 令的場所,所以P C的測試輔助工具能在擁有極大容量的硬 碟環境下從事測試的工作。然而對於PDA裝置而言,由於 PDA裝置中之儲存卡無法擁有如PC硬碟般之容量,所以在 測試PDA裝置之相關程式時,測試人員就必須依靠自己的 記憶與感覺’配合紙筆記錄與不斷嘗試錯誤的方式來偵 錯。不幸的是,有些錯誤僅在某些操作步驟下才會發生, 而且往往有如憂花一現般,不經意的出現在測試人員的眼 中。在這種情形下,若只憑測試人員以人力記錄來铺錯的 方式,不僅可能因忽略某些•操作步骤而使記綠不夠精確, 而且某些錯誤極可能無法在僅利用人力記綠的方式下明確 找出(例如當程式在迴圈執行到某個程度後方產生的錯 誤),於是在測試應用程式時便可能產生無法克服的死角。 此外,由於PD A装置之儲存資源有限,因此若在储存 卡儲存許多正常使用資料之情形下,又用來記錄所有的搡 作時’將對應用程式之執行速度造成相當大的影響,而且 記錄於儲存卡的操作資料回收十分困難,所以目前pDa裝 置的測試工作,便需要經驗極度豐富的測試人員方能完 成,然而即使是資深測試人員,利用人工記綠來偵錯的方 式,仍可能因記綠不夠精確,而使測試工作睛日廢時甚 本紙张尺纽財®邮_( CNS ) A4~^ (2丨·㈣们公羡) (請先閲讀背面之注意事項再填寫本頁} 言·-ί II Printed Paper Standard (CNS) Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs ^ 442 72 2 A7 B7 ---------------——_______ _____ V. Invention Explanation () Infers the place where the error occurred, and then serves as the basis for modifying the program. The test environment reset mentioned above must use the hard disk of the PC as a place to store commands. Therefore, the PC's test auxiliary tool can perform testing work in a hard disk environment with a large capacity. However, for a PDA device, since the memory card in the PDA device cannot have the capacity as a PC hard disk, when testing the related programs of the PDA device, the tester must rely on his own memory and feelings. Constantly trying the wrong way to debug. Unfortunately, some errors occur only under certain operating procedures, and they often appear in the eyes of testers as a flash of care. In this case, if only the testers use human records to make mistakes, not only may the green recording be inaccurate by ignoring some of the operation steps, but also some errors may not be able to be used to record green using only human labor. Under the method, find out clearly (for example, the error generated after the program is executed to a certain extent in the loop), so when testing the application, there may be insurmountable dead ends. In addition, because the storage resources of the PD A device are limited, if it is used to record all the operations when the memory card stores a lot of normal use data, it will have a considerable impact on the execution speed of the application, and it will record It is very difficult to recover the operation data of the memory card. Therefore, the current testing of pDa devices requires extremely experienced testers to complete it. However, even senior testers may use manual green recording to detect errors. Remembering the green is not accurate enough, so that the test work is very wasteful when the paper rule is New York® Post_ (CNS) A4 ~ ^ (2 丨 · We are envious) (Please read the precautions on the back before filling this page} Words ·

T 經濟部中央橾準局負工消費合作社印製 > 442 72 2 A 7 _ B7 五、發明説明() 至產生測試死角之情形。因此亟需一種較習知測試方式爲 方便且精確的測試装置與方法,用以克服習知測&方^之 困境。 5-3發明目的及概述: 鑒於上述之發明背景中,習知PDA奘轚. 自沖 哀置 < 測試方式,T Printed by the Central Consumers' Bureau of the Ministry of Economic Affairs and Consumer Cooperatives > 442 72 2 A 7 _ B7 V. Description of the invention () to the situation where a test dead end occurs. Therefore, there is an urgent need for a more convenient and accurate test device and method for the conventional test method to overcome the predicament of the conventional test & method. 5-3 Purpose and summary of the invention: In view of the above background of the invention, PDA is known.

係利用測試人員以記憶或感覺,配合記錄與不断嘗試錯誤 的方式來偵錯,卻可能因記綠不夠精確,而使測試工作咦 曰廢時,甚至產生測試死角之情形》本發明即斜對普知pDA 的測試方式提出一適用於PDA裝置之錯誤自動偵測裝置與 方法,用以克服習知測試方式之困境。 根據以上所述之目的,本發明提供了一種PDA装置之 錯誤自動偵測裝$與其運作方法,將自動將PDA装置的所 有操作記綠於於PC硬碟中’且於Pr)A裝置發生錯誤時將 所記錄的操作調出以重建測試環境*本發明之錯誤偵測裝 置包含位於pda装置的命令解釋模組,以及位於pc的記 綠模組與回送棋组。當PDA装置中的應用程式之測試動作 開始時,命令解釋模組將解讀PDA裝置之光筆或鍵盤所輸 入的命令,並將所該命令傳送至PC;記錄模組接收到PDA 装置所傳達之命令後,即將該命令错存於PC之硬碟中;而 回送棋組则在需要重現應用程式發生錯誤之操作情形時, 5 本紙張尺度適用中圃屬家搮準(匚阳)人4現格(2丨0父297公嫠) I?--------》衣------訂------^ (請先閱讀背面之注意事項再填寫本頁) 442722 A7 B7 五、發明説明() 將所儲存的命令依序送回至P D A裝置以重建測試環境。 S-4圈式簡單说明: 本發明的較佳實施例將於往後之説明文字中輔以下列 圖形做更詳細的闡述: 第一圖爲本發明所揭露的PDA装置之錯誤自動偵測裝置之 系統架構方塊®; 第二圖描繪第一圈中解釋模組的運作流程圖; 第三圖爲第一圈中記錄模組與回送模組之運作流程圖; 第四A圖描繪本發明較佳實施例中所使用之筆點命令格式 示意圖; 第四B围描繪本發明較佳實施例中所使用按鍵命令格式示 意圖ί及 第四C圈描續一 PDA裝置於測試時,以第四a圖與第四Β 圈所描續之筆點與按鍵命令格式,於PC硬碟错存命令之示 意困。 5-5發明詳麯说明: 經濟部中央榡準局負工消费合作社印裝 (請先閱讀背面之注意事項再填寫本頁)The use of testers to memorize or sense, cooperate with recording and continuous trial and error to detect errors, but because the green recording is not accurate enough, the test work is abandoned, and even a test dead end situation occurs. The general pDA test method proposes an automatic error detection device and method suitable for PDA devices to overcome the predicament of the conventional test method. According to the above-mentioned purpose, the present invention provides a PDA device error automatic detection device and its operation method, which will automatically record all operations of the PDA device on the PC hard disk, and an error occurs on the Pr) A device. The recorded operations are called up to rebuild the test environment. The error detection device of the present invention includes a command interpretation module located on the pda device, a green record module and a return chess set located on the pc. When the test action of the application program in the PDA device starts, the command interpretation module will interpret the command entered by the light pen or keyboard of the PDA device and transmit the command to the PC; the recording module receives the command transmitted by the PDA device After that, the order is stored in the hard disk of the PC by mistake; and the return team needs to reproduce the operation situation of the application error. Grid (2 丨 0 Father 297 males) I? --------》 Cloth -------- Order ------ ^ (Please read the precautions on the back before filling this page) 442722 A7 B7 5. Description of the invention () Send the stored commands back to the PDA device in order to rebuild the test environment. S-4 circle type simple description: The preferred embodiment of the present invention will be described in more detail in the following explanatory text with the following figures: The first figure is the automatic error detection device of the PDA device disclosed in the present invention System Architecture Block®; The second diagram depicts the operation flowchart of the interpretation module in the first circle; the third diagram depicts the operation flowchart of the recording module and the return module in the first circle; The schematic diagram of the pen command format used in the preferred embodiment; the fourth circle B depicts the schematic diagram of the key command format used in the preferred embodiment of the present invention; and the fourth circle C depicts a PDA device. The pen point and key command format described in the figure and the fourth circle B are schematic diagrams of the wrong command stored on the PC hard disk. 5-5 Detailed description of the invention: Printed by the Ministry of Economic Affairs, Central Bureau of Quasi-Bureau Cooperative Consumer Cooperatives (please read the precautions on the back before filling this page)

第一圖描繪本發明較佳實施例之系统架構方塊圖。明顯 的’在第一圈的PC11肀包含一記綠模组111與一回送模組 1 12,而在PDA裝置12則包含一命令解釋模組121。當PDA 6 本紙張尺度適用中國國家標率(CNS > A4規格(210X297公# ) 植濟部中央橾準局貝工消費合作社印取 4 4 2 7 2 2 A7 ------------ B7________ 五、發明説明() 裝置12開始測試工作時,由p D a裝置1 2中的應用程式輸 入命令,該命令可以由鍵盤或光筆輸入,而JL該命令係經 由命令解釋模組121之解釋翻譯後,經由傳輸線送往PC 1 1。PC 1 1中的記綠模组1 1 I負责接收由PDA裝置12所送 來的命令’並將其記綠於PC 11的硬碟中,而該記錄模組 111持續其記錄命令的動作,由PDA裝置12傳達停止記錄 之命令後爲止。往後回送模組112則將記錄於硬碟中的命 令依序回送至PDA裝置12,而所回送之命令則由命令解釋 模組1 2 1接收,並用以重建原測試環境之用,此時之測試 人員便可以逐條執行的方式進行測試’藉以找出應用程式 產生邏輯錯誤之所在點。上述記綠於硬碟之操作,係於硬 碟中開啓一記綠文件,並以先進先出(First-in_first〇ut)的方 式記綠與送出所错存的命令a 明類的,當利用PC 1 i的硬碟作爲PDA裝置12儲存命 令的處所後’只要在Pc u與PDA裝置12中分别掛上如第 —囷所述的記綠祺組ηι與回送樸组112,以及命令解釋模 组1 2 1後即可進行測試,而測試人員可以盡其所能的測試 PDA裝置12之應用程式,亦不須再以人工記錄的方式從事 測試。更重要的是,對於測試人員的要求,便不須如同習 知技術般,必須由具有豐富測試經驗的測試人員來擔任。 第二圈描繪第一圈中,位於PDA裝置12中的命令解釋 本紙張尺度逋用中®囷家操率(CNS )人4洗格(2IOX297公釐) -----------------ΐτ------y (請先閱讀背面之注意事項再填寫本頁) r 4 42 A7 B7 經濟部中央標準局貝工消費合作社印製 五、發明説明( 模組12 1乏播仏上 之命人陆流程围。當PDA裝置12處於储存測試環境 鍵函:L 01)’ ♦令解釋模、組121將調用讀筆點或按 作爲解讀輸入命令之用(步驟20 J,而當移動先韋 鍵盤輸入命令時(步樣2〇3)’該命令將於轉換後送往PC 驟204),該命令解释模組121於完成儲存命令之任務 Sit藉由讀筆點或按鍵函數之出口返回(步驟205)。而當 4置處於讀取測試環境之命令時(步躁π〗),命令 ^ Hi將向% "調取㈣存的命令(切Mo,而 々將於轉換爲對應的韋點或按鍵値後送回至命令解釋 模組Hi (切Μ.命令解㈣1 η〗亦^成讀取命令 疋任務後,藉由讀筆點或按鍵函數之出口返回(步驟205)。 第三®爲第—围令’位於PCU中的記綠模組⑴與回 :模=M2之運作流程圈。當PDA裝置”處於儲存測試環 境之命令時(步驟3θΐ),將先偵測所送達的命令是否指于結 東記錄之操作(步驟3θ2)β當所接收並非結束記綠^命令 時,則測試PC U的通訊模組中,是否包含由PDA裝置 所送來的命令(步驟303),並於通訊楔組包含命令時,將咳 命令記錄於PC11的硬碟中》隨後並回到步驟302繼續重^ 上述的記綠步驟,直到收到結束記錄之命令後,再於PC11 硬碟中記綠一結束標記(步驟309) » ' 當PDA裝置12欲讀取所错存之命令時(步驟3〇1),記 (請先閱讀背面之注意事項再填寫本筲)The first figure depicts a block diagram of a system architecture according to a preferred embodiment of the present invention. Obviously, PC11 in the first circle includes a green module 111 and a loopback module 112, and the PDA device 12 includes a command interpretation module 121. When the paper size of PDA 6 is in accordance with China's national standard (CNS > A4 size (210X297) #), it will be printed by the 4th, 2nd, 2nd, 2nd A7 -------- ---- B7________ V. Description of the invention () When the device 12 starts the test work, a command is input by the application in the p D a device 12; the command can be entered by the keyboard or the light pen, and the JL command is a command interpretation mode After the interpretation of group 121 is translated, it is sent to PC 1 1 via the transmission line. The green recording module 1 1 I in PC 1 1 is responsible for receiving the command sent by PDA device 12 and recording it in the hard disk of PC 11 And the recording module 111 continues its action of recording commands, after the PDA device 12 transmits a command to stop recording. The backward return module 112 sequentially sends the commands recorded in the hard disk to the PDA device 12 in order. , And the returned command is received by the command interpretation module 1 2 1 and used to rebuild the original test environment. At this time, the tester can perform the test one by one to execute the test to find the logical error of the application program. Where it is. The operation of recording green on the hard disk is related to the hard disk. Open a green file, and record the wrong command in the first-in-first-out (Green-First-out) mode and send the wrong command a. When the hard disk of PC 1 i is used as the PDA device 12 to store the command After the premises, as long as the PC and the PDA device 12 are respectively linked with the record-keeping group ηι and the loopback group 112 as described in the first paragraph, and the command interpretation module 1 2 1 can be tested, and the tester You can test the applications of the PDA device 12 to the best of your ability, and you no longer need to perform the test by manual recording. More importantly, the requirements for the tester need not be as well known as the technology, and must be rich. Testers with test experience will serve as the second circle. In the first circle, the order in the PDA device 12 will be interpreted. The paper size is in use®. Homework rate (CNS) is 4 squares (2IOX297 mm)- --------------- ΐτ ------ y (Please read the notes on the back before filling out this page) r 4 42 A7 B7 Shellfish Consumer Cooperative, Central Bureau of Standards, Ministry of Economic Affairs Printed 5. Description of the invention (Module 12 1) There is no life on the ground. When the PDA device 12 is in storage Test environment key function: L 01) '♦ Make the interpretation mode and group 121 call up the reading pen point or press to read the input command (step 20 J, and when moving the first keyboard to input the command (step sample 02)) 'The command will be sent to the PC after conversion (step 204), and the command interpretation module 121 returns to the exit point of the pen reading function or key function Sit by completing the task of storing the command (step 205). When testing the command of the environment (step π), the command ^ Hi will retrieve the saved command (cut Mo, and 々 will be converted to the corresponding Wei point or key 値 and returned to the command interpretation mode). The group Hi (cut M. command solution 1 η) is also converted into a read command task, and then returned by reading the pen point or the exit of the key function (step 205). The third ® is the first-circle order's operation cycle of the green module ⑴ and the back: module = M2 located in the PCU. When the PDA device is in the command to store the test environment (step 3θΐ), it will first detect whether the delivered command refers to the operation recorded in Jiedong (step 3θ2) β. When the received command is not the end of the green ^ command, then test Does the communication module of the PC U contain the command sent by the PDA device (step 303), and when the communication wedge group contains the command, record the cough command on the hard disk of PC11 "and then return to step 302 to continue Repeat the green recording steps above, until you receive the command to end the recording, write the green one end mark on the PC11 hard disk (step 309) »'When the PDA device 12 wants to read the wrong command (step 3) 〇1), remember (please read the notes on the back before filling in this card)

V 訂 本紙張尺度適用中國國家梯準(CNS ) A4说格(210X 297公釐) 4 42 ·?二 2 A 7 B7 五、發明説明( 綠模組1 1 1將於PDA請求命令到達時(步驟305) t由pc ^ ^ 硬碟中讀取一條儲存的命令(步驟3 06),並將該命令傳送至 PDA装置1 2(步驟308) ’而傳送命令之步驟將持續進行,亩 到所讀取結束標記爲止(步驟3 0 7 ) » 第四A圖與第四B圈分别描繪本發明較佳實施例中所 使用之筆點或按鍵命令格式示意圖,而每個光筆與按鍵所 輸入的命令,將分别利用三個與五個位元組的容量來儲存 之,每個光筆與按鍵命令又被進一步區分爲三個子區域。 舉例來説,光筆與按鍵命令的第一個位元组係用作健存命 令的標示碼,用以區分命令所輸入的装置。例如用F1H(H 表十六進位)與FOH分别表示由光筆與鍵盤輸入命令β按鍵 命令的第二個與第三個位元组則分别表示桉鍵値的高位元 與低位元組値;筆點命令的第二、三個位元組用來表示X 座標値,而筆點命令的第四、五個位元組則用來表示Υ座 標値,往後將列舉一實例做更進一步之説明。 ΪΊ·ίϋ m - i n n I -- n n K n n 丁 、T (請先閲讀背面之注意事項再填寫本頁} 經濟部中央標窣局員工消費合作社印聚 第四C圈描繪P D A裝置12於測試時,)¾第四A囷與第 四B圓所描燴之筆點與桉鍵命令格式,於PC 13之硬碟儲 存命令的示意®,其中更假設光筆提起時,X、Y座標値爲 FFFFH »當測試動作開始後,由於光筆於座標(45H,35H)點 下,所以將產生一 [F1H, 4500H, 3500H]的筆點命令,隨後 並將該命令傳迭至PC加以儲存。由於光筆在點下時往往形 本紙張尺度適用中國國家椹举(CNS > A4規格(210 乂 297公釐) A7 B7 Λ42 五、發明説明() 成滑動之情形’所以在記綠完畢返回至P D A測試操作時, 若光筆尚未提起則將接著上一次的儲存内容[F1H,45〇〇H, 3500H],而在光筆提起後,將產生—[fih,Ffffh, FFFFH】 的筆點命令並送往PC 13儲存。接下來於Pda裝置按鍵“翻 下頁鍵”(Page down)鍵之後,將產生一 [F〇H,〇2H,〇〇H]之按 鍵命令’並儲存於PC13的硬碟申^於是儲存的順序便於第 四C围中’由上往下的方式描繪之;而在Pda裝置12回調 上述儲存之命令時’亦是利用由上往下的方式輸出儲存命 令,於是原先的測試環境便得以重建。 綜合以上所述,本發明所提供之用於PDA裝置的錯誤 自動偵測裝置與其運作方法,能自動將pda裝置的所有操 作記錄於於PC硬碟中,且於PDA裝置發生錯誤時將所記 綠的操作調出並重現之。所以不須要具有豐富測試經驗的 測試人員方能從事測試工作,而且測試人員可以盡其所能 的測試PDA裝置之應用程式,更不須再以人工記綠的方式 從事測試,不僅能降低測試人貝的負擔,更能使測試死肖 大爲減少〇 (請先閲讀背面之注意事項再填舄本耳j •訂. > 經濟部中央標準局貝工消費合作社印袈 僅 述 所 上 以 利效 專等 請之 申成 之完 明所 發下 本神 已 而 例 施 實 佳 較 之 明 發 , 本範故 爲 定锖專 限之請 以示申 用揭之 非所述 並明下 發在 本含 離包 脱應 未均 它 , 其飾 凡修 .·或 圍變 to 準 橾 家 8 國 通 '4 42 72 2 A7 B7五、發明説明() 經濟部中央標隼局員工消費合作社印裝 内 圍 範 寿 (請先閱讀背面之注意事項再填寫本頁) 本紙張尺度逋用中國國家標华(CNS ) A4規格(210X297公釐}V The size of the paper is applicable to the Chinese National Standard (CNS) A4 grid (210X 297 mm) 4 42 ·? 2 2 A 7 B7 V. Description of the invention (Green module 1 1 1 will be sent when the PDA request order arrives ( Step 305) t read a stored command from the pc ^ ^ hard disk (step 3 06), and transmit the command to the PDA device 1 2 (step 308) 'and the step of transmitting the command will continue, acre to all Until the end mark is read (step 3 07) »The fourth circle A and the fourth circle B respectively depict the schematic diagram of the pen point or key command format used in the preferred embodiment of the present invention, and each light pen and key input Commands will be stored using the capacity of three and five bytes respectively, and each light pen and key command is further divided into three sub-areas. For example, the first byte of the light pen and key command is Used as the identification code of the save command to distinguish the input device of the command. For example, F1H (H for hexadecimal) and FOH are used to indicate that the second and third digits of the β key command are entered by the light pen and the keyboard, respectively. The tuples represent the high and low bits of eucalyptus Group 値; the second and third bytes of the pen point command are used to represent the X coordinate 値, and the fourth and fifth bytes of the pen point command are used to represent the Υ coordinate 値, an example will be listed in the future Further explanation. ΪΊ · ίϋ m-inn I-nn K nn Ding, T (Please read the precautions on the back before filling out this page} The Central Consumers Bureau of the Ministry of Economic Affairs's Consumer Cooperatives printed the fourth circle to depict the PDA When the device 12 is tested, ¾ the stroke points and the Eucalyptus key command format described in the fourth circle A 囷 and the fourth circle B, the instructions for storing the commands on the hard disk of the PC 13®. It is also assumed that when the light pen is lifted, X, Y coordinate 値 is FFFFH »When the test operation starts, because the light pen is at the coordinates (45H, 35H), a pen point command of [F1H, 4500H, 3500H] will be generated, and then the command will be passed to the PC for Store. Because the light pen is often in the shape of a paper when it is clicked, the paper size is applicable to the Chinese national standard (CNS > A4 size (210 乂 297 mm) A7 B7 Λ42 V. Description of the invention () Sliding situation), so the green is completed When returning to the PDA test operation, Once the content is stored [F1H, 4500H, 3500H], after the light pen is lifted, a pen-point command of [[fih, Ffffh, FFFFH]] will be generated and sent to the PC 13 for storage. After the “Page Down” button, a [F〇H, 〇2H, 〇〇H] key command will be generated and stored on the hard disk of PC13. ^ So the order of storage is convenient for the fourth C circle. It is depicted in a top-down manner; and when the Pda device 12 recalls the stored command, the storage command is also output in a top-down manner, so that the original test environment can be reconstructed. To sum up, the automatic error detection device for PDA devices provided by the present invention and its operation method can automatically record all operations of the pda device in a PC hard disk, and record the errors when a PDA device error occurs. The green operation is recalled and reproduced. Therefore, it is not necessary to have testers with rich testing experience to engage in testing work, and testers can do their best to test applications of PDA devices, and they no longer need to engage in testing by manual green recording, which not only reduces testers The burden of shellfish can greatly reduce the death of the test. (Please read the notes on the back before filling in this ear. • Order. ≫ The seal of the shellfish consumer cooperative of the Central Standards Bureau of the Ministry of Economic Affairs only describes the benefits mentioned above. The enlightenment issued by the application of the patent application, such as the application of the god, is better than that of the actual application. This model is strictly limited. Please indicate the non-declaration of the application and disclose it. This book should not be separated from the package, and it should be decorated with any repairs. · Or the siege to the Zhunjia Family 8 Guotong '4 42 72 2 A7 B7 V. Description of the Invention () Printed by the Consumers' Cooperative of the Central Bureau of Standards, Ministry of Economic Affairs Inner Fan Shou (Please read the precautions on the back before filling out this page) This paper uses the Chinese National Standard (CNS) A4 size (210X297 mm)

Claims (1)

A8 B8 C8 D8 經濟部中央檫隼局貝工消費合作社印裝 442 72 2 六、申請專利範圍 1. 一種使用於個人數位助理(Personal Digital Assitant,PDA) 装置的錯誤自動偵測裝置,該 PDA裝置與一個人電腦 (Personal Computer,PC)相連接,以使測試人員不須再利用 紙上記綠或不斷測試之方式,即可確實找出PDA裝置應用 程式產生錯誤之原因進而減少測試死角,該錯誤自動偵測裝 置至少包含: 命令解釋裝置,位於該PDA装置之中,輸入由PDA裝 置而來的命令,與傳送該命令至該PC,以及由該PC輸入 先前所儲存的該命令; 記錄裝置,位於該PC之中,輸入由該PDA裝置而來 的該命令且儲存該命令,當該PDA裝置輸出送一結束標記 時,該記錄裝置即停止該記錄命令之操作;及 回送裝置,位於該pc之中,用以利用先進先出(First_ in-first-out)的方式回送該PDA裝置先前所儲存的該命令。 2. 如申請專利範团第1項之錯誤自動偵測裝置,其中上述之 命令包含一按鍵命令。 3. 如申請專利範困第2項之錯誤自動偵測装置,其中上述之 命令解释裝置在輸出該按鍵命令前,係調用一按鍵函式用以 解讀該按鍵命令。 4 ·如申請專利範園第1項之錯誤自動偵測裝置,其中上述之 <請先閲讀背面之注意事項再填寫本頁)A8 B8 C8 D8 Printed by the Central Government Bureau of the Ministry of Economic Affairs Shellfish Consumer Cooperative Co., Ltd. 442 72 2 6. Scope of Patent Application 1. An automatic error detection device for a Personal Digital Assitant (PDA) device, the PDA device Connected with a personal computer (PC), so that testers do not need to use green on paper or test continuously to find out the cause of the PDA device application error and reduce the dead corner of the test. The error automatically The detection device includes at least: a command interpretation device, located in the PDA device, inputting a command from the PDA device, transmitting the command to the PC, and inputting the command previously stored by the PC; a recording device, located at In the PC, the command from the PDA device is input and the command is stored. When the PDA device outputs an end mark, the recording device stops the operation of recording the command; and the return device is located on the PC. In order to use the first-in-first-out method to return the command previously stored by the PDA device. 2. For the automatic error detection device of the first patent application group, the above command includes a key command. 3. For the automatic error detection device of item 2 of the patent application, the above-mentioned command interpretation device calls a key function to interpret the key command before outputting the key command. 4 · If you apply for a patent automatic error detection device in the first paragraph of the patent application park, of which the above < Please read the precautions on the back before filling this page) 12 442 72 2 六、申請專利範圍 命令包含一筆點命令。 5 _如申請專利範圍第4項之錯誤自動偵測裝置,其中上述之 命令解釋装置在輸出該筆點命令前,係調用一筆點函式用以 解讀該筆點命令。 6.如申請專利範团第1項之錯誤自勤偵測装置,其中上述之 記錄装置係將由該PDA裝置而來的該命令儲存於該pc的 硬碟中。 (請先閲讀背面之注意事項再填寫本頁}12 442 72 2 VI. Scope of patent application The order includes a dot order. 5 _If the error automatic detection device of item 4 of the patent application scope, wherein the above command interpretation device calls a point function to interpret the point command before outputting the point command. 6. The error self-service detection device according to item 1 of the patent application group, wherein the above recording device stores the order from the PDA device in the hard disk of the pc. (Please read the notes on the back before filling this page} 經濟部中央標準局負工消費合作社印製 7,—種使用於個人數位助理(Personal Digital Assitant,PDA) 裝置的錯誤自動偵測裝置,該 PDA裝置舆一個人電腦 (Personal Computer, PC)相連接,該錯誤自動偵測裝置至少 包含: 命令解釋裝置,位於該PDA裝置之中,輸入由PDA裝 置而來的命令,與傳送該命令至該PC,以及由該PC輸入 先前所儲存的該命令; 記綠裝置,位於該PC之中,輸入由該PDA裝置而來 的該命令且儲存該命令;及 回送裝置,位於該PC之中,用以回送該PDA装置先 前所儲存的該命令至該PDA装置中。 •如申請專利範圍第7項之錯誤自動偵測装置’其中上述之 13 本紙張適用中1|两家榡丰(CNS )从胁(加乂加公爱) 訂 Λ4272 2 六、申請專利範圍 命令包含一按鍵命令。 9.如申請專利範团第8項之錯_ 命令解釋装置在輸出該按鏠'自動该測裝置,其中上述之 解讀該按鍵命令。 ⑨’係調用一按鍵函式用以 1 0 ·如申請專利範圍第7项之& \错祖lb I 之命令包含_筆點命令β 、自動偵測裝置,其中上述 11·如申請專利範圍第10項之 之命令解釋裝置在輸出該筆點謨自動偵測裝置,其中上述 以解讀該筆點命令。 肀令前,係調用一筆點函式用 I2·如申請專利範®第7項之鉗 頌誤自動偵測装置,立中上述 之記錄裝置係將由該PDA^ T 上 置而來的該命令儲存於該PC 13.如申請專利範園第7項之籍 儲存與回送該命令之方式係以弈M 土山 的方式完成。 經濟部中央榡準局貝工消費合作社印聚 (請先閲讀背面之注意事碩再填寫本頁)Printed by the Consumers' Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs, a kind of automatic error detection device for personal digital assistant (Personal Digital Assitant, PDA) devices. The PDA device is connected to a personal computer (PC). The error automatic detection device includes at least: a command interpretation device, located in the PDA device, inputting a command from the PDA device, transmitting the command to the PC, and inputting the command previously stored by the PC; The green device is located in the PC, inputs the command from the PDA device and stores the command; and the return device is located in the PC, and returns the command previously stored by the PDA device to the PDA device in. • If the patent application scope of the 7th automatic error detection device 'of which the above 13 papers are applicable 1 | Two Congfeng (CNS) from the threat (plus the public love) Order Λ4272 2 VI, patent scope order Contains a key command. 9. If the error of item 8 of the patent application group _, the command interpreting device is outputting the button to automatically test the device, and the above-mentioned interprets the key command. ⑨ 'is to call a key function for 1 0. As in the 7th & \ wrong Zu lb I of the scope of patent application, the command includes _ pen point command β and automatic detection device, of which the above 11 · The command interpretation device of item 10 is outputting the pen point automatic detection device, wherein the above is to interpret the pen point command. Prior to the order, a point function was used to use I2. If the patent application for item 7 of the pliers error automatic detection device, the above-mentioned recording device will store the order from the PDA ^ T On the PC 13. The way of storing and returning the order in accordance with item 7 of the patent application park is completed by Yi M Tushan. Printed by the Central Laboratories of the Ministry of Economic Affairs of the Bayong Consumer Cooperative (please read the note on the back before filling out this page) 〜積块自動偵測装置,其中上迷 τ Α 无進先出(First-in-first-out) 的硬碟中。 如申請專利範圍第7項之錯誤自動该測装置,其中上述 之該PDA裝置輸出送一結東標記時,該記綠裝置即停止該 14 本紙張幻fc遢用中困國家橾丰(CNS} (210X297公釐) 44272 Λ8 B8 C8 D8 六、申請專利範圍 1己綠命令之操作。 15· —種使用於個人數位助理(Personal Digital Assitant, PD A)裝置的錯誤自動偵測方法,該PDA裝置與一個人電腦 (Petsonal Computer,PC)相連接,該錯誤自動偵測方法至少 包含下列步驟: 由該PDA装置輸入一命令; 解讀該命令; 將該命令送往該PC加以儲存; 當需重建一測試環境時,由該p C回送先前所儲存的該 命令;及 利用先前儲存之該命令重建該測試環境° 1 6.如申請專利範圍第丨5項之錯誤自動楨測方法,其中上述 之命令包含一按鍵命令β 1 7.如申請卑利範圍第1 6項之錯誤自勤偵測方法,其中上述 之按鍵命令係在送往該PC儲存前,利用調用一按鍵函式用 以解讀該按鍵命令。 (請先閱讀背面之注意事項再填寫本頁) 訂. 經濟部中央揉隼局員工消费合作社印裝 令 第命 圍點 範筆 專含 包 申令 如命 18之 中 其 , 法 方 則 偵 動 誤 錯 之 項 5 本紙張又度逋用中國國家梂丰(CNS ) A4规格(210><297公釐) A8 B8 C8 D8 經濟部中央標準局負工消費合作社印製 442 72 2 七、申請專利範圍 19 如申請專利範園第18項之錯誤自動偵測方法,其中上述 之筆點命令在送往該pc儲存前,係調用—筆點函式用以解 讀該筆點命令。 20.如申請專利範圍第15項之錯誤自動偵測方法,其中上述 送往該PC儲存的該命令係儲存於該pc的硬碟中β 2 1,如申請專利範園第i 5項之錯誤自動侦測方法,其中上述 回送該命令之方式係以先進先出(First-in-first-out)的方式 完成。 22·如申請專利範圍第1 5項之錯誤自動偵測方法,其中上述 當該PDA裝置輸出送一結束標記時,即停止該記綠命令之 操作。 23 種使用於個人數位助理(pers〇nal Digital Assitant, PDA)裝置的錯誤自動偵測方法,該PDA裝置與一個人電腦 (Personal Computer,PC)相連接,以使測試人員不須再利用 紙上記綠或不斷測試之方式,即可確實找出PDA裝置應用 程式產生錄誤之原因進而減少測試死角,該錯誤自動偵測方 法至少包含下列步嫌: 由該PDA装置輸入一命令; 解讀該命令; 本紙張尺度逋用中國國家揉準(CNS ) A4规格(210XM7公釐) (請先閱讀背面之注意事項再填寫本頁)~ Block automatic detection device, where τ Α is not in the first-in-first-out hard disk. If the error is detected automatically in the scope of the patent application, the test device will be automatically detected. When the above PDA device sends a knot mark, the green device will stop the 14 papers. (210X297 mm) 44272 Λ8 B8 C8 D8 6. Operation of patent application 1 Green command. 15 · —A method for automatic error detection of personal digital assistant (Personal Digital Assitant, PD A) devices, the PDA device Connected to a personal computer (Petsonal Computer, PC), the automatic error detection method includes at least the following steps: Enter a command from the PDA device; interpret the command; send the command to the PC for storage; rebuild a test when needed In the environment, the PC stores the previously stored command; and uses the previously stored command to rebuild the test environment. 1 6. If the method of automatic error detection of item 5 of the patent application scope, the above command contains One-button command β 1 7. If you apply for the error self-service detection method of item 16 in the Bailey scope, the above-mentioned key commands are sent to the PC for storage by using the adjustment. A key function is used to interpret the key command. (Please read the precautions on the back before filling out this page) Order. The Central Government Bureau of the Ministry of Economic Affairs, the Consumer Cooperatives Printing Orders, Orders, Pens, and Special Orders include Among the 18 orders, the rule of law is to detect mistakes. 5 This paper uses China National Standard (CNS) A4 specifications (210 > < 297 mm) A8 B8 C8 D8 Printed by the Industrial and Consumer Cooperatives 442 72 2 VII. Application for Patent Scope 19 If the method of automatic error detection of item 18 in the patent application park is adopted, the above-mentioned pen point command is called before the pen-point function is sent to the PC for storage. Used to interpret the point order. 20. For the automatic error detection method of item 15 in the scope of patent application, wherein the order sent to the PC for storage is β 2 1 stored in the hard disk of the PC. Fanyuan item i 5 automatic error detection method, in which the above method of returning the order is completed in a first-in-first-out manner. 22 · If the error in item 15 of the scope of patent application Automatic detection method When the PDA device sends an end mark, the operation of the green command is stopped. 23 kinds of automatic error detection methods for a personal digital assistant (PDA) device, the PDA device and a person Personal computer (PC) is connected, so that testers do not need to use green on paper or continuous testing to find out the cause of recording errors in PDA device applications and reduce the dead angle of testing. The errors are automatically detected. The test method includes at least the following steps: Enter a command from the PDA device; interpret the command; this paper size uses the Chinese National Standard (CNS) A4 specification (210XM7 mm) (Please read the precautions on the back before filling in this page) 經濟部中央橾率局貝工消费合作社印簟Central Government Bureau of the Ministry of Economic Affairs AS B8 C8 D8 六、申請專利範圍 442 72 2 將該命令送往該pc之硬碟加以儲存; 當需重建一測試環境時,以先進先出(First-in-first-out) 的方式由該PC回送先前所儲存的該命令;及 利用先前儲存之該命令重建該測試環境。 24.如申請專利範圍第23項之錯誤自動偵測方法,其中上述 之命令包含一按鍵命令》 25·如申請專利範圍第24項之錯誤自動偵測方法,其中上述 之按鍵命令係在送往該PC儲存前,利用調用一按鍵函式用 以解讀該按鍵命令。 26.如申請專利範園第23項之錯誤自動偵測方法,其中上述 之命令包含一筆點命令。 27.如申請專利範圍第26項之錯誤自動偵測方法,其中上述 之筆點命令在送往該PC錄存前,係調用一筆點函式用以解 讀該筆點命令。 28.如申請專利範園第23項之錯誤自動偵測方法,其中上述 當該PDA裝置輸出送一結束標記時,即停止該記錄命令之 操作。 17 本紙張尺度遠用中•國家揉奉(CNS > A4规格(210X297公釐)AS B8 C8 D8 VI. Patent application range 442 72 2 Send the order to the hard disk of the PC for storage; when a test environment needs to be rebuilt, the first-in-first-out The PC sends back the previously stored command; and uses the previously stored command to rebuild the test environment. 24. The automatic error detection method of item 23 in the scope of patent application, wherein the above command includes a key command. 25 · The automatic error detection method of item 24 in the scope of patent application, where the above key command is sent to Before the PC saves, a key function is called to interpret the key command. 26. The automatic error detection method according to item 23 of the patent application park, wherein the above command includes a dot command. 27. The automatic error detection method according to item 26 of the patent application scope, wherein the above-mentioned pen point command is called a point function to read the pen point command before being sent to the PC for record keeping. 28. The automatic error detection method according to item 23 of the patent application park, wherein the operation of the recording command is stopped when the PDA device sends an end mark. 17 This paper is widely used in the country • Country kneading (CNS > A4 size (210X297 mm)
TW86119394A 1997-12-19 1997-12-19 Device and method for automatically detecting the error of personal digital assistant device TW442722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW86119394A TW442722B (en) 1997-12-19 1997-12-19 Device and method for automatically detecting the error of personal digital assistant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW86119394A TW442722B (en) 1997-12-19 1997-12-19 Device and method for automatically detecting the error of personal digital assistant device

Publications (1)

Publication Number Publication Date
TW442722B true TW442722B (en) 2001-06-23

Family

ID=21627451

Family Applications (1)

Application Number Title Priority Date Filing Date
TW86119394A TW442722B (en) 1997-12-19 1997-12-19 Device and method for automatically detecting the error of personal digital assistant device

Country Status (1)

Country Link
TW (1) TW442722B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716556B2 (en) 2005-09-09 2010-05-11 Via Optical Solution, Inc. Method for calculating an error detecting code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716556B2 (en) 2005-09-09 2010-05-11 Via Optical Solution, Inc. Method for calculating an error detecting code

Similar Documents

Publication Publication Date Title
TW498270B (en) Computer-based lecture recording and reproducing method
CN103310678B (en) Writing exercise device and exercise method
WO2009114999A1 (en) Document processing method, system and device
TW442722B (en) Device and method for automatically detecting the error of personal digital assistant device
TW201606728A (en) Test question generating system and method thereof
AU652120B2 (en) Apparatus for document annotation and manipulation using images from a window source
WO2015003493A1 (en) Data recovery method and electronic device
JPS6190273A (en) Data structuring method
CN103309610B (en) Chinese display and Chinese character display method
WO1990005333A1 (en) Electronic document display with annotation routines and multiple windows
JP2016081435A (en) Schedule management device, schedule management method, and program
JPS60134984A (en) Register of seal
WO2015170517A1 (en) Loading-into-memory management system and program for managing loading into memory
JP6911082B2 (en) How to generate scripts for mobile terminals based on actual use with status information
TWI756813B (en) Language learning system by color code and shading and method thereof
AU625684C (en) Electronic document display with annotation routines and multiple windows
TW202119177A (en) Information processing method for an electronic handwriting note to link video playing time and a video recording device
JP2019204308A (en) Information processing apparatus, information processing method and program
JPH01161419A (en) Console control system
EP1936484A1 (en) Method for automatically associating different kinds of actions with movements of the mouse pointer in a computer program for organizing personal activities
CN105677553A (en) Method and system for recoding BUG
JPS61226862A (en) Data entry terminal equipment
JPS60229173A (en) Input editor
TW201816634A (en) Electronic form system and method for editing electronic form thereof capable of directly transferring a form style of an existing paperwork software to a form editing device of the electronic form system
JPS6177463A (en) Device for transferring diagram

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees