TW201117580A - A pressure test method for network interface card - Google Patents

A pressure test method for network interface card Download PDF

Info

Publication number
TW201117580A
TW201117580A TW98138735A TW98138735A TW201117580A TW 201117580 A TW201117580 A TW 201117580A TW 98138735 A TW98138735 A TW 98138735A TW 98138735 A TW98138735 A TW 98138735A TW 201117580 A TW201117580 A TW 201117580A
Authority
TW
Taiwan
Prior art keywords
server
network card
path
network
policy
Prior art date
Application number
TW98138735A
Other languages
Chinese (zh)
Inventor
gui-dong Liu
Tom Chen
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW98138735A priority Critical patent/TW201117580A/en
Publication of TW201117580A publication Critical patent/TW201117580A/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A pressure test method for Network Interface Card (NIC) is adapted to a client with a plurality of NIC, and a server connecting with the client. The test method sets up a policy transporting table having a route index, and a route; wherein the route includes a server path and a NIC index. Then the pressure test method executes a policy transporting mean of receiving a test document and a policy information from the client; looking up the policy transporting table to get a client path according to the policy information; according to the client path and the server path, transporting the test document to the server via the NIC selected by the policy information; receiving the test document from the server via the selected NIC; and transporting the received test document to the client.

Description

201117580 六、發明說明: 【發明所屬之技術領域】 本發明係關於-細路卡的壓力測試方法,㈣是關於一種 在複數張網路卡中擇一進行測試的網路卡的壓力測試方法。 【先前技術】 科技發展至今,現代人的生活已經幾乎離不開網路。而無論是 連接計算機系統到網際網路(Intemet),或是建構區域網路(L〇cai Area Internet,LAN) ’ 網路卡(Netw〇rk Interface,又稱 網路配接卡)都是最必須的。網路卡為計算機系統之間的資料通訊 提供實體賴,每-台欲接人網路的計算機⑽都得要安裝網路 卡。市面上絕大多數的筆記型電腦、桌上型電腦或是飼服器均内 建有網路卡,足見其普及性。 正由於網路卡是計算機網路巾極為重要的基本設備,網路卡的 故障會影響運行的計算機系統的網路功能;若是重要伺服器的網 路卡發生故障,甚至會影_整_路的正常運行。因此網路卡 的製造薇商在將產品出貨前,均需對每_個網路卡進行重置測試 或是®力測試等各種嚴格的測試。 其中文件傳輸測試則紐力測試中不可或缺的測試項目之一。 文件傳輸測試係在-用戶端以及一伺服器端之間讀取及傳送文 件’以判斷用戶端與飼服器端之間的傳輸是否正常。而文件傳輸 測試在-定程度上亦測試了文件讀寫系統與網路卡配合執行的狀 態是否異常。 201117580 傳統的塵力測試方法採用的路由器(r〇uter)itf僅使用一全體 路由表_al誠mg咖)的路由器(越er),但傳統的方法在欲以 -個用戶端同_試複數酬路卡時料產生晴卡覆蓋率不足 的問題。為了料職設備,複數個網路卡可朗時被配置於同 -個用戶端,但其中只有—個網路卡會被奴為預設的網路卡。 雖然用戶端_具衫_路卡,但用戶端—般僅會以預設之網 路卡進行收發資料。如此-來,沒有被設為預設網路卡的並他網 •路卡便不會被用戶端使用到。換句話說,傳統的壓力測試方法益 法測试到用戶端的所有網路卡,而造成測試時網路卡覆蓋率不 足,無法完全達到壓力測試目的的問題。 【發明内容】 卡=決傳統的勤測試方法無法測試到用戶端的所有網路 二2 無法完全制壓力測試目201117580 VI. Description of the Invention: [Technical Field] The present invention relates to a pressure test method for a fine circuit card, and (4) relates to a pressure test method for a network card that is tested in a plurality of network cards. [Prior Art] Since the development of science and technology, modern people's lives are almost inseparable from the Internet. Whether it is connecting a computer system to the Internet (Internet), or building a local area network (L〇cai Area Internet, LAN) 'Net card (Netw〇rk Interface, also known as network adapter card) is the most necessary. The network card provides an entity for data communication between computer systems. Each computer (10) that wants to access the network must install a network card. Most of the notebook computers, desktop computers, and food servers on the market have built-in network cards, which shows their popularity. Just because the network card is a very important basic device for the computer network towel, the failure of the network card will affect the network function of the running computer system; if the network card of the important server fails, it will even be affected. The normal operation. Therefore, the manufacture of network cards requires a variety of rigorous tests such as reset test or ® force test for each network card before shipping the product. Among them, the file transfer test is one of the indispensable test items in the New Force test. The file transfer test reads and transfers the file between the client and a server to determine whether the transfer between the client and the feeder is normal. The file transfer test also tests whether the status of the file read/write system and the network card is abnormal. 201117580 The traditional dust test method used by the router (r〇uter) itf only uses a router (over the er) of the overall routing table _alchengmg), but the traditional method is to use the same user terminal _ test complex Remuneration card is expected to have insufficient coverage of clear cards. In order to use the equipment, a plurality of network cards can be configured on the same client, but only one of the network cards will be slaved to the default network card. Although the client _ _ _ _ card, but the client will only send and receive data with the default network card. In this way, the network card that is not set as the default network card will not be used by the client. In other words, the traditional stress test method benefits all the network cards of the client, which results in insufficient network card coverage during the test and cannot fully meet the purpose of stress testing. [Summary of the Invention] Card = the traditional test method can not test all the network of the client. 2 2 can not fully test the pressure test

