TW202203101A - Open architecture platform automatic test system with checking authority module - Google Patents

Open architecture platform automatic test system with checking authority module Download PDF

Info

Publication number
TW202203101A
TW202203101A TW109122575A TW109122575A TW202203101A TW 202203101 A TW202203101 A TW 202203101A TW 109122575 A TW109122575 A TW 109122575A TW 109122575 A TW109122575 A TW 109122575A TW 202203101 A TW202203101 A TW 202203101A
Authority
TW
Taiwan
Prior art keywords
test
time point
authorization
audit
key
Prior art date
Application number
TW109122575A
Other languages
Chinese (zh)
Inventor
胡自強
Original Assignee
致茂電子股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 致茂電子股份有限公司 filed Critical 致茂電子股份有限公司
Priority to TW109122575A priority Critical patent/TW202203101A/en
Publication of TW202203101A publication Critical patent/TW202203101A/en

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses open architecture platform automatic test system with checking authority module can accept most specifications interface instruments for signal transmission, and provides test program editing capabilities for any power supply test application.. The test system can provide at least one input/output port, and the input/output port can be inserted and drive a checking authority module key that stores the start and end of authorization period and authorization configuration data.

Description

具備權限稽核模組之開放架構式自動化測試系統Open-architecture automated test system with authority audit module

本發明係關於一種具備權限稽核模組之開放架構式自動化測試系統,特別是關於一種可以自我檢查以決定是否作動的自動化測試系統。The present invention relates to an open-frame automated testing system with an authority auditing module, in particular to an automated testing system that can self-check to determine whether to act.

在自動化測試領域的往往需要提供眾多變化的硬體選擇,讓客戶在系統中選定待測物所需要測試的儀器提供測試訊號,如可程控交流/直流電源供應器、電子負載、數位電表、示波器、時序/雜訊分析儀和短路及過電壓保護測試器等,部分業者提供封閉式架構系統以節省軟體開發時程或使設計單純化,限定客戶選擇特定的搭配儀器。而在銷售模式上業者會將進行銷售的系統開放給客戶試用(Demo System),並約定好可供試用的授權期間,做為一種產品機台的銷售策略。好處在於,客戶可以先將產品機台安裝於產線上,可以有較充裕的試用時間,並可以現場評估產品機台的功能與工作效益。In the field of automated testing, it is often necessary to provide a variety of hardware options, allowing customers to select the instrument to be tested in the system to provide test signals, such as programmable AC/DC power supplies, electronic loads, digital meters, oscilloscopes , timing/noise analyzers, short-circuit and over-voltage protection testers, etc. Some manufacturers provide closed-architecture systems to save software development time or simplify design, and limit customers to select specific matching instruments. In the sales model, the industry will open the sales system to the customer for trial (Demo System), and agree on the authorization period for the trial as a sales strategy for the product machine. The advantage is that the customer can install the product machine on the production line first, have ample trial time, and can evaluate the function and work efficiency of the product machine on site.

然而上述銷售模式也相對有著潛在風險,例如不肖業者會藉由試用的階段竊取營業秘密、仿製系統的配置;另一方面若客戶後續沒有購買系統機台或者續約授權,在這個情況下業者有可能無法順利取回測試系統。此外,由於系統處於在客戶的場所,客戶有可能會違反契約精神繼續逾期使用免費的系統機台。如此一來,讓客戶逾期使用不僅會對業者造成損失,也給了客戶惡意取巧的契機,甚至助長此不良風氣。However, the above sales model also has potential risks. For example, unscrupulous operators will steal business secrets and imitate the configuration of the system through the trial stage; The test system may not be retrieved smoothly. In addition, since the system is located at the customer's premises, the customer may violate the spirit of the contract and continue to use the free system machine over time. In this way, letting customers overdue use will not only cause losses to the industry, but also give customers an opportunity to maliciously use tricks, and even contribute to this bad atmosphere.

為了解決客戶逾期使用系統的問題,部分的業者會在系統的操作程式中加上使用權限,以避免客戶在沒有權限的情況下繼續使用系統。但實務上,鎖定操作程式的權限容易被破解或技術性繞過,例如有可能通過修改系統內部時間而迴避授權期間的檢查,從而不容易達到遏阻逾期使用系統的目的。據此,業界需要一種在開放式架構下新的檢查授權期間的系統與方法,確保客戶不能在授權期間之外使用系統,以減少造成業者的損失。In order to solve the problem of overdue use of the system by customers, some operators will add use permissions to the operating programs of the system to prevent customers from continuing to use the system without permission. However, in practice, the authority to lock the operating program is easy to be cracked or technically bypassed. For example, it is possible to evade the inspection during the authorization period by modifying the internal time of the system, so it is not easy to achieve the purpose of preventing overdue use of the system. Accordingly, the industry needs a new system and method for checking the authorization period under an open architecture, so as to ensure that customers cannot use the system outside the authorization period, so as to reduce the losses caused to the operators.

本發明提供一種具備權限稽核模組之開放架構式自動化測試系統,在系統軟體上採用了開放式架構,所謂開放式架構係指該自動化測試系統之軟體平台可以不需考慮測試儀器的品牌,經由整合不同廠商相同測試功能的儀器,透過一致化的呼叫介面,容許支援前述任何類型儀器的測試命令區塊,使測試指令能夠觸發儀器的測試命令區塊進而達到存取儀器之目的。The present invention provides an open-architecture automated testing system with an authority auditing module. The system software adopts an open-architecture. The so-called open-architecture means that the software platform of the automated testing system does not need to consider the brand of the testing instrument. Instruments that integrate the same test functions of different manufacturers, through a unified call interface, allow to support the test command block of any type of instrument mentioned above, so that the test command can trigger the test command block of the instrument to achieve the purpose of accessing the instrument.

