201042273 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種WiFi功能之測試方法,尤其涉及一種自 動測試電子產品WiFi功能之測試方法。 【先前技術】 [0002] 隨著世界科技之發展,WiFi於電子設備上之運用亦越來 越廣泛,WiFi (Wireless Fidelity )俗稱無線寬頻, 具有與藍牙相似之功能,但相較藍牙使用範圍更廣。用 戶可於WiFi覆蓋區域内快速流覽網頁,隨時隨地接聽撥 〇 打電話,而其他一些基於WLAN之寬頻資料應用,如流媒 體、網路遊戲等功能更係值得用戶期待。有了 WiFi功能 我們打長途電話、流覽網頁、收發電子郵件、音樂下載 、數位照片傳遞等,再無需擔心速度慢與花費高之問題 。筆記本電腦具有體重輕巧、攜帶方便之特點,因此, 很多生產商均將WiFi引入到筆記本電腦中。但測試WiFi 功能確係一件很麻煩之事情,通常於測試WiFi功能時需 ^ 要花費很多財力購買無線測試設備(如頻譜分析儀)等 ❹ 建立測試環境,需要花費很多人力調試測試設備,處理 測試資料,同時大量之測試設備與待測機於一起又會產 生信號干擾,影響測試結果。 【發明内容】 [0003] 鑒於以上内容,有必要提供一種自動測試電子產品WiFi 功能之測試方法。 [0004] 一種電子產品WiFi功能之自動測試方法,包括以下步驟 :所述電子產品設置自動測試模組;所述電子產品藉由 098116962 表單編號A0101 第3頁/共14頁 0982028753-0 201042273 [0005] [0006] [0007] [0008] [0009] [0010] 098116962 — WiFi接收機接入無線網路;所述自動測試模組對所述 電子產品之功能與項目模組進行測試;所述自動測試模 魬將測試之結果發送給所述電子產品及所述電子產品顯 示測試結果報告。 優選地,所述功能與專案模組為所述電子產品之MAC位址 、IP位址、PING功能、服務設置標號、接收之信號強度 及禁用或啟用無線網路中之至少一項。 優選地,還包括步驟:所述電子產品可藉由所述WiFi接 收機與具有WiFi功能之服務端通訊連接,所述電子產品 之自動測試模組藉由所述電子產品向所述服務端自動發 送指令測試所述電子產品之傳輸品質。 優選地,所述傳輸品質包括所述電子產品之通吐量值或 喚醒功能。 優選地,所述自動測試模組預設有通吐量標準值,所述 自動測試模組將所述電子產為輿所述服務;端進行通訊後 接收到之通吐量值與所述通吐量標準值進行比對後將結 果發送給所述電子產品。 優選地,所述電子產品預設有休眠時間值,並將所述休 眠時間值發送給所述伺服器,所述伺服器根據所述休眠 時間喚醒所述電子產品,所述自動測試模組將所述電子 產品是否能被喚醒之結果發送給所述電子產品。 優選地’所述自動測試模組接收到之通吐量值係所述電 子產品向所述服務端發送傳輸資料,所述服務端接收到 傳輸資料後又將相應之傳輸資料發送給所述電子產品。 表單編號A0101 第4頁/共14頁 0982028753- 201042273 _] 7選地,料電子產品向所賴服器發送休眠時間值之 5時將自身IP位址發送給所述服務端’所述服務端再根 據接收到之ίΡ位址喚醒相應之電子產品。 []優選地,還包括步驟:所述自動職模組於測試所述電 產cm之功硓與專案模組前自動測試所述電子產品是否 具有無線網卡。 ❹ ❹ 優選地’所述自動測試模組預設有信號強度標準值,所 二模組於所述電子產品接收到無線網路信號強 度後與所述錢強度辟朗行此對。 本發明提供之猜土功能之自動_ WiFi功能之服務端(如電 僅需灰供具有 述電子產品自動測試WlFl功/,路由器就可實現所 買無線測試設備,更無需大^…、需錢本量之財力購 ^ , ^ ^ 之人力檢查設備與調試設 備即約了生產成本’且避务七^ 產品之信號干擾。 ‘、、、線测試設備與所述電子 ά ;;! 【實施方式】 請參閱圖1 ’實施本發明電; ^ . ^ 產品WiFi功能之自動測試方 法之硬體包括一待測喊之I有 、-具㈣⑴力能之電腦;功能之筆記本電腦100 方式中,所«iFi接收機為〜一Wm接收機,於本實施 ''無線路由器30。 [0016] 所述筆記本電腦1 〇 〇可接吹所 網路信號,通常測試所述筆/無線路由器30發出之無線 依次測試其無線網卡102' MAr本電腦100根據一預設順序 PING105、服務設置標緣藏1〇址103、ΙΡ位址104、 b、信號強度107、禁用/啟201042273 VI. Description of the Invention: [Technical Field] The present invention relates to a method for testing a WiFi function, and more particularly to a test method for automatically testing a WiFi function of an electronic product. [Prior Art] [0002] With the development of the world's technology, WiFi is increasingly used in electronic devices. Wireless (Wireless Fidelity), commonly known as wireless broadband, has similar functions to Bluetooth, but it is more widely used than Bluetooth. wide. Users can quickly browse the webpage in the WiFi coverage area, and receive calls from anywhere, anytime. Other WLAN-based broadband data applications, such as streaming media and online games, are worthy of users' expectations. With WiFi, we can make long-distance calls, browse the web, send and receive emails, download music, digital photos, and so on, without worrying about slow and expensive. Laptops are lightweight and easy to carry, so many manufacturers have introduced WiFi into their laptops. However, testing the WiFi function is a very troublesome thing. Usually, when testing the WiFi function, it takes a lot of money to purchase a wireless test device (such as a spectrum analyzer). ❹ Setting up a test environment requires a lot of manpower to debug the test equipment and process it. Test data, while a large number of test equipment together with the machine under test will cause signal interference, affecting the test results. SUMMARY OF THE INVENTION [0003] In view of the above, it is necessary to provide a test method for automatically testing the WiFi function of an electronic product. [0004] An automatic test method for an WiFi function of an electronic product, comprising the steps of: setting an automatic test module for the electronic product; the electronic product by 098116962, form number A0101, page 3/14 pages 0982028753-0 201042273 [0005] [0006] [0009] 098116962 - a WiFi receiver accesses a wireless network; the automatic test module tests functions and project modules of the electronic product; The test module sends the test results to the electronic product and the electronic product display test result report. Preferably, the function and the project module are at least one of a MAC address, an IP address, a PING function, a service setting label, a received signal strength, and a disabled or enabled wireless network of the electronic product. Preferably, the method further includes the step of: the electronic product is communicably connected to the WiFi-enabled server by the WiFi receiver, and the automatic test module of the electronic product is automatically sent to the server by the electronic product. Sending instructions to test the transmission quality of the electronic product. Preferably, the transmission quality comprises a throughput value or a wake-up function of the electronic product. Preferably, the automatic test module is pre-set with a standard value of the throughput, the automatic test module is to generate the electronic product as the service; the throughput value received by the terminal after communication and the communication The throughput standard value is compared and the result is sent to the electronic product. Preferably, the electronic product is pre-set with a sleep time value, and the sleep time value is sent to the server, and the server wakes up the electronic product according to the sleep time, and the automatic test module will Whether the electronic product can be awakened to the electronic product. Preferably, the throughput value received by the automatic test module is that the electronic product sends transmission data to the server, and the server receives the transmission data and sends the corresponding transmission data to the electronic device. product. Form No. A0101 Page 4 / 14 pages 0982028753- 201042273 _] 7 Select the ground, the electronic product sends its own IP address to the server's server when sending the sleep time value to 5 Then wake up the corresponding electronic product according to the received address. [1] Preferably, the method further includes the step of: automatically testing whether the electronic product has a wireless network card before testing the power module and the project module. Preferably, the automatic test module is pre-set with a signal strength standard value, and the two modules are paired with the money strength after the electronic product receives the wireless network signal strength. The invention provides the automatic _ WiFi function server of the guessing function (if the power only needs to be grayed out to have the electronic product automatic test WlFl function /, the router can realize the purchased wireless test equipment, and more need no big ^..., need money The amount of money purchased ^, ^ ^ human inspection equipment and commissioning equipment is about the production cost 'and the signal interference of the products of the seven products. ',,, line testing equipment and the electronic ά;;! Mode] Please refer to FIG. 1 'Implementing the invention's electricity; ^. ^ The hardware of the automatic test method for the WiFi function includes a computer that is to be tested, has a computer, and has a computer capable of functioning; The «iFi receiver is a ~Wm receiver, in the present embodiment of the 'wireless router 30. [0016] The notebook computer 1 can be connected to the network signal, usually tested by the pen / wireless router 30 Wirelessly test its wireless network card 102' MAr. The computer 100 is based on a preset sequence PING105, service setting flag edge address 103 address, frame address 104, b, signal strength 107, disable/start
L0013JL0013J
[0014] [0015] 098116962 表單煸號A0101 第5灵/共14 0982028753-0 201042273 用無線網路1 〇 8、通吐量值1 〇 9及喚醒功能1 1 〇。 [0017] [0018] 所述筆記本電腦1〇〇預先内置一自動測試模組101,所述 自動測試模組1〇1可自動測試是否安裝有無線網卡102, 還可藉由無線路由器30提供之無線網路自動發送指令測 試所述MAC位址103、所述IP位址104、所述PING105及 服務設置標誌號106是否存在。此外,所述自動測試模組 101預設有一信號強度標準值,並可將所述筆記本電腦 100接收到之無線網路信號值換成百分值後與所述信號強 度標準值進行比對。所述自動測試模組1 〇 1還可自動測試 所述筆記本電腦100是否能成功禁用/啟用無線網路。所 述自動測試模組101預設有一通吐量標準值,並將所述筆 記本電腦100與所述電腦20之間之通吐量值與所述通吐量 標準值進行比對後。所述自動測試模組預設有休眠時 間’所述電腦20根據所述休眠時間對所述筆記本電腦10〇 進行喚醒’所述自動測試模組101自動發送命令測試所述 筆記本電腦100是否能被喚醒。所述筆記本電腦100於所 .. . :Γ. 4 : 述自動測試模組101發送休眠時間給所%電腦20時同時將 自身I Ρ位址發送給所述電腦。所述自動測試模組1 〇 1可將 測試之結果傳輸給所述筆記本電腦100,由所述筆記本電 腦100之顯示器顯示出來。 所述電腦2 0可作為一個供所述筆記本電腦1 〇 〇自動測試 WiFi功能之服務端。 所述無線路由器30將所述電腦20及所述筆記本電腦1〇〇通 訊連接,並可輸出無線網路信號,由此構造一無線網路 環境。 098116962 表單編號A0101 第6頁/共14頁 0982028753-0 [0019] 201042273 [0020] [0021] [0022] Ο [0023] 〇 [0024] 請參閱圖2,本發明WiFi功能之自動測試方法,包括以下 步驟: S10 :所述自動測試模組101自動測試筆記本電腦100是 否具有無線網卡102,若有,則所述自動測試模組101列 出合格之結果;若無,則所述自動測試模組101列出不合 格之結果,然後進入S20。 S20 :所述自動測試模組101根據所述無線路由器30提供 之無線網路自動測試筆記本電腦1 〇 〇之MAC位址是否存在 ,若存在,則所述自動測試模組101列出合格之結果;若 不存在,則所述自動測試模組101列出不合格之結果,然 後進入S 3 0。 S30 :所述自動測試模組101根據所述無線路由器30提供 之無線網路自動測試筆記本電腦1 〇 〇之IP位址是否存在, 若存在,則所述自動測試模組101列出合格之結果;若不 存在,則所述自動測試模組101列出不合格之結果,然後 進入S101。 S40 :所述自動測試模組101根據所述無線路由器30提供 之無線網路自動測試其PING是否存在,且確認所述PING 是否能搜索出所述電腦20之IP位址,若能,則所述自動 測試模組101列出合格之結果;若無,則所述自動測試模 組101列出不合格之結果,然後進入S50。 S50 :所述自動測試模組101根據所述無線路由器30提供 之無線網路自動測試所述筆記本電腦100是否具有服務設 置標誌號,若有,則列出合格之結果;若無,則列出不 098116962 表單編號A0101 第7頁/共14頁 0982028753-0 [0025] 201042273 合格之結果,然後進入S60。 [0026] [0027] [0028] [0029] S60 :所述筆記本電腦1〇〇接收所述無線路由器30提供之 無線網路信號,所述自動測試模組101將所述無線網路信 號與所述信號強度標準值進行比對後判斷所述無線網路 信號是否可行,於其大於或等於所述信號強度標準值時 列出合格之結果,於其小於所述信號強度標準值時列出 不合格之結果,然後進入S70。此外,所述筆記本100於 測試網路信號強度時可根據所述筆記本1 0 0與所述無線路 由器30之間之距離顯示出不同之信號強度,如距離s = 100 時’信號強度= 40% ;距離s = 50時,信號強度= 80%,由此 得出網路信號強度與距離之間之關係。 S70 :所述自動測試模組ιοί根據所述無線路由器3〇提供 之無線網路自動測試所述筆記本電腦l〇G是否能選擇禁用 /啟用之功能,若能,則列出合格之結果;若不能,則列 出不合格之結果,然後進入S80 ? S80 ·所述筆記本電腦1〇〇於一定之時間内向所述電腦 傳輸一資料,如100K/10S ’ ^述電腦2〇將接收到之資料 又發送給所述筆記本電腦100,並由此得出一通吐量值 1 0K/S,所述自動測试模組1 〇 1將所述筆記本電腦1 〇〇接 收到之通吐量值與所述通吐量標準值進行比對後判斷所 述通吐量值是否可行,於其大於或等於所述通吐量標準 值時列出合格之結果;於其小於所述通吐量標準值時列 出不合格之結果’然後進入S90。 S90 :所述筆記本電腦100向所述電腦別發送一休眠時間 098116962 表單編號A0101 第8頁/共14頁 0982028753-0 201042273 及自身之IP位址,所述電腦20根據接收到之休眠時間及 IP位址喚醒相應之筆記本電腦1 00,所述自動測試模組 101判斷所述筆記本電腦100是否被成功喚醒,若係,則 列出合格之結果;若所述筆記本電腦1 00未被喚醒則列出 不合格之結果,然後進入S100。 [0030] Ο [0031] [0032] Ο [0033] S100 :所述筆記本電腦100之顯示器將所述自動測試模組 101列出之結果顯示出是否合格之報告以此確認所述筆記 本電腦100是否合格,相關人員根據所述筆記本100顯示 之不合格之報告對筆記本電腦100進行修理。 綜上所述,本發明確已符合發明專利要求,爰依法提出 專利申請。惟,以上所述者僅為本發明之較佳實施方式 ,舉凡熟悉本發明技藝之人士,爰依本發明之精神所作 之等效修飾或變化,皆應涵蓋於以下之申請專利範圍内 0 【圖式簡單說明】 圖1係本發明電子產品W1F i功能之自動測試方法之結構示 意圖。 圖2係本發明電子產品WiFi功能之自動測試方法之筆記本 電腦之測試流程圖。 【主要元件符號說明】 [0034] 計算機 20 無線路由器 30 筆記本電腦 100 自動測試模組 101 無線網卡 102 MAC位址 103 IP位址 104 PING 105 表單編號A0101 第9頁/共14頁 0982028753-0 098116962 201042273 服務設置標誌 106 信號強度 107 號 禁用/啟用無 108 通吐量值 109 線網際網路 喚醒功能 110 098116962 表單編號A0101 第10頁/共14頁 0982028753-0[0015] [0015] 098116962 Form nickname A0101 5th / total 14 0982028753-0 201042273 With wireless network 1 〇 8, throughput value 1 〇 9 and wake-up function 1 1 〇. [0018] [0018] The notebook computer 1A is pre-built with an automatic test module 101, and the automatic test module 101 can automatically test whether the wireless network card 102 is installed, and can also be provided by the wireless router 30. The wireless network automatically sends an instruction to test whether the MAC address 103, the IP address 104, the PING 105, and the service setting flag number 106 are present. In addition, the automatic test module 101 presets a signal strength standard value, and can compare the wireless network signal value received by the notebook computer 100 to a percentage value and compare it with the signal strength standard value. The automatic test module 1 还可 1 can also automatically test whether the notebook computer 100 can successfully disable/enable the wireless network. The automatic test module 101 presets a standard value of the throughput, and compares the throughput value between the notebook computer 100 and the computer 20 with the standard value of the throughput. The automatic test module is pre-set with a sleep time. The computer 20 wakes up the laptop computer 10 according to the sleep time. The automatic test module 101 automatically sends a command to test whether the notebook computer 100 can be wake. The notebook computer 100 is configured to transmit the sleep time to the % computer 20 while transmitting the self address to the computer. The automatic test module 1 〇 1 can transmit the test result to the notebook computer 100 for display by the display of the notebook computer 100. The computer 20 can be used as a server for automatically testing the WiFi function of the notebook computer. The wireless router 30 communicatively connects the computer 20 and the notebook computer and can output a wireless network signal, thereby constructing a wireless network environment. 098116962 Form No. A0101 Page 6 / Total 14 Page 0992028753-0 [0019] [0022] [0022] [0024] Please refer to FIG. 2, an automatic test method for the WiFi function of the present invention, including The following steps: S10: The automatic test module 101 automatically tests whether the notebook computer 100 has a wireless network card 102, and if so, the automatic test module 101 lists the qualified results; if not, the automatic test module 101 lists the results of the failure and then proceeds to S20. S20: The automatic test module 101 automatically tests whether the MAC address of the notebook computer 1 exists according to the wireless network provided by the wireless router 30. If yes, the automatic test module 101 lists the qualified result. If not, the automatic test module 101 lists the results of the failure and then proceeds to S 3 0. S30: The automatic test module 101 automatically tests whether the IP address of the notebook computer 1 exists according to the wireless network provided by the wireless router 30. If yes, the automatic test module 101 lists the qualified result. If not, the automatic test module 101 lists the result of the failure, and then proceeds to S101. S40: The automatic test module 101 automatically tests whether the PING exists according to the wireless network provided by the wireless router 30, and confirms whether the PING can search for the IP address of the computer 20, and if so, The automatic test module 101 lists the qualified results; if not, the automatic test module 101 lists the unqualified results, and then proceeds to S50. S50: The automatic test module 101 automatically tests whether the notebook computer 100 has a service setting flag number according to the wireless network provided by the wireless router 30, and if yes, lists the qualified results; if not, lists the qualified results; No 098116962 Form No. A0101 Page 7 / Total 14 Page 0982028753-0 [0025] 201042273 Qualified result, then enter S60. [0029] [0029] S60: the notebook computer 1〇〇 receives the wireless network signal provided by the wireless router 30, and the automatic test module 101 compares the wireless network signal with the wireless network signal Determining whether the wireless network signal is feasible after comparing the signal strength standard values, and listing a qualified result when it is greater than or equal to the signal strength standard value, and listing when it is less than the signal strength standard value Qualified results, then enter S70. In addition, the notebook 100 can display different signal strengths according to the distance between the notebook 100 and the wireless router 30 when testing the network signal strength, such as when the distance s = 100, the signal strength = 40%. When the distance s = 50, the signal strength = 80%, which gives the relationship between the strength of the network signal and the distance. S70: the automatic test module ιοί automatically tests whether the notebook computer can select the disable/enable function according to the wireless network provided by the wireless router 3, and if so, lists the qualified results; If not, list the results of the non-conformity, and then enter S80? S80. The notebook computer 1 transmits a data to the computer within a certain period of time, such as 100K/10S '^The computer 2 will receive the data. And sent to the notebook computer 100, and thereby obtain a throughput value of 1 0K / S, the automatic test module 1 〇 1 will receive the throughput value of the notebook computer 1 Determining whether the throughput value is feasible after comparing the standard value of the throughput, and listing the qualified result when it is greater than or equal to the standard value of the throughput; when it is less than the standard value of the throughput List the results of the failures' and then enter S90. S90: The notebook computer 100 sends a sleep time 098116962 form number A0101 page 8/14 pages 0982028753-0 201042273 and its own IP address to the computer, and the computer 20 receives the sleep time and IP according to the IP address. The address wakes up the corresponding notebook computer 100, and the automatic test module 101 determines whether the notebook computer 100 is successfully awake, if so, lists the qualified results; if the notebook computer 100 is not awake, the column If the result is unsatisfactory, then go to S100. [0030] 100 [0033] S100: The display of the notebook computer 100 displays a report indicating whether the result of the automatic test module 101 is qualified to confirm whether the notebook computer 100 is Qualified, the relevant personnel repair the notebook computer 100 according to the report of the failure of the notebook 100 display. In summary, the present invention has indeed met the requirements of the invention patent, and has filed a patent application according to law. The above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art of the present invention should be included in the following claims. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic structural view of an automatic test method for the function of the electronic product W1F i of the present invention. 2 is a flow chart of testing a notebook computer of the automatic test method for the WiFi function of the electronic product of the present invention. [Main component symbol description] [0034] Computer 20 Wireless router 30 Notebook computer 100 Automatic test module 101 Wireless network card 102 MAC address 103 IP address 104 PING 105 Form number A0101 Page 9 of 14 0982028753-0 098116962 201042273 Service setting flag 106 Signal strength 107 No. Disable/Enable No 108 Transmit value 109 Line Internet Wake-up function 110 098116962 Form number A0101 Page 10 of 14 0982028753-0