的的問心本發明提供-種網路卡的壓力測試方法透過且有複數 個網路卡_戶端向伺服器發送測試文件, 回傳的測試文件,以對這些網路卡 &伺服器 力測試方歧立策略觀表咖心 M。此轉卡的屋 問題。祕轉綠蛛供祕轉料段,崎決上述的 策略轉送表係具有一路由索、每一個 舰器路独及路由。 、卡的崎卡索引、 而策略轉辭絲行下列步驟:接㈣ 以及策略資訊,其中策略資訊 r發2^測試文件 3用戶路姊其對應的路由索 201117580 引,依據路由索引查閱策略轉縣,以得到路由,而路由包括伺 服器路徑以及指定的網路卡索引;依據用戶路徑以及伺服器路 徑,經由被指定_路卡將峨文件傳舒伺㈣;經由被指定 的網路卡接收飼服器所傳回的測試文件,其中値器依據用戶路 徑;以及伺服器路徑傳回測試文件;以及將接收的測試文件傳送 予用戶端。 其中上述之測試文件以及策略資訊係可由一測試人員指定。更 詳細地說,測試人員可依_力測試的需求指定待_伺服器以 及待傳送_試文件,娜t得到對應嫌細侧之策略資 訊0 根據本發明之-實施範例,用戶端與舰器係透過一網路相 連。根據本發明之另-實施範例,用戶端細_透過 器相連。 …咏 此外策略轉送手段另可包括:在用戶端將原始測試文件和 傭器傳_戦耕進行比對,並據以輸出比對結果。 述,網路卡的壓力測試方法藉由策略資訊和策略轉送τ 運作,由策略觀錢依錄略#訊查_建之策略轉送^協同 微進_試_路卡、用戶路徑以及舰器職,進而又 端與飼服器之間透過指定的網路卡傳送測試文件。如此, 戶端可就可以對所有的網路卡進行測試文件的發送與進用 解決傳統的測試方法之網路卡覆蓋率不足的: 201117580 以下在實施方式中詳細敘述本發明之 内容足以使任何熟習相闕技藝者了解本發The present invention provides a network card stress test method through which a plurality of network cards _ the client sends a test file to the server, and the returned test file to the network card & server power The test party clarifies the strategy and views the coffee. This transfer card problem. The secret transfer of the green spider for the secret transfer section, the above-mentioned strategy transfer table has a routing cable, each ship's road and route. The card's Saki card index, and the strategy to change the line to the following steps: connect (four) and strategic information, where the policy information r 2 2 test file 3 user route its corresponding routing cable 201117580 cited, according to the routing index review strategy to the county To get the route, and the route includes the server path and the specified network card index; according to the user path and the server path, the file is transmitted via the designated _ road card (4); receiving the feed via the designated network card The test file returned by the server, wherein the buffer is based on the user path; and the server path returns the test file; and the received test file is transmitted to the client. The above test files and strategy information can be specified by a tester. In more detail, the tester can specify the _ server and the _ test file to be transmitted according to the requirements of the _ force test, and get the policy information corresponding to the smear side. According to the embodiment of the present invention, the client and the ship It is connected through a network. In accordance with another embodiment of the present invention, the client is connected to the transmitter. ... 咏 In addition, the policy transfer means may further include: comparing the original test file with the commissioner at the user end, and outputting the comparison result accordingly. As mentioned, the stress test method of the network card is operated by the strategy information and strategy transfer τ, and the strategy view is based on the record. #讯查_建之的转转^合作微进_试_路卡,user path and ship position And then transfer the test file between the end and the feeder through the designated network card. In this way, the client can send and use test files to all network cards. The network card coverage of the traditional test method is insufficient: 201117580 The following details of the present invention are described in detail in the embodiments. Those who are familiar with the art know the hair