本發明提供一種開放架構式自動化測試系統,設計了權限稽核金鑰,該系統提供至少一個輸入/輸出埠,且該輸入/輸出埠能用來插接且驅動該權限稽核金鑰,該權限稽核金鑰儲存授權開始時點和授權終止時點。系統啟動之前會先由權限稽核金鑰判斷檢查授權期間,因為使用了硬體可以避免檢查被繞過。The present invention provides an open-frame automated testing system, with a permission check key designed, the system provides at least one input/output port, and the input/output port can be used to plug in and drive the permission check key, the permission check The key stores the authorization start time and authorization termination time point. Before the system is started, the authorization period will be determined by the authorization audit key, because the use of hardware can prevent the inspection from being bypassed.

本發明提出一種開放架構式自動化測試系統,設計了權限稽核金鑰,該系統提供至少一個輸入/輸出埠,且該輸入/輸出埠能用來插接且驅動該權限稽核金鑰,該權限稽核金鑰儲存有已設置在系統上的各種儀器的資訊,所配置的資訊具有儀器的配置數據,系統啟動時將優先驗證權限稽核金鑰,若各種儀器與權限稽核金鑰的配置數據不一致時,該系統將不會啟動。The present invention proposes an open-frame automated testing system, which designs a permission check key. The system provides at least one input/output port, and the input/output port can be used to plug in and drive the permission check key. The permission check The key stores the information of various instruments that have been set on the system. The configured information has the configuration data of the instrument. When the system starts, the authorization audit key will be verified first. If the configuration data of various instruments and the authorization audit key are inconsistent, The system will not start.

於一些實施例中,當系統上任一測試儀器收到測試指令時,權限稽核金鑰將檢查測試指令中的第一執行時點是否晚於授權開始時點,測試儀器據以決定是否啟動測試程序。當第一執行時點晚於授權開始時點時,權限稽核金鑰可以產生稽核通過信號,測試儀器依據稽核通過信號啟動測試程序。當第一執行時點早於授權開始時點時,權限稽核金鑰則不產生稽核通過信號,測試儀器不作動。In some embodiments, when any test instrument on the system receives a test command, the authorization check key will check whether the first execution time point in the test command is later than the authorization start time point, and the test instrument determines whether to start the test program accordingly. When the first execution time point is later than the authorization start time point, the authorization audit key can generate an audit pass signal, and the test instrument starts the test program according to the audit pass signal. When the first execution time point is earlier than the authorization start time point, the authorization audit key does not generate an audit pass signal, and the test instrument does not operate.

於一些實施例中,當系統上任一測試儀器收到測試指令時,權限稽核金鑰更可以檢查第一執行時點是否早於授權終止時點,測試儀器據以決定是否啟動測試程序。當第一執行時點早於授權終止時點時,權限稽核金鑰可以產生稽核通過信號,測試儀器依據稽核通過信號啟動測試程序。當第一執行時點晚於授權終止時點時,權限稽核金鑰則不產生稽核通過信號,測試儀器不作動。In some embodiments, when any test instrument on the system receives the test command, the authority audit key can further check whether the first execution time point is earlier than the authorization termination time point, and the test instrument determines whether to start the test program accordingly. When the first execution time point is earlier than the authorization termination time point, the authority audit key can generate an audit pass signal, and the test instrument starts the test program according to the audit pass signal. When the first execution time point is later than the authorization termination time point, the authorization audit key does not generate an audit pass signal, and the test instrument does not operate.

本發明提出一種具備權限稽核模組,包含,首先,提供權限稽核金鑰,權限稽核金鑰儲存授權開始時點和授權終止時點的數據資料以及已設置在系統上的各種儀器的配置數據。接著,依據測試指令啟動測試程序。當測試程序結束後,以權限稽核金鑰將授權開始時點更新為測試程序結束時的第一停止時點。The present invention provides a module with authority auditing, which includes, firstly, providing an authority auditing key, which stores the data of the authorization start time and authorization termination time point and the configuration data of various instruments that have been set on the system. Next, start the test program according to the test command. After the test program ends, the authorization start time point is updated to the first stop time point when the test program ends with the authorization audit key.

於一些實施例中,於依據測試指令啟動測試程序的步驟中,更可以包含下列步驟。首先,以權限稽核金鑰檢查測試指令中的第一執行時點是否晚於授權開始時點。當第一執行時點晚於授權開始時點時,以權限稽核金鑰產生稽核通過信號。接著,依據稽核通過信號啟動測試程序。此外,當第一執行時點不晚於授權開始時點時,權限稽核金鑰則不產生稽核通過信號。In some embodiments, the step of starting the test program according to the test command may further include the following steps. First, check whether the first execution time point in the test instruction is later than the authorization start time point with the authorization audit key. When the first execution time point is later than the authorization start time point, an audit pass signal is generated with the authorization audit key. Next, the test procedure is started according to the audit pass signal. In addition, when the first execution time point is not later than the authorization start time point, the authorization audit key does not generate an audit pass signal.

於一些實施例中,於依據測試指令啟動測試程序的步驟中,更可以包含下列步驟。首先,以權限稽核金鑰檢查第一執行時點是否早於授權終止時點。當第一執行時點早於授權終止時點時,以權限稽核金鑰產生稽核通過信號。接著,依據稽核通過信號啟動測試程序。此外,當第一執行時點不早於授權終止時點時,權限稽核金鑰則不產生稽核通過信號。In some embodiments, the step of starting the test program according to the test command may further include the following steps. First, check whether the first execution time point is earlier than the authorization termination time point with the authorization audit key. When the first execution time point is earlier than the authorization termination time point, an audit pass signal is generated with the authorization audit key. Next, the test procedure is started according to the audit pass signal. In addition, when the first execution time point is not earlier than the authorization termination time point, the authorization audit key does not generate an audit pass signal.

