TWI296471B - System and method for testing a network card - Google Patents

System and method for testing a network card Download PDF

Info

Publication number
TWI296471B
TWI296471B TW94139731A TW94139731A TWI296471B TW I296471 B TWI296471 B TW I296471B TW 94139731 A TW94139731 A TW 94139731A TW 94139731 A TW94139731 A TW 94139731A TW I296471 B TWI296471 B TW I296471B
Authority
TW
Taiwan
Prior art keywords
network card
network
data packet
media access
test
Prior art date
Application number
TW94139731A
Other languages
Chinese (zh)
Other versions
TW200719632A (en
Inventor
De-Hua Dang
Xiang-Yang Zhu
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW94139731A priority Critical patent/TWI296471B/en
Publication of TW200719632A publication Critical patent/TW200719632A/en
Application granted granted Critical
Publication of TWI296471B publication Critical patent/TWI296471B/en

Links

Description

1296471 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種網卡測試系統及方法。 【先前技術】 電腦的主機板生產過程中,需要對其各個元件進行測試以確定其 功旎是否正常。對於網卡的測試,通常需要架設一台或者幾台測試伺 服器作爲測試平臺,透過實際網線連接,採取手動方式進行聯網。在 網路中透過傳輸資料檔案等一系列方式進行測試。這種做法需要耗費 車乂夕時間進行聯網,測試成本高,而且由於實際聯網可能出現的人工 錯誤會導致測試的結果不準確。 在這種測試方法的基礎上,很多生產商進行了一些改進。比如利 用軟體程式,可自動在網路中傳輸資料檔案。這種改進在一定程度上 實現了自動化測試,從而減少了人工成本並一定程度上克服了人工作 ^可能引起的測試不準確問題。_,由於通常錄上需要測試的網 卡比較多’因此需要的測試伺服器也較多。因此,測試成相^然报高, 而且有可此因爲測試伺服器的負荷過重導致整個網路崩 " 【發明内容】 馨於以上·,有必要提供—侧卡測試純及方法, 組建一個實際的測試網路即可測試網卡的功能是否正常。 而 -種網卡職純,運行於—制巾,該電腦包括— 厂主機板。所述網卡與所述域板相連,所述網卡還與_二呈 連形成-網路傳輪迴路。該網卡測試系統包括: ^、 於啓騎義卡;-資料包継池,用補建-資料包; 發运核組,祕向職的娜雜迴路發騎雜賴 、一 ^ 料包接收模組,用於從所述的網路傳輸迴路上接包將= 到的資料包存儲於所述存儲設備;以及一判斷模組,用於收 與接收到的資料包中的資料是否相同,以確定所舞: 進一步地,所述的設備 官理模組還麟獲得網卡的舰存取控制 1296471 (Media Access Control,MAC)位址。 > -種網卡測試方法,·_電腦測試網卡功能,該電腦包括一存 儲設備及-主機板。所述網卡與所述主機板相連,所述網卡還與一測 試治具相連形成-網路傳輸迴路。該網卡測試方法包括如下步^ ··啓 用所述網卡;創建-資料包;向所述的網路傳輸迴路發送所述的資料 包;從所述的網路傳輸迴路上接收資料包,並將接收到的資料包存儲 於所述存儲設備;以及觸職發送的倾包與接_的資料包中的 資料是否相同,以確定所述網卡是否功能正常。 、 進一步地’所述的網卡測試方法還包括步驟:獲得網卡的MAC位 址。 相較於習知技術,所述的網卡測試系統及方法,其不需要實際组 建-個測試網路,_結_單域本低廉_試治具,既可測試網 卡的基本功能,如MAC位址,網卡的連網功能以及傳輸資料的完整性, 降低了測試成本,提高了測試速度及測試結果的準確性。 【實施方式】 參閱第-圖所示,係本發明網卡測試系統的較佳實施方式的硬體 架構示意圖。本發明的硬體架構主要包括一電腦励以及一測試治具 108。該電腦1〇〇可以是IBM體系架構的個人電腦(IBM pc),包括桌 上型個人電腦以及筆記翻人電腦;該賴·還可以是蘋果電腦公 司(Apple)生産的個人電腦。在本較佳實施方式中,所述的電腦1〇〇 疋一 IBM體系架構的個人電腦1〇〇。該測試治具1〇8是由幻_45接頭 與CAT5網雜成,在其他實施对巾,制試治具1()8還可以由其 他類型的網路接頭與其他類型的網線組成。 所述的電腦1〇〇包括一主機板102 (Motherb〇ard)以及一存儲設 備106。該存儲設備106用於存儲測試所需要的資料。該主機板1〇2提 供多個電子设備介面’電子設傷可藉此與主機板1G2進行連接。比如 提供中央處理器(Central Processing Unit,CPU)的介面使得CPU可 以與主機板102進行連接,提供記憶體(Mem〇ry)介面使得Mem〇ry 可以與主機板102進行連接,提供存儲設備介面使得該存儲設備1〇6 1296471 可以與主機板102進行連接。域板1G2紐1296471 IX. Description of the Invention: [Technical Field] The present invention relates to a network card testing system and method. [Prior Art] During the production process of a computer's motherboard, each component needs to be tested to determine whether its function is normal. For the test of the network card, it is usually necessary to set up one or several test servers as the test platform, and connect manually through the actual network cable. Tested in a series of ways, such as transferring data files, over the network. This approach requires time-consuming networking, high test costs, and inaccurate test results due to manual errors that may occur during actual networking. Based on this test method, many manufacturers have made some improvements. For example, software programs can be used to automatically transfer data files over the network. This improvement has achieved automated testing to a certain extent, thereby reducing labor costs and to some extent overcoming the problem of inaccurate testing that may result from human work. _, because there are usually more network cards to be tested, so there are more test servers. Therefore, the test is consistently high, and there is a reason that the load of the test server is too heavy, causing the entire network to collapse. [Inventive content] Xin is above, it is necessary to provide - side card test pure and method, set up a The actual test network can test whether the function of the network card is normal. And the kind of network card is pure, running on the towel, the computer includes - the factory motherboard. The network card is connected to the domain board, and the network card is further connected with the _2 to form a network transmission circuit. The network card test system includes: ^, Yu Qiqiyi card; - data package pool, with supplementary construction - information package; shipping nuclear group, secret to the job of the Na miscellaneous circuit to ride the hybrid, a ^ packet receiving mode a group, configured to receive, from the network transmission loop, a data packet to which the packet is stored in the storage device; and a determining module, configured to receive whether the data in the received data packet is the same, Determining the dance: Further, the device management module also obtains the ship access control 1296471 (Media Access Control, MAC) address of the network card. > - A network card test method, · _ computer test network card function, the computer includes a storage device and - motherboard. The network card is connected to the motherboard, and the network card is further connected to a test fixture to form a network transmission loop. The network card testing method includes the steps of: enabling the network card; creating a data packet; transmitting the data packet to the network transmission loop; receiving a data packet from the network transmission loop, and The received data package is stored in the storage device; and the data in the data packet sent by the touch-to-send packet is the same as the data in the data packet to determine whether the network card is functioning properly. Further, the network card testing method further includes the step of: obtaining a MAC address of the network card. Compared with the prior art, the network card testing system and method do not need to actually set up a test network, and the basic function of the network card, such as the MAC bit, can be tested. The address, the network connection function of the network card and the integrity of the transmitted data reduce the test cost and improve the test speed and accuracy of the test results. [Embodiment] Referring to Fig. 1, there is shown a hardware architecture diagram of a preferred embodiment of the network card test system of the present invention. The hardware architecture of the present invention primarily includes a computer excitation and a test fixture 108. The computer can be an IBM-based personal computer (IBM pc), including a desktop PC and a note-turning computer; the Lai can also be a personal computer made by Apple Computer. In the preferred embodiment, the computer is a personal computer of the IBM architecture. The test fixture 1〇8 is composed of the phantom_45 connector and the CAT5 network. In other implementations, the test fixture 1()8 can also be composed of other types of network connectors and other types of network cables. The computer 1 includes a motherboard 102 (Motherb〇ard) and a storage device 106. The storage device 106 is used to store the data required for testing. The motherboard 1〇2 provides a plurality of electronic device interfaces. The electronic device can be connected to the motherboard 1G2. For example, a central processing unit (CPU) interface is provided so that the CPU can be connected to the motherboard 102, and a memory (Mem〇ry) interface is provided so that the Mem〇ry can be connected to the motherboard 102 to provide a storage device interface. The storage device 1 1 6 1296471 can be connected to the motherboard 102. Domain board 1G2

102 ^ ° L ^稱適配& (NetWG1:k Ada㈣的擴展介面,使得—網卡· 批__emcard)可以藉此與主機板102進行連接。該主機板102還提 =面11〇⑽丽kIn祕ce),所述的測試治具1〇8可以藉此 網卡m進行連接,從而形成,網路傳輪鱗。該網路傳 輸迴路疋指:將所述RM5接_第—⑽與第三引腳相連以及第三 引腳與第六引腳相連所形成的網路傳輸迴路。 該電腦100 +運行有-網卡測試系統200,其可以對該網卡1〇4進 行功能測試,確定該網卡104是否功能正常。 “參閲第二圖所示,係本發明網卡測試系統的較佳實施方式的功能 ,組圖。該網卡測試系統200包括一設備管理模組202、一資料包創建 模、、且2〇4 ^料包發送模、组施、-資料包接收模組2〇8、一判斷模 組210及一測試結果報告模組212。 所述的設備管理模組202用於啓用及關閉所述網卡1〇4。該設備管 理模組202還用於:獲得該網卡1〇4的設備名及其媒體存取控制(μ_ AccessContrd,MAC)位址,獲得網路驅動介面規範 Int=face Specification,ndIS)的控制碼。該設備管理模組2〇2利用所 獲得的設備名及NDIS控制碼啓用該網卡1〇4。 母塊網卡在生產出來後,除了基本的功能外,都有一個唯一標號。 全世界所有的網卡的唯一標號不會重複,MAC位址就是這個唯一標 號。MAC位址是由48位元2進制陣列成的,通常分成6段,用16進 制表示就是類似00-D0-09-A1-D7-B7的一串字元。 所述的資料包創建模組204用於創建一資料包,將所創建的資料 包存儲在所述的存儲設備106中。該資料包包括源mac位址、目標 MAC位址、資料框類型以及資料。所述的源mac位址是該網卡1〇4 的MAC位址。所述的目標MAC位址可以是任意一確定有效的位址。 在本較佳實施方式中,所述的目標MAC位址是廣播位址:FFFF FFFF ffff。所述的資料是任意類型的資料,所述的判斷模組210根據該資 !29647l 料觸測試結果。職㈣料框麵是指歸料的框類型。 所述的資料包發送模組2〇6用於向所述的網路傳輸迴路發送 的貧料包。 所述的資料包接收模組施用於從所述的網路傳輸迴路上接收次 抖包,並將接收到的資料包存儲於所述的存儲設備106中。 、 所述關斷模組21G 觸所述發送的龍包與接_ 匕中的資料是否相同,以確稍述網卡1G4是否功能正常。如果所 發=的貧料包與接收到的資料包中的資料相㈤,則所述的判斷模組加 確定該網卡104功能正常。如果所述發送的資料包與接收_資料包 中的資料不相同,則所述的判斷模組21〇確定該網卡1〇4功能異常。 所述的測試結果報告模組212用於報告測試結果。 參閱第三圖所示,係本發明網卡測試方法的較佳實施方式的流程 圖。測試之前,需要進行一些準備步驟,步驟S3⑻,準備步驟包括·· 製作該測試治具108並將該測試治具1〇8與該網卡1〇4連接形成一網 路傳輸迴路,將所述的電腦100開機並進入微軟視窗作業系統 (Microsoft Window Operating System)。步驟 S302,所述的設備管理模 組202調用微軟標準開發工具包(StandardDevel〇pmentKit,SDK)中 的GetAdaptersInfo函數,從而獲得該網卡1〇4的設備名及其“Μ位 址。步驟S304,所述的設備管理模組202調用SDK中的CreateFile函 數,從而獲得NDIS控制碼。步驟S306,所述的設備管理模組2〇2調 用SDK中的DeviceloControl函數,利用所獲得的設備名及仙岱控制 碼啓用該網卡104。 如果在步驟S302、S304及S306中的函數調用均成功,則步驟 S308 ’所述的 > 料包創建模組204創建一資料包TxData,將所創建的 資料包TxData存儲在所述的存儲設備106中。所述創建一資料包 TxData包括:設定源MAC位址、設定目標mac位址、設定資料框類 型以及創建資料。所述的源MAC位址是該網卡1〇4的MAC位址。所 述的目標MAC位址可以是任意一確定有效的位址。在本較佳實施方式 中,所述的目標MAC位址是廣播位址:fpfp FFFF FFFF。所述的資 1296471 料=意類型的資料,所述的判斷模组21〇根據該 所述的賢料框類型是指該資料的框類型。 斷則忒…果。 ^驟測,所述的資料包發送模、组2〇6向所述的 送所述的資料包TxData。步驟S312,所述的資料包 述的網路雜迴路上·資料包,顧触_轉包 所述的存儲設備106中。 a存儲於 步驟S3W,所述的判斷模組21〇觸所述發送的資料包 =到的資料包RxData中的資料是否相同,以確 a ^力能正常。如果所述發送的資料包TxData與接收到峨m ’則步驟紐6,所述的判斷模組210確定該網卡104功 。如果所述發送的資料& TxData與接收到的資料包㈣咖中 ,貝料不相同,則步驟S320,所述的判斷模組21()確定該網卡⑽ 能異常。步驟S318,所述的設備管理模組2〇2關閉已經啓用的設備(如 果已經有設倾制,例如麵卡1(M)並報告測試結果。 如果在步驟S3〇2、S3〇4或S306中的函數調用失敗,則在步驟_ 中,所it的設備管理模組202關閉已經啓用的設備(如果已經有設備 被啓用)並報告測試結果。此時,可崎擇錄執行測試流程。 、本發_卡職祕及方法,雖以較佳實施方式揭露如上,然其 並非用以限林發明。贿熟悉此項技藝之人士,在不雌本發明之 精神和範圍内,當可做更動與潤飾,因此本發明之保護範圍當視後附 之申請專利範圍所界定者為準。 【圖式簡單說明】 第一圖係本發明網卡測試系統的較佳實施方式的的硬體架構圖。 第二圖係本發明網卡測試系統較佳實施方式的功能模組圖。 第三圖係本發明網卡測試方法較佳實施方式的流程圖。 【主要元件符號說明】 100 電腦 主機板 102102 ^ ° L ^ is called the adaptation & (NetWG1: k Ada (four) extension interface, so that - network card · batch __emcard) can be connected to the motherboard 102. The motherboard 102 also mentions the surface of the test fixture 1 〇 8 , and the test fixture 1 〇 8 can be connected by the network card m to form a network transmission scale. The network transmission loop refers to a network transmission loop formed by connecting the RM5 to the third pin and the third pin to the sixth pin. The computer 100+ runs a network card test system 200, which can perform a functional test on the network card 1 to determine whether the network card 104 is functioning properly. The function of the preferred embodiment of the network card test system of the present invention is shown in the second figure. The network card test system 200 includes a device management module 202, a data packet creation module, and 2〇. 4^Packet sending module, group application, data packet receiving module 2〇8, a determining module 210 and a test result reporting module 212. The device management module 202 is configured to enable and disable the network card The device management module 202 is further configured to: obtain the device name of the network card 1-4 and its media access control (μ_AccessContrd, MAC) address, and obtain the network driver interface specification Int=face Specification, ndIS The device management module 2〇2 enables the network card 1〇4 by using the obtained device name and the NDIS control code. After the mother card is produced, it has a unique label in addition to the basic functions. The unique label of all network cards in the world will not be repeated, and the MAC address is the unique label. The MAC address is formed by a 48-bit binary array, usually divided into 6 segments, which is similar to 00-D0 in hexadecimal notation. a string of characters of -09-A1-D7-B7. The creation module 204 is configured to create a data package, and store the created data package in the storage device 106. The data package includes a source mac address, a target MAC address, a data frame type, and data. The source MAC address is the MAC address of the network card 1-4. The target MAC address may be any valid address. In the preferred embodiment, the target MAC address is a broadcast bit. Address: FFFF FFFF ffff. The information is any type of data, the judgment module 210 according to the capital! 29647l touch test results. The job (four) material frame refers to the frame type of the return. The packet sending module 2〇6 is configured to send a poor packet to the network transmission loop. The packet receiving module is configured to receive a second jitter packet from the network transmission loop, and receive the packet The obtained data package is stored in the storage device 106. The shutdown module 21G touches whether the data in the sent dragon bag and the connection file are the same, so as to confirm whether the network card 1G4 is functioning normally. The poor material package sent is the same as the data in the received data package (5) The determining module adds that the network card 104 is functioning normally. If the sent data packet is different from the data in the receiving_data packet, the determining module 21 determines that the network card 1〇4 is abnormal in function. The test result report module 212 is used to report the test result. Referring to the third figure, it is a flow chart of a preferred embodiment of the network card test method of the present invention. Before the test, some preparatory steps are required, step S3 (8), The preparation step includes: preparing the test fixture 108 and connecting the test fixture 1〇8 to the network card 1〇4 to form a network transmission loop, booting the computer 100 and entering the Microsoft Windows operating system (Microsoft Window Operating System). Step S302, the device management module 202 calls the GetAdaptersInfo function in the Microsoft Standard Development Kit (StandardDevelpmentKit, SDK) to obtain the device name of the network card 1 and its "Μ address. Step S304, The device management module 202 calls the CreateFile function in the SDK to obtain the NDIS control code. In step S306, the device management module 2〇2 calls the DeviceloControl function in the SDK, and uses the obtained device name and the control of the fairy. The code enables the network card 104. If the function calls in steps S302, S304, and S306 are both successful, the > packet creation module 204 described in step S308' creates a package TxData, and stores the created package TxData. In the storage device 106, the creating a data package TxData includes: setting a source MAC address, setting a target mac address, setting a data frame type, and creating a data. The source MAC address is the network card. The MAC address of 4. The target MAC address may be any valid address. In the preferred embodiment, the target MAC address is a broadcast address: fpfp FFFF FFFF. The information of the 1296471 material=intention type, the judging module 21 refers to the box type of the material according to the type of the box. The packet sending module and the group 2〇6 send the packet TxData to the packet. In step S312, the data packet is described on the network loop, the data packet, and the packet is described in the packet. The storage device 106 is stored in step S3W, and the determining module 21 touches whether the data in the data packet RxData to which the sent data packet is sent is the same, so that the force can be normal. The sent packet TxData and the received 峨m 'step 6, the determining module 210 determines the NIC 104 work. If the sent data & TxData and the received packet (four) coffee, berys If not, in step S320, the determining module 21() determines that the network card (10) can be abnormal. In step S318, the device management module 2〇2 turns off the enabled device (if there is already a setting, for example Face card 1 (M) and report the test results. If in step S3〇2, S3〇4 or S306 If the function call fails, then in step _, the device management module 202 of it shuts down the enabled device (if the device is already enabled) and reports the test result. At this time, the test procedure is executed by the singer. _ card secrets and methods, although disclosed in the preferred embodiment above, it is not intended to limit the invention of the forest. People who are familiar with this skill can be modified and retouched within the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS The first figure is a hardware architecture diagram of a preferred embodiment of the network card test system of the present invention. The second figure is a functional module diagram of a preferred embodiment of the network card test system of the present invention. The third figure is a flow chart of a preferred embodiment of the network card testing method of the present invention. [Main component symbol description] 100 Computer motherboard 102

1296471 存儲設備 106 測試治具 108 網路介面 110 網卡測試系統 200 111296471 Storage Device 106 Test Fixture 108 Network Interface 110 Network Card Test System 200 11

Claims (1)

1296471 十、申請專利範圍·· 1·種網卡峨纽,運行於_電财,該賴包括_存儲設備 主機板’所述網卡與所述主機板相連,所述網卡還與—測試治具 胃_成~網路傳輪迴路,所述網卡測試系統包括: -設備管理模組,用於啓用所述網卡; 一資料包創建模組,用於創建一資料包; 資料包發送模組’用於向所述的網路傳輸迴路發送所述的資料 包; 、一貧料包接收模組,用於從所述的網路傳輸迴路上接收資料包, 並將接㈣哺桃射糖所赫儲設備;及 —、判斷模組,用於判斷所述發送的資料包與接收到的資料包中的 資料是否相同,以確定所述網卡是否功能正常。 、 次、,;2·如申睛專利範圍第1項所述之網卡測試系統,其中所述發送的 貧料包包括:源媒體存取㈣位址,目標媒體存取控制位址以及資料 框類型。 3·如申請專利範圍第2項所述之網卡測試系統,其中所述的源媒 體存取控制位址是所述的網卡的媒體存取控制位址。 4·如申睛專利範圍第2項所述之網卡測試系統,其中所述的目標 媒體存取控制位址是廣播位址:FFFFFFFFFFFF。 —5·如申請專利範圍第i項所述之網卡測試系統,其中所述的設備 管理模組還用於:獲得網卡的設備名及其媒體存取控制位址,獲得網 路驅動介面規範的控制碼。 μ 6·如申請專利範圍第i項所述之網卡測試系統,其中所述的設備 ί理模組還用於關閉所述的網卡。 7·如申晴專利範圍第1項所述之網卡測試系統,如果所述發送的 資料包與接收到的資料包中的資料相同,則所述的判斷模組確定所述 的網卡功能正常。 、 一 8·如申請專利範圍第i項所述之網卡測試系統,如果所述發送的 資料包與接收到的資料包中的資料不相同,則所述的判斷模組確定所 129647! 述的網卡功能異常。 治且s 乾圍第1項所述之網卡測試系統,其中所述的測試 具疋由職接頭與CAT5網線組成。 傳於1 口0…咖第9項所述之_職祕,其巾所述的網路 將所述咖5接聊第—㈣鮮三⑽減以及第 腳與“引腳相連所形成的網路傳輸迴路。 挪+式利乾圍第1項所述之網卡測試系統,該系統還包括一 貝Μ結果報告挺組,用於報告測試結果。1296471 X. The scope of application for patents··1. The type of network card is operated by _Electronics, and the network card connected to the motherboard is connected to the motherboard. The network card is also connected with the test tool stomach. The network card test system includes: - a device management module for enabling the network card; a data packet creation module for creating a data packet; and a data packet transmission module Transmitting the data packet to the network transmission loop; and a poor packet receiving module for receiving a data packet from the network transmission loop, and receiving (four) feeding peaches And the determining module is configured to determine whether the sent data packet is the same as the data in the received data packet to determine whether the network card is functioning properly. 2. The network card testing system of claim 1, wherein the sent poor packet includes: source media access (four) address, target media access control address, and data frame Types of. 3. The network card test system of claim 2, wherein the source media access control address is a media access control address of the network card. 4. The network card test system of claim 2, wherein the target media access control address is a broadcast address: FFFFFFFFFFFF. The network card test system described in claim i, wherein the device management module is further configured to: obtain a device name of the network card and a media access control address thereof, and obtain a network driver interface specification. Control code. The NIC test system of claim i, wherein the device module is further configured to close the network card. 7. The network card testing system of claim 1, wherein if the data packet sent is the same as the data packet in the received data packet, the determining module determines that the network card function is normal. 8. The network card testing system according to item i of claim patent, if the data packet sent is different from the data in the received data packet, the determining module determines 129647! The NIC function is abnormal. The network card test system described in item 1 is the same as the CAT5 network cable. Passed in a mouthpiece of 0...the ninth secretary of the coffee, the network described in the towel will talk to the coffee 5 - (4) fresh three (10) minus and the foot and the "pin connected" network Road transmission loop. The network card test system described in item 1 of the Norwegian-style Leganwei, the system also includes a bellows result report set for reporting test results. 存儲=備,侧―__卡舰,該賴包括一 ’所述網卡與所述主機板械,所述網卡還與-/ Μ>α具树形成-_傳輸迴路,_卡職綠包括如 啓用所述網卡; 創建一資料包; 向所述的網路傳輸迴路發送所述的資料包; 舱猶上触f觀,顧接㈣师料包存儲 於所述存儲設備;及 判斷所述發送的資料包與接收到的資料包中的資料以 確定所述網卡是否功能正常。 <JStorage = backup, side -__ card carrier, the slab includes a 'the network card and the host board, the network card is also formed with - / Μ > α tree - _ transmission loop, _ card green includes Enabling the network card; creating a data packet; transmitting the data packet to the network transmission loop; the cabin is still touching, and the (4) teacher package is stored in the storage device; and determining the sending The data package and the data in the received data package to determine whether the network card is functioning properly. <J I3·如申請專利範圍帛I2項所述之網卡測試方法, 網卡的步驟包括: 獲得網卡的設備名及媒體存取控制位址; 獲得網路驅動介面規範的控制碼;及 利用網卡的設備名及網路驅動介面規範的控制碼啓用該網卡。 14·如申請專利範圍第12項所述之網卡測試方法,复 料包的步驟包括: 、中舰、 設定源媒體存取控制位址; 設定目標媒體存取控制位址;及 創建資料並設定資料框類型。 15·如申請專利範圍帛14項所述之網卡測試方法,其中所述的源 13 1296471 媒體存取控制位址是所述網卡的媒體存取控制位址。 16·如申請專利範圍第14項所述之網卡測試方法,其中所述的目 標媒體存取控制位址是廣播位址:FFFFFFFFFFFF。 Γ7·如申請專利範圍帛12項所述之網卡測試方法,該方法還包括 步驟:關閉所述的網卡。 18.如申請專利範圍第12項所述之網卡測試方法,如果所述發送 的資==接_的資料包中的資料相同,則叙所述的網卡功能正 料包與触職雜包巾㈣科㈣,則確I3. For the network card test method described in the patent scope 帛I2, the steps of the network card include: obtaining the device name and media access control address of the network card; obtaining the control code of the network driver interface specification; and using the device name of the network card The network card is enabled by the control code of the network driver interface specification. 14. The method for testing the network card described in claim 12, the steps of the repacking package include:, medium ship, setting source media access control address; setting target media access control address; and creating data and setting Data frame type. 15. The NIC test method of claim 14, wherein the source 13 1296471 media access control address is a media access control address of the network card. The network card test method of claim 14, wherein the target media access control address is a broadcast address: FFFFFFFFFFFF. Γ7· The method of testing a network card as described in claim 12, the method further comprising the step of: closing the network card. 18. The method for testing a network card according to claim 12, wherein if the information in the data packet of the transmitted resource== is the same, the network card function described in the document is a package and a contact towel. (4) Section (4), indeed 試治具是由申二 卡測試方法’其中所述的測 =相物,料所述的網 第三引腳料六引_連所形成_路傳輪41^第三引腳相連以及The test fixture is formed by the test method of the Shen Er card test method, wherein the third lead material is formed by the third lead material, and the third pin is connected. 1414
TW94139731A 2005-11-11 2005-11-11 System and method for testing a network card TWI296471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW94139731A TWI296471B (en) 2005-11-11 2005-11-11 System and method for testing a network card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW94139731A TWI296471B (en) 2005-11-11 2005-11-11 System and method for testing a network card

Publications (2)

Publication Number Publication Date
TW200719632A TW200719632A (en) 2007-05-16
TWI296471B true TWI296471B (en) 2008-05-01

Family

ID=45068777

Family Applications (1)

Application Number Title Priority Date Filing Date
TW94139731A TWI296471B (en) 2005-11-11 2005-11-11 System and method for testing a network card

Country Status (1)

Country Link
TW (1) TWI296471B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI396403B (en) * 2008-09-04 2013-05-11 Inventec Corp Method for testing switching speed of a network interface card

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882099B (en) * 2009-05-06 2013-11-06 鸿富锦精密工业(深圳)有限公司 Network card test system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI396403B (en) * 2008-09-04 2013-05-11 Inventec Corp Method for testing switching speed of a network interface card

Also Published As

Publication number Publication date
TW200719632A (en) 2007-05-16

Similar Documents

Publication Publication Date Title
TW201137874A (en) Memory controller functionalities to support data swizzling
US20070104110A1 (en) System and method for testing a network interface card
WO2023024251A1 (en) Device verification method, uvm verification platform, electronic apparatus and storage medium
US20080141284A1 (en) Device Driver Providing Method, Information Device, and Peripheral Device
CN106126465B (en) A kind of data transmission method and device
TWI296471B (en) System and method for testing a network card
FR2865089A1 (en) METHOD FOR COMMUNICATING DATA USING RECOVERY DATA BUFFERS
CN102884515B (en) Serial ports re-orientation processes method, apparatus and system
US7178054B2 (en) Frame validation
CN106789449A (en) A kind of CAN exploitation and method of testing and system
TW542950B (en) Universal serial bus adapter with automatic installation
WO2022242129A1 (en) Multi-public-network connection driving method and apparatus, and computer device and storage medium
CN106919407A (en) The method of the embedded product information synchronized update of computer
US20070171150A1 (en) Burning apparatus
CN115454896A (en) SMBUS-based SSD MCTP control message verification method and device, computer equipment and storage medium
CN112346665B (en) PCIE-based communication method, device, equipment, system and storage medium
CN111371799B (en) Method, device and equipment for controlling data receiving and transmitting of MCTP (Multi-channel media Port) controller
KR101086599B1 (en) Uncertain data arrival time
US11507332B2 (en) Information processing apparatus with setting of network and non-transitory computer readable medium storing program for executing information processing apparatus with setting of network
TW201250485A (en) Electronic device
US7469370B2 (en) Enabling multiple testing devices
GB2362233A (en) System and method for testing computer components by co-operation of two computer hosts
US20230078086A1 (en) Line diagnosis method and apparatus
JP2010020593A (en) Writing method and writing system for peculiar information
TWI377488B (en)

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees