TWI375434B - Multiple lan ports testing system and method thereof - Google Patents

Multiple lan ports testing system and method thereof Download PDF

Info

Publication number
TWI375434B
TWI375434B TW97151553A TW97151553A TWI375434B TW I375434 B TWI375434 B TW I375434B TW 97151553 A TW97151553 A TW 97151553A TW 97151553 A TW97151553 A TW 97151553A TW I375434 B TWI375434 B TW I375434B
Authority
TW
Taiwan
Prior art keywords
test
output
open
port
network
Prior art date
Application number
TW97151553A
Other languages
Chinese (zh)
Other versions
TW201025924A (en
Inventor
Dan-Ti Huang
Xian Wu
Original Assignee
Universal Scient Ind Shanghai
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 Universal Scient Ind Shanghai filed Critical Universal Scient Ind Shanghai
Priority to TW97151553A priority Critical patent/TWI375434B/en
Publication of TW201025924A publication Critical patent/TW201025924A/en
Application granted granted Critical
Publication of TWI375434B publication Critical patent/TWI375434B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

1375434 六、發明說明: 【發明所屬之技術領域】 本發明係關於一種複數網路連接埠測試系統及方 法,尤其係一種對被測裝置的複數網路連接埠測試系 方法。 》'' / 【先前技術】 為了滿足曰益增加的網路連線及數據傳遞 前市面上提供許多具有多個網路連接璋的網路通訊 例如路由H (RGuter)’幫助使用者透過 二二 訊產品更便利地從事連結網路的活動:車= 品在出廠前’對各個網路連麟進行 = 運作正常是非常f要的—項讀。 確〜連接埠的 但在習知的測試方式當中,由於 域網路連接埠可用來連結網路通訊產品進行、;;有二區 不斷地更換多網路連鱗產品的連鱗^產品之間’ 電腦的測試’使得職的效斜分 續於—-接受 此外’亦有在電腦與待測具多連接工成本極高。 之間,透過-練时為中介 、稱通訊產品 325616號中華民國專利,在電腦上設置兩;^公告號第 以連接線連結鱗器及待難品 ^鱗卡,分別 連結集線器的網路通道送出 則的封包從 連接的通道傳回電腦,再比對電腦輪與待測產品 相同’以判斷待測產品是否正常 2回的封包是否 網路卡造成成本増加,若帝 案必須額外設置 一部電腦進行測試時 遇需拆卸、更換硬體,十分不便。 率和=善產品的多個網路連接埠測試的效 方法,詳細-種複數網路連接蜂測試系狀 【發明内容】 、為了改善如上述對具有多個網路連接造 試時不方便及效率低的固擾,本發明^供了一f品進行測 性的效果。 μ相W顧效較增加便利 為了達到所述目的’本發日雜據其中— 網路連接埠測試系統’包括-被測裝置:、上: 裝置及-測試裝置,測試裝置更包括一第一袁刀換 試模組。被測裝置包括複數個網路連接埠,心:, 括複數輸出入蜂及與第一訊號埠連接之一第一連接、】包 等複數輸h埠與料複數網路連接埠分別—庙讀 接;測試模組透過第-訊號埠傳送—控制指令,用以= 輸出入埠其中二者’並關閉其餘之輸出入痒,被開啟=啟 :輸出入埠分別為第-開啟輸出人埠及第二開啟輸出= 、,測試模組並發送-測試指令,由第一開啟輸出入 达到對應_路連接琿,而被測裝置則將測試 切換裝置的第二開啟輸出人埠;其中,切換裝置的^ = 啟輸出入蜂根據該測試指令產生一回應訊.氣, 一開 指令的原傳送路徑反序回傳到測試裝置,“ ^^置= 據回應訊紅有無㈣斷被㈣置巾純朗試指= 路連接琿是否正常運作。 為了達到上述目的,本發明根據其中一種方案 供一種複數網路連接埠測試方法置 切換裝置開啟其中一輸出入 網路遠】遠:出入淳’且分別一一對應一被測裝置之複數 並雜、、,一…、控制指令並關閉其餘之輸出入埠;測試裝置 、車;. t式才曰令’由開啟的輸出入槔傳送到對應的網路 八的測裝置接㈣糊試指令時,經祕收測試指 令的網路連接埠透過對應之輸出入和傳回. 否接收到傳回來的回應訊息,若將 個㈣網路連接埠記錄為正常;最後,發送另一 =制b,關閉原開啟的輸出入痒、並開啟另一輸出入 ίΓ發㈣試齡的步娜行,剌複數網路 連接埠全部完成測試。 本發明所提供的複數網路連接埠測試系統及其方 1昧卩躲對網路通訊產品的多個網路連接埠進行測 ,寺,必須逐-插人及祓取連接線的不便;㈣,減少因 t工操作而意外使各連接蜂物理損壞的機率;再來 速的測試方式得知各個網路連接痒是否可正 作用。上述效果可對相關產品出廠前的測試手續提 ^者而讀切幫助,因而本發明所提供之技術手段實具有 加以保護之價值及必要。 八 【實施方式】 系絲係提供一種簡易且方便的複數網路連接埠測試 …”》,用以對具有多個網路連接#的待測試裝置進 1375434 行連接埠可否正常運作的檢測,以達到提高測試效率、減 少測試成本的效果。為了提供更詳盡的說明與解釋,以下 將配合圖示進行解說,以便更為明確而清楚地揭露 所使用的技術及手段。 x 第一圖為本發明所提供的一種複數網路連接埠測試系 統實施例的方塊圖,本實施例中包括一被測裝置1〇、一切 換裝置20及一測試裝置3〇:被測裝置1〇中包括複數個網 路連接埠102;切換裝置2〇中包括複數個輸出入埠2〇2及 一第一連接埠204 ;測試裝置30則包括一第—訊號埠3〇2 及一測試模組304。 被測裝置10與切換裝置20透過複數網路連接埠1〇2 與複數輸出入埠202分別一 一相對應連接,如第_圖所示 的網路連接埠102a到l〇2d與輸出入埠202a到202d的連 接方式。測試裝置30則透過第一訊號埠3〇2與第一連接埠 204連接。 測試裝置30經由第一訊號埠3〇2與第一連接埠2〇4 的連結,為切換裝置20的每一個輸出入埠202分別設置一 網路位址,該等網路位址皆位於同一網段,並且將每一網 路位址設置到不同的虛擬區域網路(VLAN)。 此外,測試裝置30以測試模組304發送指令對被測裝 置10的網路連接埠102進行檢測,包括從第一訊號埠3〇2 傳送一控制指令到第一連接埠204,用來控制複數個輸出 入埠202的開啟或關閉,本實施例以控制指令控制切換裝 置20每次開啟該等輸出入埠2〇2的其中兩者,為說明方 便’在本實施例中分別稱為第一開啟輸出入埠及第二開啟 輸出入埠’並且將其餘的輸出入埠202設置為關閉的狀態。 7 ,設置好第Hf姐輸“埠,使此二者為開啟 狀悲後,測試模組304還發送出一測試指令,指令中包含 開啟輸出入槔(以202b為例)的網路位址為標的,透 f第:訊號埠3〇2及第-連接埠2〇4傳送至切換裝置2〇 ),經由控制指令所控制而開啟的第一開啟輪出入埠(以 〇2a為例)’繼續傳輸到與第一開啟輸出入埠如h對應連 接的網路連接埠1G2a,而送達被測裝置1G,再由被測^置 〇將測試齡__職接埠腿,錢傳送到對應連 接的第二開啟輸出入埠2〇2b。 在此須說明的是,當輸出入蟑2〇2的各網路位址被設 =到不同的虛擬區域網路時,若各網路位址不在同一網 段,在缺轉由H作域通巾賴情況下即無法傳遞封包 訊息,但在本實施例巾,由於位於不同虛擬區域網路的各 輸出入埠202的網路位址皆設在同一網段,並 出入谭逝肖各網路連接埠102 一一對應直接連接,因= 仍可接收測試模組3 〇 4所發出的測試指令進行測試。 …當測試指令從切換裝置20的第一開啟輸出入埠2〇2a 傳送到與其相連結的網路連接埠l〇2a時,若該網路連接埠 l〇2a及l〇2b功能及運作正常無異狀,則其必可將測試指 令傳=第二開啟輸出人蟑202b,使切換裝置2G得知有 一測試指令傳來,並且根據測試指令的内容回傳一回應訊 息:。當被切換裝置2G要發送回應訊息時,由於僅有傳i測 试指令的網路連接埠l〇2a、l〇2b,及與網路連接埠1〇2a 相連的第-開啟輸出入槔施開啟,且第—開啟輸出入蜂 202a及第二開啟輸出入埠2〇沘位於不同的虛擬區域網 路,因此回應訊息僅能從同一個傳輸管道反序傳回。 待切摈裝置20的第-開啟輸出入埠搬 訊息後,又交由第-連接埠綱回傳到測試裝置3(J應 測試裝置30即因為接收到回應訊息,而得知分別血第 :輸出入埤脑及第二開啟輸出入埠纖連接的網路連 ,埠102a及職係可正常運作,即可將此結果加以記錄, 二且再以相同的方式,繼續以控制指令開啟及關閉不同组 ^的輸出入淳搬,直到所有的網路連接蟑搬皆測試完 畢’根據全部測試完成後的記錄判斷各網路連接淳1〇2何 =系運#何者異系,或是當測試後一發現有無法正常 ,作的網路連接埠1〇2時立即將被測裝置ι〇判定為不良 品" 以電腦作為本實施例之測試裝置3 〇為例,其與切換裝 =20透過rS232標準介面連接’亦即第一訊號埠搬及 f 一連料204係為與RS_232相容的通訊淳,例如c〇m 而切絲置20與制裝置1G㈣網路線分別連接該 4區域網料(LANp⑽),待測的被測裝置㈣如一集 ,器(hub),而切換裝置2〇係為二層交換機 21375434 VI. Description of the Invention: [Technical Field] The present invention relates to a complex network connection test system and method, and more particularly to a multi-network connection test system method for a device under test. 》'' / [Previous Technology] In order to meet the increased network connection and data transmission, there are many network communications with multiple network ports, such as Routing H (RGuter), to help users through the second and second News products are more convenient to engage in network activities: car = goods before the factory 'for each network Lian Lin = normal operation is very important - read. Indeed, in the traditional test mode, because the domain network connection can be used to connect network communication products, there are two areas that continuously replace the multi-network scale products with the scales ^ products The 'testing of the computer' makes the effect of the job slanting--accepting the 'in addition' and the cost of connecting the computer to the tester is extremely high. Between, through the practice, as an intermediary, called the communication product 325616, the Republic of China patent, set up two on the computer; ^ announcement number to connect the scales and the difficult goods ^ scale card, respectively, connect the network channel of the hub The sent packet is sent back to the computer from the connected channel, and then the computer wheel is the same as the product to be tested. To determine whether the product to be tested is normal or not, the cost of the packet is increased. If the emperor must set an additional one. When the computer is tested, it is very inconvenient to disassemble and replace the hardware. Rate and = multiple network connections for good products 埠 test efficiency method, detailed - multiple network connection bee test system [invention content], in order to improve the inconvenience of having multiple network connections as described above The invention has low efficiency, and the invention provides a measuring effect for a product. μ phase W is more effective than convenience. In order to achieve the purpose, the data is included in the data. The network connection test system includes: the device to be tested: the upper device and the test device. The test device further includes a first Yuan knife test module. The device under test includes a plurality of network ports, the heart: a plurality of input and output bees and a first connection with the first signal port, a package, and the like, and a plurality of network connections and a plurality of network connections. The test module transmits the control signal through the first signal, and is used to control the output of both of them and turn off the rest of the output. It is turned on and turned on: the input and output are respectively the first-open output. The second open output =, the test module and the send-test command, the first open input and output reaches the corresponding _ way connection 珲, and the device under test will test the second open output 切换 of the switching device; wherein, the switching device ^ = Start input and output bee according to the test command to generate a response message. The original transmission path of an open command is transmitted back to the test device in reverse order, "^^ set = according to whether the response is red or not (four) is broken (four) In order to achieve the above objective, the present invention provides a multi-network connection test method according to one of the solutions for setting up a switching device to open one of the outputs into the network far away: Corresponding to a plurality of devices to be tested and mixed, ,, ..., control commands and the rest of the input and output ports; test device, car; t-type command to 'transfer from the open output port to the corresponding network eight When the test device is connected to (4) the paste test command, the network connection of the secret test command is transmitted and returned through the corresponding input. If the received response message is received, if the (4) network connection is recorded as normal; Finally, send another = system b, close the original open output itch, and open another output into the 四 行 四 四 四 四 四 四 四 四 四 四 四 四 四 四 四 四 四 四 四 四 四 四 四 四 四 四 四 四 。 。 。 。 。 。 。 。 。 。 。 The road connection test system and its side 1 evade the multiple network connections of the network communication products, and the temple must be inserted and removed from the connection line; (4), reduce the operation due to t The probability of accidentally causing physical damage to each connected bee; the test method of re-acquisition to know whether each network connection itch can play a positive role. The above effects can help the test procedure of the relevant products before leaving the factory, and thus the present invention Technology provided The segment has the value and necessity of protection. Eight [Embodiment] The wire system provides an easy and convenient multiple network connection test..." for the device to be tested with multiple network connections #1375434 Whether the connection is normal or not, so as to improve the test efficiency and reduce the test cost. In order to provide a more detailed explanation and explanation, the following description will be made in conjunction with the drawings in order to more clearly and clearly disclose the techniques and means used. The first figure is a block diagram of an embodiment of a complex network connection test system provided by the present invention. The present embodiment includes a device under test 1 , a switching device 20 , and a test device 3 : the device under test 1〇 includes a plurality of network ports 102; the switching device 2 includes a plurality of input ports 2〇2 and a first port 204; the testing device 30 includes a first signal 埠3〇2 and a test Module 304. The device under test 10 and the switching device 20 are connected to each other through a plurality of network connections 埠1〇2 and a plurality of input/output ports 202, such as the network ports 埠102a to 〇2d and the input port shown in FIG. The connection method of 202a to 202d. The test device 30 is connected to the first port 204 via the first signal 埠3〇2. The test device 30 respectively sets a network address for each input port 202 of the switching device 20 via the connection of the first signal 埠3〇2 and the first port 〇2〇4, and the network addresses are all located in the same The network segment and each network address is set to a different virtual local area network (VLAN). In addition, the test device 30 sends a command to the test module 304 to detect the network port 102 of the device under test 10, including transmitting a control command from the first signal 埠3〇2 to the first port 204 for controlling the plurality The input/output port 202 is turned on or off. In this embodiment, the switching device 20 is controlled by the control command to open both of the input and output ports 2〇2 for convenience of description, which are respectively referred to as the first in the embodiment. The output input port and the second open output port are turned on and the remaining output ports 202 are set to the off state. 7. After setting the Hf sister to lose "埠, so that the two are open, the test module 304 also sends out a test command, which includes the network address of the input and output port (for example, 202b). For the target, the first signal is transmitted to the switching device 2〇 via the control signal 〇3〇2 and the first connection 埠2〇4, and the first open wheel is turned on and controlled by the control command (for example, 〇2a is taken as an example). Continue to transmit to the network connection 埠1G2a corresponding to the first open input port, such as h, and send it to the device under test 1G, and then test the test __ job, and transfer the money to the corresponding connection. The second open input and output port 2〇2b. It should be noted that when the network addresses of the input port 2〇2 are set to different virtual area networks, if the network addresses are not In the same network segment, the packet information cannot be transmitted in the case where the H is used as the domain towel, but in the embodiment, the network addresses of the input and output ports 202 located in different virtual area networks are set. The same network segment, and access to the network connection 谭102 one-to-one direct connection, because = still can receive the test The test command issued by the module 3 〇4 is tested. When the test command is transmitted from the first open output 埠2〇2a of the switching device 20 to the network connection 埠l〇2a connected thereto, if the network The function of the connection 埠l〇2a and l〇2b is normal and there is no abnormality, then it must pass the test command = the second open output port 202b, so that the switching device 2G knows that a test command is transmitted, and according to the test command The content returns a response message: When the switching device 2G wants to send a response message, since only the network connection 传l〇2a, l〇2b, and the network connection 埠1〇2a are transmitted. The connected first-on output is enabled, and the first-input-in and out-bee 202a and the second-input-in-and-out port are located in different virtual area networks, so the response message can only be reversed from the same transmission pipe. After the first-input output of the to-be-cut device 20 is sent to the test device 3, the test device 30 is returned to the test device 3 (the test device 30 receives the response message and learns the blood separately). The first: the input into the camphor and the second open input and output fiber connection Network connection, 埠102a and grades can operate normally, this result can be recorded, and in the same way, continue to use the control command to open and close the output of different groups ^ until all networks The road connection and the move are all tested. 'According to the records after all the tests are completed, judge the network connection 淳1〇2============================================================== As soon as 1〇2, the device to be tested is judged as defective; and the computer is used as the test device 3 of the present embodiment as an example, which is connected to the switching device=20 through the rS232 standard interface. And f-link 204 is a communication port compatible with RS_232, for example, c〇m and the wire-cutting device 20 and the device 1G (four) network route are respectively connected to the 4-region net material (LANp (10)), and the device under test (four) is as an episode. , (hub), and the switching device 2 is a layer 2 switch 2

Switch) ° 測試模組304可為超級終端機(HyperTerminal),對 二換褒置20中的各個輸出入埠2〇2發出開啟(f_肛d 人〇=e)或關閉(Dlsable)的指令,在本實施例中,控制指 7控制切換褒置20每次使其中二個輸出入埠202為開 金八其他皆關閉,以便在開啟的第-及第二開啟輸出入淳 ^刀在不同虛擬區域網路的情形下,形成單—傳輸通道, L、、过'則试網路連接埠102的目的。本實施例以下 祝明皆以網路連接蟑職為例,但其他的連接埠亦可以相 同方式完成測試,在此敘明。 當設定好第一開啟輸出入堆9 _ Ha 埠202b間的單一傳輸通道,再由超二端機: 二^鳩的網路位址為標的,下達〜指令㈣出^Switch) ° The test module 304 can be a HyperTerminal, and an instruction to turn on (f_an 〇 〇 = e) or turn off (Dlsable) to each of the output 埠 2 〇 2 of the second switching device 20 In this embodiment, the control finger 7 controls the switching device 20 to turn off the two output ports 202 each time, and the others are turned off, so that the first and second opening and output of the opening are different. In the case of a virtual local area network, a single-transmission channel is formed, and L, and 'over the test network connection port 102. In the present embodiment, the following is an example of a network connection failure, but other connections can be tested in the same manner, as described herein. When setting the first open output to the single transmission channel between the stack 9 _ Ha 埠 202b, and then by the super two-end machine: the network address of the two 鸠 为 is the target, the release ~ command (four) output ^

