200950409 九、發明說明: 【發明所屬之技術領域】 -種網路介面卡_試方法及其職裝置,制錢於一種 測試網路权醜倾功_方法及使用财㈣測試系統。 【先前技術】 網路喚醒(Wake-on-LAN’以下簡稱w〇L)是一種技術同時也 〇 ❿ 是該技術賴範辟。佩的功效在觸已經進人休眠狀態或關 機狀悲的電腦,透過網_路的另—主機對其發令,使其從休眠 狀態唤醒、恢復成運作狀態,或從關機狀態轉成開機狀態。此外, 與狐相關的技術也包括遠端下令關機、遠端下令重新開機等相 關的遙控機制。 為在計算财置巾實現佩的目的,計算贼置需要具備、 網路介面卡、域她_供·。鱗介针與域板需提供 佩對應的連接方式。在網路介面卡對主機板的接線線路中包含 了待備(Standby)供電,此—供蚊由主機板上的m(Per_200950409 IX. Invention Description: [Technical field of invention] - A kind of network interface card _ test method and its job device, making money in a test network right ugly _ method and use of money (four) test system. [Prior Art] Wake-on-LAN (hereinafter referred to as w〇L) is a technology and 〇 ❿ is the technology. The function of Pei is in the computer that has entered the dormant state or shut down the machine, and it is commanded by the other host of the network to wake up from the sleep state, return to the operational state, or switch from the shutdown state to the power-on state. In addition, fox-related technologies include remote control mechanisms such as remotely ordered shutdown, remotely ordered reboots, and so on. In order to calculate the purpose of the implementation of the financial towel, the calculation of the thief needs to have, the network interface card, the domain she _ supply. The scale needle and the domain plate need to provide the corresponding connection method. In the wiring line of the network interface card to the motherboard, the standby (Standby) power supply is included, and the mosquito supply is provided by the m on the motherboard (Per_).
Compo職tInterc〇_賴流排所額外引取所獲得。另外,職也 必須有—域,主機板上的腦_ Inpm 〇_ __ ,必須要有「電源管理」的應雜式才行,並且錢腦的組態配 上必須為網路卡保留—份持續供電,使電腦即便_也能持續 讓網路卡轉部分的機能運作。 機(或 一般而言,概技術的遠端唤醒步驟如下:電腦處在關 200950409 休眠)狀態時,機内的網路卡及主機板部分仍保有微弱的供電, 此微弱供電_稱卡財最低的能力,使網路卡能岭聽來 自電腦外部的網路廣播資訊’並對資訊内容進行偵測與解讀,一 旦發現網路廣播的内容中有特定的資訊内容,此種特定内容稱 為魔法封包’就會對該封包的内容進行研判。 μ在魔法封包内,每次都會先有連續6個”Fpi (十六進位,換 异成二進位即:11111111)的資料,即:fffffffffff 彳嫌纽,树物以位元組 L位讀的_,—旦、經由網路卡偵測、解讀 =:,内容中的一崎電腦= 山碼吻合,就會啟動喚醒、開機的程序。 ❹ 域網峨蝴称細物叹對整個區 内=/ )’咖嫩㈣_ (s_嘯法封包 顺所=(或—群)電腦的網路位㈣料,網路卡—旦解讀研 機n 自躺處的電断,網路卡就會通知機内的主 程序。,原供應器(P〇wer卿pIy),開始進行開機(或唤醒)的 料=^為_網路卡的觀是否能正常運作,廠商則需要 ^圖4裝置分別進行關機、抽換網路卡及開機測試。請參考「第 行_!",其係為f知技術之運作流程示意圖。將被測試機器進 7丨面卡的連接和設置(步驟Sn〇)。啟動測試機⑽作業系 200950409 統,並獲取測試機器之網路介面卡的獄值(步驟⑽)。關閉測 試機器的作業系統(步驟⑽)。由另一發送端運行遠端喚醒程 式,指定待測機器所屬的網路介面卡之說值,並發送魔法封包 至待測機器(步驟S140)。檢查待測機器是否能正常啟動(步驟 .⑽)。判斷是否為最後—台測試機器(步驟S16G),直至所有待測 -機器完成步驟S11G〜步驟S15G。這樣—來,測試的時間就會被耗 費在開/關機的過程上。 ® 【發明内容】 馨独上的_,本购社要目的在於提供—種測試網路 卡找路喚醒功能的方法,應用於計算機裝置在進行運作時對網 路’丨面卡進行網路喚醒的測試。 為達上述目的,本發_揭露之賴_卡之網路唤醒功能 鲁 =ΓΓ列步驟:切換計算機裝置之網路介面卡的電源 "’…改網路介面卡之電源管理事件位元(p〇Wer 麵⑽bit),麟晴介面卡進人麵賦。由 傳送魔法封包至計算機穿f 源管理事件t / 改網路介面卡之電 :Γ 吏得網路介面卡進人工作模式。檢查網路介面 2电源錢事件紅’若f源管理事雜元未 示手段用以提醒使用者。 顺仃警 本發明提供了—觀__路卡之網路喚醒功能的方法之 測系統,其係用以測試具有網路喚醒功能的網路卡。 200950409 為達上述目的,本發明所揭露之使用測試網路卡之網路喚醒 功能的方法之測試系統包括有:發送端、計算機裝置、電力供應 皁几、鱗介面卡與喚雜序。發送端_以傳送魔法封包與複 數個網路封包;計算機裝置係透綱際麟連接於發送端,計算 «置更包括有:電力供應單_提供複數種電力模式,電力^ 應早兀仙提供計算機裝置於相應模式的工作電力;網路介面卡 =用以接收發送端之魔法封包,使得網路介面卡執行一喚醒程 、猶〃面卡用以將稱介面卡由睡賴式切換至工作狀'離, 喚醒程序包括町步驟:_計算機裝置之網路介面卡_管 =狀態’修改網路介面卡之瓣理事件位元,使得網路介面卡 =眠料。由魏鱗送魔法封包歸算麵置之網路介面 工^ Γ齡針之電料轉餘元,使得轉介面卡進入 2。檢查網路介面卡的電源管理事件位元,若電源管理事 ❹件位兀未被修改則執行警示手段用以提醒使用者。 路介了:種計算機裝置在運行的過程中可以測試其網 載入作㈣馳功⑥。如此—來’可以減少計算機裝置在啟動、 戟入作業糸統與關機的時間。 明如=本發_概與㈣,賊合_作紐實施例詳細說 【實施方式】 I考#2圖」所示’其係為本發明之系統架構示意圖。 8 200950409 對網路喚醒的功能之測試系統200包括有:發送端210、計算機枣 置220。發送端21〇係用以傳送魔法封包與複數個網路封包。叶算 機裝置220係透過網際網路連接於發送端21〇,計算機襞置以〇 中更包括有:電力供應單元22卜網路介面卡222、喚醒程序223 與警示模組224。 •電力供應單元221係提供複數種電力模式,電力供應單元η 用以提供計算機裝置220於相應模式的工作電力。網路介面卡瓜 ❹係用以接收發送端21〇之魔法封包及複數個網路封包。網路喚醒 功能能夠喚醒機H是因為有電源管理的支持,才使得計算機裝置 細能夠啟動。這需要計算機裝置咖中的ρα匯流排有支持電源 管理。擁有鳳魏的網路介面卡222通過改f阳的電源管理 暫存器,用以觸發電源管理事件的訊號,使其產生滿足作業系统 破啟動的電位變化條件。其中,電源管理模式中具備下表i所述 的g對系統電源的請參土p 1所述: 系ΐ電|意義 —----——-η 源狀態 50 51 /^ι τ\τ τ / 士 · ____Compo job tInterc〇 _ _ _ _ _ _ _ _ _ _ _ _ _ _ In addition, the job must also have a domain, the brain on the motherboard _ Inpm 〇 _ __, must have "power management" should be mixed, and the configuration of the money brain must be reserved for the network card - Continuous power supply, so that the computer can continue to make the network card transfer part of the function. The machine (or in general, the remote wake-up procedure of the technology is as follows: when the computer is in the 200950409 sleep state), the network card and the motherboard part of the machine still have weak power supply. This weak power supply is called the lowest card. The ability to enable the network card to listen to the network broadcast information from outside the computer' and to detect and interpret the information content. Once the content of the webcast is found to have specific information content, the specific content is called a magic packet. 'The content of the packet will be judged. μ In the magic packet, each time there will be six consecutive "Fpi (hexadecimal, diversified into two-digit: 11111111) data, namely: fffffffffff 彳 纽 纽, the tree is read in the L-bit of the byte _, _, through the network card detection, interpretation =:, the content of a Saki computer = mountain code match, it will start the wake-up, boot program. ❹ domain network 峨 称 细 细 细 细 细 细 整个 = = / ) 'Cai Nen (four) _ (s_ 法法封包顺所 = (or - group) computer network (four) material, network card - once the interpretation of the machine n self-lying electrical disconnection, the network card will notify The main program in the machine. The original supplier (P〇werqing pIy) starts to start (or wake up) the material = ^ is _ network card view is able to operate normally, the manufacturer needs ^ Figure 4 device to shut down separately Please replace the network card and boot test. Please refer to "Line_!", which is a schematic diagram of the operation process of the technology. The connection and setting of the machine to be tested are carried out (step Sn). Start the test machine (10) operating system 200950409 system, and obtain the prison value of the test machine's network interface card (step (10)). Turn off the test machine Industry system (step (10)). Run the remote wake-up program by another sender, specify the value of the network interface card to which the device to be tested belongs, and send the magic packet to the machine to be tested (step S140). Check whether the machine to be tested is It can be started normally (step (10)). It is judged whether it is the last-test machine (step S16G) until all the machines to be tested complete the steps S11G to S15G. In this way, the test time will be spent on the power on/off. The process of the product. ® [Invention] The singularity of _, the purpose of this purchase is to provide a method for testing the network card to find the wake-up function, applied to the computer device when operating To test the Wake-on-LAN. In order to achieve the above purposes, the _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The power management event bit (p〇Wer face (10) bit), Lin Qing interface card into the human face. From the transmission of magic packets to the computer wear f source management event t / change the network interface card power: 吏 Chad network interface Card entry Mode. Check the network interface 2 power money event red 'if the source management matter does not show the means to remind the user. The invention provides a method of viewing the network wake-up function of the road card. The test system is used to test the network card with the network wake-up function. 200950409 In order to achieve the above object, the test system of the method for testing the network wake-up function of the test network card disclosed by the present invention includes: a sender, The computer device, the power supply soap, the scale interface card and the calling sequence. The transmitting end _ transmits the magic packet and the plurality of network packets; the computer device is connected to the transmitting end through the inter-system, and the calculation includes: Supply list _ provides a plurality of power modes, power ^ should be provided by the computer device in the corresponding mode of work power; network interface card = used to receive the sender's magic packet, so that the network interface card performs a wake-up process, The face card is used to switch the interface card from sleeping to working, and the wake-up procedure includes the steps: _ computer device network interface card _ tube = status 'modify network interface card Valve event management bits, such that network interface card = sleep material. The network interface that is sent by Wei scale to send the magic packet to the surface of the work ^ The power of the Γ 针 针 针 换 换 换 换 换 换 换 换 换 换 换 换Check the power management event bit of the network interface card. If the power management device is not modified, perform a warning to alert the user. Lu Jie: The computer device can test its network loading during the running process (4) Chi Gong 6. This—to reduce the time it takes for the computer device to start up, break into the system, and shut down. The following is a detailed description of the system architecture of the present invention. 8 200950409 The test system 200 for the function of the network wake-up includes: a transmitting end 210 and a computer judging 220. The sender 21 is used to transmit a magic packet and a plurality of network packets. The computer device 220 is connected to the transmitting end 21 via the Internet. The computer device further includes: a power supply unit 22, a network interface card 222, a wake-up program 223, and a warning module 224. • The power supply unit 221 provides a plurality of power modes, and the power supply unit η is used to provide the operating power of the computer device 220 in the corresponding mode. The network interface card is used to receive the magic packet and the plurality of network packets of the sender 21 . The Wake-on-LAN feature can wake up machine H because of the power management support that enables the computer device to boot. This requires the ρα bus in the computer device to support power management. The Fengwei Wei network interface card 222 is used to trigger the power management event signal to trigger the power management event signal to generate a potential change condition that satisfies the broken start of the operating system. Among them, the power management mode has the g described in the following table i for the system power supply, please refer to the soil p 1: ΐ ΐ | meaning ----- _ source state 50 51 / ^ ι τ \ τ τ / 士· ____
CPU停止,RAM刷新 CPU沒有^原,RAM刷新CPU stop, RAM refresh CPU does not have ^ original, RAM refresh
CPU沒有電源’ ram --- ----刷新,電源輪出減少 系統關斷,-- 200950409 S5 系統關斷了~~~Τ" 一一—— 操作 -全的重新引導才能恢復 表L系統電源的狀態 除了對於计异機裝置2 涵mnm — 之電力★理外,對於其中各 項5又^1^15源狀態描述:CPU does not have power 'ram --- ---- refresh, power round to reduce system shutdown, -- 200950409 S5 system shut down ~~~Τ" one by one - operation - full reboot to restore the table L system The state of the power supply is described in addition to the power of the metering device 2 □ mnm — for each of the 5 and 1^15 source states:
設備完全打開 ❹ D2 -- 表2·週邊設備電源的狀態 请參考「第3圖」卿,_本㈣之喚 =):,切換計算機裝置之網路介面卡的電源管爾:: :=^:之_事件位元,使得網路介面 此 式。其中,修改網路介面卡222之電源管理事 Γ,將其由D。狀態修改為D3狀態, 二=算機裝置之網路介面卡(步驟咖)。計算機裝置的網路The device is fully open ❹ D2 -- Table 2 · The status of the peripheral power supply, please refer to "3rd picture", _本(4) call =):, switch the power of the network interface card of the computer device:: :=^ : The _ event bit makes the network interface this way. Among them, modify the power management of the network interface card 222, and set it to D. The state is changed to the D3 state, and the second is the network interface card of the computer device (step coffee). Computer device network
㈣正 封包之崎用㈣取魔法封包f所包括的财C (步驟_ ;判斷魔法封包之叫_位址與網 計巧树,難機健切魅工作料(步驟_。 右網路介面卡的MAC值或IP婦時,則修改網路介面卡之 2OO950409 電源管理事件位元,使得鱗細切人工侧錄驟S350)。 其中,修改網路介面卡之電源管理事件位元,將其由〇3狀態修改 為DO狀態(步驟⑽)。檢查網路介面卡的電源管理事件位元,若 電源B理事件位凡未被修改則執行警示手段用以提醒使用者(步驟 吻G)。警示手段係透過警示模組224將警示訊息藉_示晝面的 視滅1'、揚聲器或網路介面卡上的指示燈號等方式,用以提醒 m ⑼試人員網路介面卡222的網路唤醒功能並未啟動。 本發明提供了 -種計算機裝置在運行的過程巾可 略介面卡從的喚醒功能。如此一來,可以減少計算機裝置^ 在啟動、載入作業系統與關機的時間。礙商不需要將計算機裝置 開/關機測試’這樣一來計算機裝置22〇的測試時間就可以大幅 被縮減。 田 雖然本發日⑽前述之較佳實關揭露如上,财並非用以限 懸定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍 内’當可作些許之更動與潤飾,因此本發明之專利保護範圍須视 本說明書所附之申請專利範圍所界定者為準。 【圖式簡單說明】 第1圖係為本發明之架構示意圖。 第2圖係為本發明之系統架構示意圖。 第3圖係為本發明之喚醒程序的運作流程圖。 【主要元件符號說明】 11 200950409 200 測試系統 210 發送端 220 計算機裝置 221 電力供應單元 222 網路介面卡 223 喚醒程序 224 警示模組 ❹ 12(4) The use of the package of the package (4) Take the wealth of the magic package f (step _; judge the magic packet called _ address and network meter Qiaoshu, difficult to work hard to capture the charm material (step _. right network interface card The MAC value or the IP time, modify the 2OO950409 power management event bit of the network interface card, so that the scale is cut manually (S350). Among them, modify the power management event bit of the network interface card, and then 〇3 state is changed to DO state (step (10)). Check the power management event bit of the network interface card, if the power B event event has not been modified, execute a warning means to remind the user (step kiss G). The means for alerting the m (9) tester to the network interface card 222 by means of the warning module 224 by means of the warning message 1', the indicator number on the speaker or the network interface card, etc. The wake-up function is not activated. The invention provides a wake-up function of the computer device in the process of running the process, which can reduce the time for the computer device to start, load the operating system and shut down. Business does not need to install the computer The on/off test is such that the test time of the computer device 22 can be greatly reduced. Although the above-mentioned preferred implementation of the present disclosure (10) is as disclosed above, the financial is not intended to limit the invention, and any familiar artisan It is to be understood that the scope of the invention is defined by the scope of the appended claims. Figure 1 is a schematic diagram of the architecture of the present invention. Figure 2 is a schematic diagram of the system architecture of the present invention. Figure 3 is a flow chart of the operation of the wake-up procedure of the present invention. [Key element symbol description] 11 200950409 200 Test system 210 Transmitter 220 Computer Device 221 Power Supply Unit 222 Network Interface Card 223 Wake-up Procedure 224 Warning Module ❹ 12