熟習相關技藝者可輕易地理解本發明相關之目的及優點。 本發明提供一種網路卡的屦力淛钟、_The objects and advantages associated with the present invention will be readily understood by those skilled in the art. The invention provides a network card of 屦力浙钟, _

用戶端20係可為主機或桌上型電腦等計算機系統,且同時具 ‘月之詳細特徵以及優點,其 本發明之技術内容並據以實 申請專利範圍及圖式,任何 用戶端20具有網路卡 有複數個網路卡21。如「第1圖」所示, 21a以及網路卡21b,用戶端20可藉由任一網路卡21收發資料。 也就是說’用戶端20透過其所具有的任一網路卡21均可連接網 #際網路(Intemet)、區網(L〇cal Area Network,LAN)或是其他計算機 系統。其中網路卡21a被用戶端20設定為預設之網路卡21,故在 收發資料之網路封包(packet)沒特別指定的情況下,用戶端2〇均透 過網路卡21a收發資料。 伺服器22亦可為電腦主機或是網路伺服器等計算機系統。伺 服器22具有一共享目錄可供用戶端2〇開啟,且用戶端加具有共 享目錄的讀寫權利。換句話說’用戶端2〇可在共享目錄内寫入新 的檔案,亦可讀取共享目錄内的槽案。 201117580 而用戶端20與伺服器22可透過網際網路或是區網等網路相 連。更佳的是,用戶端20與伺服器22亦可透過一集線器(hub)相 連’或是以跳線(cross over)的方式直接相連。根據本發明之一實施 範例,用戶端20與伺服器22係被配置於測試用之實驗室或廠房, 且用戶端20與伺服器22僅透過集線器相連以進行壓力測試方法。 接下來請同時參照「第2圖」,為本發明之網路卡的壓力測試 方法之一實施範例的流程圖。 由第2圖」可以見悉’網路卡的壓力測試方法可包括步驟 S30 :指定這些網路卡^之一;步驟S32 :將一測試文件以及一 策略資訊發送給策略轉送手段Μ ;步驟SS3 :依據策略資訊查找 -策略轉送表,以得到-用戶路徑以及一伺服器路徑;步驟辦: 依據用戶路徑以及概H路徑,齡被指定_路卡將測試文件 傳送至伺服器;步驟S36 ·•令词服器將被傳送的測試文件寫伺服 器呤驟:S38 :令伺服器依據用戶路徑以及伺服器路徑將測試文 件傳送給好端;步驟S4G :藉由被指定的網路卡接收測試文件; 步驟S42 :比對原始的測試文件以及接收的測試文件;以及步驟 S44 :輸出一比對結果。 用戶端20具有一網路卡列表,表中記有每-網路卡21的-網路卡名稱以及-網路卡㈣。更佳的是,網路卡列表中另包括 母-網路卡21的-媒體存取控制钱(Μ_ c address,MAC address,亦稱為 mac 位址)。 網路卡列表的内容舉例如下: 201117580 網路卡列表的内容舉例如下: 網路卡名稱 網路卡索引 網路卡的MAC位址The user terminal 20 can be a computer system such as a host computer or a desktop computer, and has the detailed features and advantages of the month. The technical content of the present invention is based on the patent scope and the drawings, and any user terminal 20 has a network. The road card has a plurality of network cards 21. As shown in "FIG. 1", 21a and the network card 21b, the client 20 can transmit and receive data by any network card 21. That is to say, the client 20 can connect to the Internet, the LAN (L), or other computer system through any of the network cards 21 it has. The network card 21a is set by the user terminal 20 as the default network card 21. Therefore, when the network packet for transmitting and receiving data is not specifically designated, the user terminal 2 transmits and receives data through the network card 21a. The server 22 can also be a computer system such as a computer host or a network server. The server 22 has a shared directory for the client to open, and the client adds read and write rights to the shared directory. In other words, the client 2 can write a new file in the shared directory and can also read the slot in the shared directory. In 201117580, the client 20 and the server 22 can be connected through a network such as the Internet or a regional network. More preferably, the client 20 and the server 22 can also be connected via a hub or directly connected in a crossover manner. According to an embodiment of the present invention, the client 20 and the server 22 are configured in a laboratory or factory for testing, and the client 20 and the server 22 are connected only through a hub to perform a stress testing method. Next, please refer to "Fig. 2" as a flowchart of an example of the implementation of the stress test method for the network card of the present invention. It can be seen from FIG. 2 that the 'network card stress test method may include step S30: designating one of the network cards ^; step S32: transmitting a test file and a policy information to the policy transfer means Μ; step SS3 : According to the policy information search-policy transfer table, to obtain the -user path and a server path; the steps are as follows: According to the user path and the general H path, the age is specified_the road card transmits the test file to the server; step S36 · The word server sends the test file to be sent to the server step: S38: causes the server to transmit the test file to the good end according to the user path and the server path; step S4G: receiving the test file by the designated network card Step S42: comparing the original test file with the received test file; and step S44: outputting a comparison result. The client 20 has a list of network cards with the name of the network card for each of the network cards 21 and the network card (four). More preferably, the network card list further includes a media access control money (Μ_c address, MAC address, also referred to as a mac address) of the parent-network card 21. The contents of the network card list are as follows: 201117580 The contents of the network card list are as follows: Network card name Network card index MAC address of the network card

