TW202024912A - Test positioning system and method thereof - Google Patents

Test positioning system and method thereof Download PDF

Info

Publication number
TW202024912A
TW202024912A TW107145594A TW107145594A TW202024912A TW 202024912 A TW202024912 A TW 202024912A TW 107145594 A TW107145594 A TW 107145594A TW 107145594 A TW107145594 A TW 107145594A TW 202024912 A TW202024912 A TW 202024912A
Authority
TW
Taiwan
Prior art keywords
test
processing unit
machine under
under test
program
Prior art date
Application number
TW107145594A
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 TW107145594A priority Critical patent/TW202024912A/en
Publication of TW202024912A publication Critical patent/TW202024912A/en

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A test positioning system and a method thereof are provided. After a plurality of devices to be tested disposed in a rack on a test station are connected to switches supporting different transmission speeds on the test station according to their test requirements, a test host sends a detection signal to each device to be tested to receive a response signal corresponding thereto; the test host obtains configuration data mapping the connection relationship between ports included in the switches and the devices to be tested based on the response signals; and the test host calculates and obtains which test location in the rack each device to be tested is disposed on according to the configuration data and disposition data. Therefore, multiple switches with different transmission speeds can be disposed in a rack on the single test station to test on different batches of devices to be tested without wasting labor and time on setting the association of the switches and the test station.

Description

測試定位系統及其方法Testing positioning system and method

本發明涉及一種定位系統及其方法,特別是測試定位系統及其方法。The invention relates to a positioning system and a method thereof, in particular to a testing positioning system and a method thereof.

產線對待測機器的測試都是連接網路進行測試,每一測試工位依據其配置的交換器連接網路,同時測試定位系統也依靠交換器與待測機器的網卡之間的接入狀態為該待測機器的進行定位。其中,交換器與測試工位係以一對一關係進行綁定。The test of the machine under test on the production line is connected to the network for testing. Each test station is connected to the network according to its configured switch. At the same time, the test positioning system also depends on the connection status between the switch and the network card of the machine under test. Position the machine to be tested. Among them, the switch and the test station are bound in a one-to-one relationship.

然而,當要求使用不同網速的交換器進行測試的待測機器(即新機型)出現時,當前測試工位的交換器可能無法滿足該測試要求。假如擴大測試區域會增加生產成本與生產空間及時間的消耗。假如依據新舊機型進行分線測試會造成測試工位的浪費。假如工廠的測試區域有限,不同批次的待測機器(即新舊機型)進行測試前,需要人工修改測試工位和交換器的綁定關聯造成浪費人力和時間。However, when a machine under test (that is, a new model) that requires switches with different network speeds for testing appears, the switch at the current test station may not meet the test requirements. If the test area is expanded, the production cost and the consumption of production space and time will increase. If the line test is performed based on the new and old models, it will cause a waste of test stations. If the test area of the factory is limited, it is necessary to manually modify the binding relationship between the test station and the switch before testing different batches of machines to be tested (ie, new and old models), which will waste manpower and time.

綜上所述,可知先前技術中存在因交換器與測試工位一對一綁定而造成不同測試需求的待測機器進行測試前需人力更換交換器並修改綁定測試工位和交換器的關聯而浪費人力和時間、需擴大測試區域而增加生產成本或者需進行分線測試而浪費測試工位的問題,因此實有必要提出改進的技術手段,來解決此一問題。To sum up, it can be seen that in the prior art, the machine under test with different test requirements due to the one-to-one binding of the switch and the test station requires manpower to replace the switch and modify the binding test station and the switch before testing. The problem of wasting manpower and time due to correlation, increasing the production cost due to the need to expand the test area, or wasting the test station due to the need to conduct branch testing, so it is really necessary to propose improved technical means to solve this problem.

本發明揭露一種測試定位系統及其方法。The invention discloses a test positioning system and method thereof.

首先,本發明揭露一種測試定位系統,其包括:兩個以上的交換器、複數個待測機器與測試主機。該些交換器設置於一測試工位,該些交換器用以支援不同的傳輸速度,每一交換器包括多個連接埠。該些待測機器配置在位於該測試工位的機架上,依據其對應的測試需求以一對一方式連接該些連接埠。測試主機電性連接於該些交換器,測試主機包括處理單元、連線定位程序與儲存單元,儲存單元儲存連線定位程序,處理單元用以執行連線定位程序。其中,連線定位程序包括以下步驟:處理單元送出偵測信號,偵測信號經由些連接埠分別傳送至該些待測機器;處理單元接收來自每一待測機器對偵測信號的回應信號;處理單元基於回應信號來辨別當前連接至每一待測機器的該些交換器的該些連接埠;處理單元取得組態資料,組態資料係對映該些連接埠與該些待測機器之間的連接關係;以及處理單元依據配置資料與組態資料推算並取得每一待測機器配置於該機架上的哪一個測試位置。First, the present invention discloses a test positioning system, which includes: two or more switches, a plurality of machines to be tested, and a test host. The switches are arranged in a test station, the switches are used to support different transmission speeds, and each switch includes a plurality of connection ports. The machines to be tested are arranged on the rack at the test station, and are connected to the ports in a one-to-one manner according to their corresponding test requirements. The test host is electrically connected to the switches. The test host includes a processing unit, a connection positioning program and a storage unit. The storage unit stores the connection positioning program, and the processing unit is used for executing the connection positioning program. Wherein, the connection positioning procedure includes the following steps: the processing unit sends a detection signal, and the detection signal is respectively transmitted to the machines under test through the ports; the processing unit receives a response signal from each machine under test to the detection signal; The processing unit identifies the ports of the switches currently connected to each machine under test based on the response signal; the processing unit obtains configuration data, and the configuration data maps the ports to the machine under test And the processing unit calculates and obtains which test position on the rack each machine to be tested is configured on according to the configuration data and the configuration data.