綜上所述,本發明提供的具備權限稽核模組之開放架構式自動化測試系統,藉由在系統上搭配無法繞過的權限稽核金鑰,並利用權限稽核金鑰判斷檢查授權期間、儀器的配置數據,避免客戶修改系統內部時間以迴避授權期間的檢查。此外,於本發明提供的權限稽核金鑰會自動更新授權期間之前再次檢查系統時間是否被修改,如果權限稽核金鑰判斷系統時間不正確,則會改以內計時的數值更新授權期間。To sum up, the open-architecture automated test system provided by the present invention with an authority audit module uses the authority audit key that cannot be bypassed on the system, and uses the authority audit key to determine the inspection authorization period, the instrument's Configuration data to prevent customers from modifying the internal time of the system to avoid checks during authorization. In addition, the system time is checked again before the authorization period is automatically updated by the authorization check key provided by the present invention. If the authorization check key determines that the system time is incorrect, the authorization period will be updated with the value within the time limit.

下文將進一步揭露本發明之特徵、目的及功能。然而,以下所述者,僅為本發明之實施例,當不能以之限制本發明之範圍,即但凡依本發明申請專利範圍所作之均等變化及修飾,仍將不失為本發明之要意所在,亦不脫離本發明之精神和範圍,故應將視為本發明的進一步實施態樣。The features, objects and functions of the present invention will be further disclosed below. However, the following descriptions are only examples of the present invention, and should not be used to limit the scope of the present invention, that is, any equivalent changes and modifications made according to the scope of the patent application of the present invention will still be the essence of the present invention, Without departing from the spirit and scope of the present invention, it should be regarded as a further embodiment of the present invention.

所謂開放式架構之特色及說明,可參閱中國專利申請公開第CN1983168A號「對自動測試系統儀器裝置執行控制與擷取資料的處理方法」。其中提到,將系統平台上具有通訊介面的測試儀器功能作一分類,定義屬於各類測試儀器的一致化程式呼叫介面(API),並定義屬於各類測試儀器的測試命令區塊以整合為一動態連結函式庫,之後通過一指定測試命令區塊所需參數及測試命令執行順序及邏輯關係,並經過轉譯,可依其指定的內容由執行引擎直接呼叫相關的測試儀器驅動程式,以進行對硬體裝置的存取。開放式架構測試系統平台的優點是可以不需考慮測試儀器的品牌,整合不同廠商相同測試功能的儀器。For the features and descriptions of the so-called open architecture, please refer to Chinese Patent Application Publication No. CN1983168A "Processing Method for Controlling and Acquiring Data for Automatic Test System Instruments". Among them, it is mentioned that the functions of the test instruments with communication interfaces on the system platform are classified, the unified program call interface (API) belonging to various test instruments is defined, and the test command blocks belonging to various test instruments are defined to be integrated as A dynamic link library, then through a specified test command block required parameters and test command execution sequence and logical relationship, and after translation, the execution engine can directly call the relevant test instrument driver according to the specified content, so as to Access to the hardware device is made. The advantage of an open-frame test system platform is that it can integrate instruments with the same test function from different manufacturers without considering the brand of the test instrument.

請參閱圖1,圖1係繪示依據本發明一實施例之具備權限稽核模組之開放架構式自動化測試系統功能方塊圖。如圖1所示,本實施例自動化測試系統的系統平台1配置包含測試儀器10、11、12、13(以下簡稱測試儀器10~13)以及介面裝置20,系統平台1提供至少一個輸入/輸出埠14,且該輸入/輸出埠14用來插接權限稽核金鑰30。實務上,測試儀器10~13,例如可以是可程控交流/直流電源供應器、電子負載、數位電表或耐壓測試器等之任意組合,且可以依據客戶測試端需求整合不同廠牌儀器,只要定義屬於各類測試儀器的測試命令區塊以整合為一動態連結函式庫,即可操作藉由介面裝置20直接呼叫相關的測試儀器驅動程式,以進行對測試儀器10~13的存取。介面裝置20連接於系統平台1用以輸入指令,或者在系統平台1上編輯擴充測試項目功能,倘若有新的測試項目需求,可以從內部測試項目編輯功能裡編輯想要的測試項目。權限稽核金鑰30將與系統平台1所提供至少一個輸入/輸出埠14進行搭接,該系統平台1或有不同形式的輸入/輸出埠14介面,譬如: USB Standard、USB Type-C或RS-232等,且該輸入/輸出埠用來插接且驅動該權限稽核金鑰30,該權限稽核金鑰30除了儲存授權開始時點和授權終止時點,並且儲存有對應系統平台1上的測試儀器的配置訊息,該配置訊息有各台測試儀器的配置數據(Get_Config),譬如:設備ID、系統編號及時序等組合,透過該配置數據能夠確認權限。Please refer to FIG. 1 . FIG. 1 is a functional block diagram of an open-architecture automated test system with an authority audit module according to an embodiment of the present invention. As shown in FIG. 1 , the configuration of the system platform 1 of the automated test system of this embodiment includes test instruments 10 , 11 , 12 and 13 (hereinafter referred to as the test instruments 10 to 13 ) and an interface device 20 , and the system platform 1 provides at least one input/output port 14, and the input/output port 14 is used to insert the authorization audit key 30. In practice, the test instruments 10 to 13 can be any combination of programmable AC/DC power supplies, electronic loads, digital meters or withstand voltage testers, etc., and can integrate different brands of instruments according to the needs of the customer's test terminal, as long as The test command blocks belonging to various test instruments are defined to be integrated into a dynamic link library, and the interface device 20 can directly call the relevant test instrument drivers to access the test instruments 10 to 13 . The interface device 20 is connected to the system platform 1 for inputting commands, or editing and expanding the test item function on the system platform 1. If there is a new test item requirement, the desired test item can be edited from the internal test item editing function. The authorization audit key 30 will be connected with at least one input/output port 14 provided by the system platform 1. The system platform 1 may have different forms of input/output port 14 interfaces, such as: USB Standard, USB Type-C or RS -232, etc., and the input/output port is used to plug in and drive the authorization audit key 30, the authorization audit key 30 not only stores the authorization start time and authorization termination time, but also stores the corresponding test instrument on the system platform 1 The configuration message contains the configuration data (Get_Config) of each test instrument, such as the combination of device ID, system number, and timing, through which the authority can be confirmed.