Si如:* 一)封包到第二開啟輸出入痒 ,如上所迷,若該待測的網路連接淳隐及略 正系運作,第二開啟輸出入琿_即可經由網路連接: =及獅之轉送而接收_應請求封包,並且從相同車 仕反向回覆-回應訊息,回應訊息包括傳送的封包大 小、價測讀及回麟間等,超級終端機可經由接收到上 述回應訊息而狀本次所測試的網路連接埠撤3及職 可正常運作;反之,若網路連接埠咖或腿無法 接收回應4求封包’第二開啟輸出人埠2Q2b即無法據以傳 送,應m預設㈣測時間經過後,超級終端機處 曰得到逾時無回應(Tlmed 〇ut)的資訊,則可判定該次測 試的網路連接埠腦或·至少有一者無法正常運作, 而可將此情形加以記錄,等待全部測試完畢後分析出真正 無法運作的網路連接埠為何者,或是將該項被測裝置⑺ 判為不良品等後續作業。 第一圖為本發明所提供另一種複數網路連接埠測試系 統只鈀例的方塊圖,與第一圖所示之實施例不同之處,在 於本實施例令的測試裝置30a更包括一第二訊號埠306, 以及被測裝置l〇a更包括一第二連接埠1〇4,其經由相容 於RS232標準介面的第一訊號埠3〇2與第一連接埠2〇4的 連接,對切換裝置20設置一網路位址,並且由相容於 RS232標準介面的第二訊號埠3〇6與第二連接埠1〇4的連 1375434 接,對被測裝置l〇a也設置一網路位址。此 的測試模組304以控制指令控制切換 例 個輸出入埠(例如202a)、# π 僅開啟其中一 圖所不實施例所述的Ping指令,指令八 P第 的網路位址為標的’將回應請求封包從測。H置1^ 至切換裝置2G後,經由控制指令所控 a傳达 202a’繼續傳輸到與該輸出入埠2〇 ^的輸出入埠 埠職,而送達被測裝置收。士應連接的網路連接 當測試指令從切換裝置2〇的特定 與其相連結的網路連接埠(如iQ2a)時,二ϋ 連接埠l〇2a功能及運作正常無里 w,周路 令接收,使被測裝置10a得知有一、將Plng指 據=指令的内容回傳-回應訊息。當二置 达回應訊時,由純有與接 二 職相連的輸出入璋2〇2a開啟^;=網路連接埠 傳輸管道細。 ⑽訊息僅能從同-個 又交df r _人埠2咖接收到回應訊息後, = 知與輸出八埠: 記錄,廿連接阜係节運作,即可將此結果加以 輸出入埠^再以相_方式,繼續以控儲令控制其他的 二可i=r2d),一一測試網路_102b到 別連例中的切換裂置20與被測裝置施以網路線分 連接該專區域網路埠(LANP()rt),待測的被測裝置i〇a 11 1375434 例如一路由器(Router ),而切換梦番 / 機α—福)。換係、為三層则交換 第三圖為本發明所提供的—種複數網路連接蟑測試方 ^貝施例&程圖,請-併參照第二圖之方塊圖。首先由測 試模組304發送一控制指令’控制切換裝置2〇的輸出入埠 H的/中 1一個(以2似為例)為開启_,並關閉其餘 ^021212(讀)’_裝置2()包含複數個輸出入 = 02,並且與-被測裝置1〇a戶斤包含的複數個網路連接 η 對應’開啟或關閉各輪出入物的方式 请參照第一圖所示實施例說明。 接著測試模組304發送—職指令,亦即上述已說明 ying指令,根據被測裝㈣a的網路絲,從開啟的輸 出入埠脑經由對應連接的網路連接埠搬&所構成的單 一路徑向被測裝置舰發出回應請求(S4〇3);接著,被測 裝置10a接枚到測試指令後,經由接收測試齡的該網路 連接淳H)2a透過輸出入埠2〇2a傳回一回應訊息(% 測試裝置30a判斷是否接收到從被測裝置恤根據相同的 路徑傳回的-回應訊息(S4G7),絲接收到回應訊息,則 兄錄本次應接收測試指令的網路連接埠1〇2&為異a (S409);反之若順利接收到回應訊息,則將本次接收測^ 指令、同時回傳回應訊息的網路連接埠逝a記錄為可正常 運作(S411) ’記錄網路連接埠隐的狀態後(s_ S4H),關閉本次開啟的輸出4施,縣出一個控制 指令開啟另-個輸出人埠(如雇),並返回上述以^ 指令進行測試的步驟(S403町),繼續測試對應的網路 連接蟑lG2b是否正常運作,並依此類推,直到被測裝置 12 1375434 l〇a上的各網路連接埠102都完成測試為止(S413)。上述 傳送測試指令及回傳回應訊息的詳細技術手段,請參閱上 述第二圖所示實施例之說明。 在其他實施方式中,步驟S409記錄其中一個網路連 接埠102無法正常運作後’也可直接中止測試程序,直接 將被測裝置10判定為不良品,再進行其他處置。Si such as: * a) packet to the second open output itch, as mentioned above, if the network connection to be tested is hidden and slightly positive, the second open output 珲 _ can be connected via the network: And the lion's transfer and receiving _ request packet, and replying from the same car - response message, the response message includes the size of the transmitted packet, price reading and replies, etc., the hyper terminal can receive the above response message However, the network connection tested this time can be removed from the 3rd position and the normal operation; on the contrary, if the network connection or the leg can not receive the response 4 request the packet 'the second open output 埠 2Q2b can not be transmitted according to m Preset (4) After the time has elapsed, the HyperTerminal will get the information of the timeout and no response (Tlmed 〇ut), then it can be determined that the network connection of the test or at least one of them cannot function normally, but Record this situation, wait for all the tests to be completed, analyze the network connection that is really inoperable, or judge the device under test (7) as a defective product. The first figure is a block diagram of another palladium example of a plurality of network connection test systems provided by the present invention. The difference from the embodiment shown in the first figure is that the test device 30a of the present embodiment further includes a first The second signal 埠306, and the device under test 〇a further includes a second port 埠1〇4 connected to the first port 2〇4 via the first signal 埠3〇2 compatible with the RS232 standard interface. A switching device 20 is provided with a network address, and a second signal 埠3〇6 compatible with the RS232 standard interface is connected to the connection 1375434 of the second port 埠1〇4, and a device 1〇a is also provided. Network address. The test module 304 controls the switching of the input and output ports (for example, 202a) and #π by the control command, and only opens the Ping command described in the non-embodiment of the first embodiment, and the network address of the eighth P is the target ' The response request packet will be tested. After H is set to 1^ to the switching device 2G, it is controlled by the control command a to convey 202a' to continue the transmission to the output port of the input port 2, and to the device under test. When the test command is connected from the specific network connection (such as iQ2a) connected to the switching device 2, the function and operation of the second port are normal, and the circuit is received. The device under test 10a knows that there is a Ppng indication = the content of the command back-response message. When the two-way response is sent, the output is connected to 纯2〇2a by purely connected to the second job. ^=Network connection 传输 The transmission pipeline is fine. (10) The message can only be received from the same one and then the df r _ person 埠 2 coffee, after receiving the response message, = know and output gossip: record, 廿 link 阜 system operation, you can output this result into 埠 ^ again In the phase mode, continue to control the other two can be controlled by the storage command, i=r2d), and the test network _102b is switched to the switching device 20 in the other example, and the device under test is connected to the dedicated area. Network 埠 (LANP () rt), the device under test i〇a 11 1375434 to be tested, for example, a router (Router), and switch the dream / machine α - Fu). Change the system and exchange for the three layers. The third figure is the complex network connection test provided by the present invention. Please refer to the block diagram of the second figure. First, the test module 304 sends a control command 'controls the switching device 2's output 埠H/in 1 (for example, as an example) to enable _, and turns off the remaining ^021212 (read) '_ device 2 ( The method includes a plurality of input and output = 02, and corresponds to a plurality of network connections η included in the device to be tested, and the manner of turning on or off the products of each wheel is described with reference to the embodiment shown in the first figure. Then, the test module 304 sends a job command, that is, the above-mentioned ying command, according to the network cable of the tested (four) a, from the open output to the camphor through the corresponding connection network connection 埠 move & The path sends a response request to the device under test (S4〇3); then, after the device under test 10a receives the test command, it is transmitted back through the output port 2〇2a via the network connection 淳H) 2a receiving the test age. A response message (% test device 30a determines whether a response message (S4G7) received from the device under test according to the same path is received, and the response message is received, and the network connection of the test command should be received this time.埠1〇2& is a different (S409); if the response message is successfully received, the network connection elapsed a of receiving the measurement command and returning the response message is recorded as normal operation (S411)' After recording the status of the network connection (s_S4H), the output of the current opening is turned off, and the county outputs a control command to open another output (such as an employee), and returns to the above step of testing with the ^ instruction. (S403 town), continue testing Whether the network connection 蟑lG2b is operating normally, and so on, until each network connection 102 on the device under test 12 1375434 l〇a completes the test (S413). The above transmission test command and return response message For detailed technical means, please refer to the description of the embodiment shown in the second figure above. In other embodiments, step S409 records that one of the network ports 102 is not working properly, and the test program can be directly suspended, and the test program will be directly tested. The device 10 determines that it is a defective product and performs other treatments.

