[go: up one dir, main page]

TWI858971B - WiFi TESTING METHOD, WIFI TESTING DEVICE, ELECTRONIC APPARATUS AND COMPUTER READABLE MEDIUM - Google Patents

WiFi TESTING METHOD, WIFI TESTING DEVICE, ELECTRONIC APPARATUS AND COMPUTER READABLE MEDIUM Download PDF

Info

Publication number
TWI858971B
TWI858971B TW112140030A TW112140030A TWI858971B TW I858971 B TWI858971 B TW I858971B TW 112140030 A TW112140030 A TW 112140030A TW 112140030 A TW112140030 A TW 112140030A TW I858971 B TWI858971 B TW I858971B
Authority
TW
Taiwan
Prior art keywords
test
wifi
antenna
signal
target device
Prior art date
Application number
TW112140030A
Other languages
Chinese (zh)
Other versions
TW202504349A (en
Inventor
宋超
蔡儀鵬
謝誠
王磊
楊建坤
陳龍
Original Assignee
大陸商立訊智造(浙江)有限公司
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 大陸商立訊智造(浙江)有限公司 filed Critical 大陸商立訊智造(浙江)有限公司
Application granted granted Critical
Publication of TWI858971B publication Critical patent/TWI858971B/en
Publication of TW202504349A publication Critical patent/TW202504349A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/15Performance testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/29Performance testing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The present invention discloses a WIFI testing method, a WIFI testing device, an electronic apparatus, and a computer readable medium. The WIFI testing method includes: ensuring a plurality of testing positions when a testing command is triggered, wherein different testing positions have different relative positions for a testing antenna; controlling a target apparatus corresponding to the testing command to perform WiFi testing on each of the plurality of testing positions; obtaining the testing result of the WiFi testing and generating a calibration parameter according to the testing result of the WiFi testing. The target apparatus is controlled to perform the WiFi testing on different relative positions for the testing antenna to measure the performance of the target apparatus under different conditions. Furthermore, the deviation of the WiFi function of the target apparatus may be calibrated based on the calibration parameter generated by the testing result to ensure the accuracy of the WiFi function of the target apparatus in actual use.

Description

WiFi測試方法、WiFi測試裝置、電子設備及電腦可讀取 記錄媒體 WiFi testing method, WiFi testing device, electronic equipment and computer readable recording medium

本申請涉及設備測試領域,尤其涉及一種WiFi測試方法、WiFi測試裝置、電子設備及電腦可讀取記錄媒體。 This application relates to the field of equipment testing, and in particular to a WiFi testing method, WiFi testing device, electronic equipment, and computer-readable recording media.

近些年來隨著智能穿戴産品不斷發展及演進,智能手錶大多具有wifi通訊功能;智能手錶體積非常小,但容納很多零件,這就導致在生産過程中有很多的不確定因素影響手錶WiFi的射頻信號,使得手錶WiFi的性能與期望性能存在差異,即便是微小的差異在使用者實際的體驗中也可能會産生較大的性能偏差。 In recent years, with the continuous development and evolution of smart wearable products, most smart watches have wifi communication functions; smart watches are very small in size, but contain many parts, which leads to many uncertain factors affecting the RF signal of the watch WiFi during the production process, making the performance of the watch WiFi different from the expected performance. Even a small difference may produce a large performance deviation in the actual user experience.

本申請提供了一種WiFi測試方法、WiFi測試裝置、電子設備及電腦可讀取記錄媒體,旨在解決現有技術中智能手錶WiFi的性能存在偏差的技術問題。 This application provides a WiFi testing method, WiFi testing device, electronic equipment and computer-readable recording medium, aiming to solve the technical problem of performance deviation of smart watch WiFi in the existing technology.

為了解決上述技術問題或者至少部分地解決上述技術問題,本申請提供了一種WiFi測試方法,WiFi測試方法方法包括步驟:若觸發測試指令,確定多個測試位置,其中,不同的測試位置與測試天線之間的相對位置不同; 控制測試指令對應的目標設備分別在各測試位置進行WiFi測試操作;獲取WiFi測試操作的測試結果,並根據測試結果生成校準參數。可選地,測試位置包括第一測試位置與第二測試位置,確定多個測試位置的步驟包括:獲取第一測試位置與測試天線之間的第一距離,其中,第一測試位置與測試天線在水平面投影中心對齊,第一距離為WiFi信號波長的第一倍數。 In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides a WiFi test method, which includes the steps of: if a test instruction is triggered, determining multiple test positions, wherein different test positions have different relative positions with the test antenna; controlling the target device corresponding to the test instruction to perform WiFi test operations at each test position respectively; obtaining the test results of the WiFi test operation, and generating calibration parameters according to the test results. Optionally, the test position includes a first test position and a second test position, and the step of determining multiple test positions includes: obtaining a first distance between the first test position and the test antenna, wherein the first test position and the test antenna are aligned at the center of the horizontal plane projection, and the first distance is the first multiple of the WiFi signal wavelength.

獲取第二測試位置對應的第二距離,其中,第二距離為WiFi信號波長的第二倍數,第一倍數與第二倍數不同。 Obtain a second distance corresponding to the second test position, wherein the second distance is the second multiple of the WiFi signal wavelength, and the first multiple is different from the second multiple.

根據第一距離以及第二距離確定第二測試位置。 Determine the second test position based on the first distance and the second distance.

可選地,WiFi測試操作包括:發送第一測試信號至目標設備,以使目標設備發送與第一測試信號對應的第一射頻信號至WiFi分析儀;獲取WiFi分析儀基於第一射頻信號採集的第一檢測信號,根據第一檢測信號對目標設備的發送性能進行測試;發送第二測試信號至WiFi分析儀,以使WiFi分析儀透過測試天線發送與第二測試信號對應的第二射頻信號至目標設備;獲取目標設備基於第二射頻信號採集的第二檢測信號,根據第二檢測信號對目標設備的信號靈敏度進行測試。 Optionally, the WiFi test operation includes: sending a first test signal to the target device, so that the target device sends a first radio frequency signal corresponding to the first test signal to the WiFi analyzer; obtaining a first detection signal collected by the WiFi analyzer based on the first radio frequency signal, and testing the transmission performance of the target device according to the first detection signal; sending a second test signal to the WiFi analyzer, so that the WiFi analyzer sends a second radio frequency signal corresponding to the second test signal to the target device through a test antenna; obtaining a second detection signal collected by the target device based on the second radio frequency signal, and testing the signal sensitivity of the target device according to the second detection signal.

可選地,第二射頻信號包括多個第一子信號以及多個第二子信號,多個第一子信號的發射功率相同且多個第一子信號的頻率偏移不同,多個第二子信號的多個頻率偏移相同且多個第二子信號的發射功率不同。 Optionally, the second radio frequency signal includes multiple first sub-signals and multiple second sub-signals, the multiple first sub-signals have the same transmission power and different frequency offsets, and the multiple second sub-signals have the same frequency offsets and different transmission powers.

可選地,根據第二檢測信號對目標設備的信號靈敏度進行測試的步驟包括:獲取第二測試信號對應的靈敏度標準參數;根據靈敏度標準參數與第二檢測信號確定WiFi失效值;根據WiFi失效值確定目標設備的信號靈敏度。 Optionally, the step of testing the signal sensitivity of the target device according to the second detection signal includes: obtaining a sensitivity standard parameter corresponding to the second test signal; determining a WiFi failure value according to the sensitivity standard parameter and the second detection signal; and determining the signal sensitivity of the target device according to the WiFi failure value.

為實現上述目的,本發明還提供一種WIFI測試裝置,WIFI測試裝置包括控制模組、WiFi分析儀、測試天線、運輸設備,控制模組分別與WiFi分析儀以及運輸設備連接,WiFi分析儀與測試天線連接,運輸設備與目標設備連接;其中,控制模組用於執行下列步驟:在觸發測試指令時,確定多個測試位置;控制運輸設備動作,以使運輸設備攜帶測試指令對應的目標設備移動至各測試位置;透過運輸設備與目標設備通訊,透過WiFi分析儀與測試天線通訊以進行WiFi測試操作;獲取WiFi測試操作的測試結果,並根據測試結果確定目標設備是否合格。 To achieve the above purpose, the present invention also provides a WIFI test device, which includes a control module, a WiFi analyzer, a test antenna, and a transport device. The control module is connected to the WiFi analyzer and the transport device respectively, the WiFi analyzer is connected to the test antenna, and the transport device is connected to the target device; wherein the control module is used to perform the following steps: when a test instruction is triggered, multiple test locations are determined; the transport device is controlled to move with the target device corresponding to the test instruction to each test location; the transport device communicates with the target device through the transport device, and the WiFi analyzer communicates with the test antenna to perform a WiFi test operation; the test result of the WiFi test operation is obtained, and whether the target device is qualified is determined according to the test result.

可選地,WiFi測試裝置還包括Z軸軌道與X軸軌道,X軸軌道設置於水平面,X軸軌道與Z軸軌道位於同一垂直平面,且Z軸軌道垂直於X軸軌道,測試天線可移動地設置於Z軸軌道,運輸設備可移動地設置於X軸軌道。 Optionally, the WiFi test device further includes a Z-axis track and an X-axis track, the X-axis track is arranged on a horizontal plane, the X-axis track and the Z-axis track are located in the same vertical plane, and the Z-axis track is perpendicular to the X-axis track, the test antenna is movably arranged on the Z-axis track, and the transport equipment is movably arranged on the X-axis track.

可選地,測試天線包括2.4G天線以及5G天線,測試位置包括第二測試位置;其中,第二測試位置在2.4G天線和5G天線連線上的投影位於2.4G天線和5G天線連線的中點。 Optionally, the test antenna includes a 2.4G antenna and a 5G antenna, and the test position includes a second test position; wherein the projection of the second test position on the connection line between the 2.4G antenna and the 5G antenna is located at the midpoint of the connection line between the 2.4G antenna and the 5G antenna.

為實現上述目的,本發明還提供一種電子設備,電子設備包括記憶體、處理器和儲存在記憶體上並可在處理器上運行的電腦程式,電腦程式被處理器執行時實現如上所述的WiFi測試方法的步驟。 To achieve the above purpose, the present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the WiFi test method described above are implemented.

為實現上述目的,本發明還提供一種電腦可讀取記錄媒體,電腦可讀取記錄媒體上儲存電腦程式,所述電腦程式被處理器執行時實現如上所述的WIFI測試方法的步驟。 To achieve the above purpose, the present invention also provides a computer-readable recording medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the WIFI testing method described above are implemented.

本發明提出的一種WiFi測試方法、WiFi測試裝置、電子設備及電腦可讀取記錄媒體,若觸發測試指令,確定多個測試位置,其中,不同的測試位置與測試天線之間的相對位置不同;控制測試指令對應的目標設備分別在各測試位置進行WiFi測試操作;獲取WiFi測試操作的測試結果,並根據測試結果生成校準參數。透過在與測試天線不同的相對位置上對目標設備進行WiFi測試操作,使得能夠檢測到目標設備不同場景下的性能,進而基於實際測試結果生成校準參數,使得能夠對目標設備WiFi功能的偏差進行矯正,保證目標設備在實際應用中WiFi功能的準確。 The present invention proposes a WiFi test method, WiFi test device, electronic equipment and computer-readable recording medium. If a test instruction is triggered, multiple test positions are determined, wherein different test positions have different relative positions with respect to the test antenna; the target device corresponding to the test instruction is controlled to perform WiFi test operations at each test position; the test results of the WiFi test operation are obtained, and calibration parameters are generated according to the test results. By performing WiFi test operations on the target device at a relative position different from the test antenna, the performance of the target device in different scenarios can be detected, and then calibration parameters are generated based on the actual test results, so that the deviation of the WiFi function of the target device can be corrected, thereby ensuring the accuracy of the WiFi function of the target device in actual applications.

100:控制模組 100: Control module

200:WiFi分析儀 200: WiFi Analyzer

300:測試天線 300: Test antenna

310:2.4G天線 310:2.4G antenna

320:5G天線 320:5G antenna

400:運輸設備 400: Transportation equipment

511:Z軸軌道 511:Z axis track

512:高度刻度尺 512: Height scale

513:X軸軌道 513:X-axis track

520:天線支架 520: Antenna bracket

531:2.4G天線刻度尺 531:2.4G antenna scale

532:5G天線刻度尺 532:5G antenna scale

600:電磁氣動閥 600: Electromagnetic pneumatic valve

S10、S20、S30:步驟 S10, S20, S30: Steps

S1:第一測試位置 S1: First test position

S2:第二測試位置 S2: Second test position

H1:第一距離 H1: First distance

H2:第二距離 H2: Second distance

此處的附圖被併入說明書中並構成本說明書的一部分,示出符合本發明的實施例,並與說明書一起用於解釋本發明的原理。為了更清楚地說明本發明實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的附圖作簡單地介紹。顯而易見地,對於所屬技術領域中具有通常知識者而言,在不付出進步性勞動性的前提下,還可以根據這些附圖獲得其他的附圖。 The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present invention, and together with the specification, are used to explain the principle of the present invention. In order to more clearly explain the technical solutions in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art description will be briefly introduced below. Obviously, for those with ordinary knowledge in the relevant technical field, other drawings can be obtained based on these drawings without paying progressive labor.

圖1為本發明WiFi測試方法第一實施例的流程示意圖;圖2為本發明WiFi測試裝置的模組結構圖; 圖3為本發明WiFi測試裝置的結構示意圖;圖4為本發明電子設備的模組結構示意圖。 Figure 1 is a schematic diagram of the process of the first embodiment of the WiFi test method of the present invention; Figure 2 is a module structure diagram of the WiFi test device of the present invention; Figure 3 is a structural schematic diagram of the WiFi test device of the present invention; Figure 4 is a module structure schematic diagram of the electronic device of the present invention.

應當理解,此處所描述的具體實施例僅用以解釋本發明,並不用於限定本發明。為了使所屬技術領域中具有通常知識者更好地理解本申請方案,下面將結合本申請實施例中的附圖,對本申請實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本申請一部分的實施例,而不是全部的實施例。基於本申請中的實施例,所屬技術領域中具有通常知識者在沒有做出進步性勞動前提下所獲得的所有其他實施例,都應當屬本申請保護的範圍。 It should be understood that the specific embodiments described here are only used to explain the present invention and are not used to limit the present invention. In order to enable those with ordinary knowledge in the relevant technical field to better understand the scheme of this application, the technical scheme in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those with ordinary knowledge in the relevant technical field without making progressive labor should fall within the scope of protection of this application.

本發明提供一種WiFi測試方法,參照圖1,圖1為本發明WIFI測試方法第一實施例的流程示意圖,WiFi測試方法包括步驟: The present invention provides a WiFi testing method. Referring to FIG. 1, FIG. 1 is a schematic diagram of the process of the first embodiment of the WiFi testing method of the present invention. The WiFi testing method includes the following steps:

步驟S10,若觸發測試指令,確定多個測試位置,其中,不同的測試位置與測試天線300之間的相對位置不同。 Step S10, if a test command is triggered, multiple test positions are determined, wherein different test positions have different relative positions with the test antenna 300.

測試指令用以指示測試操作的執行;測試指令可以由測試人員手動觸發,或透過檢測目標設備的位置,並在目標設備到達指定位置時自動觸發。 Test instructions are used to instruct the execution of test operations; test instructions can be triggered manually by testers, or by detecting the position of the target device and automatically triggered when the target device reaches the specified position.

測試位置是指目標設備在進行WiFi測試操作時所在的位置。測試位置與測試天線300之間的相對位置包括直線距離、垂直距離、角度等;可以理解的是,在不同的測試位置,信號在目標設備與測試天線300之間傳遞狀態不同,如目標設備與測試天線300之間的距離較遠時,信號的路徑損耗較高。具體測試位置的確定可以基於實際需要進行選擇。 The test position refers to the position of the target device when performing the WiFi test operation. The relative position between the test position and the test antenna 300 includes the straight-line distance, vertical distance, angle, etc.; it can be understood that at different test positions, the signal transmission state between the target device and the test antenna 300 is different. For example, when the distance between the target device and the test antenna 300 is far, the path loss of the signal is higher. The specific test position can be selected based on actual needs.

步驟S20,控制測試指令對應的目標設備分別在各測試位置進行WiFi測試操作。 Step S20, control the target device corresponding to the test instruction to perform WiFi test operations at each test location.

本實施例在多個測試位置分別進行WiFi測試操作,能夠模擬不同應用情景,從而對不同應用場景下目標設備的WiFi功能進行檢測,對目標設備的WiFi測試操作更全面。 This embodiment performs WiFi test operations at multiple test locations, which can simulate different application scenarios, thereby testing the WiFi function of the target device in different application scenarios, and performing a more comprehensive WiFi test operation on the target device.

目標設備為具備WiFi功能的設備,包括但不限於智能手機、可穿戴設備。在本實施例以及後續實施例中,以目標設備為智能手錶為例進行說明,其他類型的目標設備可以等同實現,不再贅述。 The target device is a device with WiFi function, including but not limited to smart phones and wearable devices. In this embodiment and subsequent embodiments, the target device is a smart watch as an example for explanation. Other types of target devices can be implemented in the same way and will not be elaborated.

具體的WiFi測試操作項目可以基於測試需要進行設置,可以預先儲存所有能夠執行的測試項目對應的子程序。在對目標設備執行測試之前,工作人員可以選擇需要測試的項目,以基於選擇的測試項目對應的子程序,生成預設測試程序實現WiFi測試操作。 Specific WiFi test operation items can be set based on test needs, and the corresponding subroutines of all executable test items can be stored in advance. Before performing tests on the target device, staff can select the items to be tested, and generate a default test program based on the subroutines corresponding to the selected test items to implement WiFi test operations.

需要說明的是,不同測試位置對應的WiFi測試操作可以相同,也可以不同。 It should be noted that the WiFi test operations corresponding to different test locations can be the same or different.

步驟S30,獲取WiFi測試操作的測試結果,並根據測試結果生成校準參數。 Step S30, obtain the test results of the WiFi test operation, and generate calibration parameters based on the test results.

測試結果可以反映目標設備的測試情况;當測試結果表明目標設備的WiFi功能與期望存在偏差時,可以基於前述偏差確定校準參數,使得目標設備能夠基於校準參數將WiFi功能校準至與期望一致。 The test results can reflect the test status of the target device; when the test results show that the WiFi function of the target device deviates from the expectation, the calibration parameters can be determined based on the aforementioned deviation, so that the target device can calibrate the WiFi function to be consistent with the expectation based on the calibration parameters.

具體地,在確定校準參數時,可以基於目標設備與測試天線300之間的相對位置關係,並將WiFi測試操作中檢測到的相關信號與預設的標準信號進行比較確定校準參數,之後將校準參數儲存到目標設備的WiFi晶片記憶體內,使得目標設備在使用WiFi功能時調用校準參數實現校準。 Specifically, when determining the calibration parameters, the calibration parameters can be determined based on the relative position relationship between the target device and the test antenna 300, and the relevant signals detected in the WiFi test operation are compared with the preset standard signals, and then the calibration parameters are stored in the WiFi chip memory of the target device, so that the target device calls the calibration parameters to achieve calibration when using the WiFi function.

同時,測試人員還可以根據測試結果對目標設備進行處理,如智能手錶內部WiFi天線與智能手錶主控板端子沒有壓緊,使得智能手錶接收不到WiFi信號,也無法發射WiFi信號。在測試結果為目標設備無法接收也無法發送WiFi信號時,則可以對WiFi天線與智能手錶主控板端子的連接狀態進行檢查。 At the same time, the tester can also process the target device according to the test results, such as the internal WiFi antenna of the smart watch and the terminal of the smart watch main control board are not pressed tightly, so that the smart watch cannot receive WiFi signals or transmit WiFi signals. When the test result shows that the target device cannot receive or send WiFi signals, the connection status of the WiFi antenna and the terminal of the smart watch main control board can be checked.

本發明還提供一種應用於上述WIFI測試方法的WIFI測試裝置,參見圖2,WIFI測試裝置包括控制模組100、WiFi分析儀200、測試天線300、運輸設備400。控制模組100分別與WiFi分析儀200以及運輸設備400連接,WiFi分析儀200與測試天線300連接,運輸設備400與目標設備連接。其中,控制模組100用於執行下列步驟:在觸發測試指令時,確定多個測試位置。 The present invention also provides a WIFI test device applied to the above WIFI test method, see Figure 2, the WIFI test device includes a control module 100, a WiFi analyzer 200, a test antenna 300, and a transport device 400. The control module 100 is connected to the WiFi analyzer 200 and the transport device 400 respectively, the WiFi analyzer 200 is connected to the test antenna 300, and the transport device 400 is connected to the target device. Among them, the control module 100 is used to perform the following steps: when the test command is triggered, multiple test positions are determined.

控制運輸設備400動作,以使運輸設備400攜帶測試指令對應的目標設備移動至各測試位置。 Control the movement of the transport device 400 so that the transport device 400 carries the target device corresponding to the test instruction and moves to each test location.

透過運輸設備400與目標設備通訊,透過WiFi分析儀200與測試天線300通訊以進行WiFi測試操作。 The transport device 400 communicates with the target device, and the WiFi analyzer 200 communicates with the test antenna 300 to perform WiFi test operations.

獲取WiFi測試操作的測試結果,並根據測試結果確定所述目標設備是否合格。 Obtain the test result of the WiFi test operation, and determine whether the target device is qualified according to the test result.

控制模組100作為WiFi測試裝置的控制中心,並實現對各模組的工作狀態的控制與檢測以及與各模組進行通訊。 The control module 100 serves as the control center of the WiFi test device and realizes the control and detection of the working status of each module and communicates with each module.

具體地,不同模組之間的具體連接方式可以基於實際需要進行選擇,如控制模組100與WiFi分析儀200透過TCP/IP(Transmission Control Protocol/Internet Protocol)通訊協定的網路通訊連接,控制模組100與運輸設備400透過USB通訊連接。 Specifically, the specific connection method between different modules can be selected based on actual needs, such as the control module 100 and the WiFi analyzer 200 are connected via a network communication via the TCP/IP (Transmission Control Protocol/Internet Protocol) communication protocol, and the control module 100 and the transport equipment 400 are connected via a USB communication.

運輸設備400與目標設備電連接,運輸設備400為目標設備提供電源並建立通訊連接。在目標設備放置在運輸設備400上後,運輸設備400讀取目標設備的WiFi晶片硬體版本信息、驅動軟體版本信息、設備序號等設備信息,並將設備信息發送至控制模組100,控制模組100根據設備信息確定對應的WiFi測試操作。 The transport device 400 is electrically connected to the target device, and the transport device 400 provides power to the target device and establishes a communication connection. After the target device is placed on the transport device 400, the transport device 400 reads the device information of the target device, such as the WiFi chip hardware version information, the driver software version information, and the device serial number, and sends the device information to the control module 100. The control module 100 determines the corresponding WiFi test operation according to the device information.

本實施例透過在與測試天線300不同的相對位置上對目標設備進行WiFi測試操作,能夠檢測到目標設備不同場景下的性能,進而基於實際測試結果生成校準參數,能夠對目標設備WiFi功能的偏差進行矯正,保證目標設備在實際應用中WiFi功能的準確。 This embodiment can detect the performance of the target device in different scenarios by performing a WiFi test operation on the target device at a different relative position from the test antenna 300, and then generate calibration parameters based on the actual test results, which can correct the deviation of the WiFi function of the target device and ensure the accuracy of the WiFi function of the target device in actual applications.

在基於本發明的第一實施例所提出的本發明WiFi測試方法第二實施例中,參見圖3,WiFi測試裝置還包括Z軸軌道511與X軸軌道513,X軸軌道513設置於水平面,X軸軌道513與Z軸軌道511位於同一垂直平面,且Z軸軌道511垂直於X軸軌道513。測試天線300可移動地設置於Z軸軌道511,運輸設備400可移動地設置於X軸軌道513。 In the second embodiment of the WiFi test method of the present invention proposed based on the first embodiment of the present invention, referring to FIG3, the WiFi test device further includes a Z-axis track 511 and an X-axis track 513, the X-axis track 513 is arranged on a horizontal plane, the X-axis track 513 and the Z-axis track 511 are located in the same vertical plane, and the Z-axis track 511 is perpendicular to the X-axis track 513. The test antenna 300 is movably arranged on the Z-axis track 511, and the transport equipment 400 is movably arranged on the X-axis track 513.

天線模組透過卡扣安裝在天線支架520上,天線支架520透過緊固螺絲安裝在Z軸軌道511上,透過調節緊固螺絲可以調節測試天線300與運輸設備400在垂直方向上的距離,同時Z軸軌道511上設置有高度刻度尺512,用以對天線與運輸設備400在垂直方向上的距離進行指示。 The antenna module is mounted on the antenna bracket 520 through a buckle, and the antenna bracket 520 is mounted on the Z-axis track 511 through a fastening screw. The distance between the test antenna 300 and the transport equipment 400 in the vertical direction can be adjusted by adjusting the fastening screw. At the same time, a height scale 512 is provided on the Z-axis track 511 to indicate the distance between the antenna and the transport equipment 400 in the vertical direction.

測試天線300包括2.4G天線310以及5G天線320,測試位置包括第二測試位置S2。其中,第二測試位置S2在2.4G天線310和5G天線320連線上的投影位於2.4G天線310和5G天線320連線的中點。 The test antenna 300 includes a 2.4G antenna 310 and a 5G antenna 320, and the test position includes a second test position S2. The projection of the second test position S2 on the line connecting the 2.4G antenna 310 and the 5G antenna 320 is located at the midpoint of the line connecting the 2.4G antenna 310 and the 5G antenna 320.

2.4G天線310設置有2.4G天線刻度尺531,透過調節2.4G天線刻度尺531上的旋鈕可以調節2.4G天線310在Y軸方向的精確距離;5G天線320設置 有5G天線刻度尺532,透過調節5G天線刻度尺532上的旋鈕可以調節5G天線320在Y軸方向的精確距離。 The 2.4G antenna 310 is provided with a 2.4G antenna scale 531, and the precise distance of the 2.4G antenna 310 in the Y-axis direction can be adjusted by adjusting the knob on the 2.4G antenna scale 531; the 5G antenna 320 is provided with a 5G antenna scale 532, and the precise distance of the 5G antenna 320 in the Y-axis direction can be adjusted by adjusting the knob on the 5G antenna scale 532.

2.4G天線310與WiFi分析儀200透過2.4G天線310同軸電纜連接,5G天線320與WiFi分析儀200透過5G天線320同軸電纜連接。 The 2.4G antenna 310 is connected to the WiFi analyzer 200 via the 2.4G antenna 310 coaxial cable, and the 5G antenna 320 is connected to the WiFi analyzer 200 via the 5G antenna 320 coaxial cable.

X軸軌道513上設置有與運輸設備400連接的電磁氣動閥600,電磁氣動閥600與控制模組100電氣連接,電磁氣動閥600與運輸設備400的水平支撐件連接,控制模組100透過控制電磁氣動閥600動作實現運輸設備400在X軸方向上的移動。X軸上設置有X軸水平刻度尺,X軸水平刻度尺對運輸設備400在X軸方向上的位置進行指示。 An electromagnetic pneumatic valve 600 connected to the transport equipment 400 is provided on the X-axis track 513. The electromagnetic pneumatic valve 600 is electrically connected to the control module 100. The electromagnetic pneumatic valve 600 is connected to the horizontal support of the transport equipment 400. The control module 100 controls the electromagnetic pneumatic valve 600 to realize the movement of the transport equipment 400 in the X-axis direction. An X-axis horizontal scale is provided on the X-axis to indicate the position of the transport equipment 400 in the X-axis direction.

本實施例中,運輸設備400與2.4G天線310、5G天線320在X、Y、Z軸距離可精確調節與指示。 In this embodiment, the distances between the transport equipment 400 and the 2.4G antenna 310 and the 5G antenna 320 in the X, Y, and Z axes can be precisely adjusted and indicated.

測試位置包括第一測試位置S1與第二測試位置S2,步驟S10包括步驟: The test positions include a first test position S1 and a second test position S2, and step S10 includes the steps:

步驟S11,獲取第一測試位置S1與測試天線300之間的第一距離H1;其中,第一測試位置S1與測試天線300在水平面投影中心對齊,第一距離H1為WiFi信號波長的第一倍數。 Step S11, obtaining the first distance H1 between the first test position S1 and the test antenna 300; wherein the first test position S1 and the test antenna 300 are aligned at the center of the horizontal plane projection, and the first distance H1 is the first multiple of the WiFi signal wavelength.

步驟S12,獲取第二測試位置S2對應的第二距離H2;其中,第二距離H2為WiFi信號波長的第二倍數,第一倍數與第二倍數不同。 Step S12, obtaining the second distance H2 corresponding to the second test position S2; wherein the second distance H2 is the second multiple of the WiFi signal wavelength, and the first multiple is different from the second multiple.

步驟S13,根據第一距離H1以及第二距離H2確定第二測試位置S2。 Step S13, determine the second test position S2 according to the first distance H1 and the second distance H2.

第一距離H1與第二距離H2的具體數值可以基於實際需要進行設置。基於一般測試要求,可以將第一距離H1設置為3λ~5λ,λ為WiFi信號的波長。 The specific values of the first distance H1 and the second distance H2 can be set based on actual needs. Based on general test requirements, the first distance H1 can be set to 3λ~5λ, where λ is the wavelength of the WiFi signal.

由於第一距離H1是第一測試位置S1與測試天線300的距離,同時第二測試位置S2又位於測試天線300的正下方,因此,第一距離H1為測試位置與測試天線300的最短距離,同時,第一距離H1指示的直線垂直於水平面。當基於第二倍數的第二距離H2確定後,第二距離H2指示的直線與第一距離H1指示的直線以及水平面構成直角三角形。此時,透過畢氏定理即可確定第二測試位置S2相對於第一測試位置S1的距離,從而實現第一測試位置S1與第二測試位置S2的確定;除此之外還可以進一步計算第二測試位置S2相對於測試天線300的角度。 Since the first distance H1 is the distance between the first test position S1 and the test antenna 300, and the second test position S2 is located directly below the test antenna 300, the first distance H1 is the shortest distance between the test position and the test antenna 300, and the straight line indicated by the first distance H1 is perpendicular to the horizontal plane. When the second distance H2 based on the second multiple is determined, the straight line indicated by the second distance H2, the straight line indicated by the first distance H1, and the horizontal plane form a right triangle. At this time, the distance of the second test position S2 relative to the first test position S1 can be determined by the Pisces theorem, thereby realizing the determination of the first test position S1 and the second test position S2; in addition, the angle of the second test position S2 relative to the test antenna 300 can be further calculated.

進一步地,WiFi測試操作包括步驟: Further, the WiFi test operation includes the steps:

步驟S21,發送第一測試信號至目標設備,以使目標設備發送與第一測試信號對應的第一射頻信號至WiFi分析儀200。 Step S21, sending a first test signal to the target device, so that the target device sends a first radio frequency signal corresponding to the first test signal to the WiFi analyzer 200.

步驟S22,獲取WiFi分析儀200基於第一射頻信號採集的第一檢測信號,根據第一檢測信號對目標設備的發送性能進行測試。 Step S22, obtain the first detection signal collected by the WiFi analyzer 200 based on the first radio frequency signal, and test the transmission performance of the target device according to the first detection signal.

WiFi功能的測試對象主要包括信號的發送性能以及接收性能。在對發送性能進行測試時,需要目標設備主動發出信號,即第一射頻信號,並對第一射頻信號進行檢測。 The test objects of WiFi function mainly include the signal transmission performance and reception performance. When testing the transmission performance, the target device needs to actively send out a signal, that is, the first radio frequency signal, and detect the first radio frequency signal.

可以理解的是,與發送性能相關的性能參數類型存在多種,同時還需要基於不同WiFi通訊協定進行測試,因此,第一測試信號可以包括多個的子信號,或指示多個子信號。如第一測試信號中包括多個子信號,控制模組100依次將不同的子信號進行發送,以使目標設備依次發送對應的第一射頻信號;再如第一測試信號指示多個子信號,控制模組100將第一測試信號發送至目標設備,目標設備根據第一測試信號依次發送與子信號對應的第一射頻信號。後續第二測試信號同理,不再贅述。 It is understandable that there are many types of performance parameters related to transmission performance, and they also need to be tested based on different WiFi communication protocols. Therefore, the first test signal may include multiple sub-signals, or indicate multiple sub-signals. If the first test signal includes multiple sub-signals, the control module 100 sends different sub-signals in sequence, so that the target device sends the corresponding first RF signal in sequence; if the first test signal indicates multiple sub-signals, the control module 100 sends the first test signal to the target device, and the target device sends the first RF signal corresponding to the sub-signal in sequence according to the first test signal. The same applies to the subsequent second test signal, which will not be repeated.

具體地,可以基於通道發射功率、發射頻率以及對應的WiFi通訊協定為第一射頻信號設置不同的信號調試方式;還可以透過基於不同的參數變化設置非信令list,如基於發送功率大小、載波中心頻率偏移、寬帶等參數的不同設置對應的射頻信號,從而以不同的信號調整方式發送不同第一測試信號的子信號對應的第一射頻信號,WiFi通訊協定如802.11a/b/g/n/ac/ax。 Specifically, different signal debugging modes can be set for the first RF signal based on the channel transmission power, transmission frequency and the corresponding WiFi communication protocol; non-signaling lists can also be set based on different parameter changes, such as the corresponding RF signals based on different settings of transmission power, carrier center frequency offset, bandwidth and other parameters, so as to send the first RF signals corresponding to the sub-signals of different first test signals in different signal adjustment modes, and WiFi communication protocols such as 802.11a/b/g/n/ac/ax.

控制模組100控制目標設備進入非信令模式,目標設備基於第一測試信號按照非信令清單發送第一射頻信號,WiFi分析透過2.4G天線310與5G天線320接收到對應第一射頻信號的兩路第一檢測信號。WiFi分析儀200內置WiFi基頻晶片與信號調整電路對第一檢測信號在20MHz、40MHz、80MHz、160MHz固定頻寬下對應的發射功率測量參數、頻率測量參數以及調製品質測試參數。其中,發射功率測量參數包括發射功率、發射頻譜掩模;頻率測量參數包括發射中心頻率誤差、正交分頻多工(Orthogonal Frequency Divisition Multiplexing,OFDM)符號時脈頻率誤差;調變品質測試參數包括誤差向量誤差幅度(Error Vector Magnitude,EVM)、I-Q星座圖。 The control module 100 controls the target device to enter the non-signaling mode. The target device sends the first RF signal according to the non-signaling list based on the first test signal. The WiFi analysis receives two first detection signals corresponding to the first RF signal through the 2.4G antenna 310 and the 5G antenna 320. The WiFi analyzer 200 has a built-in WiFi baseband chip and a signal adjustment circuit to measure the transmission power measurement parameters, frequency measurement parameters and modulation quality test parameters corresponding to the first detection signal at fixed bandwidths of 20MHz, 40MHz, 80MHz and 160MHz. Among them, the transmit power measurement parameters include transmit power and transmit spectrum mask; the frequency measurement parameters include transmit center frequency error and orthogonal frequency division multiplexing (OFDM) symbol clock frequency error; the modulation quality test parameters include error vector error magnitude (EVM) and I-Q constellation diagram.

WiFi分析儀200將上述測試參數同步給控制模組100,控制模組100獲取目標設備與WiFi分析儀200同步的第一射頻信號的相關參數以及WiFi分析儀200在2.4G以及5G各頻點固定頻寬下檢測到的測試參數,並判斷發射功率、發射頻譜在中心頻率偏移的衰减值、中心頻率最大偏差是否超過預設偏差值,如國際標準規定的±20ppm,或企業要求的更低偏差值。當超過預設偏差值時,認為目標設備的發送性能不合格,若未超過預設偏差值,則認為目標設備的發送性能合格。 The WiFi analyzer 200 synchronizes the above test parameters to the control module 100, and the control module 100 obtains the relevant parameters of the first RF signal synchronized between the target device and the WiFi analyzer 200 and the test parameters detected by the WiFi analyzer 200 at fixed bandwidths of 2.4G and 5G frequency points, and determines whether the transmission power, the attenuation value of the transmission spectrum at the center frequency offset, and the maximum deviation of the center frequency exceed the preset deviation value, such as ±20ppm specified by international standards, or a lower deviation value required by the enterprise. When the preset deviation value is exceeded, the transmission performance of the target device is considered unqualified. If it does not exceed the preset deviation value, the transmission performance of the target device is considered qualified.

WiFi測試裝置中還可以包括顯示模組,顯示模組用以顯示測試操作的相關信息,如控制模組100將測試位置對應的垂直距離、角度、直線距離、測試結果、當前測試流程等發送至顯示模組進行顯示。 The WiFi test device may also include a display module, which is used to display relevant information of the test operation, such as the control module 100 sending the vertical distance, angle, straight line distance, test results, current test process, etc. corresponding to the test position to the display module for display.

需要說明的是,WiFi分析儀200作為對目標設備執行測試操作的器件,WiFi分析儀200本身的接收性能與發送性能應當是標準的;但在實際應用中,由於WiFi分析儀200生産精度或由於運行産生的誤差等,導致WiFi分析儀200的接收性能與發送性能出現偏差。因此,可以在對目標設備進行WiFi測試操作之前,透過校準過的WiFi向量信號分析儀對WiFi分析儀200輸出和接收的WiFi信號功率、信號頻率、信號向量誤差EVM進行校準,並將路徑損耗等校準補償值寫入WiFi分析儀200或控制模組100,保證WiFi分析儀200的接收性能與發送性能精度。 It should be noted that as a device for performing test operations on the target device, the receiving performance and sending performance of the WiFi analyzer 200 itself should be standard; however, in actual applications, due to the production accuracy of the WiFi analyzer 200 or errors caused by operation, the receiving performance and sending performance of the WiFi analyzer 200 deviate. Therefore, before performing WiFi test operations on the target device, the WiFi signal power, signal frequency, and signal vector error EVM output and received by the WiFi analyzer 200 can be calibrated through a calibrated WiFi vector signal analyzer, and the calibration compensation values such as path loss can be written into the WiFi analyzer 200 or the control module 100 to ensure the receiving performance and sending performance accuracy of the WiFi analyzer 200.

步驟S23,發送第二測試信號至所述WiFi分析儀200,以使WiFi分析儀200透過測試天線300發送與第二測試信號對應的第二射頻信號至目標設備。 Step S23, sending a second test signal to the WiFi analyzer 200, so that the WiFi analyzer 200 sends a second radio frequency signal corresponding to the second test signal to the target device through the test antenna 300.

步驟S24,獲取目標設備基於第二射頻信號採集的第二檢測信號,根據第二檢測信號對目標設備的信號靈敏度進行測試。 Step S24, obtaining a second detection signal collected by the target device based on the second radio frequency signal, and testing the signal sensitivity of the target device according to the second detection signal.

在對接收性能進行測試時,則需要給到目標設備信號(即第二射頻信號),並對目標設備接收到第二射頻信號後得到的第二檢測信號進行檢測。 When testing the receiving performance, it is necessary to provide the target device with a signal (i.e., the second RF signal), and then detect the second detection signal obtained after the target device receives the second RF signal.

第二射頻信號包括多個第一子信號以及多個第二子信號。多個第一子信號的發射功率相同且多個第一子信號的頻率偏移不同號,多個第二子信號的多個頻率偏移相同且多個第二子信號的發射功率不同。 The second radio frequency signal includes multiple first sub-signals and multiple second sub-signals. The transmission power of the multiple first sub-signals is the same and the frequency offsets of the multiple first sub-signals are different, and the multiple frequency offsets of the multiple second sub-signals are the same and the transmission power of the multiple second sub-signals is different.

具體地,可以基於通道發射功率、發射頻率以及對應的WiFi通訊協定為第二射頻信號設置不同的信號調試方式。還可以透過基於不同的參數變化設置非信令清單,如基於發送功率大小、載波中心頻率偏移、頻寬等參數的不同設置對應的射頻信號,從而以不同的信號調變方式發送不同第二測試信號的子信號對應的第二射頻信號,WiFi通訊協定如802.11a/b/g/n/ac/ax。 Specifically, different signal debugging modes can be set for the second RF signal based on the channel transmission power, transmission frequency and the corresponding WiFi communication protocol. It is also possible to set a non-signaling list based on different parameter changes, such as the corresponding RF signal based on different settings of parameters such as transmission power, carrier center frequency offset, and bandwidth, so as to send the second RF signal corresponding to the sub-signal of different second test signals in different signal modulation modes, and the WiFi communication protocol is such as 802.11a/b/g/n/ac/ax.

控制模組100控制目標設備進入非信令模式,控制WiFi分析儀200透過2.4G天線310與5G天線320按照非信令清單輸出2.4G的2.412GHz、2.442GHz、2.472GHz頻率點,以及5G的5.180GHz、5.260GHz、5.320GHz頻率點。目標設備接收到WiFi分析儀200的第二射頻信號,目標設備內部的WiFi天線基於第二射頻信號接收得到第二檢測信號,並對第二檢測信號進行IQ解調,由於I、Q信號的相位相差90度,利用I、Q兩路信號的正交性可以完成功率估計。I、Q信號的相關公式如下:I(t)=A(t)×cos(ω(t)+r(t)) The control module 100 controls the target device to enter the non-signaling mode, and controls the WiFi analyzer 200 to output the 2.4G 2.412GHz, 2.442GHz, 2.472GHz frequency points, and the 5G 5.180GHz, 5.260GHz, 5.320GHz frequency points according to the non-signaling list through the 2.4G antenna 310 and the 5G antenna 320. The target device receives the second RF signal from the WiFi analyzer 200, and the WiFi antenna inside the target device receives the second detection signal based on the second RF signal, and performs IQ demodulation on the second detection signal. Since the phase difference between the I and Q signals is 90 degrees, the orthogonality of the I and Q signals can be used to complete the power estimation. The relevant formulas for I and Q signals are as follows: I ( t ) = A ( t ) × cos ( ω ( t ) + r ( t ))

Figure 112140030-A0305-02-0015-1
Figure 112140030-A0305-02-0015-1

其中,I(t)、Q(t)表示WiFi的時域信號,A(t)表示WiFi基頻信號時域幅值函數,ω(t)表示基頻信號的角頻率,r(t)表示基頻的相位。透過計算離散時域信號每點的功率值,即I路信號和Q路信號的平方和,可反映信號的功率大小估計。 Among them, I(t) and Q(t) represent the WiFi time domain signal, A(t) represents the time domain amplitude function of the WiFi baseband signal, ω (t) represents the angular frequency of the baseband signal, and r(t) represents the phase of the baseband. By calculating the power value of each point of the discrete time domain signal, that is, the sum of the squares of the I-path signal and the Q-path signal, the power estimation of the signal can be reflected.

目標設備將不同頻率點、不同功率的第二射頻信號對應第二檢測信號的接收靈敏度、誤差向量幅度EVM、中心頻率、工作通道、功率等重要性能參數發送至控制模組100,控制模組100根據目標設備與測試天線300之間的相對位置關係以及第二射頻信號計算目標設備的工作通道、發射功率、發射頻譜、發射中心頻率、誤差向量幅度EVM以及接收機靈敏度。在計算接收靈敏度時,步驟S24包括: The target device sends the receiving sensitivity, error vector magnitude EVM, center frequency, working channel, power and other important performance parameters of the second detection signal corresponding to the second RF signal of different frequency points and different powers to the control module 100. The control module 100 calculates the working channel, transmission power, transmission spectrum, transmission center frequency, error vector magnitude EVM and receiver sensitivity of the target device according to the relative position relationship between the target device and the test antenna 300 and the second RF signal. When calculating the receiving sensitivity, step S24 includes:

步驟S241,獲取第二測試信號對應的靈敏度標準參數。 Step S241, obtain the sensitivity standard parameter corresponding to the second test signal.

步驟S242,根據靈敏度標準參數與第二檢測信號確定WiFi失效值。 Step S242, determine the WiFi failure value based on the sensitivity standard parameter and the second detection signal.

步驟S243,根據WiFi失效值確定目標設備的信號靈敏度。 Step S243, determine the signal sensitivity of the target device according to the WiFi failure value.

靈敏度標準參數用以指示在目標設備的接收性能完美的情况下,目標設備基於第二射頻信號得到的第二檢測信號的特點;透過比較靈敏度標準參數以及第二檢測信號即可確定WiFi失效值,實現對信號靈敏度的評估。 The sensitivity standard parameter is used to indicate the characteristics of the second detection signal obtained by the target device based on the second RF signal when the target device has perfect reception performance; the WiFi failure value can be determined by comparing the sensitivity standard parameter and the second detection signal to achieve the evaluation of signal sensitivity.

本實施例能夠準確對目標設備的WiFi功能進行測試。 This embodiment can accurately test the WiFi function of the target device.

需要說明的是,對於前述的各方法實施例,為了簡單描述,故將其都表述為一系列的動作組合,但是所屬技術領域中具有通常知識者應該知悉,本申請並不受所描述的動作順序的限制,因為依據本申請,某些步驟可以採用其他順序或者同時進行。其次,所屬技術領域中具有通常知識者也應該知悉,說明書中所描述的實施例均屬優選實施例,所涉及的動作和模組並不一定是本申請所必須的。 It should be noted that, for the sake of simplicity, the aforementioned method embodiments are all described as a series of action combinations, but those with ordinary knowledge in the relevant technical field should know that this application is not limited by the described action sequence, because according to this application, some steps can be performed in other sequences or simultaneously. Secondly, those with ordinary knowledge in the relevant technical field should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

透過以上的實施方式的描述,所屬技術領域中具有通常知識者可以清楚地瞭解到根據上述實施例的方法可借助軟體加必需的通用硬體平臺的方式來實現,當然也可以透過硬體,但很多情况下前者是更佳的實施方式。基於這樣的理解,本申請的技術方案本質上或者說對現有技術做出貢獻的部分可以以軟體産品的形式體現出來,該電腦軟體産品儲存在一個可讀取記錄媒體(如ROM/RAM、磁碟、光盤)中,包括多個指令用以使得一台終端設備(可以是手機、電腦、伺服器或者網絡設備等)執行本申請各個實施例所述的方法。 Through the description of the above implementation methods, those with general knowledge in the relevant technical field can clearly understand that the method according to the above implementation examples can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, or the part that contributes to the existing technology, can be embodied in the form of a software product. The computer software product is stored in a readable recording medium (such as ROM/RAM, disk, optical disk), including multiple instructions to enable a terminal device (which can be a mobile phone, computer, server or network equipment, etc.) to execute the methods described in each implementation example of this application.

參照圖4,在硬體結構上,電子設備可以包括通訊模組10、記憶體20以及處理器30等部件。在電子設備中,處理器30分別與記憶體20以及通訊模組10連接,記憶體20上儲存電腦程式,電腦程式同時被處理器30執行,電腦程式執行時實現上述方法實施例的步驟。 Referring to FIG. 4 , in terms of hardware structure, the electronic device may include components such as a communication module 10, a memory 20, and a processor 30. In the electronic device, the processor 30 is connected to the memory 20 and the communication module 10 respectively, the computer program is stored on the memory 20, and the computer program is executed by the processor 30 at the same time. When the computer program is executed, the steps of the above method embodiment are implemented.

通訊模組10,可透過網絡與外部通訊設備連接。通訊模組10可以接收外部通訊設備發出的請求,還可以發送請求、指令及信息至所述外部通 訊設備。外部通訊設備可以是其它電子設備、伺服器或者物聯網設備,例如電視等等。 The communication module 10 can be connected to an external communication device through a network. The communication module 10 can receive requests from an external communication device, and can also send requests, instructions and information to the external communication device. The external communication device can be other electronic devices, servers or Internet of Things devices, such as televisions, etc.

記憶體20,可用於儲存軟體程序以及各種資料。記憶體20可主要包括儲存程序區和儲存資料區。其中,儲存程序區可儲存操作系統、至少一個功能所需的應用程序(比如確定多個測試位置)等;儲存資料區可包括資料庫,儲存資料區可儲存根據系統的使用所創建的資料或信息等。此外,記憶體20可以包括高速隨機存取記憶體,還可以包括非揮發性記憶體,例如至少一個磁碟陣列儲存器、快閃記憶體、或其他揮發性固態記憶體。 The memory 20 can be used to store software programs and various data. The memory 20 can mainly include a program storage area and a data storage area. The program storage area can store the operating system, at least one application required for a function (such as determining multiple test locations), etc.; the data storage area can include a database, and the data storage area can store data or information created according to the use of the system. In addition, the memory 20 can include a high-speed random access memory and a non-volatile memory, such as at least one disk array memory, a flash memory, or other volatile solid-state memory.

處理器30,是電子設備的控制中心,利用各種接口和線路連接整個電子設備的各個部分,透過運行或執行儲存在記憶體20內的軟體程序和/或模組,以及調用儲存在記憶體20內的資料,執行電子設備的各種功能和處理資料,從而對電子設備進行整體監控。處理器30可包括一個或多個處理單元;可選地,處理器30可整合應用處理器和數據機,其中,應用處理器主要處理操作系統、使用者界面和應用程序等,數據機主要處理無線通訊。可以理解的是,上述調數據機也可以不整合到處理器30中。 The processor 30 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and/or modules stored in the memory 20, and calling data stored in the memory 20, it executes various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 30 may include one or more processing units; optionally, the processor 30 may integrate an application processor and a modem, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem mainly processes wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 30.

儘管圖4未示出,但上述電子設備還可以包括電路控制模組,所述電路控制模組用於與電源連接,保證其他部件的正常工作。所屬技術領域中具有通常知識者可以理解,圖4中示出的電子設備結構並不構成對電子設備的限定,可以包括比圖式所示更多或更少的部件,或者組合某些部件,或者不同的部件布置。 Although not shown in FIG4 , the electronic device may also include a circuit control module, which is used to connect to a power source to ensure the normal operation of other components. A person with ordinary knowledge in the relevant technical field can understand that the electronic device structure shown in FIG4 does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

本發明還提出一種電腦可讀取記錄媒體,其上儲存有電腦程式。所述電腦可讀取記錄媒體可以是圖4的電子設備中的記憶體20,也可以是如ROM(Read-Only Memory,唯讀記憶體)/RAM(Random Access Memory,隨機存取記憶體)、磁碟、光盤中的至少一種,所述電腦可讀取記錄媒體包括 多個指令用以使得一台具有處理器的終端設備(可以是電視、汽車、手機、計算機、伺服器、終端裝置或者網絡設備等)執行本發明各個實施例所述的方法。 The present invention also proposes a computer-readable recording medium on which a computer program is stored. The computer-readable recording medium may be the memory 20 in the electronic device of FIG. 4 , or may be at least one of ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk. The computer-readable recording medium includes a plurality of instructions for enabling a terminal device having a processor (which may be a television, a car, a mobile phone, a computer, a server, a terminal device, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

在本發明中,術語「第一」、「第二」、「第三」、「第四」「第五」僅用於描述的目的,而不能理解為指示或暗示相對重要性,對於所屬技術領域中具有通常知識者而言,可以根據具體情况理解上述術語在本發明中的具體含義。 In the present invention, the terms "first", "second", "third", "fourth" and "fifth" are used only for descriptive purposes and cannot be understood as indicating or implying relative importance. For those with ordinary knowledge in the relevant technical field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.

在本說明書的描述中,參考術語「一個實施例」、「一些實施例」、「示例」、「具體示例」、或「一些示例」等的描述意指結合該實施例或示例描述的具體特徵、結構、材料或者特點包含於本發明的至少一個實施例或示例中。在本說明書中,對上述術語的示意性表述不限定在相同的實施例或示例。而且,描述的具體特徵、結構、材料或者特點可以在任一個或多個實施例或示例中以合適的方式結合。此外,在不相互矛盾的情况下,所屬技術領域中具有通常知識者可以將本說明書中描述的不同實施例或示例以及不同實施例或示例的特徵進行結合和組合。 In the description of this specification, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms is not limited to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in an appropriate manner. In addition, in the absence of contradiction, a person with ordinary knowledge in the relevant technical field can combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples.

儘管上面已經示出和描述了本發明的實施例,本發明保護的範圍並不局限於此,可以理解的是,上述實施例是示例性的,不能理解為對本發明的限制,所屬技術領域中具有通常知識者在本發明的範圍內可以對上述實施例進行變化、修改和替換,這些變化、修改和替換都應涵蓋在本發明的保護範圍之內。因此,本發明的保護範圍應以申請專利範圍的保護範圍為准。 Although the embodiments of the present invention have been shown and described above, the scope of protection of the present invention is not limited thereto. It is understood that the above embodiments are exemplary and cannot be understood as limitations on the present invention. A person with ordinary knowledge in the relevant technical field can change, modify and replace the above embodiments within the scope of the present invention, and these changes, modifications and replacements should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be based on the scope of protection of the patent application.

S10、S20、S30:步驟 S10, S20, S30: Steps

Claims (9)

一種WiFi測試方法,包括:若觸發一測試指令,確定多個測試位置,其中,不同的該測試位置與一測試天線之間的相對位置不同,其中該測試位置包括一第一測試位置與一第二測試位置,確定該多個測試位置的步驟包括:獲取該第一測試位置與該測試天線之間的一第一距離,其中,該第一測試位置與該測試天線在水平面投影中心對齊,該第一距離為WiFi信號波長的一第一倍數;獲取該第二測試位置對應的一第二距離,其中,該第二距離為WiFi信號波長的一第二倍數,該第一倍數與該第二倍數不同;以及根據該第一距離以及該第二距離確定該第二測試位置;控制該測試指令對應的一目標設備分別在各該測試位置進行一WiFi測試操作;以及獲取該WiFi測試操作的一測試結果,並根據該測試結果生成一校準參數。 A WiFi test method, comprising: if a test command is triggered, a plurality of test positions are determined, wherein different test positions have different relative positions with a test antenna, wherein the test positions include a first test position and a second test position, and the step of determining the plurality of test positions comprises: obtaining a first distance between the first test position and the test antenna, wherein the first test position and the test antenna are aligned in a horizontal plane projection center, and the first distance is a WiFi signal wave. a first multiple of the length of the test command; obtaining a second distance corresponding to the second test position, wherein the second distance is a second multiple of the WiFi signal wavelength, and the first multiple is different from the second multiple; and determining the second test position according to the first distance and the second distance; controlling a target device corresponding to the test instruction to perform a WiFi test operation at each of the test positions; and obtaining a test result of the WiFi test operation, and generating a calibration parameter according to the test result. 如請求項1所述的WiFi測試方法,其中,該WiFi測試操作包括:發送一第一測試信號至該目標設備,以使該目標設備發送與該第一測試信號對應的一第一射頻信號至一WiFi分析儀;獲取該WiFi分析儀基於該第一射頻信號採集的一第一檢測信號,根據該第一檢測信號對該目標設備的發送性能進行測試;發送一第二測試信號至該WiFi分析儀,以使該WiFi分析儀透過該測試天線發送與該第二測試信號對應的一第二射頻信號至該目標設備;以及 獲取該目標設備基於該第二射頻信號採集的一第二檢測信號,根據該第二檢測信號對該目標設備的信號靈敏度進行測試。 The WiFi test method as described in claim 1, wherein the WiFi test operation includes: sending a first test signal to the target device so that the target device sends a first radio frequency signal corresponding to the first test signal to a WiFi analyzer; obtaining a first detection signal collected by the WiFi analyzer based on the first radio frequency signal, and testing the transmission performance of the target device according to the first detection signal; sending a second test signal to the WiFi analyzer so that the WiFi analyzer sends a second radio frequency signal corresponding to the second test signal to the target device through the test antenna; and obtaining a second detection signal collected by the target device based on the second radio frequency signal, and testing the signal sensitivity of the target device according to the second detection signal. 如請求項2所述的WiFi測試方法,其中,該第二射頻信號包括多個第一子信號以及多個第二子信號,該多個第一子信號的發射功率相同且該多個第一子信號的頻率偏移不同,該多個第二子信號的多個頻率偏移相同且該多個第二子信號的發射功率不同。 As described in claim 2, the WiFi test method, wherein the second radio frequency signal includes multiple first sub-signals and multiple second sub-signals, the multiple first sub-signals have the same transmission power and different frequency offsets, and the multiple second sub-signals have the same frequency offsets and different transmission powers. 如請求項2所述的WiFi測試方法,其中,根據該第二檢測信號對該目標設備的信號靈敏度進行測試的步驟包括:獲取該第二測試信號對應的一靈敏度標準參數;根據該靈敏度標準參數與該第二檢測信號確定一WiFi失效值;以及根據該WiFi失效值確定該目標設備的一信號靈敏度。 As described in claim 2, the step of testing the signal sensitivity of the target device according to the second detection signal includes: obtaining a sensitivity standard parameter corresponding to the second test signal; determining a WiFi failure value according to the sensitivity standard parameter and the second detection signal; and determining a signal sensitivity of the target device according to the WiFi failure value. 一種WiFi測試裝置,包括一控制模組、一WiFi分析儀、一測試天線、一運輸設備,該控制模組分別與該WiFi分析儀以及該運輸設備連接,該WiFi分析儀與該測試天線連接,該運輸設備與一目標設備連接;其中,該控制模組用於執行下列步驟:在觸發一測試指令時,確定多個測試位置,其中,不同的該測試位置與一測試天線之間的相對位置不同,其中該測試位置包括一第一測試位置與一第二測試位置,確定該多個測試位置的步驟包括:獲取該第一測試位置與該測試天線之間的一第一距離,其中,該第一測試位置與該測試天線在水平面投影中心對齊,該第一距離為WiFi信號波長的一第一倍數;獲取該第二測試位置對應的一第二距離,其中,該第二距離為WiFi信號波長的一第二倍數,該第一倍數與該第二倍數不同;以及根據該第一距離以及該第二距離確定該第二測試位置; 控制該運輸設備的動作,以使該運輸設備攜帶該測試指令對應的該目標設備移動至各該測試位置;透過該運輸設備與該目標設備通訊,透過該WiFi分析儀與該測試天線通訊以進行一WiFi測試操作;以及獲取該WiFi測試操作的一測試結果,並根據該測試結果確定該目標設備是否合格。 A WiFi test device includes a control module, a WiFi analyzer, a test antenna, and a transport device, wherein the control module is connected to the WiFi analyzer and the transport device, respectively, the WiFi analyzer is connected to the test antenna, and the transport device is connected to a target device; wherein the control module is used to execute the following steps: when a test instruction is triggered, a plurality of test positions are determined, wherein different test positions have different relative positions with a test antenna, wherein the test positions include a first test position and a second test position, and the step of determining the plurality of test positions includes: obtaining a first distance between the first test position and the test antenna, wherein the first test position and the test antenna are horizontally spaced apart from each other; The first distance is a first multiple of the WiFi signal wavelength; a second distance corresponding to the second test position is obtained, wherein the second distance is a second multiple of the WiFi signal wavelength, and the first multiple is different from the second multiple; and the second test position is determined according to the first distance and the second distance; Control the movement of the transport device so that the transport device carries the target device corresponding to the test instruction to each test position; Communicate with the target device through the transport device, and communicate with the test antenna through the WiFi analyzer to perform a WiFi test operation; and obtain a test result of the WiFi test operation, and determine whether the target device is qualified according to the test result. 如請求項5所述的WiFi測試裝置,其中,該WiFi測試裝置還包括一Z軸軌道與一X軸軌道,該X軸軌道設置於水平面,該X軸軌道與該Z軸軌道位於同一垂直平面,且該Z軸軌道垂直於該X軸軌道,該測試天線可移動地設置於該Z軸軌道,該運輸設備可移動地設置於該X軸軌道。 The WiFi test device as described in claim 5, wherein the WiFi test device further includes a Z-axis track and an X-axis track, the X-axis track is arranged on a horizontal plane, the X-axis track and the Z-axis track are located in the same vertical plane, and the Z-axis track is perpendicular to the X-axis track, the test antenna is movably arranged on the Z-axis track, and the transport equipment is movably arranged on the X-axis track. 如請求項5所述的WiFi測試裝置,其中,該測試天線包括一2.4G天線以及一5G天線,該第二測試位置在該2.4G天線和該5G天線連線上的投影位於該2.4G天線和該5G天線連線的中點。 The WiFi test device as described in claim 5, wherein the test antenna includes a 2.4G antenna and a 5G antenna, and the projection of the second test position on the connection line between the 2.4G antenna and the 5G antenna is located at the midpoint of the connection line between the 2.4G antenna and the 5G antenna. 一種電子設備,包括一記憶體、一處理器和儲存在該記憶體上並可在該處理器上運行的一電腦程式,該電腦程式被該處理器執行時實現如請求項1至4中任一項所述的WIFI測試方法的步驟。 An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the WIFI testing method described in any one of claims 1 to 4 are implemented. 一種電腦可讀取記錄媒體,該電腦可讀取記錄媒體儲存一電腦程式,該電腦程式被一處理器執行時實現如請求項1至4中任一項所述的WIFI測試方法的步驟。 A computer-readable recording medium stores a computer program, and when the computer program is executed by a processor, the steps of the WIFI testing method described in any one of claims 1 to 4 are implemented.
TW112140030A 2023-07-03 2023-10-19 WiFi TESTING METHOD, WIFI TESTING DEVICE, ELECTRONIC APPARATUS AND COMPUTER READABLE MEDIUM TWI858971B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310808978X 2023-07-03
CN202310808978.XA CN116828523A (en) 2023-07-03 2023-07-03 WIFI test method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
TWI858971B true TWI858971B (en) 2024-10-11
TW202504349A TW202504349A (en) 2025-01-16

Family

ID=88120031

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112140030A TWI858971B (en) 2023-07-03 2023-10-19 WiFi TESTING METHOD, WIFI TESTING DEVICE, ELECTRONIC APPARATUS AND COMPUTER READABLE MEDIUM

Country Status (2)

Country Link
CN (1) CN116828523A (en)
TW (1) TWI858971B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150131470A1 (en) * 2010-04-16 2015-05-14 Spirent Communications, Inc. Wifi positioning bench test method and instrument
TW201834499A (en) * 2017-03-13 2018-09-16 宇智網通股份有限公司 Auto configuration method of wireless access points and device thereof
CN115665792A (en) * 2022-12-22 2023-01-31 灿芯技术(深圳)有限公司 Novel WiFi multi-user wireless communication technology performance test method and device
CN115865223A (en) * 2023-02-09 2023-03-28 成都爱旗科技有限公司 WiFi chip radio frequency index testing system and method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150131470A1 (en) * 2010-04-16 2015-05-14 Spirent Communications, Inc. Wifi positioning bench test method and instrument
TW201834499A (en) * 2017-03-13 2018-09-16 宇智網通股份有限公司 Auto configuration method of wireless access points and device thereof
CN115665792A (en) * 2022-12-22 2023-01-31 灿芯技术(深圳)有限公司 Novel WiFi multi-user wireless communication technology performance test method and device
CN115865223A (en) * 2023-02-09 2023-03-28 成都爱旗科技有限公司 WiFi chip radio frequency index testing system and method and electronic equipment

Also Published As

Publication number Publication date
CN116828523A (en) 2023-09-29
TW202504349A (en) 2025-01-16

Similar Documents

Publication Publication Date Title
CN113162706B (en) Radio frequency performance test method and system for wireless equipment
US8208875B2 (en) Systems and methods for automatically calibrating output power of a communication device
US9246607B2 (en) Automatic phase calibration
US9191852B2 (en) System for testing wireless signals and method for establishing the same
US10578690B2 (en) Digital receiver coil with built-in received phase noise indicator
EP2993481A1 (en) Fast test method for total radiation power of terminal antenna
KR102441958B1 (en) Electronic device and method for test and calibration of rf signal transmission performance
JP2004500545A (en) Automatic frequency stepping noise measurement test system
JP2005217911A (en) Adjusting device and method of orthogonal modulator, communication equipment and program
US20120259571A1 (en) Iq calibration method of test device for wireless communication system such as dvb-h system or like, device, and test device manufacturing method
TWI858971B (en) WiFi TESTING METHOD, WIFI TESTING DEVICE, ELECTRONIC APPARATUS AND COMPUTER READABLE MEDIUM
CN107592165B (en) Method and system for testing transmission power of router
CN117220791A (en) Communication function testing method and device, electronic equipment and readable storage medium
CN113109634B (en) Antenna test method, device, terminal equipment, antenna test system and medium
US11231458B2 (en) System and method for aligning a measurement antenna suitable for radio frequency measurement of an antenna under test
KR102450699B1 (en) Automatic measuring method for FM transmitter using ethernet
JP3563051B2 (en) Mobile terminal test system and mobile terminal test method
KR102485724B1 (en) Automatic measuring method for FM transmitter using GPIB
CN115208490B (en) Method, equipment and storage medium for rapidly calibrating PRS channel accuracy in 5G network
CN114567388A (en) Amplitude and phase calibration method and device, medium and equipment
JP4468268B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
CN118784102A (en) Antenna coupling intelligent testing method, device, testing equipment and storage medium
CN117062140A (en) LTE test method and device, electronic equipment and readable storage medium
JP2023144478A (en) Mobile terminal testing device, and its method for correcting position of mobile terminal
US20190386754A1 (en) Method for testing wireless transceiver