測試儀器10~13電性連接系統平台1,而介面裝置20可以是用來操作系統平台1的電腦。於一個例子中,介面裝置20中可以載有測試儀器10~13的操作程式,使用者可以由介面裝置20的操作程式下達測試指令給測試儀器10~13,所述測試指令可以讓測試儀器10~13執行對應的測試程序。當然,本實施例在此不限制測試儀器10~13或測試程序是用來進行何種測試,於所屬技術領域具有通常知識者可以應用於不同測試項目的系統平台1上。此外,本實施例也不限制測試儀器10~13是有線或無線地連接介面裝置12,只要介面裝置20可以用來提供測試指令給測試儀器10~13,即應屬於本實施例的範疇。以下分別就本發明開放架構式自動化測試系統的各部元件進行說明。The test instruments 10 to 13 are electrically connected to the system platform 1 , and the interface device 20 may be a computer used to operate the platform 1 . In one example, the interface device 20 may carry the operation programs of the test instruments 10 to 13 , and the user may issue test commands to the test instruments 10 to 13 from the operation programs of the interface device 20 , and the test instructions can make the test instruments 10 . ~13 Execute the corresponding test program. Of course, this embodiment does not limit what kind of tests the test instruments 10 to 13 or the test programs are used for, and those with ordinary knowledge in the art can be applied to the system platform 1 of different test items. In addition, this embodiment does not limit whether the test instruments 10-13 are connected to the interface device 12 by wire or wirelessly, as long as the interface device 20 can be used to provide test instructions to the test instruments 10-13, it should belong to the scope of this embodiment. The components of the open-architecture automated test system of the present invention will be described separately below.

如前所述,本發明具備權限稽核模組之開放架構式自動化測試系統包括系統平台1,配置包含測試儀器10~13以及介面裝置20,在系統平台1上還必須包含權限稽核金鑰30,權限稽核金鑰30儲存有授權開始時點和授權終止時點的數據資料。實務上,權限稽核金鑰30可以是一種具有運算和儲存功能的電子元件,本實施例在此不特別限制權限稽核金鑰30的種類,但在目前時間點主要使用形態為可攜式通用序列匯流排(Universal Serial Bus,USB)。於一個例子中,授權開始時點和授權終止時點表示了測試儀器10~13被合法授權使用的時間區間,即在授權開始時點和授權終止時點之間的任何時間都可以正常操作測試儀器10~13。實務上,業者在提供或安裝自動化測試系統時,便可以在權限稽核金鑰10~13中預先寫入授權開始時點和授權終止時點、對應系統平台上的測試儀器10~13的配置訊息,該配置訊息有各台測試儀器10~13的配置數據。也就是說,由於授權開始時點和授權終止時點是由業者寫入,自然可以確保於授權開始時點和授權終止時點正確無誤。於一個例子中,授權開始時點和授權終止時點不一定指的是某一日期的特定時間點,也有可能是一種累計時數,例如可以給定試用若干小時,本實施例不加以限制。另外,由上述可知,授權開始時點和授權終止時點是被記錄於權限稽核金鑰30,不是被記錄在軟體(例如操作程式)中,而本實施例亦不限制授權開始時點和授權終止時點是如何被寫入權限稽核金鑰30。As mentioned above, the open-architecture automated testing system with an authority audit module of the present invention includes a system platform 1, and the configuration includes test instruments 10-13 and an interface device 20, and the system platform 1 must also include an authority audit key 30, The authorization audit key 30 stores the data of the authorization start time point and the authorization termination time point. In practice, the authority audit key 30 may be an electronic component with computing and storage functions. This embodiment does not specifically limit the type of the authority audit key 30, but at the current time point, the main use form is a portable general-purpose serial number. Bus bar (Universal Serial Bus, USB). In one example, the authorization start time point and the authorization termination time point represent the time interval during which the test instruments 10-13 are legally authorized to use, that is, the test instruments 10-13 can be operated normally at any time between the authorization start time point and the authorization termination time point. . In practice, when providing or installing an automated test system, the operator can pre-write the authorization start time and authorization termination time, and the configuration information of the test instruments 10 to 13 on the corresponding system platform in the authorization audit key 10~13. The configuration message contains the configuration data of each test instrument 10~13. That is to say, since the authorization start time and authorization termination time point are written by the manufacturer, it can naturally be ensured that the authorization start time point and the authorization termination time point are correct. In an example, the authorization start time point and authorization termination time point do not necessarily refer to a specific time point on a certain date, but may also be a cumulative number of hours, such as a given trial for several hours, which is not limited in this embodiment. In addition, it can be seen from the above that the authorization start time point and authorization termination time point are recorded in the authority audit key 30, not in the software (such as an operating program), and this embodiment does not limit the authorization start time point and authorization termination time point to be How the permission audit key 30 is written.