Ethl 〇〇:23:18:66:05:FlEthl 〇〇:23:18:66:05:Fl

Eth2 λ ~— ------------^0-23:18:66:05:F2Eth2 λ ~— ------------^0-23:18:66:05:F2

;是於乂驟S30 ’可由用戶端2〇所具有的複數個網路卡:丄 之中選擇其一用以進行壓力測試方法。於本實施範例中網路卡训 被指定,並且網路卡的壓力測試方法使用網路卡21進行用戶端2〇 與祠服器22之間的傳輸1著於步驟幻2,網路卡的壓力測試方 法將測試文件以及策略資訊發送給策略觀手段24,以令策略轉 送手段24依據策略資訊發送測試文件給伺服器22。其中策略資部 可以被加人於賴讀巾,且策略資断包含_用戶路徑和其對 應的路由索弓丨用戶路梭可包括用戶端的一網際網路協定位址In step S30', one of the plurality of network cards that can be accessed by the client terminal 2: 选择 is selected for the stress test method. In this embodiment, the network card training is specified, and the network card stress testing method uses the network card 21 to perform the transmission between the client terminal 2 and the server 22. Step 2, the network card The stress test method sends the test file and the policy information to the policy view means 24, so that the policy transfer means 24 sends the test file to the server 22 according to the policy information. The tactical department can be added to the reading towel, and the policy stipulation includes the _user path and its corresponding route. The user's road shuttle can include an internet protocol address of the client.