此外,本發明揭露一種測試定位方法,其步驟包括:提供測試定位系統,其包括兩個以上的交換器、複數個待測機器與測試主機,其中,測試主機包括處理單元、連線定位程序與儲存單元,儲存單元儲存連線定位程序;將該些交換器設置於一測試工位上且支援不同的傳輸速度,其中,每一交換器包括多個連接埠;將該些待測機器配置在位於該測試工位的機架上且依據其對應的測試需求以一對一方式連接該些連接埠;將測試主機電性連接於該些交換器;以及處理單元執行連線定位程序,連線定位程序包括以下步驟:處理單元送出偵測信號,偵測信號經由該些連接埠分別傳送至該些待測機器;處理單元接收來自每一待測機器對偵測信號的回應信號;處理單元基於回應信號來辨別當前連接至每一待測機器的該些交換器的該些連接埠;處理單元取得組態資料,組態資料係對映該些連接埠與該些待測機器之間的連接關係;以及處理單元依據配置資料與組態資料推算並取得每一待測機器配置於該機架上的哪一個測試位置。In addition, the present invention discloses a test positioning method, the steps of which include: providing a test positioning system, which includes two or more switches, a plurality of machines to be tested, and a test host, wherein the test host includes a processing unit, a connection positioning program, and Storage unit, the storage unit stores the connection positioning program; the switches are arranged on a test station and support different transmission speeds, wherein each switch includes multiple ports; the machines under test are arranged in It is located on the rack of the test station and is connected to the ports in a one-to-one manner according to the corresponding test requirements; the test host is electrically connected to the switches; and the processing unit executes the connection positioning procedure to connect The positioning procedure includes the following steps: the processing unit sends a detection signal, and the detection signal is respectively transmitted to the machines under test through the ports; the processing unit receives the response signal from each machine under test to the detection signal; the processing unit is based on The response signal is used to identify the ports of the switches currently connected to each machine under test; the processing unit obtains configuration data, and the configuration data maps the connections between the ports and the machines under test Relationship; and the processing unit calculates and obtains which test position on the rack each machine to be tested is configured on according to the configuration data and the configuration data.

本發明所揭露之系統與方法如上,與先前技術的差異在於本發明是透過將位於測試工位的機架上的複數個待測機器依據其對應的測試需求連接至設置於測試工位上支援不同傳輸速度的多個交換器後,測試主機送出偵測信號至該些待測機器以接收對應的回應信號;測試主機基於該些回應信號取得對映該些交換器所包括的該些連接埠與該些待測機器之間的連接關係的組態資料;以及測試主機依據配置資料與組態資料推算並取得每一待測機器配置於機架上的哪一個測試位置。The system and method disclosed in the present invention are as above. The difference from the prior art is that the present invention connects a plurality of machines to be tested on the frame of the test station to the test station according to their corresponding test requirements. After multiple switches with different transmission speeds, the test host sends detection signals to the machines under test to receive corresponding response signals; the test host obtains the corresponding ports included in the switches based on the response signals The configuration data of the connection relationship with the machines under test; and the test host calculates and obtains which test position on the rack each machine under test is configured according to the configuration data and the configuration data.

透過上述的技術手段,本發明可以在現有測試工位的數量不變的情況下,部署新的交換器,使新舊交換器同時存在於同一測試工位,不管待測機器是舊機型或新機型,可依據其對應的測試需求擇一交換器接入,以使測試主機可透過連線定位程序取得每一待測機器與交換器的連接關係及其位於機架上的哪一個測試位置,進而達成節省空間以及提高測試工位利用率之技術功效。Through the above-mentioned technical means, the present invention can deploy new switches under the condition that the number of existing test stations remains unchanged, so that the new and old switches exist in the same test station at the same time, regardless of whether the machine to be tested is an old model or For the new model, a switch can be selected according to its corresponding test requirements, so that the test host can obtain the connection relationship between each machine under test and the switch and which test is located on the rack through the connection positioning program Position, and then achieve the technical effect of saving space and improving the utilization of test stations.

以下將配合圖式及實施例來詳細說明本發明之實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。Hereinafter, the implementation of the present invention will be described in detail with the drawings and embodiments, so as to fully understand and implement the implementation process of how the present invention uses technical means to solve technical problems and achieve technical effects.