以較常見實際操作的例子來說,當介面裝置20傳來測試指令時,權限稽核金鑰30會先檢查測試指令中的資訊,以決定是否啟動測試程序。實務上,測試指令中除了可以包含控制測試儀器10~13執行測試程序的指令之外,還會包含介面裝置20的系統時間數據資料及測試儀器10~13的配置訊息,權限稽核金鑰30即是用來檢查系統時間資訊、測試儀器10~13的配置訊息的配置數據是否正確。於一個例子中,測試指令可以包含了開始執行測試程序的第一執行時點,或者包含了結束測試程序時的第一停止時點。Taking a more common practical example, when a test command is sent from the interface device 20, the authorization check key 30 will first check the information in the test command to determine whether to start the test program. In practice, in addition to the instructions for controlling the test instruments 10 to 13 to execute the test program, the test instructions may also include the system time data of the interface device 20 and the configuration information of the test instruments 10 to 13. The authority audit key 30 is the It is used to check whether the system time information and the configuration data of the configuration information of test instruments 10~13 are correct. In one example, the test instruction may include a first execution time point when the test program starts to be executed, or a first stop time point when the test program ends.

當使用者操作介面裝置20發出測試指令要求開始執行測試程序時,權限稽核金鑰30所檢查測試指令包含的系統時間資訊、測試儀器10~13的配置數據,這兩個訊息屬於同一層級並不設限優先順序。若系統時間資訊比對不成功即便測試儀器10~13配置數據匹配,該系統平台1將不會執行後續步驟;相反若測試儀器10~13配置數據匹配不成功,即便系統時間資訊匹配,該系統平台1同樣將不會執行後續步驟。僅在系統平台1時間資訊、測試儀器10~13的配置訊息這兩種數據同時正確的情況,系統平台1才讓測試儀器10~13啟動測試程序對待測物40進行測試步驟。When the user operation interface device 20 sends a test command to start the test program, the system time information and the configuration data of the test instruments 10-13 contained in the test command checked by the authorization audit key 30 belong to the same level and do not belong to the same level. Set limit priority. If the comparison of the system time information is unsuccessful, even if the configuration data of the test instruments 10~13 match, the system platform 1 will not perform the subsequent steps; on the contrary, if the configuration data of the test instruments 10~13 is not matched successfully, even if the system time information matches, the system Platform 1 will also not perform subsequent steps. Only when the time information of the system platform 1 and the configuration information of the test instruments 10 to 13 are correct at the same time, the system platform 1 allows the test instruments 10 to 13 to start the test program to perform the test steps on the object under test 40 .

以下主要說明以系統時間資訊為例,假設測試指令要求執行測試程序的系統時間資訊(即第一執行時點)為T2,則權限稽核金鑰30會檢查第一執行時點T2是否晚於授權開始時點T0。以圖2的例子來說,第一執行時點T2的確晚於授權開始時點T0。權限稽核金鑰30可以據此產生稽核通過信號,測試儀器10~13收到稽核通過信號之後,才會啟動測試程序。當然,權限稽核金鑰30還可以基於其他的判斷條件產生稽核通過信號,舉例來說,權限稽核金鑰30除了檢查第一執行時點T2和授權開始時點T0的先後關係之外,權限稽核金鑰30還會一併檢查第一執行時點T2和授權終止時點T1的先後關係。例如,權限稽核金鑰30會檢查第一執行時點T2是否早於授權終止時點T1。實務上,當第一執行時點T2晚於授權開始時點T0,且第一執行時點T2早於授權終止時點T1時,意味著介面裝置12發出測試指令要求開始執行測試程序的當下是合法的授權期間(第一執行時點T2在授權開始時點T0和授權終止時點T1之間),此時權限稽核金鑰30可以產生稽核通過信號,讓測試儀器10~13啟動測試程序。The following main description takes the system time information as an example. Assuming that the system time information (ie, the first execution time point) required by the test command to execute the test program is T2, the authorization audit key 30 will check whether the first execution time point T2 is later than the authorization start time point. T0. Taking the example of FIG. 2 as an example, the first execution time point T2 is indeed later than the authorization start time point T0. The authority audit key 30 can generate an audit pass signal accordingly, and the test instruments 10 to 13 will not start the test program until the audit pass signal is received. Of course, the authority audit key 30 can also generate an audit pass signal based on other judgment conditions. For example, the authority audit key 30 checks the sequence relationship between the first execution time point T2 and the authorization start time point T0. 30 also checks the sequence relationship between the first execution time point T2 and the authorization termination time point T1. For example, the authorization audit key 30 checks whether the first execution time point T2 is earlier than the authorization termination time point T1. In practice, when the first execution time point T2 is later than the authorization start time point T0, and the first execution time point T2 is earlier than the authorization termination time point T1, it means that the time when the interface device 12 sends a test instruction to start executing the test program is a valid authorization period. (The first execution time point T2 is between the authorization start time point T0 and the authorization termination time point T1 ). At this time, the authorization audit key 30 can generate an audit pass signal, so that the test instruments 10 to 13 can start the test program.