(Internet Protocol address > Π> address > IP Π> ; 更佳的是,用戶路徑包括該用戶端的赚位址。舉例而言,策略 資訊的内容可為[192.168.1.1〇i/00:23:18:66:〇5:f1,小 因此發送之策略資訊中’可透戶路徑和路由索引指定此 次進行壓力職方法_針2卜更詳_說,猶卡的壓力測 試方法透過策略資訊指示策略轉送手段24以網路卡训發送測試 文件。 此外’上述之測試文件以及策略資訊係可由一測試人 更詳細地說,職人胃可依據壓力戦的絲指定待_飼服器 22以及待傳送的測試文件’再據此得到對應於待測的飼服器u 201117580 之策略資訊。於步驟S33 ’策略轉送手段依據策略資訊查找一策略 轉送表,以得到伺服器路徑及網路卡索引;並且於步驟S34,策略 轉送手段依據策略資訊中的用戶路徑以及查詢獲得的伺服器路 徑’經由被指定的網路卡將測試文件傳送至伺服器。 接收策略資訊後,策略轉送手段24依據策略資訊内指定之網 路卡索引查找策略轉送表。策略轉送表係事先建立完成,以供策 略轉送手段24查找。策略轉送表可包括路由索引以及一路由,而 路由可包括伺服器路徑以及網路卡索引。其中伺服器路徑可包括 伺服益的IP位址或IP網段;更佳的是,伺服器路徑包括伺服器的 一連接埠(port)。 策略轉送手段24接著並依據用戶端2〇以及伺服器22個別的 IP位址發送對比文件。 策略轉送表的内容舉例如下: 路由索引 路由 1 [192.168.1.100:80,1] 2 1 [192.168.1.100:80,2] 藉由策略貧訊中指定的路由索引,能在策略轉送表中查找出 對應的路由。如此-來,能得_路卡索引,以及需進行壓力測 試方法之網路卡21的MAC位址。依據網路卡21b之網路卡索引 以及MAC位址’策略轉送手段24便能指定網路卡21b進行發送 測試文件的工作,而非由預設之網路卡21a進行發送。 策略轉送表包括伺服器22的ip位址或網段,因此策略轉送 201117580 藉由更改策略轉送表内對應之伺服器22的ip位址/網段,用戶端 20可與不同的伺服器22進行壓力測試方法,或是使不同之網路卡 21與不同之伺服器22進行壓力測試方法。 依據策略資訊以及策略轉送表所提供的資訊,策略轉送手段 24便能得到被指定的網路卡21b的正位址/網段以及位址作 為用戶端路徑。相對的,伺服器路徑包括伺服器22之正位址/網 段以及伺服器22的連接埠。 若用戶端20與伺服器22係為(透過集線器或跳線)直接相連, 或是被配置區網巾’肝端2()可#由廣制包_路機制 獲付伺服态22的MAC位址。但伺服器網路卡的mac位址可與 祠服器22之ΠΜ立址-併内建於策略轉送表中,以省卻尋找飼服 器的MAC位址的時間。 —得到用戶路徑以及飼服器路徑後,策略轉送手段24透過被指 疋的’祠路卡21b將測減文件傳送予伺服器。以網際網路協定來 看,當用戶端20傳送測試文件予飼服器22時,用戶端2〇係為一 來源端(S〇UrCe) ’而舰器係為一目的端(destination)。策略轉送手 段24依據用戶路独及舰器路徑,可將包含有測試文件的網路 封包以符合網際網路協定方式發送給伺服器22。 伺服器22收到測試文件後,於步驟S36將測試文件寫入共享 睛。接著於步驟S38,飼服器22依據用戶路徑以及飼服器路徑, 讀取於步驟S36寫入之測試文件並發送給用戶端2()。錬器η 可解析用戶端20傳來的網路封包以獲得用戶路徑與飼服器路徑, 11 201117580 並以用戶端20之被指定的網路卡21b的MAC位址將測試文件發 送給被指定的網路卡21b。而當伺服器22傳送測試文件予用戶端 20時,此時用戶端20係為目的端,而伺服器22方為來源端。 接著於步驟S40 ’網路卡的壓力測試方法(用戶端2〇)從被指定 的網路卡21b接收測試文件。如此一來,可以避免用戶端2〇均以 預設之網路卡21a收發㈣,而使得其他網路卡21不被利用到的 情形。 網路卡的壓力測試方法於步驟S42將原本的測試文件與於步 驟S40巾接收之測試文件進行比對,以確認上述用戶端加與词服 器22之間的連線是否正常。若比對結果相同,則網路卡的壓力測 試方法可於步驟S44輸出「正確」作為比對結果;反之則可輸出 「錯誤」作為比對結果。 而根據本發明之一實施範例’網路卡的壓力測試方法可重複 上述步驟,以職特定的鱗卡是魏承受大量的資料存取操 作,或是職過財慨是否有_的下降。此外,根據本發明 之另實施範例,網路卡的壓力測試方法對不同的網路卡重複進 仃壓力顺’以達成所需之網路卡涵蓋率以及壓力測試。 0、丁、上所述’根據本發明之實施範例之網路卡的壓力測試方法 二藉由策略魏指定任—鱗卡進補力測試。網路卡的麼力剩 W法缺欲進行職的網路卡’並發送策略資财策略轉送手 知被指定的網路卡。I略轉送手段依據策略資訊查找内建 策略轉送表’獲得用戶路經以及祠服器路徑後,並可透過指定 12 201117580 的網路卡傳送資料於用戶端與飼服器之間。如此一來,用戶〜 使用任-網路卡進行收發倾崎行壓力戦, 試方法之舰讀蓋料足關題。 傳、麵測 定太2本發日肢前述之較佳實施·露如上,然其並非用以限 ^本^ ’任何熟以目像技藝者,在不脫離本發明之精神和範圍 可作齡之更動姻飾,因此本發明之翻倾範圍須視 說明書所附之申請專利範圍所界定者為準。 【圖式簡單說明】 第1圖係為根據本發明一實施範例之連接示意圖;以及 第2圖係為根據本發明一實施範例之網路卡的壓力測試方法 之流程示意圖。 【主要元件符號說明】 20 21, 21a, 21b 22 -24 用戶端 網路卡 伺服器 策略轉送手段 [Si 13(Internet Protocol address >Π> address > IP Π>; More preferably, the user path includes the earned address of the client. For example, the content of the policy information can be [192.168.1.1〇i/00:23 :18:66:〇5:f1, small, so the strategic information sent in the 'passable path and routing index specified this time to carry out the pressure job method _ pin 2 more detailed _ said, the pressure test method of Juka through the strategic information indicating strategy The transfer means 24 sends the test file by the network card training. In addition, the above test file and the policy information can be described in more detail by a tester. The user's stomach can specify the to-be-served device 22 and the to-be-transmitted according to the pressure-supplemented silk. The test file 'according to this, the policy information corresponding to the feeding machine u 201117580 to be tested is obtained. In step S33, the policy transfer means finds a policy transfer table according to the policy information to obtain the server path and the network card index; In step S34, the policy transfer means transmits the test file to the server via the designated network card according to the user path in the policy information and the server path obtained by the query. After the information is forwarded, the policy forwarding means 24 searches the policy forwarding table according to the network card index specified in the policy information. The policy forwarding table is pre-established for the policy forwarding means 24. The policy forwarding table may include a routing index and a route. The route may include a server path and a network card index, wherein the server path may include a server IP address or an IP network segment; more preferably, the server path includes a port of the server. The forwarding means 24 then sends the comparison file according to the IP address of the user terminal 2 and the server 22. The contents of the policy forwarding table are as follows: Route index route 1 [192.168.1.100:80,1] 2 1 [192.168.1.100 :80,2] By using the route index specified in the policy message, the corresponding route can be found in the policy forwarding table. Thus, the _road card index and the network card 21 to be subjected to the stress test method can be obtained. MAC address. According to the network card index of the network card 21b and the MAC address 'policy transfer means 24, the network card 21b can be designated to send test files instead of being preset. The network card 21a transmits. The policy forwarding table includes the IP address or network segment of the server 22, so the policy forwards 201117580. By changing the IP address/network segment of the corresponding server 22 in the policy forwarding table, the user terminal 20 can The pressure test method is performed with different servers 22, or the different network cards 21 and different servers 22 are subjected to the stress test method. According to the information provided by the policy information and the policy transfer table, the policy transfer means 24 can be obtained. The positive address/segment and address of the designated network card 21b are used as the client path. In contrast, the server path includes the positive address/network segment of the server 22 and the port of the server 22. If the client 20 and the server 22 are directly connected (via a hub or a jumper), or the configured area network towel 'liver end 2 () can be obtained by the wide package _ path mechanism to receive the MAC bit of the servo state 22 site. However, the mac address of the server network card can be located with the server 22 and built into the policy forwarding table to save time in finding the MAC address of the feeder. - After obtaining the user path and the feeder path, the policy transfer means 24 transmits the measurement and subtraction file to the server via the designated "road card 21b". According to the Internet Protocol, when the client 20 transmits the test file to the feeder 22, the client terminal 2 is a source (S〇UrCe)' and the ship is a destination. The policy forwarding means 24 can send the network packet containing the test file to the server 22 in accordance with the Internet Protocol according to the user's unique path and the ship path. After the server 22 receives the test file, the test file is written to the shared eye in step S36. Next, in step S38, the feeder 22 reads the test file written in step S36 according to the user path and the feeder path and transmits it to the client 2 (). The device η can parse the network packet sent from the client 20 to obtain the user path and the feeder path, and send the test file to the designated MAC address of the designated network card 21b of the client 20 Network card 21b. When the server 22 transmits the test file to the client 20, the client 20 is the destination end and the server 22 is the source. Next, the test file is received from the designated network card 21b in the pressure test method (user terminal 2) of the network card in step S40'. In this way, it is possible to prevent the user terminal 2 from transmitting and receiving (4) by the preset network card 21a, so that other network cards 21 are not utilized. The network card stress test method compares the original test file with the test file received in step S40 to confirm whether the connection between the client terminal and the word processor 22 is normal. If the comparison result is the same, the network card pressure test method may output "correct" as the comparison result in step S44; otherwise, "error" may be output as the comparison result. According to an embodiment of the present invention, the stress test method of the network card can repeat the above steps. The job-specific scale card is that Wei is subjected to a large amount of data access operations, or whether there is a decline in the number of posts. Moreover, in accordance with another embodiment of the present invention, the stress testing method of the network card repeats the pressure on the different network cards to achieve the required network card coverage and stress testing. 0, D, and the above] The pressure test method of the network card according to the embodiment of the present invention is determined by the strategy Wei-scale card force test. The network card's power is left. The W method lacks the network card to perform the job and sends a strategic financial strategy to transfer the known network card. The I transfer method is based on the policy information to find the built-in policy transfer table. After obtaining the user path and the server path, the data can be transmitted between the client and the feeder through the network card of the designated 12 201117580. In this way, the user ~ using the Ren-network card to send and receive the pressure on the board, the test method of the ship reading cover material is sufficient. Transmitting and measuring the surface of the hair. The preferred embodiment of the present invention is as described above. However, it is not intended to limit the use of any of the skilled artisans, and may be used as the age without departing from the spirit and scope of the present invention. The scope of the slanting of the present invention is subject to the definition of the scope of the patent application attached to the specification. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of a connection according to an embodiment of the present invention; and FIG. 2 is a flow chart showing a method for testing a stress of a network card according to an embodiment of the present invention. [Main component symbol description] 20 21, 21a, 21b 22 -24 User side Network card Server Strategy transfer means [Si 13

Claims (1)

201117580 七、申請專利範圍: 1. 一種網路卡賴力戦方法,透過具有複數個網路卡的 端向一刪發送一測試文件’該用戶端並接收該飼服器回傳 的該測試文件’崎_網路切行壓力測試,其特徵在於: 建立-策略轉送表,略轉送表中記錄有—路由索^ — 伺服器路徑,和每一該些網路卡的一網路卡索引; 在發送的該測試文件中加入一策略資訊,該策略資訊包含一 用戶路徑和其對應的該路由索引;以及 提供一策略轉送手段,執行下列步驟: 接收該用戶端所發送的該測試文件以及該策略資訊; 依據該策略資訊查閱該策略轉送表,以得到一路由,該 路由包含該伺服器路徑,和一個指定的該網路卡的該網路卡 索引; 依據該用戶路徑以及該伺服器路徑,經由被指定的該網 路卡將該測試文件傳送予該伺服器; 經由被指定的該網路卡接收該伺服器所傳回的該測試文 件’其中該伺服器依據該用戶路徑以及該伺服器路徑傳回該 測試文件;以及 將接收的該測試文件傳送予該用戶端。 2.如申請專利範圍第1項所述之網路卡的壓力測試方法,其中該. 用戶路徑包括該用戶端的一網際網路協定位址(Internet Protocol Address)或是一 ip網段。 201117580 3. 如申請專利範圍第1項所述之網路卡的壓力測試方法,其中該 用戶路徑更包括被指定的該網路卡的一媒體存取控制位址 (Media Access Control address) ° 4. 如申凊專利I巳圍第!項所述之網路卡的屋力測試方法,其中該 伺服器路徑包括該伺服器的一正位址或是一 ρ網段。八μ 5. 如申請專利範圍第丨項所述之網路卡的壓力測試方法,其中該 伺服器路徑另包括該伺服器的一連接埠。 '、 # 6.如申請專利範圍第1項所述之網路卡的壓力測試方法,另包括: 在該用戶端比對原始的該測試文件與從該策略轉送手段接 收的該測試文件,並據以輪出一比對結果。201117580 VII. Patent application scope: 1. A method for network card reliance, sending a test file to the user through a terminal with multiple network cards, and receiving the test file returned by the server. Saki _ network cut-off stress test, which is characterized by: a set-policy transfer table, a slightly forwarded record record - routing path ^ server path, and a network card index of each of the network cards; The test file is sent with a policy information, the policy information includes a user path and its corresponding routing index; and a policy forwarding means is provided, and the following steps are performed: receiving the test file sent by the client and the policy Information; refer to the policy forwarding table according to the policy information to obtain a route, the route includes the server path, and a specified network card index of the network card; according to the user path and the server path, Transmitting the test file to the server via the designated network card; receiving the returned by the server via the designated network card Test file 'server wherein the user according to the route and the server returns the test file path; and transmitting the received test file to the user terminal. 2. The method for testing a network card according to claim 1, wherein the user path comprises an Internet Protocol Address or an ip network segment of the client. 201117580 3. The method for testing a network card according to claim 1, wherein the user path further comprises a designated Media Access Control address of the network card. Such as Shen Yi patent I 第 第! The method for testing a network card of the network card, wherein the server path includes a positive address of the server or a ρ network segment. 8. The method of stress testing of a network card as described in the scope of the patent application, wherein the server path further comprises a port of the server. ', # 6. The method for testing the stress of the network card according to claim 1, further comprising: comparing the original test file with the test file received from the policy transfer means at the user end, and According to the results of a comparison. 1515
TW98138735A 2009-11-13 2009-11-13 A pressure test method for network interface card TW201117580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98138735A TW201117580A (en) 2009-11-13 2009-11-13 A pressure test method for network interface card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98138735A TW201117580A (en) 2009-11-13 2009-11-13 A pressure test method for network interface card

Publications (1)

Publication Number Publication Date
TW201117580A true TW201117580A (en) 2011-05-16

Family

ID=44935270

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98138735A TW201117580A (en) 2009-11-13 2009-11-13 A pressure test method for network interface card

Country Status (1)

Country Link
TW (1) TW201117580A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI479845B (en) * 2011-07-18 2015-04-01 Hon Hai Prec Ind Co Ltd Method and system for testing nic performance
CN109522199A (en) * 2018-11-30 2019-03-26 网易(杭州)网络有限公司 Game region method for testing pressure, device, system and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI479845B (en) * 2011-07-18 2015-04-01 Hon Hai Prec Ind Co Ltd Method and system for testing nic performance
CN109522199A (en) * 2018-11-30 2019-03-26 网易(杭州)网络有限公司 Game region method for testing pressure, device, system and storage medium

Similar Documents

Publication Publication Date Title
TWI246285B (en) Gateway apparatus and its controlling method
US20150036479A1 (en) Automatic stack unit replacement system
US10372633B1 (en) Interconnection of peripheral devices on different electronic devices
CN101656642B (en) Method, device and system for testing authentication performance of network access equipment
JP2008017370A (en) Network connection form detection method and system, and network equipment
CN103095608B (en) A kind of agency retransmission method of DNS data bag
TW201117580A (en) A pressure test method for network interface card
CN102064971B (en) Pressure test method for network cards
JP2007072521A (en) Storage control system and storage controller
US20080301305A1 (en) Method and related system for building up a network connection between clients and servers through a stream fork by utilizing http protocol
Oudah et al. Using burstiness for network applications classification
US11106359B1 (en) Interconnection of peripheral devices on different electronic devices
JP5994459B2 (en) Information processing apparatus, communication control method, and communication control program
US10599588B1 (en) Interconnection of peripheral devices on different electronic devices
JP4498984B2 (en) Service providing apparatus and communication control program
JP7209791B1 (en) Master device, communication control method, communication control program and communication control system
CN108173762A (en) Message redirecting method and apparatus
US20080040423A1 (en) Method for detecting status of host and/or I/O peripherals in centralized computer system
US20080316932A1 (en) Identifying method for network device
US8903970B2 (en) Explicit logging of network user node/target node coupling
CN111107178B (en) Method and equipment for designating local address used by message
CN118264417A (en) Network violation foreign-connection detection method based on NBNS protocol
CN104270288A (en) Ethernet circuit testing method, testing instrument and router
JP2023066373A (en) System, apparatus and method for communicating debug messages on sideband of serial link according to debug type messaging protocol
CN116112290A (en) Flow transfer method and device applied to Web centralized management system