請先參閱「第1圖」與「第2圖」,「第1圖」為本發明測試定位系統之一實施例系統方塊圖,「第2圖」為「第1圖」的測試定位系統執行測試定位方法之一實施例方法流程圖。在本實施例中,測試定位系統100包含:兩個以上的交換器110、複數個待測機器120與測試主機130,其中,測試主機130包括處理單元50、連線定位程序60與儲存單元70,儲存單元70儲存連線定位程序60(步驟210)。其中,交換器110的數量可為但不限於兩個,待測機器120的數量可為但不限於八個,但本實施例並非用以限定本發明,可依據實際需求進行調整。Please refer to "Figure 1" and "Figure 2", "Figure 1" is a system block diagram of an embodiment of the test positioning system of the present invention, and "Figure 2" is the execution of the test positioning system of "Figure 1" A method flowchart of an embodiment of the test positioning method. In this embodiment, the test positioning system 100 includes: two or more switches 110, a plurality of machines to be tested 120, and a test host 130, where the test host 130 includes a processing unit 50, a connection positioning program 60, and a storage unit 70 , The storage unit 70 stores the connection positioning program 60 (step 210). The number of the switch 110 may be but not limited to two, and the number of the machine under test 120 may be but not limited to eight, but this embodiment is not used to limit the present invention, and can be adjusted according to actual needs.

其中,交換器110、待測機器120、測試主機130、處理單元50、連線定位程序60與儲存單元70可以利用各種方式來實現,包括軟體、硬體、韌體或其任意組合。在實施例中提出的技術使用軟體或韌體可以被儲存在機器可讀儲存媒體上,例如:唯讀記憶體(ROM)、隨機存取記憶體(RAM)、磁盤儲存媒體、光儲存媒體、快閃記憶體裝置等等,並且可以由一個或多個通用或專用的可程式化微處理器執行。交換器110、待測機器120與測試主機130之間可通過無線或有線的方式相互連接,以進行信號與資料的傳遞。The switch 110, the machine under test 120, the test host 130, the processing unit 50, the connection positioning program 60, and the storage unit 70 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. The software or firmware used by the technology proposed in the embodiment can be stored on a machine-readable storage medium, such as: read-only memory (ROM), random access memory (RAM), disk storage media, optical storage media, Flash memory devices, etc., and can be executed by one or more general-purpose or special-purpose programmable microprocessors. The switch 110, the machine under test 120, and the test host 130 can be connected to each other in a wireless or wired manner to transmit signals and data.

該些交換器110設置於一測試工位且支援不同的傳輸速度,其中,每一交換器110包括多個連接埠(步驟220)。換句話說,本實施例的兩個交換器110可分別支援1G與10G傳輸速度,每一交換器110可包括八個連接埠,但本實施例並非用以限定本發明,可依據實際需求進行調整。其中,每一交換器110所包括的連接埠數量可等於位於該測試工位的機架所包括的測試位置數量。The switches 110 are arranged in a test station and support different transmission speeds, wherein each switch 110 includes a plurality of connection ports (step 220). In other words, the two switches 110 of this embodiment can support 1G and 10G transmission speeds, and each switch 110 can include eight ports. However, this embodiment is not intended to limit the present invention, and can be implemented according to actual needs. Adjustment. The number of ports included in each switch 110 may be equal to the number of test locations included in the rack at the test station.

該些待測機器120配置在位於測試工位的機架上,依據其對應的測試需求以一對一方式連接該些連接埠(步驟230)。更詳細地說,當組裝線上的該些待測機器120完成組裝後,現場操作人員依據智能測試工位管理系統所輸出的每一待測機器120所對應的測試位置資料將其配置於對應的機架上,並依據智能測試工位管理系統所輸出的已滿載該些待測機器120的機架所對應的測試工位資料將其移動至對應的測試工位,再依據每一待測機器120對應的測試需求將其連接至對應的交換器110的連接埠(即將不同機型的待測機器120接入各自所適應的交換器110)。The machines under test 120 are arranged on the rack at the test station, and are connected to the ports in a one-to-one manner according to their corresponding test requirements (step 230). In more detail, after the machines under test 120 on the assembly line have been assembled, the on-site operator will configure them in the corresponding test position according to the test location data corresponding to each machine under test 120 output by the intelligent test station management system. On the rack, and move it to the corresponding test station according to the test station data output by the intelligent test station management system that is fully loaded with the machine under test 120, and then according to each machine under test The test requirement 120 corresponds to the connection port of the corresponding switch 110 (that is, the machine under test 120 of different models is connected to the switch 110 to which it is adapted).

將測試主機130電性連接於該些交換器110(步驟240),處理單元50用以執行連線定位程序60(步驟250)。換句話說,當不同機型的待測機器120接入各自所適應的交換器110後,將測試主機130電性連接該些交換器110,以使測試主機130的處理單元50執行連線定位程序60。The test host 130 is electrically connected to the switches 110 (step 240), and the processing unit 50 is used to execute the connection location procedure 60 (step 250). In other words, after the machines under test 120 of different models are connected to the switches 110 to which they are adapted, the test host 130 is electrically connected to the switches 110, so that the processing unit 50 of the test host 130 performs connection positioning Procedure 60.