反之,於所屬技術領域具有通常知識者應可以理解,如果權限稽核金鑰30檢查到第一執行時點T2早於授權開始時點T0,意味著還沒有到授權期間,或尚未開放給客戶使用操作。此時,權限稽核金鑰30則不會產生稽核通過信號,避免客戶過早開始使用系統平台1。此外,如果權限稽核金鑰30檢查到第一執行時點T2晚於授權終止時點T1,意味著授權期間已過,權限稽核金鑰30同樣不會產生稽核通過信號,以避免客戶逾期使用。換句話說,權限稽核金鑰30藉由檢查第一執行時點T2、授權開始時點T0和授權終止時點T1,可以判斷目前是否在授權期間。On the contrary, those with ordinary knowledge in the technical field should understand that if the authorization audit key 30 checks that the first execution time point T2 is earlier than the authorization start time point T0, it means that the authorization period has not yet arrived, or the operation has not yet been opened to customers. At this time, the authority audit key 30 will not generate an audit pass signal, so as to prevent the customer from starting to use the system platform 1 prematurely. In addition, if the authority audit key 30 checks that the first execution time point T2 is later than the authorization termination time point T1, it means that the authorization period has passed, and the authority audit key 30 also does not generate an audit pass signal to avoid overdue use by the customer. In other words, by checking the first execution time point T2, the authorization start time point T0 and the authorization termination time point T1, the authorization audit key 30 can determine whether the authorization period is currently in effect.

另一方面,當使用者操作介面裝置20發出測試指令要求結束測試程序時,權限稽核金鑰30也同樣會檢查測試指令包含的系統時間資訊。假設測試指令要求結束測試程序的系統時間資訊(即第一停止時點)為T3,此時權限稽核金鑰30會偵測到測試程序已結束,並且將授權開始時點T0更新成第一停止時點T3的時間。也就是說,本實施例並不只是記錄第一停止時點T3,而是在前次測試程序結束之後,會用前次測試程序的第一停止時點T3做為新的授權開始時點T0。從而,當下一次介面裝置12發出測試指令要求啟動測試程序時,權限稽核金鑰30檢查的授權開始時點T0即是前一次的第一停止時點T3。簡單來說,新的授權開始時點T0會向後挪移,並且更接近授權終止時點T1,這樣修改授權開始時點T0的策略會讓授權期間在每次使用後都縮短一些。On the other hand, when the user operation interface device 20 issues a test command to request to end the test procedure, the authorization check key 30 will also check the system time information included in the test command. Assuming that the system time information (ie the first stop time point) required by the test command to end the test program is T3, at this time, the authorization audit key 30 will detect that the test program has ended, and update the authorization start time point T0 to the first stop time point T3 time. That is to say, this embodiment does not only record the first stop time point T3, but uses the first stop time point T3 of the previous test program as the new authorization start time point T0 after the previous test program ends. Therefore, when the interface device 12 sends a test command to start the test program next time, the authorization start time point T0 checked by the authority audit key 30 is the first stop time point T3 of the previous time. To put it simply, the new authorization start time T0 will be moved backward and closer to the authorization termination time point T1. In this way, modifying the policy at the authorization start time point T0 will shorten the authorization period after each use.

當然,實務上還是可能有使用者會嘗試提供錯誤的第一停止時點T3給權限稽核金鑰30,例如藉由蓄意修改介面裝置20的系統時間資訊,讓介面裝置20發出測試指令要求結束測試程序時,包含了錯誤的系統時間資訊。為了方便說明,請一併參閱圖1與圖3,圖3係繪示依據本發明另一實施例之自動化測試系統的操作時序圖。以圖3的例子來說,由於第一執行時點T2在授權開始時點T0和授權終止時點T1之間,權限稽核金鑰30會判斷目前在合法的授權期間,從而權限稽核金鑰30可以讓測試儀器10~13啟動測試程序。然而,假設使用者蓄意修改了介面裝置20的系統時間資訊,從而在介面裝置20發出測試指令要求結束測試程序包含了錯誤的系統時間資訊,也就是錯誤的第一停止時點T4。此時,錯誤的第一停止時點T4可能像圖3一樣,被修改成早於第一執行時點T2,看起來像測試程序在啟動之前便停止了,明顯有邏輯上的問題。Of course, in practice, there may still be users who try to provide the wrong first stop time point T3 to the authorization audit key 30, for example, by deliberately modifying the system time information of the interface device 20, so that the interface device 20 can issue a test command to request to end the test program , contains incorrect system time information. For convenience of description, please refer to FIG. 1 and FIG. 3 together. FIG. 3 is an operation sequence diagram of an automated test system according to another embodiment of the present invention. Taking the example of FIG. 3 as an example, since the first execution time point T2 is between the authorization start time point T0 and the authorization termination time point T1, the authority audit key 30 will determine that it is currently in a valid authorization period, so that the authority audit key 30 can allow the test Instruments 10~13 start the test program. However, it is assumed that the user intentionally modifies the system time information of the interface device 20 , so that the interface device 20 sends out a test command to request to end the test procedure including the wrong system time information, that is, the wrong first stop time point T4 . At this time, the erroneous first stop time point T4 may be modified to be earlier than the first execution time point T2 as in FIG. 3 , it seems that the test program is stopped before it is started, and there is obviously a logical problem.