第四圖為本發明所提供的另一種複數網路連接埠測試 方法實施例流程圖,以下說明請配合參照第一圖所示之方 塊圖。首先由測試模組304發送控制指令,開啟切換裝置 20之其中二個輸出入埠2〇2,其中一個開啟的輸出入埠2的 在此稱為第一開啟輸出入埠(以2〇2a為例)(S5〇1)、另一 個稱為第二開啟輸出入埠,並關閉其餘的輸出入埠2〇2 (S503 )’而第二開啟輸出入埠之排列順序在第一開啟 入埠202a之後(以2〇2b為例)。The fourth figure is a flowchart of another embodiment of a method for testing a plurality of network ports according to the present invention. The following description refers to the block diagram shown in the first figure. First, the control module 304 sends a control command to turn on two of the input and output ports 切换2〇2 of the switching device 20. One of the open outputs 埠2 is referred to herein as the first open input/output port (2〇2a is Example) (S5〇1), the other is called the second open output port, and the remaining output port 2埠2 (S503)' is closed, and the second input port is arranged in the first port 202a. After that (take 2〇2b as an example).

測試模組304接著傳送-測試指令,從第—開啟輸出 =阜202a傳送到對應連接的網路連接埠1〇2&,再從與第 =埠職對應的網路連接埠1〇2b,接續將测 若接^ 開啟輸出入谭觀(S505 );切換裝置20 -回鹿:Γί指令後’按照測試指令的傳遞路徑反向傳回 對應)1〇Γ:二開啟輸出入埠202b與 的第1启= 連接埠102a及其對應 列斷是=㈣傳回;接著,由測試震置I 詳細傳訊息(S5〇9)。步驟到S509的 開啟輪參閱第—圖所示之實施例中,關於第― 阜及苐一開啟輸出入埠之說明。 測"式裝置30接收到回應訊息,則可將與第_開啟輸 13 1375434 出入埠202a及第二開啟輸出入埠2〇2b對應的網路連接埠 102a及l〇2b記錄為正常運作(S511)。 接下來則再發出一控制指令,將本次作為第二開啟輪 出入埠的輸出入埠202b關閉,再開啟排列順序在輪出入^ 202b之後的另一個輸出入埠,例如2〇2(^,作為新的第二開 啟輸出入埠後’再次進行步驟S505以下的測試程序,測气 分別與輸出入槔202a及202c對應的網路連接埠i〇2a和 102c,是否可以順利傳遞測試指令及傳回回應訊息,直到 已經開啟排列順序在最後的一個輸出入槔作為第二開啟輸 出入埠(在本實施例中係為輸出入埠2〇2d),並與同一個 弟一開啟輸出入埠202a搭配進行測試後為止(Μ13 )。 §同一個第一開啟輸出入埠2〇2a搭配排列順序最後 的第二開啟輸出入埠202d進行測試完畢後,再發出—控制 指令,將作為第一開啟輸出入埠的輸出入埠2〇2a關閉,開 啟排列順序在輸出入埠202a之後的另一個輸出入蜂(二 202b)作為新的第一開啟輪出入埠,並且返回步驟S5〇3, 開啟排列順序在第一開啟輸出入埠2〇2b之後的輪出入 埠,作為第二開啟輸出入埠(如2〇2c),繼續進行如上述 步驟S503以下所解說的測試程序,直到所開啟的第一開啟 輸出入瑋與第二開啟輸出人埠分別為順序最末的二個輸出 入埠(如202c、202d)為止(S515)。而判斷是否接收到 回應訊息之後(S509),若未能正確收到回應訊息,則不另 外對進行測試的網路連接埠搬作記錄,而直接執行步驟 S513以下的程序。 當根據上述實施方式進行測試後,得到對網路連接璋 1〇2兩兩進行測試後的記錄,即可分析出被測裝置池上The test module 304 then transmits a test command, from the first open output = 阜 202a to the corresponding connected network connection 埠 1 〇 2 & and then from the network connection 第 1 〇 2b corresponding to the 埠 埠 , If the test is connected, the output is entered into Tan Guan (S505); the switching device 20 - after the deer: Γί command, 'returns the corresponding direction according to the transmission path of the test command." 1〇Γ: 2, the input and output 202b and the 1 启 = port a 102a and its corresponding column break is = (four) return; then, the test is set by the test I to send a detailed message (S5 〇 9). Steps to the opening wheel of S509 Referring to the embodiment shown in the first figure, the description of the input port is opened for the first and the first. When the measurement device 30 receives the response message, the network ports 102a and 102b corresponding to the first port 13a and the second port 2a and 2b can be recorded as normal operation ( S511). Then, a control command is issued to turn off the output port 202b, which is the second open wheel input and exit port, and then turn on another output port, such as 2〇2 (^, after the wheel in and out of 202b). After the new second output is turned on, the test procedure below step S505 is performed again, and the network connections 埠i〇2a and 102c corresponding to the input/output ports 202a and 202c are respectively measured, and whether the test command and the transmission can be smoothly transmitted. Responding to the message until the last sequence of input and output has been opened as the second input and output port (in this embodiment, the input port 2埠2d), and the same brother is turned on the input port 202a. After the test is performed (Μ13). § The same first open output 埠2〇2a is matched with the last second open output 埠202d. After the test is completed, the control command will be issued as the first open output. The input/output port 2埠2a of the input port is turned off, and the other input/output bee (two 202b) after the output port 202a is opened as the new first wheel input and exit, and the process returns to step S5. 〇3, the turn-on sequence after the first open output 埠2〇2b is turned on, and the second open output 埠 (such as 2〇2c) is continued, and the test procedure as explained in the above step S503 is continued until The first open input port and the second open output port are respectively the last two output ports (such as 202c, 202d) (S515), and after determining whether the response message is received (S509), If the response message is not received correctly, the network connection to be tested is not additionally recorded, and the program below step S513 is directly executed. After testing according to the above embodiment, the network connection is obtained. 2 two or two test records, you can analyze the device under test pool