請參閱「第1圖」與「第3圖」,「第3圖」為「第1圖」的處理單元所執行的連線定位程序之一實施例方法流程圖。在本實施例中,連線定位程序包括以下步驟:處理單元送出偵測信號,偵測信號經由些連接埠分別傳送至該些待測機器(步驟310);處理單元接收來自每一待測機器對偵測信號的回應信號(步驟320);處理單元基於回應信號來辨別當前連接至每一待測機器的該些交換器的該些連接埠(步驟330);處理單元取得組態資料,組態資料係對映該些連接埠與該些待測機器之間的連接關係(步驟340);以及處理單元依據配置資料與組態資料推算並取得每一待測機器配置於該機架上的哪一個測試位置(步驟350)。Please refer to "Figure 1" and "Figure 3". "Figure 3" is a flowchart of one embodiment of the connection positioning procedure executed by the processing unit of "Figure 1". In this embodiment, the connection positioning procedure includes the following steps: the processing unit sends a detection signal, and the detection signal is respectively transmitted to the machines under test through the ports (step 310); the processing unit receives signals from each machine under test A response signal to the detection signal (step 320); the processing unit identifies the ports of the switches currently connected to each machine under test based on the response signal (step 330); the processing unit obtains configuration data, The state data is to map the connection relationship between the ports and the machines under test (step 340); and the processing unit calculates and obtains the configuration data of each machine under test on the rack according to the configuration data and configuration data. Which test location (step 350).

更詳細地說,處理單元50透過每一交換器110的連接埠傳送偵測信號至對應連接埠連接的該待測機器120(即步驟310),當任一連接埠連接有待測機器120時,該待測機器120會接收到偵測信號,並會對應產生回應信號,接著,將回應信號透過對應連接的連接埠傳輸至處理單元50(即步驟320)。透過步驟310至步驟320,處理單元50可用以檢測每一連接埠是否對應連接待測機器120,如果該連接埠有對應連接的待測機器120,則會接收到該待測機器120索回傳的回應信號;如果該連接埠沒有對應連接的待測機器120,則代表該連接埠為空接。其中,每一待測機器120對應偵測信號所回傳的回應信號可包括每一待測機器120的辨別資訊。在本實施例中,辨別資訊係可為但限於待測機器120具有的網卡的媒體存取控制(Media Access Control,MAC) 資訊,但本實施例並非用以限定本發明,可依據實際需求進行調整。In more detail, the processing unit 50 transmits the detection signal to the machine under test 120 connected to the corresponding port through the port of each switch 110 (step 310). When any port is connected to the machine under test 120 , The machine under test 120 will receive the detection signal, and will correspondingly generate a response signal, and then transmit the response signal to the processing unit 50 through the corresponding connection port (ie, step 320). Through step 310 to step 320, the processing unit 50 can be used to detect whether each port corresponds to the machine under test 120. If the port has a corresponding machine under test 120, it will receive the machine under test 120 to request a return. If the port does not correspond to the connected machine under test 120, it means that the port is empty. Among them, the response signal returned by each machine under test 120 corresponding to the detection signal may include the identification information of each machine under test 120. In this embodiment, the identification information may be, but is limited to, the Media Access Control (MAC) information of the network card of the machine under test 120. However, this embodiment is not intended to limit the present invention, and can be performed according to actual needs. Adjustment.

在步驟330中,由於每一媒體存取控制資訊有綁定的待測機器120的機型,當處理單元50接收來自每一待測機器120對應偵測信號索回傳的回應信號(其具有的辨別資訊)後,即可基於回應信號辨別當前連接有待測機器120的該些連接埠與該些待測機器120的機型之間的連接關係,進而取得組態資料(即步驟340)。In step 330, since each media access control information is bound to the model of the machine under test 120, when the processing unit 50 receives the response signal from each machine under test 120 corresponding to the detection signal (which has After the identification information), the connection relationship between the ports currently connected to the machine under test 120 and the model of the machine under test 120 can be identified based on the response signal, and configuration data can be obtained (ie, step 340) .

而由於已滿載該些待測機器120的機架移動至對應的測試工位之前,智能測試工位管理系統可輸出每一待測機器120所對應的測試位置資料使現場操作人員據以將該些待測機器120配置於對應的機架上,因此,處理單元50可依據配置資料(其包括每一待測機器120所對應的測試位置資料)與組態資料推算並取得每一待測機器120配置於機架上的哪一個測試位置。其中,每一測試位置係為每一待測機器120可配置於機架上的位置。在本實施例中,機架上的測試位置數量可為但不限於八個,但本實施例並非用以限定本發明,可依據實際需求進行調整。Before the racks full of the machines under test 120 are moved to the corresponding test stations, the intelligent test station management system can output the test position data corresponding to each machine under test 120 so that the on-site operators can use the Some machines under test 120 are configured on corresponding racks. Therefore, the processing unit 50 can calculate and obtain each machine under test based on the configuration data (including the test position data corresponding to each machine under test 120) and the configuration data. Which test position on the rack 120 is configured. Among them, each test position is a position where each machine under test 120 can be arranged on the rack. In this embodiment, the number of test positions on the rack can be but not limited to eight, but this embodiment is not intended to limit the present invention, and can be adjusted according to actual needs.

透過上述步驟,即可允許多個交換器對應配置於一個測試工位,不論在哪個交換器的連接埠連接有待測機器,都可以判斷待測機器與交換器的連接關係以及待測機器位於機架上的哪一個測試位置,以達到在每一待測機器進行測試程序前對其進行定位之技術功效。Through the above steps, you can allow multiple switches to be configured in a test station. No matter which switch port is connected to the machine under test, you can determine the connection relationship between the machine under test and the switch and the location of the machine under test. Which test position on the rack to achieve the technical effect of positioning each machine to be tested before the test program.

