CN104640142A - Automatic wireless network card test method - Google Patents
Automatic wireless network card test method Download PDFInfo
- Publication number
- CN104640142A CN104640142A CN201310574205.6A CN201310574205A CN104640142A CN 104640142 A CN104640142 A CN 104640142A CN 201310574205 A CN201310574205 A CN 201310574205A CN 104640142 A CN104640142 A CN 104640142A
- Authority
- CN
- China
- Prior art keywords
- network card
- wireless network
- signal
- wireless
- test
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000010998 test method Methods 0.000 title description 2
- 238000012360 testing method Methods 0.000 claims abstract description 40
- 238000000034 method Methods 0.000 claims abstract description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/10—Scheduling measurement reports ; Arrangements for measurement reports
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Monitoring And Testing Of Transmission In General (AREA)
Abstract
一种无线网卡自动测试方法,其包括步骤:(1)将机台放置入具有无线接入点的设备中;(2)获取所述机台无线网卡的型号描述,所述无线网卡具有若干网卡天线;(3)获取所述无线网卡的模式及所述网卡天线的个数;(4)由各所述网卡天线接收无线信号并生成的信号值;(5)获取设定档,所述设定档包括各所述网卡天线对应的信号阈值;(6)判断各所述信号值是否大于对应的各所述信号阈值,若全部大于则执行步骤(7),若至少一个不大于则执行步骤(8);(7)测试成功,则记录结果并上传伺服器;(8)测试失败,则记录结果并上传伺服器。本发明避免了外界干扰导致及不能确保信号强度导致测试结果不准确的问题。
A method for automatically testing a wireless network card, comprising the steps of: (1) placing a machine into a device with a wireless access point; (2) obtaining a model description of the wireless network card of the machine, the wireless network card having several network cards Antenna; (3) Obtain the mode of the wireless network card and the number of the antennas of the network card; (4) Receive the signal value of the wireless signal generated by each antenna of the network card; (5) Obtain the setting file, the setting The setting includes the signal thresholds corresponding to each of the network card antennas; (6) judging whether each of the signal values is greater than the corresponding signal thresholds, if all are greater than the step (7), if at least one is not greater than the step (8); (7) If the test is successful, record the result and upload it to the server; (8) if the test fails, record the result and upload it to the server. The invention avoids the problems of inaccurate test results caused by external interference and inability to ensure signal strength.
Description
【技术领域】【Technical field】
本发明涉及一种自动测试方法,具体涉及一种无线网卡自动测试方法。The invention relates to an automatic testing method, in particular to a wireless network card automatic testing method.
【背景技术】【Background technique】
随着电子通信业的发展,在电子产品与外界通信的过程中,无线通信方式越来越为人们所青睐。对于笔记本电脑而言,其配置的无线网卡越来越希望能工作在多种模式下,从而覆盖到多个频段。因此,对其相应配置有两个、三个或者更多的天线。With the development of the electronic communication industry, in the process of communication between electronic products and the outside world, wireless communication methods are increasingly favored by people. For notebook computers, it is more and more expected that the wireless network card configured therein can work in multiple modes, thereby covering multiple frequency bands. Therefore, two, three or more antennas are configured accordingly.
现有技术中,对无线网卡信号的测试只是在外界随机搜索无线AP(AccessPoint简称;无线接入点),然后找到无线AP的接入名称,进而通过档案的传输以测试无线信号的强度。然而,一方面在外界测试会产生信号的干扰,且传输档案只需弱小的无线信号即可实现,从而不能确保是否达到一定的信号强度,使得测试的结果不准确,另一方面测试的过程全部为人为操作、人为判断,易产生误判,漏看等现象,从而不能保证产品的质量。In the prior art, the test of the wireless network card signal is just to randomly search the wireless AP (AccessPoint for short; wireless access point) in the outside world, and then find the access name of the wireless AP, and then test the strength of the wireless signal through file transmission. However, on the one hand, external testing will cause signal interference, and the transmission of files only needs a weak wireless signal, so it cannot be guaranteed whether a certain signal strength is reached, making the test results inaccurate; on the other hand, the testing process is complete. Human operation and human judgment are prone to misjudgment and omission, so the quality of the product cannot be guaranteed.
有鉴于此,实有必要提供一种无线网卡自动测试方法,以解决上述会产生信号干扰、不能确保信号强度及测试结果不准确的问题。In view of this, it is necessary to provide an automatic test method for wireless network cards to solve the above-mentioned problems of signal interference, inability to ensure signal strength and inaccurate test results.
【发明内容】【Content of invention】
因此,本发明的目的是提供一种无线网卡自动测试方法,以解决上述问题。Therefore, the purpose of the present invention is to provide a wireless network card automatic testing method to solve the above problems.
为了达到上述目的,本发明提供的无线网卡自动测试方法,其包括以下步骤:In order to achieve the above object, the wireless network card automatic testing method provided by the present invention comprises the following steps:
(1)将机台放置入具有无线接入点的设备中,所述无线接入点用于发射无线信号;(1) Put the machine into a device with a wireless access point, which is used to transmit wireless signals;
(2)获取所述机台无线网卡的型号描述,所述无线网卡具有若干网卡天线;(2) Obtain the model description of the wireless network card of the machine, and the wireless network card has several network card antennas;
(3)根据所述无线网卡的型号描述从而获取所述无线网卡的模式及所述网卡天线的个数;(3) Obtaining the mode of the wireless network card and the number of antennas of the network card according to the model description of the wireless network card;
(4)由各所述网卡天线接收无线信号并将生成的信号值存储于测试文档中;(4) receiving the wireless signal by each network card antenna and storing the generated signal value in the test file;
(5)获取设定档,所述设定档包括各所述网卡天线对应的信号阈值;(5) Obtaining a configuration file, the configuration file includes signal thresholds corresponding to each of the network card antennas;
(6)判断各所述信号值是否大于对应的各所述信号阈值,若全部大于则执行步骤(7),若至少一个不大于则执行步骤(8);(6) Judging whether each of the signal values is greater than the corresponding signal thresholds, if all are greater, perform step (7), if at least one is not greater, then perform step (8);
(7)测试成功,则记录结果并上传伺服器;(7) If the test is successful, record the result and upload it to the server;
(8)测试失败,则记录结果并上传伺服器。(8) If the test fails, record the result and upload it to the server.
较佳的,在步骤(5)中,所述设定档还包括上传伺服器的地址。Preferably, in step (5), the configuration file also includes the address of the upload server.
较佳的,在步骤(2)中,所述无线网卡的型号描述通过所述机台中的注册表(NETWORK)获取。Preferably, in step (2), the model description of the wireless network card is obtained through a registry (NETWORK) in the machine.
较佳的,在步骤(5)中,所述信号阈值为所述信号值的最小值。Preferably, in step (5), the signal threshold is the minimum value of the signal value.
较佳的,所述信号值及所述信号阈值均为RSSI(Received Signal StrengthIndicator)值。Preferably, both the signal value and the signal threshold are RSSI (Received Signal Strength Indicator) values.
相较于现有技术,本发明通过将机台转入设备中进行测试,从而避免了外界干扰导致及不能确保信号强度导致测试结果的不准确,而且通过设定档中的信号阈值又确保了无线信号的强度,同时本发明将人工测试转为程序的自动测试,从而避免了人为测试的缺陷。Compared with the prior art, the present invention transfers the machine into the equipment for testing, thereby avoiding the inaccuracy of test results caused by external interference and the inability to ensure signal strength, and the signal threshold in the setting file ensures The strength of the wireless signal, and at the same time, the present invention converts the manual test into the automatic test of the program, thereby avoiding the defects of the manual test.
【附图说明】【Description of drawings】
图1绘示为本发明无线网卡自动测试方法的流程图。FIG. 1 is a flowchart of an automatic testing method for a wireless network card of the present invention.
【具体实施方式】【Detailed ways】
为了达到上述目的,本发明提供的无线网卡自动测试方法,其包括以下步骤:In order to achieve the above object, the wireless network card automatic testing method provided by the present invention comprises the following steps:
步骤101:将机台放置入具有无线接入点的设备中,所述无线接入点用于发射无线信号;Step 101: placing the machine into a device with a wireless access point, the wireless access point is used to transmit wireless signals;
步骤102:获取所述机台无线网卡的型号描述,所述无线网卡具有若干网卡天线;Step 102: Obtain the model description of the wireless network card of the machine, and the wireless network card has several network card antennas;
步骤103:根据所述无线网卡的型号描述从而获取所述无线网卡的模式及所述网卡天线的个数;Step 103: Obtain the mode of the wireless network card and the number of antennas of the network card according to the model description of the wireless network card;
步骤104:由各所述网卡天线接收无线信号并将生成的信号值存储于测试文档中;Step 104: receiving wireless signals by each network card antenna and storing the generated signal values in the test file;
步骤105:获取设定档,所述设定档包括各所述网卡天线对应的信号阈值;Step 105: Obtain a configuration file, the configuration file includes signal thresholds corresponding to each of the network card antennas;
步骤106:判断各所述信号值是否大于对应的各所述信号阈值,若全部大于则执行步骤107,若至少一个不大于则执行步骤108;Step 106: judging whether each of the signal values is greater than the corresponding signal thresholds, if all are greater, then perform step 107, if at least one is not greater, then perform step 108;
步骤107:测试成功,则记录结果并上传伺服器;Step 107: if the test is successful, record the result and upload it to the server;
步骤108:测试失败,则记录结果并上传伺服器。Step 108: If the test fails, record the result and upload it to the server.
于本实施例中,在步骤105中,所述设定档还包括上传伺服器的地址。In this embodiment, in step 105, the configuration file further includes the address of the upload server.
于本实施例中,在步骤102中,所述无线网卡的型号描述通过所述机台中的注册表(NETWORK)获取。In this embodiment, in step 102, the model description of the wireless network card is acquired through a registry (NETWORK) in the machine.
于本实施例中,在步骤105中,所述信号阈值为所述信号值的最小值。In this embodiment, in step 105, the signal threshold is the minimum value of the signal value.
于本实施例中,所述信号值及所述信号阈值均为RSSI(Received SignalStrength Indicator)值。In this embodiment, both the signal value and the signal threshold are RSSI (Received Signal Strength Indicator) values.
其中的RSSI(Received Signal Strength Indicator;接收的信号强度)是无线发送层的可选部分,用来判定链接质量,以及是否增大广播发送强度的指标。Among them, RSSI (Received Signal Strength Indicator; received signal strength) is an optional part of the wireless transmission layer, which is used to determine the quality of the link and whether to increase the broadcast transmission strength.
本发明通过将机台转入设备中进行测试,从而避免了外界干扰导致及不能确保信号强度导致测试结果的不准确,而且通过设定档中的信号阈值又确保了无线信号的强度,同时本发明将人工测试转为程序的自动测试,从而避免了人为测试的缺陷。The present invention transfers the machine into the equipment for testing, thereby avoiding the inaccuracy of the test results caused by external interference and the inability to ensure the signal strength, and ensuring the strength of the wireless signal by setting the signal threshold in the file. The invention converts manual testing into program automatic testing, thereby avoiding the defects of manual testing.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310574205.6A CN104640142A (en) | 2013-11-15 | 2013-11-15 | Automatic wireless network card test method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310574205.6A CN104640142A (en) | 2013-11-15 | 2013-11-15 | Automatic wireless network card test method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN104640142A true CN104640142A (en) | 2015-05-20 |
Family
ID=53218344
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310574205.6A Pending CN104640142A (en) | 2013-11-15 | 2013-11-15 | Automatic wireless network card test method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104640142A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI721689B (en) * | 2019-12-06 | 2021-03-11 | 群邁通訊股份有限公司 | Testing system and method |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080004042A1 (en) * | 2004-09-10 | 2008-01-03 | Dietrich Paul F | Enhanced Wireless Node Location using Differential Signal Strength Metric |
| CN101349982A (en) * | 2007-07-20 | 2009-01-21 | 环达电脑(上海)有限公司 | Method for testing network card automatic switchover velocity mode under Windows |
| CN101895902A (en) * | 2009-05-18 | 2010-11-24 | 鸿富锦精密工业(深圳)有限公司 | Automatic testing method for WiFi (Wireless Fidelity) function of electronic product |
| CN102655435A (en) * | 2011-03-03 | 2012-09-05 | 神讯电脑(昆山)有限公司 | Signal testing system and method of multi-antenna wireless network card |
-
2013
- 2013-11-15 CN CN201310574205.6A patent/CN104640142A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080004042A1 (en) * | 2004-09-10 | 2008-01-03 | Dietrich Paul F | Enhanced Wireless Node Location using Differential Signal Strength Metric |
| CN101349982A (en) * | 2007-07-20 | 2009-01-21 | 环达电脑(上海)有限公司 | Method for testing network card automatic switchover velocity mode under Windows |
| CN101895902A (en) * | 2009-05-18 | 2010-11-24 | 鸿富锦精密工业(深圳)有限公司 | Automatic testing method for WiFi (Wireless Fidelity) function of electronic product |
| CN102655435A (en) * | 2011-03-03 | 2012-09-05 | 神讯电脑(昆山)有限公司 | Signal testing system and method of multi-antenna wireless network card |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI721689B (en) * | 2019-12-06 | 2021-03-11 | 群邁通訊股份有限公司 | Testing system and method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2019537339A5 (en) | ||
| JP2011525781A5 (en) | ||
| JP2014011539A5 (en) | ||
| CN104811524B (en) | A kind of terminal radio frequency performance test methods and its device | |
| JP2014150517A5 (en) | ||
| JP2015092706A5 (en) | ||
| TWI456935B (en) | Communication method, base station device, mobile terminal device and wireless communication system | |
| JP2014135773A5 (en) | Wireless terminal, processor, wireless base station and method | |
| US10140853B2 (en) | Household appliances infrared remote waveform replication learning method and system | |
| JP2021503760A5 (en) | ||
| WO2018040355A1 (en) | Radio frequency detection method and system | |
| JP2016012916A5 (en) | ||
| GB2565680A (en) | Client device and method for analysis of a predetermined set of parameters associated with radio coupling to a WLAN | |
| CN111756597B (en) | Wireless module testing system, method and device applied to gateway | |
| CN106199237A (en) | System for testing equipment antenna | |
| CN105790859A (en) | Method and apparatus for testing electronic device | |
| CN107786993A (en) | A kind of signal testing method and device | |
| CN107018223A (en) | One kind is used for mobile phone radio frequency signal testing method and system | |
| CN106776301B (en) | Subelement testing method and device | |
| CN109873710A (en) | A method and device for estimating network coverage performance | |
| CN103152113A (en) | Method and device for testing equipment | |
| CN105577301A (en) | A testing method and testing terminal | |
| CN104640142A (en) | Automatic wireless network card test method | |
| CN104158613B (en) | In a kind of less radio-frequency test, calibration test method surveyed by plate | |
| CN110313194A (en) | It sends information and measurement receives method, equipment and the system of power |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150520 |
|
| RJ01 | Rejection of invention patent application after publication |