為了因應這一類蓄意修改系統時間資訊的問題,本實施例的權限稽核金鑰30在更新授權開始時點T0之前,可以多做一層檢查。舉例來說,權限稽核金鑰30可以先檢查第一執行時點T2是否早於第一停止時點T4,正常情況下,第一執行時點T2應當要早於第一停止時點T4。以圖3的例子來說,因為使用者惡意修改了介面裝置20的系統時間資訊,導致第一停止時點T4早於第一執行時點T2。於一個例子中,當權限稽核金鑰30檢查到第一停止時點T4早於第一執行時點T2時,系統平台1可以自動發出警示通知提醒業者。除此之外,更重要的是權限稽核金鑰30要正確更新授權開始時點T0。In order to deal with this kind of problem of deliberately modifying the system time information, the authority audit key 30 of this embodiment can perform an extra layer of checking before the update authorization start time point T0. For example, the authority audit key 30 may first check whether the first execution time point T2 is earlier than the first stop time point T4. Normally, the first execution time point T2 should be earlier than the first stop time point T4. Taking the example of FIG. 3 as an example, because the user maliciously modifies the system time information of the interface device 20 , the first stop time point T4 is earlier than the first execution time point T2 . In one example, when the authority audit key 30 detects that the first stop time point T4 is earlier than the first execution time point T2, the system platform 1 can automatically issue a warning notification to remind the operator. In addition to this, it is more important that the authorization audit key 30 should be correctly updated at the authorization start time point T0.

綜上所述,本發明提供的具備權限稽核模組之開放架構式自動化測試系統,藉由在系統上設置無法繞過的權限稽核金鑰,並利用權限稽核金鑰判斷檢查授權期間,避免客戶修改系統內部時間以迴避授權期間的檢查。此外,於本發明提供的權限稽核金鑰搭配系統平台,測試儀器的配置數據與授權期間這兩種數據同時正確的情況,系統平台才讓測試儀器啟動測試程序對待測物進行測試步驟。To sum up, the open-architecture automated test system provided by the present invention with the authority audit module, by setting the authority audit key that cannot be bypassed on the system, and using the authority audit key to determine the inspection authorization period, avoids the need for customers to Modify the system internal time to avoid checks during authorization. In addition, when the authorization audit key provided by the present invention is paired with the system platform, the system platform allows the test instrument to start the test program to perform the test steps of the object under test when the configuration data of the test instrument and the two data during the authorization period are correct at the same time.

1:系統平台 10~13:測試儀器 14:輸入/輸出埠 20:介面裝置 30:權限稽核金鑰 40:待測物 T0:授權開始時點 T1:授權終止時點 T2:第一執行時點 T3:第一停止時點 T4:第一停止時點1: System Platform 10~13: Test equipment 14: input/output port 20: Interface Device 30: Permission audit key 40: Object to be tested T0: Authorization start time T1: Authorization termination time point T2: The first execution time point T3: The first stop time T4: The first stop time

圖1係繪示依據本發明一實施例之具備權限稽核模組之開放架構式自動化測試系統的功能方塊圖。FIG. 1 is a functional block diagram of an open-architecture automated test system with an authority audit module according to an embodiment of the present invention.

圖2係繪示依據本發明一實施例之具備權限稽核模組之開放架構式自動化測試系統的操作時序圖。FIG. 2 is an operation sequence diagram of an open-architecture automated test system with an authority audit module according to an embodiment of the present invention.

圖3係繪示依據本發明另一實施例之具備權限稽核模組之開放架構式自動化測試系統的操作時序圖。FIG. 3 is an operation sequence diagram of an open-architecture automated testing system with an authority auditing module according to another embodiment of the present invention.

1:系統平台1: System Platform

10~13:測試儀器10~13: Test equipment

14:輸入/輸出埠14: input/output port

20:介面裝置20: Interface Device

30:權限稽核金鑰30: Permission audit key

40:待測物40: Object to be tested

Claims (8)