此外,請參閱「第1圖」,測試主機130還可包括驗證程序80,儲存單元70儲存驗證程序80,處理單元50用以執行驗證程序80,驗證程序80可包括以下步驟:處理單元50依據組態資料與每一待測機器120所對應的測試腳本判斷每一待測機器120所連接的交換器110是否有誤。由於現場操作人員係依據每一待測機器120對應的測試需求將其連接至對應的交換器110的連接埠,但為避免現場操作人員有所失誤,可於測試主機130對每一待測機器120進行測試程序之前執行驗證程序80。更詳細地說,由於測試腳本係可為但不限於維護工程師依據客戶的測試需求所規劃的腳本,也就是依據每一待測機器120所對應的測試需求所規劃的腳本,所以處理單元50可依據組態資料取得每一待測機器120與交換器110的連接關係,再依據每一待測機器120與交換器的連接關係與每一待測機器120所對應的測試腳本比對每一待測機器120所連接的交換器110是否有誤。當處理單元50發現某一待測機器120所連接的交換器110有誤時,可透過聲音或影像的方式提醒現場操作人員進行調整。In addition, referring to "Figure 1", the test host 130 may also include a verification program 80, the storage unit 70 stores the verification program 80, and the processing unit 50 is used to execute the verification program 80. The verification program 80 may include the following steps: The configuration data and the test script corresponding to each machine under test 120 determine whether the switch 110 connected to each machine under test 120 is wrong. Since the on-site operator connects each machine under test 120 to the corresponding port of the switch 110 according to the corresponding test requirements, but in order to avoid mistakes by the on-site operator, the test host 130 can check each machine under test The verification program 80 is executed before 120 performing the test program. In more detail, since the test script can be, but is not limited to, a script planned by a maintenance engineer according to the test requirements of the customer, that is, a script planned according to the test requirements corresponding to each machine under test 120, the processing unit 50 can Obtain the connection relationship between each machine under test 120 and the switch 110 according to the configuration data, and compare each machine under test 120 with the test script corresponding to each machine under test 120 according to the connection relationship between each machine under test 120 and the switch 110. Check whether the switch 110 connected to the machine 120 is wrong. When the processing unit 50 finds an error in the switch 110 connected to a certain machine under test 120, it can remind the on-site operator to make adjustments through audio or video.

再者,請參閱「第1圖」,測試主機130還可包括測試程序90,儲存單元70儲存測試程序90,處理單元50用以執行測試程序90,測試程序90可包括以下步驟:將每一交換器110設定為主控模式(master),且每一待測機器120設定為從屬模式(slave);測試主機130依據組態資料與每一待測機器所對應的測試腳本經由每一連接埠發送測試信號至對應連接的待測機器120,以測試對應連接的待測機器120;以及每一交換器110記錄每一待測機器120的測試結果,並回覆至測試主機130。換句話說,測試主機130可依據組態資料與每一待測機器120所對應的測試腳本產生對應每一待測機器120的測試信號,並透過該些連接埠分別將該些測試信號傳送至對應的該些待測機器120,以分別對該些待測機器120進行測試。當每一待測機器120測試完畢時可回傳其測試結果至對應連接的交換器110,使該些交換器110記錄所有的測試結果,並將所有的測試結果回覆至測試主機130,以使處理單元50執行完成測試程序90。Furthermore, referring to "Figure 1", the test host 130 may also include a test program 90, the storage unit 70 stores the test program 90, and the processing unit 50 is used to execute the test program 90. The test program 90 may include the following steps: The switch 110 is set in the master mode, and each machine under test 120 is set in the slave mode (slave); the test host 130 passes through each port according to the configuration data and the test script corresponding to each machine under test Send a test signal to the correspondingly connected machine under test 120 to test the correspondingly connected machine under test 120; and each switch 110 records the test result of each machine under test 120 and responds to the test host 130. In other words, the test host 130 can generate test signals corresponding to each machine under test 120 according to the configuration data and the test script corresponding to each machine under test 120, and transmit the test signals to each of the test signals through the ports. The corresponding machines 120 to be tested are to be tested respectively. When the test of each machine under test 120 is completed, the test result can be sent back to the corresponding connected switch 110, so that the switches 110 can record all the test results, and reply all the test results to the test host 130, so that The processing unit 50 executes the completion test program 90.

綜上所述,可知本發明與先前技術之間的差異在於透過將位於測試工位的機架上的複數個待測機器依據其對應的測試需求連接至設置於測試工位上支援不同傳輸速度的多個交換器後,測試主機送出偵測信號至該些待測機器以接收對應的回應信號;測試主機基於該些回應信號取得對映該些交換器所包括的該些連接埠與該些待測機器之間的連接關係的組態資料;以及測試主機依據配置資料取得每一待測機器配置於機架上的哪一個測試位置,藉由此一技術手段可以解決先前技術所存在的問題,進而可以在現有測試工位的數量不變的情況下,允許多個交換器對應配置於一個測試工位,不管待測機器是哪一種機型皆可依據其對應的測試需求擇一交換器接入,以使測試主機可透過連線定位程序取得每一待測機器與交換器的連接關係及其位於機架上的哪一個測試位置,進而達成節省空間以及提高測試工位利用率之技術功效。In summary, it can be seen that the difference between the present invention and the prior art is that by connecting a plurality of machines to be tested on the frame of the test station to the test station to support different transmission speeds according to their corresponding test requirements. After a plurality of switches, the test host sends detection signals to the machines under test to receive corresponding response signals; based on the response signals, the test host obtains a mapping between the ports included in the switches and the The configuration data of the connection relationship between the machines to be tested; and the test host obtains which test position on the rack each machine to be tested is configured on according to the configuration data. This technical method can solve the problems of the prior art , Furthermore, under the circumstance that the number of existing test stations remains unchanged, multiple switches can be correspondingly configured in one test station. No matter which model of the machine to be tested is, one switch can be selected according to its corresponding test requirements Access, so that the test host can obtain the connection relationship between each machine under test and the switch and which test position on the rack is located through the connection positioning program, thereby saving space and improving the utilization of test stations. effect.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。Although the present invention is disclosed in the foregoing embodiments as above, it is not intended to limit the present invention. Anyone familiar with similar art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of patent protection shall be determined by the scope of the patent application attached to this specification.

