TWI220187B - Testing system of data processing program and method thereof - Google Patents
Testing system of data processing program and method thereof Download PDFInfo
- Publication number
- TWI220187B TWI220187B TW91106543A TW91106543A TWI220187B TW I220187 B TWI220187 B TW I220187B TW 91106543 A TW91106543 A TW 91106543A TW 91106543 A TW91106543 A TW 91106543A TW I220187 B TWI220187 B TW I220187B
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- processing
- test
- processing device
- flow
- Prior art date
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
1220187 五、發明說明(1) 【本發明之領域】 本發明係有關於一種對一資料處理系統中的資料處理 程式進行測試的技術領域,尤其係特別有關於一種於一資 料處理系統中需要經過多個資料處理電腦來協同處理一筆 資料的資料處理程式,對其進行測試並監控該資料處理程 式所產生的該筆資料於該資料處理系統中各資料處理電腦 處理該筆資料狀況的技術領域。 【本發明之背景】 隨著電腦與網路的快速發展,各類商業活動及資料管 理多已採用電腦系統來進行,因而近年來軟體業發展相當 的蓬勃,已成為知識經濟時代相當重要的一項產業。 尤其是商業應用的系統程式,為了能提供分散於各地 的使用者能透過通訊網路來處理資料,軟體開發業者經常 將一通訊網路上的多個電腦定義架構成具有結構性關係的 電腦糸統,以供使用者利用該電腦糸統中的'一電腦來請求 處理資料,經由該通訊網路將該資料傳送到該電腦系統中 其他的電腦上做進一步處理。 一般而言,上述的處理資料必須經過多個資料處理步 驟方能完成。例如,一般的資料處理系統中含有一資料處 理中心主機和一中心資料庫,使用者於該系統中的一電腦 上藉由一資料處理程式產生一待處理資料,經由通訊網路 傳送到該貧料處理中心主機和中心貢料庫繼績處理,再將 處理後的結果傳回予以顯示或再做進一步處理。較大型的1220187 V. Description of the invention (1) [Field of the invention] The present invention relates to a technical field for testing a data processing program in a data processing system, and in particular, it relates to a technology that needs to pass through a data processing system. A data processing program in which multiple data processing computers work together to process a piece of data, test it and monitor the data generated by the data processing program in the technical field where each data processing computer in the data processing system processes the data. [Background of the Invention] With the rapid development of computers and the Internet, many types of business activities and data management have been carried out using computer systems. Therefore, the software industry has developed considerably in recent years and has become a very important one in the era of knowledge economy. Industry. In particular, for system applications for business applications, in order to provide users in various places with the ability to process data through communication networks, software developers often combine multiple computer definition shelves on a communication network to form a computer system with a structural relationship. For users to use 'a computer in the computer system to request processing data, the data is transmitted to other computers in the computer system for further processing via the communication network. Generally speaking, the above processing data must be completed through multiple data processing steps. For example, a general data processing system contains a data processing center host and a central database. The user generates a data to be processed on a computer in the system through a data processing program, and transmits the data to the poor material through a communication network. The processing center host and the central tribute storehouse continue to process the results, and then return the processed results for display or further processing. Larger
第4頁 Ϊ220187 五、發明說明(2) 資料處理系統,其資料處理流程就更為複雜,使用者所產 生的待處理資料可能必須經過該資料處理系統中一個以上 的電腦做進一步處理後,再傳送到該資料處理中心主機和 中心資料庫繼續處理並將處理後的結果進行回覆。 由於商業需求不斷增加、軟體技術變化快速,軟體開 發者經常需要新增或修改上述資料處理系統中其電腦上的 資料處理程式,而對於軟體開發者而言,於增加或更新一 資料處理程式之前,對該資料處理程式進行測試及修正, 以確保該資料處理程式於該資料處理系統中的運作不會產 生錯誤,實是相當重要且繁瑣工作。該資料處理系統中的 多個電腦經常分散於各地,且一旦新增或修改一資料處理 程式後,該資料處理程式的測試必須經過多個分散於不同 地方的資料處理電腦來執行資料處理流程,方能確保該資 料處理程式所啟動的資料處理流程於每一個資料處理點電 腦的資料處理均為正確無誤。 目前一般的測試程式多只能於單一電腦中進行測試, 對於需經過該多個電腦協同處理的貢料處理流程’完全無 法滿足其需求。另一種習知的解決方式是建立模擬模組, 藉由模擬模組來模擬並執行該資料處理流程中其他資料處 理點電腦所進行資料處理的步驟,此種方式的缺點是,軟 體開發者必須先建立一套模擬測試系統,相當耗時費力且 增加成本,此外,該模擬測試系統與真實的資料處理系統 可能仍會有差異,需要相當多的驗證資料,造成軟體開發 者的困擾。Page 4Ϊ220187 V. Description of the invention (2) The data processing system has a more complicated data processing process. The pending data generated by the user may have to be further processed by more than one computer in the data processing system. Send to the host and central database of the data processing center to continue processing and reply to the processed results. Due to the increasing business requirements and rapid changes in software technology, software developers often need to add or modify data processing programs on their computers in the above data processing systems. For software developers, before adding or updating a data processing program, It is very important and tedious to test and modify the data processing program to ensure that the operation of the data processing program in the data processing system will not produce errors. Multiple computers in the data processing system are often scattered in various places, and once a data processing program is added or modified, the test of the data processing program must go through multiple data processing computers scattered in different places to perform the data processing flow. Only in this way can the data processing process started by the data processing program be processed correctly at each data processing point computer. At present, most common test programs can only be tested on a single computer, and the tribute processing process that needs to be processed by the multiple computers cannot meet its requirements at all. Another conventional solution is to create a simulation module to simulate and execute the data processing steps performed by other data processing point computers in the data processing flow. The disadvantage of this method is that software developers must Establishing a simulation test system first is time consuming and laborious and increases costs. In addition, the simulation test system and the real data processing system may still be different, requiring considerable verification data, causing software developers to be troubled.
1220187 五、發明說明(3) 因此,若能提出一種測試方法,用以對一資料處理系 統中的一資料處理程式進行測試,並能監控該資料處理流 程中各資料處理電腦的資料處理狀況,以供軟體開發者能 逐一了解該資料處理流程的資料處理執行是否正常、是否 有誤等,並能進而能修正在資料處理流程中錯誤的資料以 繼績完成該貧料處理流程,措以大幅提南該貧料處理程式 的測試效率,並加速軟體開發進度,以節省開發的時間和 成本。 【本發明之概述】 本發明之一目的係在於提出一種一資料處理程式的測 試系統與方法,可大幅縮短對一資料處理程式進行測試所 需要的時間和成本,提高資料處理程式測試的效率,進而 加快開發程式的速度。 本發明之另一目的係在於提出一種一資料處理程式的 測試系統與方法,於一含有多個資料處理裝置之資料處理 系統中,經由一資料處理程式產生一測試流程處理資料及 執行該筆測試流程處理資料的測試流程,並觀察於該測試 流程中,該資料處理系統各資料處理裝置於執行該測試流 程時的相關資訊及處理狀態是否正確處理無誤,據以判斷 該資料處理程式是否正確無誤。 本發明之另一目的係在於提出一種資料處理程式的測 試系統與方法,藉由該系統與方法,一測試者可於一含有 多個資料處理裝置之資料處理系統中指定一資料處理程式1220187 V. Description of the invention (3) Therefore, if a test method can be proposed to test a data processing program in a data processing system and monitor the data processing status of each data processing computer in the data processing flow, For software developers to understand one by one whether the data processing of the data processing process is normal, whether it is wrong, etc., and can further correct the wrong data in the data processing process to continue to complete the lean processing process. Raise the testing efficiency of the lean processing program and speed up the software development process to save development time and cost. [Summary of the present invention] An object of the present invention is to propose a test system and method for a data processing program, which can greatly reduce the time and cost required for testing a data processing program, and improve the efficiency of data processing program testing. This speeds up program development. Another object of the present invention is to provide a test system and method for a data processing program. In a data processing system including a plurality of data processing devices, a test process is performed to process data through a data processing program and execute the test. The process of testing the data processing process, and observe in the test process, whether the relevant information and processing status of each data processing device of the data processing system during the execution of the test process are correctly processed without errors, so as to determine whether the data processing program is correct . Another object of the present invention is to provide a test system and method for a data processing program. With the system and method, a tester can specify a data processing program in a data processing system including a plurality of data processing devices.
1220187 五、發明說明(4)1220187 V. Description of Invention (4)
及其測試流程中的資料處理裝置及中斷點,且依據所指定 的資料處理裝置以執行該測試流程,且依據所指定的中斷 點暫停該測試流程,並將與該測試流程的相關資料傳送到 該測試者所在處,以供該測試者進行觀察和修正該測試相 關資料。經由此種方式,,當測試者發現一中斷點的測試相 關資料發生錯誤而無法繼續執行該資料處理流程時,可即 時修正該測試相關資料以繼續進行該資料處理流程,且容 易正確判斷出該資料處理流程中產生錯誤的部分,供該測 試者於該資料處理流程全部執行完成後進行修正該資料處 理程式錯誤的部分,以提高測試效率。 、本發明之另一目的係在於提出一種資料處理程式的測 試系統與方法,應用一正常運作中的資料處理系統和環境 來執行測試而不會影響該一般正常運作的資料處理執行, 因此而無須建置特定的測試系統和環境,藉以降低測試所 需要的成本。And the data processing device and interruption points in the test flow, and execute the test flow according to the specified data processing device, and suspend the test flow according to the specified interruption point, and transmit the relevant data to the test flow to Where the tester is located for the tester to observe and correct the test-related information. In this way, when the tester finds that the test-related data at an interruption point is wrong and cannot continue to execute the data processing flow, he can immediately modify the test-related data to continue the data processing flow, and it is easy to correctly determine the The error part of the data processing flow is provided for the tester to correct the error part of the data processing program after the data processing flow is completely executed to improve the testing efficiency. 2. Another object of the present invention is to propose a test system and method for a data processing program, which uses a data processing system and environment in normal operation to perform tests without affecting the data processing performance in the normal operation. Build specific test systems and environments to reduce the cost of testing.
依據本發明之一特色,本發明提出一資料處理程式的 測試系統,該測試系統包含有一測試裝置和一個以上的處 理裝置,且該測試裝置和一個以上的處理裝置係經由一通 訊網路予以連接;其中,該測試裝置係用以產生一操作介 面以供指定一資料處理程式及其測試流程中需要進行資料 處理的處理裝置,且從該指定的處理裝置中指定於該測試 流程中需要中斷該測試流程的中斷點;該測試裝置係依據 上述的指定產生一測試流程處理資料,且經由該通訊網路 將該測試流程處理資料依該測試流程中處理裝置的順序傳According to a feature of the present invention, the present invention provides a test system for a data processing program. The test system includes a test device and more than one processing device, and the test device and more than one processing device are connected via a communication network; The test device is used to generate an operation interface for designating a data processing program and a processing device that requires data processing in the test flow, and specifies that the test needs to interrupt the test from the specified processing device in the test flow. The interruption point of the flow; the test device generates a test flow processing data according to the above designation, and transmits the test flow processing data in the order of the processing device in the test flow through the communication network
第7頁 1220187 五、發明說明(5) 送到下一個處理裝置,其中,該測試流程處理資料中含有 中斷點辨識資訊;該處理裝置係用以接收該測試流程處理 資料,依據該測試流程處理資料中的中斷點辨識資訊判斷 該處理裝置於該測試流程中是否為一中斷點;該處理裝置 依據該判斷其為不是一中斷點的結果,將所接收到的測試 流程處理貢料執行貢料處理’並且依據該測試流程中處理 裝置的順序將執行資料處理後的測試流程處理資料傳送到 下一個處理裝置;以及,該處理裝置依據該判斷其是一中 斷點的結果,將所接收到的測試流程處理資料執行資料處 理時暫時中斷該測試流程,並且將與該測試流程處理資料 的相關資料經由該通訊網路傳送到該測試裝置藉由該操作 介面予以顯示。 依據本發明之另一特色,本發明提出之測試系統中, 該操作介面更包括用以供下達該暫時中斷的測試流程是否 繼續執行的指令,且經由該通訊網路傳送到該暫時中斷測 試流程的處理裝置;以及,該暫時中斷測試流程的處理裝 置更包括用以依據接收到是否繼續執行的指令以決定是否 繼續執行該暫時中斷的測試流程。 依據本發明之另一特色,本發明提出之測試系統中, 該操作介面更包括用以供修改來自暫時中斷測試流程之處 理裝置執行資料處理後的該測試流程處理資料和下達依據 該修改後的測試流程處理資料以繼續執行該測試流程的指 令,且經由該通訊網路傳送到該暫時中斷的處理裝置;以 及,該暫時中斷測試流程之處理裝置更包括用以依據接收Page 7 1220187 V. Description of the invention (5) sent to the next processing device, wherein the processing data of the test flow contains the interruption point identification information; the processing device is used to receive the processing data of the test flow and process according to the test flow The identification information of the interruption point in the data determines whether the processing device is an interruption point in the test process; the processing device executes the received test process processing material and performs the service according to the result of judging that it is not an interruption point. Processing 'and according to the order of the processing devices in the test flow, the processing data of the test flow after the data processing is performed is transmitted to the next processing device; and the processing device is based on the result of judging that it is an interruption point and transmits the received data The test flow process data is temporarily interrupted when the data processing is performed, and the data related to the test flow process data is transmitted to the test device via the communication network to be displayed through the operation interface. According to another feature of the present invention, in the test system provided by the present invention, the operation interface further includes an instruction for issuing whether the temporarily interrupted test process is continued, and is transmitted to the temporarily interrupted test process via the communication network. A processing device; and the processing device for temporarily interrupting the test flow further includes a method for determining whether to continue to execute the temporarily interrupted test flow according to an instruction of whether to continue the execution. According to another feature of the present invention, in the test system provided by the present invention, the operation interface further includes a method for modifying the processing data of the test flow after the data processing is performed by the processing device that temporarily interrupts the testing flow, and issuing the data according to the modification. The test process processes instructions to continue executing the test process and is transmitted to the temporarily interrupted processing device via the communication network; and the processing device for the temporarily interrupted test flow further includes a device for receiving
1220187 五、發明說明(6) 到修改後的測試流程處理資料和指令以繼續執行該測試流 程。 依據本發明之另一特色,本發明提出之測試系統中, 該測試流程處理資料更含有一測試辨識資訊;其中,該處 理裝置係用以接收該測試流程處理資料以及其他流程處理 資料,且依據所接收到的資料中是否含有一測試辨識資訊 以判斷所接收的資料是否為一測試流程處理資料;以及, 該處理裝置係依據判斷其為一測試流程處理資料的結果對 其所接收到的資料執行測試流程資料處理,以及依據判斷 其為不是一測試流程處理資料的結果對其所接收到的資料 執'行其他流程資料處理。 依據本發明之另一特色,本發明提出經由一資料處理 系統對一資料處理程式執行測試的方法,該測試系統包含 有一測試裝置和一個以上的處理裝置,且該測試裝置和一 個以上的處理裝置係經由一通訊網路予以連接,其中,該 方法包含的步驟有:該測試裝置產生一操作介面以供指定 一資料處理程式及其測試流程中需要進行資料處理的處理 裝置,且從該指定的處理裝置中指定於該測試流程中需要 中斷該測試流程的中斷點;該測試裝置依裤:上述的指定產 生一測試流程處理資料,且經由該通訊網路將該測試流程 處理資料依該測試流程中處理裝置的順序傳送到下一個處 理裝置,其中,該測試流程處理資料中含有中斷點辨識資 訊;該處理裝置接收該測試流程處理資料,依據該測試流 程處理資料中的中斷點辨識資訊判斷該處理裝置於該測試1220187 V. Description of the invention (6) Process the data and instructions to the revised test process to continue the test process. According to another feature of the present invention, in the test system provided by the present invention, the test process processing data further includes test identification information; wherein the processing device is used to receive the test process processing data and other process processing data, and is based on Whether the received data contains a test identification information to determine whether the received data is a test process processing data; and the processing device is based on the result of judging that it is a test process processing data on the data it receives Perform test process data processing, and perform other process data processing on the data it receives based on the results of determining that it is not a test process processing data. According to another feature of the present invention, the present invention provides a method for performing a test on a data processing program via a data processing system. The test system includes a test device and more than one processing device, and the test device and more than one processing device. It is connected via a communication network, wherein the method includes the steps of: the test device generates an operation interface for specifying a data processing program and a processing device that requires data processing in the test flow, and from the designated processing The device specifies the interruption point in the test flow that needs to interrupt the test flow; the test device is based on the following: the above designation generates a test flow processing data, and the test flow processing data is processed according to the test flow through the communication network The order of the devices is transmitted to the next processing device, wherein the processing data of the test flow contains the interruption point identification information; the processing device receives the processing data of the test flow and judges the processing device according to the identification information of the breakpoint in the processing data of the test flow In the test
1220187 五、發明說明(7) 流程中是否為一中斷點;該處理裝置依據該判斷其不是一 中斷點的結果,將所接收到的測試流程處理資料執行資料 處理,並且依據該測試流程中處理裝置的順序將執行資料 處理後的測試流程處理資料傳送到下一個處理裝置;以 及,該處理裝置依據該判斷其是一中斷點的結果,將所接 收到的測試流程處理資料執行資料處理時暫時中斷該測試 流程,並且將與該測試流程處理資料的相關資料經由該通 訊網路傳送到該測試裝置藉由該操作介面予以顯示。 依據本發明之另一特色,本發明提出之測試方法中, 該操作介面更包括用以供下達該暫時中斷的測試流程是否 繼續執行的指令,且其中,該方法更包含的步驟有:將是 否繼續執行的指令經由該通訊網路傳送到該暫時中斷測試 流程的處理裝置;以及該暫時中斷測試流程的處理裝置依 據接收到是否繼續執行的指令以決定是否繼續執行該暫時 中斷的測試流程。 依據本發明之另一特色,本發明提出之測試方法中, 該操作介面更包括用以供修改來自暫時中斷測試流程之處 理裝置執行資料處理後的該測試流程處理資料和下達依據 該修改後的測試流程處理資料以繼續執行該測試流程的指 令,且其中,該方法更包含的步驟有:經由該通訊網路將 該修改後的測試流程處理資料和繼續執行該測試流程的指 令傳送到該暫時中斷測試的處理裝置;以及該處理裝置依 據接收到的修改後的測試流程處理資料和指令以繼續執行 該測試流程。1220187 V. Description of the invention (7) Whether the process is an interruption point; the processing device executes data processing based on the result of the judgment that it is not an interruption point, and processes the received test process data, and processes according to the test process The order of the devices transmits the test flow processing data after the data processing is performed to the next processing device; and, based on the judgment that it is a result of an interruption point, the processing device temporarily receives the test flow processing data while performing data processing. The test process is interrupted, and relevant data related to the data processed by the test process is transmitted to the test device via the communication network and displayed through the operation interface. According to another feature of the present invention, in the test method provided by the present invention, the operation interface further includes an instruction for issuing whether the temporarily interrupted test flow is continued, and wherein the method further includes the following steps: The instruction for continuing execution is transmitted to the processing device for temporarily interrupting the test flow via the communication network; and the processing device for temporarily interrupting the test flow is to determine whether to continue to execute the temporarily interrupted test flow according to the received instruction to continue execution. According to another feature of the present invention, in the test method provided by the present invention, the operation interface further includes a method for modifying the processing data of the test process after the data processing from the processing device that temporarily interrupts the testing process and issuing the data according to the modification. The test process processes data to continue to execute the instructions of the test process, and the method further includes the steps of: transmitting the modified test process processing data and instructions for continuing to execute the test process to the temporary interruption via the communication network A test processing device; and the processing device processes data and instructions according to the received modified test flow to continue executing the test flow.
第10頁 1220187 五、發明說明(8) 依據本發明之另一特色,本發明提出之測試方法中, 該測試流程處理資料更含有一測試辨識資訊,且其中,該 方法更包含的步驟有:該處理裝置接收該測試流程處理資 料以及其他流程處理資料,且依據所接收到的資料中是否 含有一測試辨識資訊以判斷所接收的資料是否為一測試流 程處理資料;以及該暫時中斷測試流程之處理裝置,係依 據該判斷其為一測試流程處理資料的結果對所接收到的資 料執行測試流程資料處理,以及依據判斷其為不是一測試 流程處理資料的結果對所接收到的資料執行其他流程資料 處理。 為使貴審查委員能進一步瞭解本發明之結構、特徵 及目的,茲附以圖式及較佳具體實施例之詳細說明如後。Page 10 1220187 V. Description of the invention (8) According to another feature of the present invention, in the test method proposed by the present invention, the test process processing data further includes test identification information, and the method further includes the following steps: The processing device receives the test flow processing data and other flow processing data, and determines whether the received data is a test flow processing data according to whether the received data contains test identification information; and the temporary interruption of the test flow. The processing device performs test process data processing on the received data based on the result of determining that it is a test process processing data, and performs other processes on the received data based on the result of determining that it is not a test process processing data. Data processing. In order to enable your reviewers to further understand the structure, characteristics, and purpose of the present invention, the drawings and detailed description of the preferred embodiments are attached as follows.
第11頁 1220187 圖式簡單說明 【圖式簡單說明】 第一圖:一多階層不規則樹狀結構圖。 第二圖··本發明實施例之測試點電腦方塊圖。 第三圖:本發明實施例之處理點電腦方塊圖。 【圖號說明】 2 0〜測試點電腦;2 0 2〜通訊模組;2 0 4〜測試模組;3 0〜 處理點電腦;3 0 2〜通訊模組;3 0 4〜判斷模組;3 0 6〜處理模 【較佳具體實施例之詳細說明】 本發明之目的、優點和特色,由以下較佳實施例之詳 細說明及圖式當可更加明白,然應注意的是,該實施例是 為方便詳加說明,而非用以限定本發明。 以下以常見的資料處理系統作為實施例說明,其經常 含有一資料處理中心主機以及一個以上的終端電腦,當使 用者欲進行之資料處理時,經由一終端電腦輸入特定待處 理的資料及產生一資料處理請求,經由一通訊網路傳送到 該資料處理中心主機進行資料處理後,接收該資料處理中 心的處理結果或回覆資訊予以顯示。而較為大型的資料處 理系統中,資料處理流程亦較為複雜,該終端電腦所產生 的資料處理請求,經常還需要經過該資料處理系統中其他 的資料處理電腦做進一步處理後,才傳送到該資料處理中 心主機進行處理並產生處理結果或回覆資訊,經由其他的Page 11 1220187 Schematic description [Schematic description] The first figure: a multi-level irregular tree structure diagram. Figure 2 · Block diagram of a test point computer according to an embodiment of the present invention. FIG. 3 is a computer block diagram of a processing point according to an embodiment of the present invention. [Illustration of drawing number] 20 to test point computer; 202 to communication module; 204 to test module; 30 to processing point computer; 302 to communication module; 304 to judgment module 3 06 ~ Processing mode [Detailed description of the preferred embodiment] The purpose, advantages and features of the present invention can be more clearly understood from the following detailed description and diagram of the preferred embodiment, but it should be noted that the The examples are described in detail for convenience, but not to limit the present invention. The following description uses a common data processing system as an example, which often includes a data processing center host and more than one terminal computer. When a user wants to perform data processing, a specific data to be processed is input through a terminal computer and a The data processing request is transmitted to a host of the data processing center for data processing via a communication network, and then the processing result or response information of the data processing center is received for display. In larger data processing systems, the data processing flow is also more complicated. Data processing requests generated by the terminal computer often need to be processed by other data processing computers in the data processing system before being transmitted to the data. The processing center host processes and generates processing results or reply information.
第12頁 1220187 圖式簡單說明 資料處理電腦傳回原終端電腦予以顯示。 第一圖係以一多階層的不規則樹狀結構圖來表示一資 料處理系統中各電腦之間的相互對應關係。如第一圖所 示,該樹狀結構中含有一個以上的節點,如A 1、B 1〜B 3、 C卜06*"等,其中,位於該不規則樹狀結構中最頂端的節 點(即節點A 1 )稱為起始節點,位於該不規則樹狀結構中最 末端的節點,亦即其下已無下一階節點之節點(如節點 C2、C3、C5、C6、D2〜D4···等)稱為終端節點,其餘則為中 間節點,亦即指其上有上一階節點而其下有下一階節點之 節點(如節點Μ〜B3、C卜C4、D卜D5、E卜E2···等)。 資料處理系統含有一個以上的節點電腦,依據其位置 關係,對應於如第一圖所示的不規則樹狀結構中,位於該 起始節點的節點電腦為一資料處理中心主機,位於該終端 節點之節點電腦為一終端節點電腦,位於該中間節點之節 點電腦為一中間節點電腦,且該資料處理中心主機、中間 節點電腦和終端節點電腦之間係經由一通訊網路進行通 訊。其中應注意的是,第一圖的不規則樹狀結構是用以表 不該貢料處理糸統中於執行貢料處理時各電腦之間的上下 屬相對應關係,並非表示各電腦之間的實體連接關係。 本實施例中,資料處理系統包含有一測試點電腦以及 一個以上的處理點電腦。第二圖係為該資料處理系統中一 測試點電腦的方塊圖,其中,該測試點電腦可以為上述中 間或終端節點電腦中的其中之一。該測試點電腦(2 0 )係用 以供一測試者啟動一測試流程並觀察該測試流程中處理點Page 12 1220187 Brief description of the drawing The data processing computer returns the original terminal computer for display. The first diagram is a multi-level irregular tree structure diagram to show the mutual correspondence between computers in an data processing system. As shown in the first figure, the tree structure contains more than one node, such as A 1, B 1 ~ B 3, C 06 * ", etc., among which the top node in the irregular tree structure is located (Ie, node A 1) is called the starting node, which is located at the end of the irregular tree structure, that is, the node below which there is no next-order node (such as nodes C2, C3, C5, C6, D2 ~ D4, etc.) are called terminal nodes, and the rest are intermediate nodes, that is, nodes on which there is a previous-order node and a next-order node below it (such as nodes M ~ B3, C, C4, D, etc.) D5, E Bu E2 ... etc.). The data processing system contains more than one node computer. According to its positional relationship, it corresponds to the irregular tree structure shown in the first figure. The node computer at the starting node is a data processing center host and is located at the terminal node. The node computer is an end node computer, the node computer located at the intermediate node is an intermediate node computer, and the data processing center host, the intermediate node computer, and the terminal node computer communicate via a communication network. It should be noted that the irregular tree structure in the first figure is used to indicate the corresponding relationship between the subordinates of the computers in the tributary processing system when the tributary processing is performed, and it does not mean that the computers are Entity connection relationship. In this embodiment, the data processing system includes a test point computer and more than one processing point computer. The second figure is a block diagram of a test point computer in the data processing system. The test point computer may be one of the above-mentioned intermediate or terminal node computers. The test point computer (20) is used for a tester to start a test process and observe the processing points in the test process
第13頁 1220187 圖式簡單說明 電腦執行該測試流程的狀況,該測試點電腦(2 0 )至少包含 有一通訊模組(2 0 2 )以及一測試模組(2 0 4 )。該通訊模組 (2 0 4 )用以供該測試點電腦(2 0 )經由通訊網路與該貢料處 理系統中其他節點電腦進行通訊並傳送及接收相關資訊; 該測試模組(2 0 4 )用以產生一操作介面,供一測試者針對 一資料處理程式指定測試流程中的處理點電腦,以及從該 處理點電腦中選擇欲中斷測試流程以進行觀察的中斷點, 且該操作介面更包括用以供測試者輸入執行資料處理程式 所需的模擬資料後,經由執行該資料處理程式以產生一測 試流程處理貢料並啟動该測試流程。 資料處理系統依據其指定的測試流程,將測試流程處 理資料依序傳送到該測試流程中的處理點電腦,由該處理 點電腦對該筆測試流程處理資料執行資料處理後,再傳送 到下一個處理點電腦執行下一流程的資料處理,直到完成 該測試流程為止。也就是說,該測試流程是由該資料處理 系統中一個以上依序對該測試交易資訊進行資料處理的處 理點電腦所構成,處理點電腦可能是終端節點電腦、中間 節點電腦和資料處理中心主機的其中之一。舉例來說,如 第一圖所示,若是由終端節點C 2所產生的測試流程處理資 料,須經由中間節點B 1進行處理後,傳送到起始節點A 1進 行更進一步處理,再經由中間節點B1將處理後的資料傳回 終端i卩點C 2予以顯不’該測試流程則為C B A 1~^ B I-> C 2,該資料處理點電腦依序為C 2、B卜A卜B 1和C 2 ;而若 是由終端節點D 3所產生的測試流程處理資料,須經由中間Page 13 1220187 The diagram briefly illustrates the status of the computer performing the test process. The test point computer (20) includes at least a communication module (2 0 2) and a test module (2 0 4). The communication module (2 0 4) is used for the test point computer (20) to communicate with other node computers in the tributary processing system via a communication network and to transmit and receive related information; the test module (2 0 4 ) Is used to generate an operation interface for a tester to designate a processing point computer in the test flow for a data processing program, and select an interruption point from the processing point computer to interrupt the test flow for observation, and the operation interface is more After the simulation data is inputted for the tester to execute the data processing program, the data processing program is executed to generate a test process to process the data and start the test process. The data processing system sequentially transmits the processing data of the testing process to the processing point computer in the testing process in accordance with its designated testing process, and the processing point computer performs data processing on the processing data of the test process and then transfers it to the next one. The processing point computer performs data processing of the next process until the test process is completed. In other words, the test process consists of more than one processing point computer in the data processing system that sequentially processes the test transaction information. The processing point computer may be the terminal node computer, the intermediate node computer, and the host of the data processing center. One of them. For example, as shown in the first figure, if the test flow processing data generated by the terminal node C 2 must be processed through the intermediate node B 1 and then transmitted to the starting node A 1 for further processing, then the intermediate Node B1 sends the processed data back to terminal i. Point C 2 to display it. The test flow is CBA 1 ~ ^ B I- & Ct. C, the data processing point computer is in order C 2, B and A. Bu B 1 and C 2; and if the test process generated by the terminal node D 3 processes data, it must pass through the middle
第14頁 1220187 圖式簡早說明 節點C 1、 該測試流 C卜B 1和 為了 料處理的 程中的處 程中指定 測試流處 理系統中 據該中斷 是否為一 送相關資 為了 流程,上 更含有一 別,且該 料處理的 以辨識出 進而分別 理資料影 第三 圖’該處 判斷模組 用以供該Page 14 1220187 The diagram briefly describes node C1, the test flow C1, B1, and the process specified in the process for data processing. The test flow processing system specifies whether the interruption is a one-for-one delivery of relevant data for the process. It also contains a distinction, and the material is processed to identify and then separately analyze the data. The third picture 'the judgment module is used for the
B 1進行處理後,傳送到終端節點C2予以顯示時, 程則為D 3— C 1— B 1— C 2 ’該貢料處理點為D 3、 C2 ° 能詳加觀察上述測試流程中各處理點電腦執行資 狀況及相關資訊,經由上述的操作介面在測試流 理點電腦指定其是否為一中斷點,且將該測試流 中斷點相關產生一中斷點辨識資訊,並儲存於該 理資料中。該中斷點辨識資訊係用以供該資料處 的處理點電腦於接收到測試流程處理資料時,依 點辨識資訊以判斷該處理點電腦於該測試流程中 中斷點,藉以決定是否暫時中斷該測試流程並傳 料以供測試者進行觀察或評估。 能於處理一般流程的資料處理系統中執行該測試 述測試模組(2 0 4 )所產生的測試流程處理資料中 測試辨識訊息,用以與一般流程的處理資料區 資料處理系統中的處理點電腦於接收到需進行資 資料時,藉由該資料中是否含有該測試辨識訊息 其為一測試流程處理資料或一般流程處理資料, 執行測試流程及一般流程,且避免該測試流程處 響到正常的資料處理和資料狀態。 圖係為該資料處理系統中一處理點電腦的方塊 理點電腦(3 0 )至少包含有一通訊模組(3 0 2 )、一 (3 0 4 )以及一處理模組(3 0 6 )。該通訊模組(3 0 2 ) 處理點電腦(3 0 )經由通訊網路與該測試點電腦和After B 1 is processed, it is transmitted to the terminal node C2 for display. The process is D 3— C 1— B 1— C 2 'The material processing point is D 3, C 2 ° You can observe each of the above test procedures in detail. The processing point computer's execution status and related information are specified on the test flow point computer through the above-mentioned operation interface as an interruption point, and an interruption point identification information is generated from the test flow interruption point and stored in the processing data. in. The interruption point identification information is used by the processing point computer at the data point to receive the processing data of the test flow, and use the point identification information to determine the interruption point of the processing point computer in the test flow, thereby determining whether to temporarily interrupt the test. Process and pass on the material for observation or evaluation by the tester. The test identification information in the test flow processing data generated by the test description test module (204) can be executed in the data processing system that processes the general flow, and is used to process the processing points in the data processing system of the general processing data area. When the computer receives the required data, it uses the test identification information in the data to determine whether it is a test process or general process data, executes the test process and the general process, and prevents the test process from ringing normally. Data processing and data status. The figure shows the block of a processing point computer in the data processing system. The processing point computer (30) includes at least a communication module (302), one (3 0 4), and a processing module (3 06). The communication module (3 0 2) and the processing point computer (3 0) communicate with the test point computer and
第15頁 1220187 圖式簡單說明 該資料處理系統中其他處理點電腦通訊,以傳送及接收所 有需傳遞之資訊;該判斷模組(3 0 4 )用以於接收一資料 時,依據其是否含有測試辨識訊息以判斷其是否為一測試 流程中的測試流程處理資料,並且依據該測試流程處理資 料中的中斷點辨識訊息判斷該處理點電腦於該測試流程中 是否為一中斷點;處理模組(3 0 6 )用以依據上述測試辨識 訊息的判斷結果,對該測試流程處理資料執行測試流程, 且對一般流程處理資料執行一般流程。 處理模組(3 0 6 )於執行該測試流程時,依據上述中斷 點辨識訊息的判斷結果,當判斷該處理點電腦於該測試流 程中並非為一中斷點時,則直接執行該測試流程,亦即將 該測試流程處理貢料執行貢料處理後,將處理後的測試流 程處理資料經由通訊網路傳送到該測試流程中的下一個處 理點電腦以繼續該測試流程;當判斷該處理點電腦於該測 試流程中為一中斷點時,暫時中斷該測試流程,將與該測 試流程處理資料的相關資料傳送到測試者所在的測試點電 腦予以顯示,並可接收該測試者經由該測試點電腦所傳送 來的指令,以決定終止或繼續執行該測試流程。其中,與 該測試流程處理貧料的相關貢料,*--般包含有該測试流程 處理資料執行資料處理前和執行資料處理後的資料、執行 資料處理的時間等。 測試點電腦接收上述處理模組(3 0 6 )所傳送來與該測 試流程處理資料的相關資料,籍由該測試操作介面予以顯 示,以供測試者瀏覽該相關資料,藉以判斷測試流程中該Page 15 1220187 The diagram briefly explains the computer communication of other processing points in the data processing system to transmit and receive all the information to be transmitted; the judgment module (3 0 4) is used to receive a data according to whether it contains Test identification information to determine whether it is test flow processing data in a test flow, and determine whether the processing point computer is an interruption point in the test flow based on the interruption point identification information in the test flow processing data; processing module (306) It is used to execute the test process on the test process processing data and the general process process data on the basis of the judgment result of the test identification information. When the processing module (306) executes the test process, according to the judgment result of the above-mentioned identification information of the interruption point, when it is determined that the computer at the processing point is not an interruption point in the test procedure, the test procedure is directly executed. That is to say, after the processing process of the test process is performed, the processed test process data is transmitted to the next processing point computer in the test process through the communication network to continue the test process; when the processing point computer is judged at When the test process is an interruption point, the test process is temporarily interrupted, and the relevant data related to the data processed by the test process is transmitted to the test point computer where the tester is located for display, and the tester can be received by the test point computer. The instruction sent to decide to terminate or continue the test process. Among them, the relevant materials related to the processing of poor materials in this test process generally include the data processed by the test process before and after the data processing, and the time of data processing. The test point computer receives the relevant data sent by the processing module (306) to process the test process data, and displays it through the test operation interface, so that the tester can browse the relevant data to judge the test process.
第16頁 1220187 圖式簡單說明 暫時中斷的處理點電腦執行資料處理是否正常。當測試者 瀏覽該暫時中斷的處理點電腦所傳回來的相關資料時,可 經由該測試操作介面選擇繼續執行該測試流程或終止該測 試流程,亦或是修改所接收到的相關資料並傳回該暫時中 斷的處理點電腦,以取代原有的相關資料繼續該測試流 程。此種方式可以避免執行該測試流程中,因一處理點電 腦執行貢料處理產生錯誤的貢料時而以錯誤的貢料繼績執 行該測試流程。測試者於發現錯誤資料時,可先將錯誤資 料進行修正後傳回該處理點電腦,依據修正後的資料繼續 執行該測試流程,待該測試流程全部執行完成後,再一併 修改發生錯誤的程式,藉以節省執行測試的次數和時間。 一般育料處理糸統中’具有一貧料處理中心主機以及 一中心資料庫,該中心資料庫儲存有該資料處理系統中的 各項資料,且該資料處理中心主機接收該資料處理系統中 其他節點電腦的請求執行貢料處理、更新中心貢料庫中的 資料以及將處理後的資料傳回提出請求的節點電腦。該資 料處理中心主機亦為一處理點電腦,其功能亦如上所述, 在此不再重複說明。為了可加快測試速度、避免增加資料 處理中心主機負擔或是影響中心資料庫中的正常資料,可 於該資料處理系統中的一處理點電腦上設置一模擬中心主 機模組,用以模擬一資料處理中心主機執行資料處理及模 擬一中心貢料庫提供所需貧料’當該測試流程處理貢料需 要該資料處理中心主機執行資料處理時,將該測試流程處 理資料經由該模擬中心主機模組之處理點電腦以該模擬中Page 16 1220187 The diagram briefly explains whether the computer that is temporarily processing data is processing normally interrupted. When the tester browses the relevant data returned by the temporarily interrupted processing point computer, he can choose to continue the test process or terminate the test process through the test operation interface, or modify the received relevant data and return The temporarily interrupted processing point computer replaces the original relevant data and continues the test process. In this way, in the execution of the test process, it is possible to prevent the test process from being performed with the wrong data when the wrong data is generated due to the data processing performed by a processing point computer. When the tester finds erroneous data, he can correct the erroneous data and send it back to the computer at the processing point, and then continue to execute the test process based on the corrected data. After the test process is completed, modify the error data. Program to save the number and time of running tests. The general breeding processing system has a host of a lean processing center and a central database. The central database stores various data in the data processing system, and the host of the data processing center receives other data in the data processing system. The request from the node computer performs the tribute processing, updates the data in the central tribute database, and returns the processed data to the requesting node computer. The host of the data processing center is also a processing point computer, and its functions are also as described above, and will not be repeated here. In order to speed up the testing speed, avoid increasing the burden on the host of the data processing center or affecting the normal data in the central database, a simulation center host module can be set on a processing point computer in the data processing system to simulate a data The processing center host performs data processing and simulates a central tribute warehouse to provide the required lean materials. When the test process processing tribute requires the data processing center host to perform data processing, the test process processing data is passed through the simulation center host module. The processing point computer takes the simulation
1220187 圖式簡單說明 心主機模組執行資料處理,並將執行模擬處理後繼續該測 試流程,。經由此種方式,使得測試流程不必經過真正的 資料處理中心主機得以完成該測試流程。 一般執行一資料處理程式時,需要輸入起始的待處理 貢料’因此欲啟動該貢料處理程式的測試流程時’需要輸 入模擬資料以產生該測試流程處理資料。該模擬資料可由 測試者經由該操作介面自行輸入,但為了測試便利及評估 測試結果,該資料處理系統中亦可事先建立於一模擬資料 庫,用以儲存多筆適當的測試用模擬資料以及其執行測試 結果、各處理點電腦執行資料處理後的相關資料等。當測 試者經由測試操作介面欲啟動一資料處理程式的測試流程 時,無須自行輸入模擬資料,而可選擇自動由該模擬資料 庫中取出模擬資料以供該測試模組(2 0 4 )產生該測試流程 模擬資料。其中,該模擬資料庫可設置或連結於一測試點 電腦(2 0 )或是一處理點電腦(3 0 ),當該測試資料庫設置於 一測試點電腦時,該測試模組(2 0 )可直接取用模擬資料庫 中的模擬資料,但若是該模擬資料庫設置於一處理點電腦 時,該測試模組(2 0 4 )欲啟動該資料處理程式的測試流程 時,經由通訊網路連結到該模擬資料庫所在的處理點電 腦,下載模擬資料以產生該測試流程處理資料。此外,該 核擬貢料庫中更可儲存有與該核擬貢料對應的各處理點電 腦處理該測試流程處理貢料後的相關貢料5測試者可與接 收到各中斷點所傳回的處理後的相關資料予以比對,判斷 該中斷點的測試流程資料處理執行是否正常。1220187 Schematic description Card core module performs data processing and will continue the test process after performing simulation processing. In this way, the test process does not need to go through a real data processing center host to complete the test process. Generally, when a data processing program is executed, the initial to-be-processed tributary material is required to be input. Therefore, when the test flow of the tributary material processing program is to be started, simulation data is required to generate the test procedure processing data. The simulation data can be input by the tester through the operation interface, but for the convenience of testing and evaluation of the test results, the data processing system can also be established in advance in a simulation database to store a number of appropriate test simulation data and its data. Test results, relevant data after data processing by the computer at each processing point, etc. When the tester wants to start a test process of a data processing program through the test operation interface, there is no need to input simulation data by himself, but can choose to automatically take the simulation data from the simulation database for the test module (2 0 4) to generate the Test process simulation data. The simulation database can be set or connected to a test point computer (20) or a processing point computer (30). When the test database is set to a test point computer, the test module (2 0 ) Can directly access the simulation data in the simulation database, but if the simulation database is set on a processing point computer, the test module (204) wants to start the test process of the data processing program via the communication network Connect to the processing point computer where the simulation database is located and download the simulation data to generate the test flow processing data. In addition, the approved tribute storehouse can also store the processing points corresponding to the verified tribute store. Computers process the relevant tribute materials after the test process processes the tribute materials. 5 The tester can send back the data received from each interruption point. The processed relevant data is compared to determine whether the processing of the test process data at the interruption point is performed normally.
第18頁 1220187 圖式簡單說明 應用上述說明的實施例系統,一測試者可經由一通訊 網路對一資料處理系統中的一資料處理程式進行測試,亦 即是啟動與該資料處理程式相關的測試流程以處理一測試 流程處理資料,觀察該測試流程中多個遠端的處理點電腦 執行該測試流程處理資料的狀況,藉以評估該資料處理程 式的測試流程是否正常,以及該資料處理程式是否無誤, 進而容易找出該資料處理程式可能錯誤之處以利修正,完 成該貧料處理程式的測試。 本發明所說明之電腦,係指可用以執行計算功能之各 種微處理裝置及各類型電腦,如電腦主機、工作站、伺服 器、個人電腦、計算機、微處理器、終端機等。而所說明 之通訊網路,可以是專線、由專線所構成之封閉式網路、 公司内部網路、區域網路、都會網路、網際網路等,亦可 由一種以上的網路相互組合而成。 綜上所陳,本發明無論就目的、手段及功效,在在均 顯示其優於習知之技術,可節省對一電腦系統中需要經過 多個貢料處理點電腦的貢料處理程式的測試時間和成本^ 為測試程式之系統及方法上的一大突破,懇請 貴審查委 員明察,早曰賜准專利,俾嘉惠社會,實感德便。惟應注 意的是,上述實施例僅係為了便於說明而舉例而已,本發 明所主張之權利範圍自應以申請專利範圍所述為準,而非 僅限於上述實施例。Page 181220187 The diagram briefly illustrates the system of the embodiment described above. A tester can test a data processing program in a data processing system through a communication network, that is, start a test related to the data processing program. The process is to process a test process to process data, and observe the status of multiple remote processing point computers in the test process to execute the test process to process the data to evaluate whether the test process of the data processing program is normal and whether the data processing program is correct. , So that it is easy to find possible errors in the data processing program for correction and complete the test of the lean processing program. The computer described in the present invention refers to various micro-processing devices and various types of computers that can be used to perform calculation functions, such as a host computer, a workstation, a server, a personal computer, a computer, a microprocessor, a terminal, and the like. The communication network described can be a dedicated line, a closed network composed of dedicated lines, a company intranet, a local area network, a metropolitan network, the Internet, etc., or a combination of more than one type of network . To sum up, the present invention shows that it is superior to the conventional technology in terms of purpose, means, and efficacy, and can save the test time of a computer's material processing program that needs to pass through multiple material processing points in a computer system. And cost ^ As a major breakthrough in the system and method of testing programs, your reviewers are kindly requested to make a clear observation and grant a quasi-patent as early as possible to benefit the society and feel good. It should be noted that the above-mentioned embodiments are merely examples for convenience of explanation, and the scope of the rights claimed in the present invention should be based on the scope of the patent application, rather than being limited to the above-mentioned embodiments.
第19頁Page 19
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW91106543A TWI220187B (en) | 2002-04-01 | 2002-04-01 | Testing system of data processing program and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW91106543A TWI220187B (en) | 2002-04-01 | 2002-04-01 | Testing system of data processing program and method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
TWI220187B true TWI220187B (en) | 2004-08-11 |
Family
ID=34075474
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW91106543A TWI220187B (en) | 2002-04-01 | 2002-04-01 | Testing system of data processing program and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI220187B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI418979B (en) * | 2008-04-09 | 2013-12-11 | Embedded programmable chip with debugging circuit and debugging method with spi protocol | |
US8832786B2 (en) | 2005-01-12 | 2014-09-09 | Samsung Electronics Co., Ltd. | Information storage medium storing management information of application executable from a plurality of storage media, and method and apparatus for executing the application |
-
2002
- 2002-04-01 TW TW91106543A patent/TWI220187B/en not_active IP Right Cessation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8832786B2 (en) | 2005-01-12 | 2014-09-09 | Samsung Electronics Co., Ltd. | Information storage medium storing management information of application executable from a plurality of storage media, and method and apparatus for executing the application |
TWI418979B (en) * | 2008-04-09 | 2013-12-11 | Embedded programmable chip with debugging circuit and debugging method with spi protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10423523B2 (en) | Automated selection of test cases for regression testing | |
WO2021184725A1 (en) | User interface test method and apparatus, storage medium, and computer device | |
US6993747B1 (en) | Method and system for web based software object testing | |
JPH07105044A (en) | Method and system for simulation of execution of computer program | |
US7917896B2 (en) | Extensible execution language | |
CN106528400A (en) | MOCK testing method and device | |
EP1214656A1 (en) | Method and system for web based software object testing | |
CA2694303A1 (en) | Extensible execution language | |
CN103379000B (en) | A kind of concurrent testing method and testing service device | |
US10705949B2 (en) | Evaluation of library test suites using mutation testing | |
Dong et al. | Flaky test detection in Android via event order exploration | |
CN112732499A (en) | Test method and device based on micro-service architecture and computer system | |
Le et al. | Towards formal verification of real-world SystemC TLM peripheral models-a case study | |
TWI220187B (en) | Testing system of data processing program and method thereof | |
US7984335B2 (en) | Test amplification for datacenter applications via model checking | |
CN111464383A (en) | System capacity testing method and device based on production environment | |
TWM631045U (en) | Test system for data processing programs run by each computer device in network architecture | |
JP2022153237A (en) | security test system | |
JP3085730B2 (en) | Parallel simulation method for complex CPU system | |
Oyediran et al. | Development of a remote operational amplifier Ilab using android-based mobile platform | |
CN113535590A (en) | Program testing method and device | |
US9405658B1 (en) | Method and apparatus for debugging applications in development environments | |
JP2006227820A (en) | Program test system and program test method | |
US20230418728A1 (en) | Method and system for generating real-time test environment activity view for functional simulations | |
WO2023241616A1 (en) | Data processing method based on cloud management platform, and cloud management platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MK4A | Expiration of patent term of an invention patent |