一種具備權限稽核模組之開放架構式自動化測試系統,包含: 至少一測試儀器,具有一配置訊息; 一系統平台,電性連接該測試儀器,具有一輸入/輸出埠; 一權限稽核金鑰,儲存有該系統平台之授權開始時點和授權終止時點之一數據資料以及對應該測試系統的該些測試儀器的一配置訊息,該配置訊息有該測試儀器的一配置數據,用於插接該輸入/輸出埠;以及 一介面裝置,電性連接該系統平台,用以提供一測試指令; 其中,透過該介面裝置操作一測試指令經由該系統平台給該測試儀器,該權限稽核金鑰檢查該系統平台的該數據資料以及該測試儀器的配置數據同時無誤,所述測試指令即允許該測試儀器執行對應的測試程序。An open-frame automated test system with an authority audit module, comprising: At least one test instrument has a configuration message; a system platform electrically connected to the test instrument and having an input/output port; an authorization audit key, which stores a data of the authorization start time and authorization termination time point of the system platform and a configuration message corresponding to the test instruments of the test system, and the configuration message contains a configuration data of the test instrument, for plugging into the input/output port; and an interface device electrically connected to the system platform for providing a test command; Wherein, a test command is operated through the interface device to the test instrument through the system platform, the authority audit key checks the data of the system platform and the configuration data of the test instrument are both correct, and the test command allows the test The instrument executes the corresponding test program. 如請求項1所述之自動化測試系統,其中當該測試儀器收到該測試指令時,於該測試儀器的配置數據無誤下,該權限稽核金鑰檢查該測試指令中的一第一執行時點是否晚於該授權開始時點,該測試儀器據以決定是否啟動該測試程序。The automated test system as claimed in claim 1, wherein when the test instrument receives the test command, if the configuration data of the test instrument is correct, the authority audit key checks whether a first execution time point in the test command is After the start time of the authorization, the test instrument decides whether to start the test procedure accordingly. 如請求項2所述之自動化測試系統,其中當該第一執行時點晚於該授權開始時點時,該權限稽核金鑰產生一稽核通過信號,該測試儀器依據該稽核通過信號啟動該測試程序。The automated testing system of claim 2, wherein when the first execution time point is later than the authorization start time point, the authority audit key generates an audit pass signal, and the test instrument starts the test program according to the audit pass signal. 如請求項3所述之自動化測試系統,其中當該第一執行時點不晚於該授權開始時點時,該權限稽核金鑰不產生該稽核通過信號。The automated testing system of claim 3, wherein when the first execution time point is not later than the authorization start time point, the authority audit key does not generate the audit pass signal. 如請求項2所述之自動化測試系統,其中當該測試儀器收到該測試指令時,該權限稽核金鑰更檢查該第一執行時點是否早於該授權終止時點,該測試儀器據以決定是否啟動該測試程序。The automated test system as claimed in claim 2, wherein when the test instrument receives the test command, the authority audit key further checks whether the first execution time point is earlier than the authorization termination time point, and the test instrument determines whether to Start the test program. 如請求項1所述之自動化測試系統,其中於該權限稽核金鑰將該授權開始時點更新為該第一停止時點之前,該權限稽核金鑰檢查該第一執行時點是否早於該第一停止時點。The automated testing system of claim 1, wherein before the authorization start time point is updated by the authorization audit key to the first stop time point, the authorization audit key checks whether the first execution time point is earlier than the first stop time point time. 如請求項6所述之自動化測試系統,其中當該權限稽核金鑰檢查該第一執行時點不早於該第一停止時點,於該測試儀器的配置數據無誤下,該權限稽核金鑰將該第一執行時點累加一內計時數值,以取得一真實停止時點,該權限稽核金鑰將該授權開始時點更新為該真實停止時點。The automated testing system as claimed in claim 6, wherein when the authorization check key checks that the first execution time point is not earlier than the first stop time point, and if the configuration data of the test instrument is correct, the authorization check key checks the The first execution time point accumulates an internal timer value to obtain a real stop time point, and the authority audit key updates the authorization start time point to the real stop time point. 一種權限稽核金鑰,用於插置於一系統平台所提供至少一個輸入/輸出埠,該系統平台配置包含至少一測試儀器以及一介面裝置,該權限稽核金鑰具有: 儲存有該系統平台之授權開始時點和授權終止時點之一數據資料;以及 儲存有對應該系統平台上的該些測試儀器的一配置訊息,該配置訊息有該些測試儀器的一配置數據; 其中,透過該介面裝置操作下達一測試指令經由該系統平台給該測試儀器,該權限稽核金鑰檢查該系統平台的該數據資料以及該測試儀器的配置數據同時無誤,所述測試指令即允許該測試儀器執行對應的測試程序。An authorization check key is used to be inserted into at least one input/output port provided by a system platform, the system platform configuration includes at least one test instrument and an interface device, and the authorization check key has: Stores one of the data of the authorization start time and authorization termination time point of the system platform; and storing a configuration message corresponding to the test instruments on the system platform, the configuration message having a configuration data of the test instruments; Wherein, a test command is issued to the test instrument through the system platform through the operation of the interface device, and the authority audit key checks the data of the system platform and the configuration data of the test instrument are correct at the same time, and the test command allows the test instrument The test instrument executes the corresponding test program.
TW109122575A 2020-07-03 2020-07-03 Open architecture platform automatic test system with checking authority module TW202203101A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109122575A TW202203101A (en) 2020-07-03 2020-07-03 Open architecture platform automatic test system with checking authority module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109122575A TW202203101A (en) 2020-07-03 2020-07-03 Open architecture platform automatic test system with checking authority module

Publications (1)

Publication Number Publication Date
TW202203101A true TW202203101A (en) 2022-01-16

Family

ID=80787801

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109122575A TW202203101A (en) 2020-07-03 2020-07-03 Open architecture platform automatic test system with checking authority module

Country Status (1)

Country Link
TW (1) TW202203101A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113884779A (en) * 2020-07-03 2022-01-04 致茂电子(苏州)有限公司 Authority check key and open architecture type automatic test system with same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113884779A (en) * 2020-07-03 2022-01-04 致茂电子(苏州)有限公司 Authority check key and open architecture type automatic test system with same

Similar Documents

Publication Publication Date Title
CN102736978B (en) A kind of method and device detecting the installment state of application program
US8209564B2 (en) Systems and methods for initiating software repairs in conjunction with software package updates
US7788730B2 (en) Secure bytecode instrumentation facility
US20110214112A1 (en) Systems and mehtods for generating predictive diagnostics via package update manager
US9116802B2 (en) Diagnostic notification via package update manager
CN104246714A (en) Software defect verification
US11792270B2 (en) Offline sideloading for enrollment of devices in a mobile device management system
CN110928556A (en) Automatic program burning method and device for railway vehicle, and testing method and system
KR102141287B1 (en) Fault injection test method and system for vehicle software based on autosar
CN108205491B (en) NKV 6.0.0 system-based trusted technology compatibility testing method
TW202203101A (en) Open architecture platform automatic test system with checking authority module
US5751595A (en) Method for building and verifying authenticity of a rule system
JP2006309576A (en) Verification device and verification method for logic system, and storage medium and computer program
US8527446B2 (en) Information integrity rules framework
CN107844703B (en) Client security detection method and device based on Android platform Unity3D game
TWI699645B (en) Network framework for detection operation and information management method applied thereto
CN112445670A (en) eMMC test method and device
CN113884779A (en) Authority check key and open architecture type automatic test system with same
CN108647516A (en) A kind of defence loophole illegally puies forward power method and device
WO2019056545A1 (en) Test machine automation management method and apparatus, device, and storage medium
US20210349146A1 (en) Electronic component testing system and time certification method
CN108710554B (en) Processor debugging system and method
CN112783532A (en) Program testing system and device for financial terminal equipment
CN115392409A (en) SAM card issuing detection method and device, electronic equipment and storage medium
CN113407166B (en) Safe and controllable agile software development method under controlled network environment