50:處理單元60:連線定位程序70:儲存單元80:驗證程序90:測試程序100:測試定位系統110:交換器120:待測機器130:測試主機步驟210:提供測試定位系統,其包括兩個以上的交換器、複數個待測機器與測試主機,其中,測試主機包括處理單元、連線定位程序與儲存單元,儲存單元儲存連線定位程序步驟220:將該些交換器設置於一測試工位上且支援不同的傳輸速度,其中,每一交換器包括多個連接埠步驟230:將該些待測機器配置在位於該測試工位的機架上且依據其對應的測試需求以一對一方式連接該些連接埠步驟240:將測試主機電性連接於該些交換器步驟250:處理單元執行連線定位程序步驟310:處理單元送出偵測信號,偵測信號經由該些連接埠分別傳送至該些待測機器步驟320:處理單元接收來自每一待測機器對偵測信號的回應信號步驟330:處理單元基於回應信號來辨別當前連接至每一待測機器的該些交換器的該些連接埠步驟340:處理單元取得組態資料,組態資料係對映該些連接埠與該些待測機器之間的連接關係步驟350:處理單元依據配置資料與組態資料推算並取得每一待測機器配置於該機架上的哪一個測試位置50: processing unit 60: connection positioning program 70: storage unit 80: verification program 90: test program 100: test positioning system 110: switch 120: machine to be tested 130: test host Step 210: provide a test positioning system, which includes Two or more switches, a plurality of machines to be tested and a test host, where the test host includes a processing unit, a connection positioning program, and a storage unit. The storage unit stores the connection positioning program. Step 220: Set the switches in one The test station supports different transmission speeds, where each switch includes a plurality of ports. Step 230: The machines to be tested are arranged on the rack at the test station and the test requirements are performed according to their corresponding test requirements. Connect the ports in a one-to-one manner. Step 240: Electrically connect the test host to the switches. Step 250: The processing unit executes a connection positioning procedure. Step 310: The processing unit sends a detection signal, and the detection signal passes through the connections The ports are respectively sent to the machines under test. Step 320: The processing unit receives the response signal from each machine under test to the detection signal. Step 330: The processing unit identifies the exchanges currently connected to each machine under test based on the response signal. Step 340: The processing unit obtains configuration data, and the configuration data maps the connection relationship between the ports and the machines under test. Step 350: The processing unit calculates based on the configuration data and the configuration data. And get the test position of each machine to be tested on the rack

第1圖本發明測試定位系統之一實施例系統方塊圖。 第2圖為第1圖的測試定位系統執行測試定位方法之一實施例方法流程圖。 第3圖為第1圖的處理單元所執行的連線定位程序之一實施例方法流程圖。Figure 1 is a system block diagram of an embodiment of the test positioning system of the present invention. Figure 2 is a flowchart of one embodiment of the test positioning method performed by the test positioning system of Figure 1. Fig. 3 is a flowchart of an embodiment of the connection positioning procedure executed by the processing unit of Fig. 1.

步驟310:處理單元送出偵測信號,偵測信號經由該些連接埠分別傳送至該些待測機器 Step 310: The processing unit sends a detection signal, and the detection signal is respectively sent to the machines under test through the ports

步驟320:處理單元接收來自每一待測機器對偵測信號的回應信號 Step 320: The processing unit receives the response signal from each machine under test to the detection signal

步驟330:處理單元基於回應信號來辨別當前連接至每一待測機器的該些交換器的該些連接埠 Step 330: The processing unit identifies the ports of the switches currently connected to each machine under test based on the response signal

步驟340:處理單元取得組態資料,組態資料係對映該些連接埠與該些待測機器之間的連接關係 Step 340: The processing unit obtains configuration data, which maps the connection relationships between the ports and the machines under test

步驟350:處理單元依據配置資料與組態資料推算並取得每一待測機器配置於該機架上的哪一個測試位置 Step 350: The processing unit calculates according to the configuration data and the configuration data and obtains which test position on the rack each machine to be tested is configured on

Claims (10)