14 各網路連接埠102的正常或異常情形。 第五圖為本發明所提供的另一種複數網路連接埠測試 方法實施例流㈣,仍敎合第—圖加轉照。本實施例 的步帮S6G1至S6G7與第四圖所示實施例的步驟S5〇1到 S507相同’請參閱上述說明。 與第四圖所示實施流程不同的地方,在於判斷是否接 收到回應訊息時(S609),若測試裝置30收到回應訊於, 即將分別與第一及第二開啟輸出入埠(如2〇2a及"2°〇2^) 對應的網路連接埠1023及1〇2b記錄為正常運作(S6ll); 接著關閉第一開啟輸出入埠2〇2a,並將原本的第二開啟輸 出入埠202b開啟為新的第一開啟輪出入蟑,再選擇開啟排 列順序在新的第一開啟輸出入埠202b後的另一輸出入 蜂’作為新的第二開啟輸出入埠,如202c (S603),並以 新開啟的第一及第二開啟輸出入埠202b及202c進行步驟 S605以下的測試程序,直到已經開啟順序在最後的輸出入 蜂(如202d)為第二開啟輸出入埠,並且完成測試為止 (S613)。 反之’若未接收到回應訊息’則如同第四圖所示步驟 S513 ’以相同的第一開啟輸出入埠(如202a)搭配排列順 序在後的新的第二開啟輸出入埠202c ’返回步驟S605以 下進行測試,直到已經開啟順序在最後的一個輸出入埠作 為第二開啟輸出入埠並與同一第一開啟輸出入埠202a完 成測試為止(S615 ),此時代表第一開啟輸出入埠無法與任 一個作為第二開啟輸出入埠的其他輸出入埠傳遞回應訊 息,因此將與第一開啟輸出入埠202a對應的網路連接埠 l〇2a記錄為異常(%17),再如同第四圖所示步驟S515, 15 1375434 依序再進行第一開啟輸出入埠的選擇(S619),詳細的說明 請參閱所述步驟S515。 ^述第五圖所示實施例與第間所示實施例的差別在 於,第四圖所示實施例不論檢測的結果如何,皆依序兩兩 配對執行:Pmg指令,若Μ與網路連接蜂ι〇2賴的輸出 入埠202數目’測試次數為Ν(Ν·1)/2次;而第五圖所示實 施例,其所採用的方法,在發現作為第一開啟輸出入谭的 特定琿口係可正常運作後,就省略掉與該特定璋口進行測 試的其他組合,不再從頭到尾都測試一次,可 測的時間和次數,並且達到相同的檢測效果。 ^ 综合上述所提供的各實施例,本發明已提供一種簡便 且有效率的複數網料接糊試麟,利較捷的方 制切換裝置各輸出人埠的開啟和關閉,並: 令即可--測出各網路連接接槔的狀況,減少f知方】2 不斷人為插拔所產生的高成本及損壞機率,亦*需= 腦上特別設置多财卡_外設備,對於網路通訊產 生產線上的品管測試提供極大的助益。 °° 前述所列舉之項目僅為適用本發明之部分裝置, 用以限縮本發明所適用之㈣,如有其他符合树明之 :=改變本發明之技術手段者’皆屬本發明所涵; 【圖式簡單說明】 第一圖:本發明所提供一種複數網路連接埠測試系, 例方塊圖 統貫施 第二圖 :本發明所提供另一種複數網路連接埠測試系 統實 16 1375434 施例方塊圖; 第三圖:本發明所提供一種複數網路連接埠測試方法實施 例流程圖; 第四圖:本發明所提供另一種複數網路連接埠測試方法實 施例流程圖;及 第五圖:本發明所提供另一種複數網路連接埠測試方法實 施例流程圖。 【主要元件符號說明】 10, 10a被測裝置 102, 102a〜102d網路連接埠 104第二連接埠 20切換裝置 202, 202a〜202d輸出入埠 204第一連接埠 30, 30a測試裝置 302第一訊號埠 304測試模組 306第二訊號埠 S401〜S413流程步驟 S501〜S515流程步驟 S601〜S619流程步驟 1714 Normal or abnormal conditions of each network connection 埠102. The fifth figure is a flow (4) of another embodiment of the method for testing a plurality of network connections provided by the present invention, which still incorporates the first picture plus the transfer. Steps S6G1 to S6G7 of this embodiment are the same as steps S5〇1 to S507 of the embodiment shown in Fig. 4 Please refer to the above description. Different from the implementation flow shown in FIG. 4, when it is judged whether a response message is received (S609), if the test device 30 receives the response message, it will be separately input and output with the first and second (for example, 2〇). 2a and "2°〇2^) The corresponding network connections 埠1023 and 1〇2b are recorded as normal operation (S611); then the first open output 埠2〇2a is turned off, and the original second open output is entered.埠202b is turned on as the new first open wheel, and then another input and output bee after the new first open output 202b is opened as the new second open input, such as 202c (S603) And performing the test procedure below step S605 with the newly opened first and second open input ports 202b and 202c until the last output of the incoming bee (such as 202d) is the second open output, and The test is completed (S613). Otherwise, if the response message is not received, the step S513 'shows the same first open output (eg 202a) with the same new first open output 202c 'return step. S605 is tested below until the last output is entered as the second open output and the test is completed with the same first open input 202a (S615), at which time the first open input and output cannot be performed. The response message is transmitted with any other input and output port as the second open input port, so that the network connection 埠l〇2a corresponding to the first open input port 202a is recorded as abnormal (%17), and then as the fourth Steps S515, 15 1375434 shown in the figure are sequentially performed to select the first input/output port (S619). For details, please refer to step S515. The difference between the embodiment shown in the fifth figure and the first embodiment is that the embodiment shown in the fourth figure performs pairwise pairwise execution regardless of the result of the detection: Pmg instruction, if the network is connected The number of the input and output 埠 202 of the bee 〇 2 ' 'test number is Ν (Ν · 1) / 2 times; and the embodiment shown in the fifth figure, the method used, found in the first open output into the Tan After the specific mouthpiece is in normal operation, the other combinations tested with the specific mouth are omitted, and the test is no longer tested from start to finish, the time and number of times can be measured, and the same test effect is achieved. ^ In combination with the various embodiments provided above, the present invention has provided a simple and efficient multi-network material splicing test, which facilitates the opening and closing of each output of the sleek switching device, and: - Measure the status of each network connection, reduce the high cost and damage probability caused by continuous human plugging and unplugging, and also * need to set a special wealth card in the brain _ external equipment, for the network Communication testing produces quality control testing on the production line. ° The items listed above are only some of the devices to which the present invention is applied, and are used to limit the application of the present invention to (4), and if any other means of conforming to the invention: = changing the technical means of the present invention are included in the present invention; BRIEF DESCRIPTION OF THE DRAWINGS First: The present invention provides a complex network connection test system, and the block diagram is consistently applied to the second figure: another complex network connection test system provided by the present invention 16 1375434 FIG. 3 is a flow chart of an embodiment of a method for testing a plurality of network ports according to the present invention; FIG. 4 is a flow chart of an embodiment of a method for testing a plurality of network ports according to the present invention; Figure: Flow chart of another embodiment of a multi-network connection test method provided by the present invention. [Main component symbol description] 10, 10a device under test 102, 102a to 102d network connection port 104 second port 20 switching device 202, 202a to 202d output port 204 first port 30, 30a test device 302 first Signal 埠304 test module 306 second signal 埠S401~S413 process steps S501~S515 process steps S601~S619 process step 17