一種測試定位系統,其包括: 兩個以上的交換器(switch),設置於一測試工位,該些交換器用以支援不同的傳輸速度,每一該交換器包括多個連接埠; 複數個待測機器,配置在位於該測試工位的一機架(rack)上,依據其對應的測試需求以一對一方式連接該些連接埠;以及 一測試主機,電性連接於該些交換器,該測試主機包括一處理單元、一連線定位程序與一儲存單元,該儲存單元儲存該連線定位程序,該處理單元用以執行該連線定位程序,該連線定位程序包括以下步驟: 該處理單元送出一偵測信號,該偵測信號經由該些連接埠分別傳送至該些待測機器; 該處理單元接收來自每一該待測機器對該偵測信號的一回應信號; 該處理單元基於該回應信號來辨別當前連接至每一該待測機器的該些交換器的該些連接埠; 該處理單元取得一組態資料,該組態資料係對映該些連接埠與該些待測機器之間的連接關係;以及 該處理單元依據一配置資料與該組態資料推算並取得每一該待測機器配置於該機架上的哪一個測試位置。A test positioning system, comprising: two or more switches (switch) arranged in a test station, the switches are used to support different transmission speeds, each switch includes a plurality of connection ports; The test machine is arranged on a rack at the test station, and is connected to the ports in a one-to-one manner according to the corresponding test requirements; and a test host is electrically connected to the switches, The test host includes a processing unit, a connection positioning program, and a storage unit. The storage unit stores the connection positioning program. The processing unit is used to execute the connection positioning program. The connection positioning program includes the following steps: The processing unit sends a detection signal, and the detection signal is respectively sent to the machines under test through the ports; the processing unit receives a response signal from each machine under test to the detection signal; the processing unit Identify the ports of the switches currently connected to each machine under test based on the response signal; the processing unit obtains a configuration data that maps the ports and the ports to be tested The connection relationship between the test machines; and the processing unit calculates and obtains which test position on the rack each machine to be tested is disposed on according to a configuration data and the configuration data. 根據申請專利範圍第1項之測試定位系統,其中,該測試主機還包括一驗證程序,該儲存單元儲存該驗證程序,該處理單元用以執行該驗證程序,該驗證程序包括以下步驟:該處理單元依據該組態資料與每一該待測機器所對應的一測試腳本判斷每一該待測機器所連接的該交換器是否有誤。According to the test positioning system according to item 1 of the scope of patent application, the test host further includes a verification program, the storage unit stores the verification program, the processing unit is used for executing the verification program, and the verification program includes the following steps: the processing Based on the configuration data and a test script corresponding to each machine under test, the unit determines whether the switch connected to each machine under test is wrong. 根據申請專利範圍第1項之測試定位系統,其中,該測試主機還包括一測試程序,該儲存單元儲存該測試程序,該處理單元用以執行該測試程序,該測試程序包括以下步驟: 將每一該交換器設定為主控模式(master),且每一該待測機器設定為從屬模式(slave); 該測試主機依據該組態資料與每一該待測機器所對應的一測試腳本經由每一該連接埠發送一測試信號至對應連接的該待測機器,以測試對應連接的該待測機器;以及 每一該交換器記錄每一該待測機器的測試結果,並回覆至該測試主機。According to the test positioning system according to item 1 of the patent application, the test host further includes a test program, the storage unit stores the test program, and the processing unit is used to execute the test program. The test program includes the following steps: A switch is set to master mode (master), and each machine under test is set to slave mode (slave); the test host uses the configuration data and a test script corresponding to each machine under test through Each of the ports sends a test signal to the correspondingly connected machine to be tested to test the correspondingly connected machine to be tested; and each of the switches records the test results of each of the tested machines and responds to the test Host. 根據申請專利範圍第1項之測試定位系統,其中,每一該待測機器對該偵測信號的該回應信號包括每一該待測機器的一辨別資訊。According to the first test positioning system of the scope of patent application, the response signal of each machine under test to the detection signal includes identification information of each machine under test. 根據申請專利範圍第4項之測試定位系統,其中,該辨別資訊係一媒體存取控制(Media Access Control,MAC) 資訊。According to the test positioning system of item 4 of the scope of patent application, the identification information is a media access control (MAC) information. 一種測試定位方法,其步驟包括: 提供一測試定位系統,其包括兩個以上的交換器、複數個待測機器與一測試主機,其中,該測試主機包括一處理單元、一連線定位程序與一儲存單元,該儲存單元儲存該連線定位程序; 將該些交換器設置於一測試工位上且支援不同的傳輸速度,其中,每一該交換器包括多個連接埠; 將該些待測機器配置在位於該測試工位的一機架上且依據其對應的測試需求以一對一方式連接該些連接埠; 將該測試主機電性連接於該些交換器;以及 該處理單元執行該連線定位程序,該連線定位程序包括以下步驟: 該處理單元送出一偵測信號,該偵測信號經由該些連接埠分別傳送至該些待測機器; 該處理單元接收來自每一該待測機器對該偵測信號的一回應信號; 該處理單元基於該回應信號來辨別當前連接至每一該待測機器的該些交換器的該些連接埠; 該處理單元取得一組態資料,該組態資料係對映該些連接埠與該些待測機器之間的連接關係;以及 該處理單元依據一配置資料與該組態資料推算並取得每一該待測機器配置於該機架上的哪一個測試位置。A test positioning method, the steps include: providing a test positioning system, which includes two or more switches, a plurality of machines to be tested and a test host, wherein the test host includes a processing unit, a connection positioning program and A storage unit, the storage unit stores the connection positioning program; the switches are arranged on a test station and support different transmission speeds, wherein each of the switches includes a plurality of connection ports; The test machine is arranged on a rack at the test station and is connected to the ports in a one-to-one manner according to the corresponding test requirements; the test host is electrically connected to the switches; and the processing unit executes The connection positioning procedure, the connection positioning procedure includes the following steps: the processing unit sends a detection signal, the detection signal is respectively sent to the machines under test through the ports; the processing unit receives from each of the A response signal of the machine under test to the detection signal; the processing unit identifies the ports of the switches currently connected to each machine under test based on the response signal; the processing unit obtains a configuration data , The configuration data maps the connection relationships between the ports and the machines under test; and the processing unit calculates and obtains the configuration of each machine under test based on a configuration data and the configuration data. Which test location on the shelf. 根據申請專利範圍第6項之測試定位方法,其中,該測試主機還包括一驗證程序,該儲存單元儲存該驗證程序,該處理單元用以執行該驗證程序,該驗證程序包括以下步驟:該處理單元依據該組態資料與每一該待測機器所對應的一測試腳本判斷每一該待測機器所連接的該交換器是否有誤。According to the test positioning method according to item 6 of the scope of patent application, the test host further includes a verification program, the storage unit stores the verification program, the processing unit is used to execute the verification program, and the verification program includes the following steps: the processing Based on the configuration data and a test script corresponding to each machine under test, the unit determines whether the switch connected to each machine under test is wrong. 根據申請專利範圍第6項之測試定位方法,其中,該測試主機還包括一測試程序,該儲存單元儲存該測試程序,該處理單元用以執行該測試程序,該測試程序包括以下步驟: 將每一該交換器設定為主控模式,且每一該待測機器設定為從屬模式; 該測試主機依據該組態資料與每一該待測機器所對應的一測試腳本經由每一該連接埠發送一測試信號至對應連接的該待測機器,以測試對應連接的該待測機器;以及 每一該交換器記錄每一該待測機器的測試結果,並回覆至該測試主機。According to the test positioning method according to item 6 of the scope of patent application, the test host further includes a test program, the storage unit stores the test program, the processing unit is used to execute the test program, and the test program includes the following steps: A switch is set to master mode, and each machine under test is set to slave mode; the test host sends a test script corresponding to each machine under test according to the configuration data through each port A test signal is sent to the correspondingly connected machine to be tested to test the correspondingly connected machine to be tested; and each of the switches records the test result of each of the tested machines and replies to the test host. 根據申請專利範圍第6項之測試定位方法,其中,每一該待測機器對該偵測信號的該回應信號包括每一該待測機器的一辨別資訊。According to the test positioning method according to item 6 of the scope of patent application, the response signal of each machine under test to the detection signal includes identification information of each machine under test. 根據申請專利範圍第9項之測試定位方法,其中,該辨別資訊係一媒體存取控制資訊。According to the test positioning method according to item 9 of the scope of patent application, the identification information is media access control information.
TW107145594A 2018-12-18 2018-12-18 Test positioning system and method thereof TW202024912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107145594A TW202024912A (en) 2018-12-18 2018-12-18 Test positioning system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107145594A TW202024912A (en) 2018-12-18 2018-12-18 Test positioning system and method thereof