Claims (1)

1375434 七1375434 seven 申請專利範圍: 一 -種複數網路連接埠測試系統,包括: 一被測裝置,包括該等複數網路連接 一切換裝置,該切換裝置為二層’ 入蜂及-第-連接埠,該等輸出入=括複數輸出 接該等網路連接埠;及 旱刀別—一對應連 兩兩成對地測試該等網路 的組合:來賴有:等::等:出入蜂其中二者 括: $】路連接埠,該測試裝置'包 一第一訊號埠’連接該第一連接埠;及 一 = 埠傳送~控制指令給該 之輸出入埠其中二者,被開啟 -第;二屮”別為一第—開啟輸出入埠及 第-開啟輸出人埠,並_其餘之 ❿ 埠,該測試模組並發送一測試指令,令= 啟輸出入埠傳送到對應連接之該網路:;第:: 試指令傳送至切換裝置的該; 開啟輸出入埠; 其二^切換裝置的該第二開啟輸出〜根據該測試指 7產生-回應訊息’經㈣職指令的原傳送路徑反 序回傳到制試裝置,使朗試裝置根據該回應訊氣 之有無’判斷該被測裝置中接收該測試指令之該網ς 連接淳可否正常運作’當判斷該被測裝置中接收該測 忒指令之該網路連接埠正常運作時,該測試模組省略 掉與正常運作的該網路連接埠所對應連接的該輸出 18 公S丨丨刊·里. 旱為母—輸出入埯 k置-、稱位址,該等網路位址係位於同 將母一輸出入埠之該網路位址設置 又,並 路。 夏判不同的虛擬區域網 如申請專利範圍第2項所述之複數 統’其中’該測試指令包括該第二開;^埠測式系 位址,該測試指令經由該第一開啟輸出入棒透路 t傳送到設置在不同虛擬區域網路的該第二“ 如申請專利範圍第1到3任一項所诚 試系統,其中,該第 於RS232標準介面的通訊埠。 ‘、'、 4 一種複數網路連接埠測試系統,包括: 一被測裝置,包括該等複數網路連接蜂,— 埠; 久一弟二連接 一切換裝置,該切換裝置為三層交換肖 入埠及U職,機包括複數輸出 接該等網ί二出入蜂分别--對應連 一測試裝置,包括: 一第一訊號埠,連接該第一連接埠; -第二訊號埠’連接該第二連接淳,該測試裝置 該第二訊號埠向該被崎置設置—網路位址 -測試模組,透過該第-訊料傳送—控制指令給該 切換骏置,以開啟1中〜 l·01年4月27日修正_ 其餘之該等輸出入缚,^固該等輸出入淳,並關閉 令,由開啟之該輸c組並發送一測試指 路連接琿,使該被㈣傳送到對應連接之該網 其^被測裝置根軸;試指令; 鲁 由接故到該測試指令之^曰々產生一回應訊息,經 該輪出人4到該測财;^路連接料對應連接的 訊息之有無,判試裝置根據該回應 如申;Γ連接埠可否正常運作接收該測試指令之該 J專利範圍第5項所述 甲%專利範圍第5項所1^應 :,其,,該被測裝置於接收複數網路連接埠測試系 二J ’該測試裝置於接收到心”令時發送該回應 置令傳送該測試指令之=回應訊息時,判斷該被_ .如_請專利_第5到7^—連接埠材正常運作。 9. 試系統,其中,該第一項所边之複數網路連接蜂挪 接痒或該第二連接痒,^虎痒、該第二訊料、該第1 通訊埠。 1 糸為一相容於RS232標準介面的 種複數網路連接埠蜊 (W—測試裝置發送〜方法,包括下列步驟: 中-輸出入埠,並制指令控制—切換裝置開啟其 中,該切換裝置俾^關閉其餘之該等輸出入淳,复 埠,分別--對層交換機’含有複數輪出: _亥測試n輕㈣H之贿崎連接埠; 、领試指令’該測試指令經由開 20 1375434 · 101年4月27日修正替換頁 啟之該輸出入埠傳送到對應之該網路連接槔; (C)該被測裝置接收到該測試指令時,經由接收到該測 試指令之該網路連接谭透過對應之該輸出入埠,傳回 一回應訊息; (d) 該測試裝置判斷是否接收到傳回之該回應訊息,若 是,則將傳回該回應訊息之該網路連接埠記錄為正常 運作;及 (e) 該測試裝置發送另一控制指令關閉開啟之該輸出入 φ 埠,並開啟該切換裝置之另一輸出入槔後,返回步驟 (b)執行,直到該等複數網路連接埠全部完成測試。 10.—種複數網路連接埠測試方法,包括下列步驟: (a) —測試裝置發送一控制指令控制一切換裝置開啟該 等輸出入埠其中二者,並控制關閉其餘之該等輸出入 埠,所述二個該輸出入埠分別為一第一開啟輸出入埠 及排列順序在該第一開啟輸出入埠之後的一第二開 啟輸出入埠,其中,該切換裝置係為二層交換機,含 φ 有複數輸出入埠,分別——對應一被測裝置之複數網 路連接埠; (b) 該測試裝置並發送一測試指令,該測試指令經由該 第一開啟輸出入埠傳送到該被測裝置對應之該網路 連接埠,再經由相應之另一該網路連接埠,傳送到該 第二開啟輸出入埠; (c) 該第二開啟輸出入埠接收到該測試指令時,經由傳 送該測試指令之路徑,反向傳送一回應訊息; (d) 該測試裝置判斷是否接收到傳回之該回應訊息,若 是,則將該第一開啟輸出入埠及該第二開啟輸出入埠 21 1375434 _ 101年4月27日修正替換頁 分別對應之該等網路連接埠記錄為正常運作;及 (e)該測試裝置發送另一控制指令將順序在該第二開啟 輸出入埠之後的另一輸出入埠,開啟為該第二開啟輸 出入埠,及關閉原本該第二開啟輸出入埠,並返回步 驟(b)執行,至順序在最後之該輸出入埠已開啟為該 第二開啟輸出入埠並經過測試為止;及 (〇該測試裝置再發送另一控制指令,關閉原該第一開啟 輸出入埠及原該第二開啟輸出入埠,再將順序在原該 Φ 第一開啟輸出入埠之後的另一輸出入埠開啟為該第 一開啟輸出入埠,及順序在新開啟之該第一開啟輸出 入埠後的另一輸出入埠開啟為該第二開啟輸出入 埠,並返回步驟(b)執行,至順序在最後的二個該等 輸出入埠分別開啟為該第一開啟輸出入埠及該第二 開啟輸出入埠,並經過測試為止。 11. 如申請專利範圍第10項所述之複數網路連接埠測試方 法,其中,步驟(d)中,若未接收到該回應訊息,則直接 φ 執行步驟(e)。 12. —種複數網路連接埠測試方法,包括下列步驟: (a) —測試裝置發送一控制指令控制一切換裝置開啟該 等輸出入璋其中二者,並控制關閉其餘之該等輸出入 埠,所述二個該輸出入璋分別為一第一開啟輸出入埠 及排列順序在該第一開啟輸出入埠之後的一第二開 啟輸出入埠,其中,該切換裝置係為二層交換機,含 有複數輸出入埠,分別——對應一被測裝置之複數網 路連接埠; (b) 該測試裝置並發送一測試指令,該測試指令經由該 22 1375434 _ 101年4月27日修正替換頁 第一開啟輸出入埠傳送到該被測裝置對應之該網路 連接埠,再經由相應之另一該網路連接埠,傳送到該 第二開啟輸出入埠; (C)該第二開啟輸出入埠接收到該測試指令時,經由傳 送該測試指令之路徑,反向傳送一回應訊息; (d)該測試裝置判斷是否接收到傳回之該回應訊息,若 是,則將該第一開啟輸出入埠及該第二開啟輸出入埠 分別對應之該等網路連接埠記錄為正常運作;及 φ (e)該測試裝置發送另一控制指令,關閉該第一開啟輸 出入埠,將該第二開啟輸出入埠開啟為該第一開啟輸 出入埠,並開啟順序在後的另一輸出入埠作為該第二 開啟輸出入埠,及返回步驟(b)執行,至順序在最後 的二個該等輸出入埠分別開啟為該第一開啟輸出入 埠及該第二開啟輸出入埠,並經過測試為止。 13.如申請專利範圍第12項所述之複數網路連接埠測試方 法,其中,若於步驟(d)中判斷未接收到該回應訊息,則 φ 直接執行下列步驟: 發送另一控制指令將順序在該第二開啟輸出入埠之後 的另一輸出入埠,開啟為該第二開啟輸出入埠,及關 閉原本該第二開啟輸出入埠,並返回步驟(b)執行, 至順序在最後之該輸出入埠已開啟為該第二開啟輸 出入埠並經過測試為止; 將該第一開啟輸出入埠對應連接之該網路連接埠記錄 為異常;及 發送另一控制指令關閉原該第一開啟輸出入埠及原該 第二開啟輸出入埠,將順序在原該第一開啟輸出入埠 23 1375434 · ,· !- « 101年4月27曰修正替換頁 之後的另一輸出入埠開啟為該第一開啟輸出入埠,及 順序在新開啟之該第一開啟輸出入埠後的另一輸出 入埠開啟為該第二開啟輸出入槔,並返回步驟(b)執 行,至排列順序在最後的二個該等輸出入埠分別開啟 為該第一開啟輸出入埠及該第二開啟輸出入埠,並經 過測試為止。Patent application scope: A multi-network connection test system comprising: a device under test comprising the plurality of network connections and a switching device, the switching device being a layer 2 'bee and a - port 埠, Wait for the input and output = including the complex output to connect to the network connection; and the combination of the dry knife and the other - the two pairs of pairs test the combination of the network: to rely on: etc:: etc. Included: $] way to connect, the test device 'package a first signal 埠' to connect the first port; and a = 埠 transfer ~ control command to the output of the two, is turned on - the second;屮"Do not be a first--open the output port and the first-open output port, and _ the rest of the ❿ 埠, the test module sends a test command, so that = output is sent to the corresponding connected network :;::: the test command is transmitted to the switching device; the output is turned on; the second opening output of the switching device is - the original transmission path is generated according to the test finger 7 by the (four) job command Return to the test equipment to make the test device According to the presence or absence of the response, it is judged whether the network connection of the test device receiving the test command can be normally operated. When it is determined that the network connection of the test device receiving the test command is in normal operation, The test module omits the output of the connection corresponding to the network connection that is normally operated. The output is 18 丨丨 · 里 旱 旱 — — — — — — 置 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 The address is located in the network address of the same parent, and the virtual local area network is different as described in the second paragraph of the patent application scope, wherein the test instruction includes the first The second test is transmitted to the second "set in the different virtual local area network" via the first open-output switch-through path t, such as any one of claims 1 to 3 of the patent application scope. The system is tried, in which the communication protocol is based on the RS232 standard interface. ', ', 4 A complex network connection test system, comprising: a device under test, including the plurality of network connection bees, - 埠; Jiuyidi two connected to a switching device, the switching device is a three-layer exchange In the 埠 and U positions, the machine includes a plurality of outputs connected to the network ί two in and out bees respectively - corresponding to a test device, comprising: a first signal 埠, connected to the first port 埠; - a second signal 埠 'connect the After the second connection, the second signal of the test device is set to the set-network address-test module, and the switch is transmitted to the switch through the first-message transmission control command to open the middle switch. l·April 27, 2001 Amendment _ The rest of the output is bound, and the output is closed, and the order is closed. The group is turned on and a test route is sent, so that the (4) Transmitting to the corresponding connection of the network to the root of the device under test; test instruction; Lu from the accident to the test command to generate a response message, through the round of the person 4 to the test; Corresponding to the presence or absence of the connected message, the judgment device according to the response Γ 埠 埠 正常 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收 接收J 'The test device receives the response when it sends the response command to send the test command = response message, and judges that the message is _. If the patent is _ 5th to 7th - the connection coffin is working normally. a trial system in which the plurality of network connections of the first item are connected to the itch or the second connection is itchy, the tiger is itchy, the second message, the first communication 埠. A plurality of network connections in the RS232 standard interface (W-test device transmission method), including the following steps: medium-output port, and command control-switching device is turned on, the switching device 关闭^ turns off the rest Wait for the output to enter, 埠, respectively - the layer switch 'with multiple rounds: _ hai test n light (four) H's bristle connection 埠;, the pilot command 'the test command via the opening 20 1375434 · April 27, 101 The date of the replacement correction page is sent to the pair. (c) when the test device receives the test command, the network connection Tan receiving the test command transmits a response message through the corresponding input port; (d) The test device determines whether the response message is received, and if so, records the network connection 传 returning the response message as normal operation; and (e) the test device sends another control command to turn off the opening After inputting φ 埠 and turning on the other input and output of the switching device, returning to step (b), the test is completed until the plurality of network connections are completed. 10. A multi-network connection test method, including The following steps are as follows: (a) - the test device sends a control command to control a switching device to turn on the two outputs, and control to turn off the remaining output ports, the two outputs are respectively a second input/output port is opened after the first input/output port is turned on, and the switching device is a layer 2 switch, and the φ has a complex output port. Respectively - a plurality of network connections corresponding to a device under test; (b) the test device and transmitting a test command, the test command being transmitted to the network connection corresponding to the device under test via the first open input port埠, and then transmitted to the second open output port via the corresponding other network port; (c) the second open output port receives the test command, and transmits the test command path, Sending a response message to the sender; (d) the test device determines whether the response message is received, and if so, the first open input and the second open output are entered. 21 1375434 _ April 27, 101 The network correction ports corresponding to the daily correction replacement pages are recorded as normal operations; and (e) the test device sends another control command to sequentially enter another output port after the second input port is turned on, The second opening and outputting, and closing the second opening and outputting, and returning to the step (b), until the last output of the output is turned on for the second opening and outputting And then (the test device sends another control command to close the first open input and output port and the second open input and output port, and then the sequence is after the first Φ first open output An output port is turned on for the first open output port, and another output port after the first open input port is newly turned on to the second open port, and returns to step (b). Execution, until the last two of the output ports are respectively turned on for the first open output port and the second open output port, and tested. 11. The multi-network connection test method according to claim 10, wherein in step (d), if the response message is not received, step (e) is directly performed. 12. A method for testing a plurality of network connections, comprising the steps of: (a) - the test device sends a control command to control a switching device to turn on the two inputs, and to control to turn off the remaining outputs. The two input and output ports are respectively a first open input port and a second open output port after the first open output port, wherein the switching device is a layer 2 switch. A plurality of input and output ports are respectively included, respectively, corresponding to a plurality of network connections of a device under test; (b) the test device transmits a test command, and the test command is corrected by the replacement page of the April 27, 27, 371, The first open output port is transmitted to the network port corresponding to the device under test, and then transmitted to the second open output port via the corresponding another network port; (C) the second open output Receiving the test command, transmitting a response message in reverse via the path transmitting the test command; (d) the test device determines whether the response message is received, and if so, The network ports corresponding to the first open input port and the second open port are respectively recorded as normal operations; and φ (e) the test device sends another control command to close the first open output After the second input/output port is turned on, the first open output port is turned on, and the other output port in the subsequent sequence is turned on as the second open output port, and the step (b) is returned to In the sequence, the last two of the output ports are respectively turned on for the first open output port and the second open output port, and are tested. 13. The method of testing a plurality of network ports according to claim 12, wherein if it is determined in step (d) that the response message is not received, φ directly performs the following steps: transmitting another control command The other output port after the second opening and outputting is sequentially opened, the second opening and outputting is turned on, and the second opening and outputting is turned off, and the step (b) is returned to the end, and the sequence is at the end. The input port is turned on for the second open input port and tested; the first port is connected to the network connection port corresponding to the connection is recorded as an abnormality; and another control command is sent to close the original As soon as the output port is turned on and the second port is turned on, the order will be turned on in the original first open output port 23 1375434 · , · !- «April 27, 101 correction replacement page For the first open input and output port, and another output port that is sequentially opened after the first open input and output port is turned on for the second open output port, and returns to step (b) for execution to the sorting order. The last two of the output ports are respectively turned on for the first open output port and the second open output port, and are tested. 24twenty four
TW97151553A 2008-12-31 2008-12-31 Multiple lan ports testing system and method thereof TWI375434B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97151553A TWI375434B (en) 2008-12-31 2008-12-31 Multiple lan ports testing system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97151553A TWI375434B (en) 2008-12-31 2008-12-31 Multiple lan ports testing system and method thereof

Publications (2)

Publication Number Publication Date
TW201025924A TW201025924A (en) 2010-07-01
TWI375434B true TWI375434B (en) 2012-10-21

Family

ID=44852761

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97151553A TWI375434B (en) 2008-12-31 2008-12-31 Multiple lan ports testing system and method thereof

Country Status (1)

Country Link
TW (1) TWI375434B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI473469B (en) * 2012-09-10 2015-02-11 Inventec Corp Method for detecting network ports
CN103916286B (en) * 2013-01-09 2017-05-17 昊阳天宇科技(深圳)有限公司 Test method and device for detecting network device
CN111917564B (en) * 2019-05-08 2022-09-16 佛山市顺德区顺达电脑厂有限公司 Network detection system

Also Published As

Publication number Publication date
TW201025924A (en) 2010-07-01

Similar Documents

Publication Publication Date Title
US8996720B2 (en) Method and apparatus for mirroring frames to a remote diagnostic system
US7936685B2 (en) Intelligent fast switch-over network tap system and methods
JP6166960B2 (en) Frame transmission apparatus and normality confirmation method
CN104579727B (en) A kind of method and apparatus for the network connection for managing network node
CN107431642A (en) For controlling interchanger to capture and monitor the system and method for network traffics
CN103117876B (en) The synchronous method and device of user state information
TW201244420A (en) Testing system
US10778561B2 (en) Diagnostic port for inter-switch and node link testing in electrical, optical and remote loopback modes
JPS62503210A (en) packet switched network
JP2009017032A (en) Packet transfering device
JP4684350B2 (en) Relay device, continuity confirmation method thereof, and continuity confirmation circuit
US8416680B2 (en) Apparatus and method for controlling data communication
TWI375434B (en) Multiple lan ports testing system and method thereof
TW516290B (en) Interconnection link redundancy in a modular switch node
US9275415B2 (en) System for latency reduction in high frequency trading networks
CN103262046A (en) Server management apparatus, server management method, and program
CN102457403B (en) Method and device for detecting network connection faults
CN107547240A (en) A kind of chain circuit detecting method and device
US20140019804A1 (en) Method and Device For Quasi-Proxy Assisted Manual Device Testing
JP5267065B2 (en) Communication apparatus and network test method
EP3213441A1 (en) Redundancy for port extender chains
CN104521188B (en) A kind of methods, devices and systems for setting up light bypass
CN104184843B (en) Data forwarding apparatus and method
US20140010068A1 (en) Network Node Apparatus System, Apparatus, and Method
CN110061773A (en) A kind of light module test method, device, system and computer storage medium