Publications (1)

Publication Number Publication Date
TW202024912A true TW202024912A (en) 2020-07-01

Family

ID=73005158

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107145594A TW202024912A (en) 2018-12-18 2018-12-18 Test positioning system and method thereof

Country Status (1)

Country Link
TW (1) TW202024912A (en)

Similar Documents

Publication Publication Date Title
CN109361562B (en) Automatic testing method based on associated network equipment access
CN107809367B (en) Device online method of SDN (software defined network), SDN controller and network device
US10405361B2 (en) Switching-on method, base station, base station controller, switching-on system and storage medium
CN108134684B (en) BMCIP address management system, management terminal and management method
TWI638553B (en) Method for detecting internet protocol address and media access control address
CN102185738A (en) Communication equipment hardware host testing system and testing method
CN109669705B (en) Method and system for programming firmware
CN103475526A (en) IP setting and detecting method supporting multi-VLAN virtual machine
WO2009067877A1 (en) Method and system for automatically debug-testing network device
CN103164309A (en) SOL functional test method and system
CN102664755B (en) Control channel fault determining method and device
CN103516824A (en) Network topology identification method based on IP layer and devices
CN106685734B (en) Intelligent configuration method and system based on Ethernet
CN105391601A (en) Network management equipment performance testing method and system
CN108616966B (en) Wireless networking method and device of air conditioning system
TW202024912A (en) Test positioning system and method thereof
US20040264382A1 (en) Verification of connections between devices in a network
CN103516560B (en) Method and scene setting method that test MVB network interface card AB road redundancy is switched
CN112463610A (en) Test process control method and device
WO2023142907A1 (en) All-optical network service testing method and apparatus, computer device and readable medium
US20150347057A1 (en) Storage area network emulator
CN103458030B (en) welding machine control program upgrading system and upgrading method
CN111323770B (en) Test positioning system and method thereof
CN115567400A (en) Whole cabinet management method, device, equipment and medium
US7984136B2 (en) Methods, systems, and computer program products for determining locations of interconnected processing modules and for verifying consistency of interconnect wiring of processing modules