Time-frequency joint scanning test method for multi-band radiation spurious signals

By dynamically adjusting the time-frequency scanning parameters through a state-parameter mapping table, the problem of insufficient measurement accuracy and efficiency in multi-band radiated spurious scanning of 6G terminal equipment is solved, realizing a more efficient testing method that adapts to the spurious radiation characteristics under different working conditions and improves measurement accuracy and scanning efficiency.

CN123136240APending Publication Date: 2026-11-20SHENZHEN QIANTANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611404847.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-10
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies make it difficult to simultaneously improve measurement accuracy and efficiency in multi-band radiated spurious scanning of 6G terminal devices. Fixed scanning parameters lead to excessively wide resolution bandwidth or short dwell time in certain states, resulting in insufficient measurement accuracy or decreased efficiency.

Method used

By using a state-parameter mapping table, the time-frequency scanning parameters are dynamically adjusted according to the working state of the device under test, ensuring the matching of resolution bandwidth and dwell time under different working states. Different combinations of time-frequency scanning parameters are used to adapt to the stray radiation characteristics in beam training, data transmission, measurement, and idle states.

Benefits of technology

This method improves the measurement accuracy and efficiency of multi-band radiated stray scanning, reduces invalid measurement windows, shortens test preparation time, and enhances the feasibility and robustness of the method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123136240A_ABST
    Figure CN123136240A_ABST
Patent Text Reader

Abstract

The present application relates to a kind of time-frequency joint scanning test methods of multi-band radiation stray signal, in this method, the first working state identifier of the equipment under test is acquired, according to the state-parameter mapping table of pre-set, determine the first time-frequency scanning parameter corresponding to the first working state identifier, control spectrum analyzer during the equipment under test is in the working state indicated by the first working state identifier, using the first time-frequency scanning parameter scans stray radiation power value;The second working state identifier of the equipment under test is acquired, according to the state-parameter mapping table, determine the second time-frequency scanning parameter corresponding to the second working state identifier, control spectrum analyzer during the equipment under test is in the working state indicated by the second working state identifier, using the second time-frequency scanning parameter scans stray radiation power value;Wherein, the working state indicated by the second working state identifier is different from the working state indicated by the first working state identifier, and the second time-frequency scanning parameter is different from the first time-frequency scanning parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of data processing and relates to a time-frequency joint scanning test method for multi-band radiated stray signals. Background Technology

[0002] Radiated spurious emissions testing is a mandatory test item in the electromagnetic compatibility certification of wireless communication equipment. During the test, the device under test (DUT) sequentially enters different operating states under the control of the test system. The spectrum analyzer scans point by point within the test frequency range, measures the spurious radiated power value of the DUT at each frequency point, and compares it with the standard limit.

[0003] With the emergence of 6G terminal devices, how to achieve multi-band radiated spurious scanning for these devices is a current research problem. Summary of the Invention

[0004] In view of this, in order to solve the above problems, the present invention provides a time-frequency joint scanning test method for multi-band radiated stray signals.

[0005] To achieve the above objectives, the present invention provides the following technical solution:

[0006] In a first aspect, a time-frequency joint scanning test method for multi-band radiated spurious signals is provided, applied to a test system. The test system is communicatively connected to the device under test (DUT) and a spectrum analyzer. The spectrum analyzer is used to scan the spurious radiated power value of the DUT within a test frequency range. The method includes: acquiring a first operating state identifier of the DUT; determining a first time-frequency scanning parameter corresponding to the first operating state identifier according to a preset state-parameter mapping table; and controlling the spectrum analyzer to scan the spurious radiated power value using the first time-frequency scanning parameter while the DUT is in the operating state indicated by the first operating state identifier; acquiring a second operating state identifier of the DUT; determining a second time-frequency scanning parameter corresponding to the second operating state identifier according to the state-parameter mapping table; and controlling the spectrum analyzer to scan the spurious radiated power value using the second time-frequency scanning parameter while the DUT is in the operating state indicated by the second operating state identifier; wherein the operating state indicated by the second operating state identifier is different from the operating state indicated by the first operating state identifier, and the second time-frequency scanning parameter is different from the first time-frequency scanning parameter.

[0007] Through the above scheme, the test system determines the time-frequency scanning parameters corresponding to the operating state of the device under test (DUT) from a preset state-parameter mapping table based on the DUT's operating state identifier, and controls the spectrum analyzer to use the corresponding time-frequency scanning parameters for scanning during that operating state. The time-frequency scanning parameters differ for different operating states. Compared to existing technologies where the spectrum analyzer uses fixed scanning parameters throughout the test, this method allows the time-frequency scanning parameters to change synchronously with the DUT's operating state. This maintains a match between the spectral characteristics of stray radiation and the scanning parameters under different operating states, avoiding insufficient measurement accuracy due to excessively wide resolution bandwidth or short dwell time in certain operating states, and reduced scanning efficiency due to excessively narrow resolution bandwidth or long dwell time in other operating states. This improves the measurement accuracy and scanning efficiency of multi-band radiated stray radiation scanning.

[0008] Optionally, the operating state indicated by the first or second operating state identifier is any one of the following: beam training state, data transmission state, measurement state, or idle state; the state-parameter mapping table contains the following correspondences between operating states and time-frequency scanning parameters: beam training state corresponds to a first resolution bandwidth and a first dwell time; data transmission state corresponds to a second resolution bandwidth and a second dwell time, where the second resolution bandwidth is less than the first resolution bandwidth and the second dwell time is greater than the first dwell time; measurement state corresponds to a third resolution bandwidth and a third dwell time, where the third resolution bandwidth is less than the first resolution bandwidth and greater than the second resolution bandwidth, and the third dwell time is greater than the first dwell time and less than the second dwell time; idle state corresponds to a fourth resolution bandwidth and a fourth dwell time, where the fourth resolution bandwidth is greater than the first resolution bandwidth and the fourth dwell time is less than the first dwell time.

[0009] Therefore, the state-parameter mapping table covers four operating states: beam training, data transmission, measurement, and idle. The resolution bandwidth and dwell time are set according to the spectral characteristics of spurious radiation in each state. In beam training state, spurious radiation has a wide bandwidth and appears intermittently. Using a relatively wide resolution bandwidth and a short dwell time can quickly cover the scanning range and reduce the probability of missing intermittent spurious radiation. In data transmission state, spurious radiation is concentrated in narrowband frequencies. Using a narrower resolution bandwidth and a longer dwell time can accurately distinguish the peak power of narrowband spurious radiation and avoid the peak being averaged by the bandwidth. In idle state, spurious radiation is generally weak and irregularly distributed. Using the widest resolution bandwidth and the shortest dwell time can quickly pass through non-abnormal frequency bands. The improved matching degree between scanning parameters and spurious radiation characteristics in each operating state improves both measurement accuracy and scanning efficiency.

[0010] Optionally, the first resolution bandwidth is 3MHz and the first dwell time is 1ms; the second resolution bandwidth is 100kHz and the second dwell time is 10ms; the third resolution bandwidth is 1MHz and the third dwell time is 5ms; and the fourth resolution bandwidth is 10MHz and the fourth dwell time is 0.5ms.

[0011] Therefore, the four operating states in the state-parameter mapping table correspond to specific feasible combinations of time-frequency scanning parameters. The test system can directly configure the spectrum analyzer according to the above values, eliminating the need for parameter debugging for each operating state before testing, thus shortening test preparation time. Furthermore, the above numerical combinations ensure that the resolution bandwidth and dwell time in beam training, data transmission, measurement, and idle states are all on a distinguishable order of magnitude. The differences in measurement behavior after switching scanning parameters in different states are clear, improving the feasibility of the method in actual testing.

[0012] Optionally, the method further includes: obtaining the parameter reconfiguration time T1 of the spectrum analyzer and the state switching time T2 of the device under test, wherein T1 is greater than T2; when it is necessary to switch the device under test from the working state indicated by the first working state identifier to the working state indicated by the second working state identifier, first sending a parameter switching command carrying the second time-frequency scanning parameters to the spectrum analyzer, and after waiting for T1 time, sending a state switching command carrying the second working state identifier to the device under test.

[0013] Therefore, when the time required for the spectrum analyzer to complete parameter reconfiguration is longer than the time required for the device under test (DUT) to complete state switching, a parameter switching command should be issued first, and the state switching command should be issued after the spectrum analyzer has completed parameter reconfiguration for time T1. This ensures that the second time-frequency scan parameters of the spectrum analyzer are ready when the DUT begins to enter its second operating state. This avoids the period where switching the device state before the scan parameters have been switched, eliminating the mismatch between measurement data and operating state during this period. It also reduces the invalid measurement window between parameter switching and state switching, thus improving the efficiency of test data.

[0014] Optionally, the method further includes: obtaining the parameter reconfiguration time T1 of the spectrum analyzer and the state switching time T2 of the device under test, wherein T1 is less than or equal to T2; when it is necessary to switch the device under test from the working state indicated by the first working state identifier to the working state indicated by the second working state identifier, first sending a state switching command carrying the second working state identifier to the device under test, and then sending a parameter switching command carrying the second time-frequency scanning parameters to the spectrum analyzer within a time period of no later than T2 minus T1 after sending the state switching command.

[0015] Therefore, when the time required for the device under test (DUT) to complete the state switch is not less than the time required for the spectrum analyzer to complete the parameter reconfiguration, the state switch command should be issued first, utilizing the T2 time period consumed by the DUT's state switch to complete the spectrum analyzer's parameter reconfiguration. The parameter switch operation does not consume additional test time, and the spectrum analyzer's second time-frequency scan parameters are already ready when the DUT completes the state switch. Compared to waiting for the parameter switch to complete before initiating the state switch, the total time for state and parameter switching is shortened from T1 + T2 to T2, reducing the time overhead of the switching process and improving test efficiency.

[0016] Optionally, T1 is determined by averaging multiple measurements taken by the spectrum analyzer, and T2 is determined by averaging multiple measurements taken by the device under test.

[0017] Therefore, it can be seen that the time consumed by parameter reconfiguration and the time consumed by state switching are both obtained by averaging multiple measurements. A single measurement may be affected by the instantaneous fluctuation of the equipment's state and may produce deviations. Averaging multiple measurements reduces the impact of single measurement fluctuations on the values ​​of T1 and T2, making the time parameters on which timing coordination depends closer to the actual average time consumed by the equipment. The probability of switching timing being advanced or delayed due to deviation of time parameters is reduced, and the reliability of timing coordination is improved.

[0018] Optionally, when switching the time-frequency scanning parameters of the spectrum analyzer from the first time-frequency scanning parameters to the second time-frequency scanning parameters, the method further includes: if the current scanning cycle of the spectrum analyzer using the first time-frequency scanning parameters has not yet been completed, controlling the spectrum analyzer to continue using the first time-frequency scanning parameters to complete the current scanning cycle, and associating the measurement data of the current scanning cycle with the first working status identifier; when the spectrum analyzer completes the switching of the second time-frequency scanning parameters and the device under test completes the switching of the working status, at the start of the next scanning cycle, controlling the spectrum analyzer to scan using the second time-frequency scanning parameters, and associating the corresponding measurement data with the second working status identifier.

[0019] Therefore, parameter switching occurs before the current scan cycle is completed, ensuring that the already started scan cycle is not interrupted. The complete cycle data measured with the old parameters is retained and associated with the first working status identifier. From the next scan cycle after the switch is completed, the data measured with the new parameters is associated with the second working status identifier. Measurement data before and after the switching boundary both carry working status identifiers, preventing confusion between the old and new measurement results due to residual data of the old parameters at the switching boundary during subsequent analysis, thus improving data traceability.

[0020] Optionally, when the time-frequency scanning parameters of the spectrum analyzer are switched from the first time-frequency scanning parameters to the second time-frequency scanning parameters, the method further includes: controlling the spectrum analyzer to complete the measurement of the last M frequency points in the last scan cycle executed using the first time-frequency scanning parameters; after switching to the second time-frequency scanning parameters, controlling the spectrum analyzer to remeasure the M frequency points starting from the starting frequency point among the M frequency points using the second time-frequency scanning parameters; where M is a preset positive integer.

[0021] Therefore, it can be seen that the M frequency points at the switching boundary are measured once before and after the parameter switching, using the first time-frequency scan parameters and the second time-frequency scan parameters respectively. The switching will not cause the boundary frequency points to be skipped due to parameter change or measured only under one set of parameters. The frequency point coverage at the switching boundary remains continuous, reducing the risk of frequency point omission due to switching and improving the integrity of the measurement data.

[0022] Optionally, the method further includes: when a parameter switching command carrying a second time-frequency scanning parameter is sent to the spectrum analyzer, if no parameter reconfiguration completion response is received within a preset timeout period, controlling the spectrum analyzer to maintain the current scanning parameters and continue scanning, and recording the parameter switching timeout event; when a state switching command carrying a second working state identifier is sent to the device under test, if no state switching completion response is received within a preset timeout period, keeping the current scanning parameters of the spectrum analyzer unchanged, and recording the state switching timeout event.

[0023] Therefore, if a parameter switch or state switch fails to complete within the preset timeout period, the test system does not forcibly interrupt the scanning process. Instead, it maintains the current scanning parameters and continues scanning while recording the timeout event. In abnormal situations, the test process is maintained, and measurement data is not interrupted due to parameter switch failure or state switch failure. Subsequently, the timeout event record can be used to locate the time and object of the anomaly, improving the robustness and recoverability of the test process.

[0024] Optionally, the method further includes: calculating the spurious radiation signal detection rate and scanning time for each working state within a preset statistical period.

[0025] Therefore, by statistically analyzing the spurious radiation signal detection rate and scanning time under each operating state, quantitative data can be obtained. The detection rate reflects the effectiveness of spurious signal detection under each operating state, while the scanning time reflects the consumption of scanning resources under each operating state. The combination of these two data provides a quantifiable data basis for evaluating the rationality of the current time-frequency scanning parameters under each operating state. Subsequently, parameter optimization can be performed for states with low detection rates or excessively long scanning times, thus improving the targeted nature of parameter adjustments.

[0026] In a second aspect, a testing system is provided, which is configured to perform methods as described in the first aspect or any alternative method.

[0027] Thirdly, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method as described in the first aspect or any alternative method.

[0028] The objectives and other advantages of this invention can be realized and obtained through the following description. Attached Figure Description

[0029] To make the objectives, technical solutions, and advantages of the present invention clearer, the preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, wherein:

[0030] Figure 1 A schematic diagram of a multi-device system provided by the present invention;

[0031] Figure 2 A flowchart illustrating a time-frequency joint scanning test method for multi-band radiated spurious signals provided by the present invention;

[0032] Figure 3 This is a schematic diagram of the structure of a testing system provided by the present invention. Detailed Implementation

[0033] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other. The accompanying drawings are for illustrative purposes only, representing only schematic diagrams and not actual physical objects, and should not be construed as limiting the present invention. To better illustrate the embodiments of the present invention, some parts in the drawings may be omitted, enlarged, or reduced, and do not represent the actual product form.

[0034] Figure 1 This is a schematic diagram of a multi-device system provided in an embodiment of this application. Figure 1 As shown, the system includes: a test system, the device under test, and a spectrum analyzer.

[0035] The testing system can be a computer device running test control software or a dedicated test instrument integrating test control functions. The testing system is used to execute the time-frequency joint scanning test method for multi-band radiated spurious signals provided in the embodiments of this application. Specifically, the testing system is used to: acquire the operating status identifier of the device under test (DUT); determine the time-frequency scanning parameters corresponding to the operating status identifier according to a preset status-parameter mapping table; and during the test, send a status switching command to the DUT and a parameter switching command to the spectrum analyzer, controlling the spectrum analyzer to scan the spurious radiated power value using the corresponding time-frequency scanning parameters when the DUT is in the corresponding operating status. The testing system is also used to record the measurement data returned by the spectrum analyzer.

[0036] The device under test (DUT) is a wireless communication device, which can be a 6G terminal or a 6G base station. During testing, the DUT is controlled by the test system and switches between different operating states. These states include beam training, data transmission, measurement, and idle. In each operating state, the internal RF link of the DUT operates in a different mode, resulting in different spectral characteristics of the spurious radiation signals it generates. The DUT is the source of these spurious radiation signals.

[0037] A spectrum analyzer is a measurement instrument that performs frequency scanning, used to scan the stray radiated power values ​​of the device under test point by point within the test frequency range. The spectrum analyzer receives time-frequency scan parameter configuration commands from the test system, performs the scan according to the configured resolution bandwidth and dwell time, and returns the measurement results to the test system.

[0038] The test system and the device under test establish a communication connection through the first control interface. The first control interface is used to transmit state switching commands and status identification information, and can be a Universal Serial Bus (USB) interface, serial port, network port, or wireless control link.

[0039] The test system and the spectrum analyzer establish a communication connection through a second control interface. This second control interface is used to transmit parameter switching commands and measurement data, and can be a General Purpose Interface Bus (GPIB) interface, a USB interface, or a network port.

[0040] At the start of the test, the test system reads the first operating state to be tested from the test plan. Based on a preset state-parameter mapping table, the test system determines the time-frequency scanning parameters corresponding to that operating state, sends parameter configuration commands to the spectrum analyzer via the second control interface, and sends state control commands to the device under test via the first control interface. After the device under test enters that operating state, the spectrum analyzer uses the configured time-frequency scanning parameters to scan for spurious radiated power values ​​within the test frequency range.

[0041] When a switch to another operating state is required, the test system determines the target time-frequency scanning parameters based on the state-parameter mapping table, compares the target time-frequency scanning parameters with the time-frequency scanning parameters currently used by the spectrum analyzer, and issues state switching commands and parameter switching commands to both the device under test (DUT) and the spectrum analyzer via a timing-coordinated approach. This ensures that the spectrum analyzer has completed parameter reconfiguration by the time the DUT completes the state switch. The spectrum analyzer continues scanning using the new parameters while the DUT is in the new operating state.

[0042] For details on the specific interaction timing and parameter switching of each device in this system embodiment, please refer to the description in the foregoing method embodiment, which will not be repeated here.

[0043] Figure 2 This is a flowchart illustrating a time-frequency joint scanning test method for multi-band radiated spurious signals provided in an embodiment of this application. The method is applied to a test system. The test system can be a computer device running test control software or a dedicated test instrument integrating test control functions. The test system is communicatively connected to both the device under test (DUT) and a spectrum analyzer. The DUT is the wireless communication device to be tested, which can be a 6G terminal device or a 6G base station device. The spectrum analyzer is a measuring instrument that performs frequency scanning. Figure 2 As shown, the method includes steps S201 to S202.

[0044] It should be noted that in this embodiment, "forward" refers to parameter configuration preceding state switching, and "reverse" refers to state switching preceding parameter configuration. The first working state identifier refers to the working state identifier acquired first during the test, and the second working state identifier refers to the working state identifier acquired later. The first time-frequency scan parameter refers to the time-frequency scan parameter corresponding to the first working state identifier, and the second time-frequency scan parameter refers to the time-frequency scan parameter corresponding to the second working state identifier. The first resolution bandwidth, second resolution bandwidth, third resolution bandwidth, and fourth resolution bandwidth in the state-parameter mapping table correspond to different working state entries and belong to a different level of concept from the first and second time-frequency scan parameters.

[0045] S201, acquire the first working status identifier of the device under test, determine the first time-frequency scanning parameter corresponding to the first working status identifier according to the preset status-parameter mapping table, and control the spectrum analyzer to scan the stray radiation power value using the first time-frequency scanning parameter during the working state indicated by the first working status identifier of the device under test.

[0046] In this embodiment, the device under test (DUT) is controlled by the test system during the testing process, switching between different operating states. The operating state identifier is an enumerated value indicating the current operating state of the DUT. The operating state identifier can be actively reported by the DUT or obtained by the test system through a query to the DUT via a control interface. The communication link between the test system and the DUT can be a USB interface, serial port, Ethernet port, or wireless control link.

[0047] The first operational status identifier is the operational status identifier of the device under test (DUT) first acquired by the test system during the test process. For example, the first operational status identifier is BEAM_TRAINING, indicating that the DUT is in beam training state.

[0048] The state-parameter mapping table is a pre-stored set of correspondences in the test system. It contains the correspondence between the various operating states of the device under test (DUT) and the time-frequency scan parameters of the spectrum analyzer. The time-frequency scan parameters include at least resolution bandwidth and dwell time. Resolution bandwidth (RBW) is the bandwidth of the intermediate frequency filter in the spectrum analyzer, determining its ability to distinguish adjacent signals in frequency. A narrower resolution bandwidth results in higher frequency resolution but a slower scan speed; a wider resolution bandwidth results in a faster scan speed, but adjacent narrowband signals may be merged and displayed, leading to a lower measured peak power after bandwidth averaging. Dwell time is the time the spectrum analyzer stays and measures at each frequency step. A longer dwell time results in more stable measurement data but a significantly increased total scan time; a shorter dwell time results in faster scanning but greater data jitter, and weak spurious signals may be overwhelmed by noise and missed.

[0049] The status-parameter mapping table is loaded into the test system's memory when the test plan starts. Loading can be done by reading from a local configuration file or downloading from a remote server. The configuration parameters for the mapping table retrieval method are stored in the test system's local configuration file, and testers can select local or remote loading through the test system's configuration interface. If the status-parameter mapping table is configured to be retrieved from a remote server, the test system checks the remote version number during loading; if the remote version number is higher than the local cached version number, the latest version is downloaded. If the remote mapping table is updated during testing, the currently executing test plan is unaffected, the mapping table already loaded into memory remains unchanged, and the new mapping table takes effect when the next test plan starts.

[0050] After obtaining the first operating state identifier, the test system looks up the corresponding time-frequency scan parameter in the state-parameter mapping table to obtain the first time-frequency scan parameter. The test system then sends a configuration command carrying the first time-frequency scan parameter to the spectrum analyzer via the control interface. The control interface can be a General Purpose Interface Bus (GPIB) interface, a USB interface, or a network port. After completing the parameter configuration, the spectrum analyzer uses the first time-frequency scan parameter to scan the spurious radiated power value point by point within the test frequency range while the device under test is in the operating state indicated by the first operating state identifier.

[0051] S202, acquire the second operating status identifier of the device under test, determine the second time-frequency scanning parameter corresponding to the second operating status identifier according to the status-parameter mapping table, and control the spectrum analyzer to scan the stray radiation power value using the second time-frequency scanning parameter during the period when the device under test is in the operating status indicated by the second operating status identifier.

[0052] In this embodiment, the second operating status identifier is the operating status identifier of the device under test acquired by the test system after acquiring the first operating status identifier. The operating status indicated by the second operating status identifier is different from that indicated by the first operating status identifier, and the second time-frequency scan parameters are different from the first time-frequency scan parameters.

[0053] For example, the second operating state is identified as DATA_TRANSFER, indicating that the device under test (DUT) is in data transmission state. The test system looks up the time-frequency scan parameter corresponding to DATA_TRANSFER in the state-parameter mapping table to obtain the second time-frequency scan parameter. The test system controls the spectrum analyzer to complete the parameter switching, and uses the second time-frequency scan parameter to scan the spurious radiation power value while the DUT is in data transmission state.

[0054] For example, the operating state indicated by the first operating state identifier or the second operating state identifier is any of the following: beam training state, data transmission state, measurement state, or idle state.

[0055] The status-parameter mapping table contains the following correspondences between operating states and time-frequency scan parameters:

[0056] The beam training state corresponds to the first resolution bandwidth and the first dwell time. During beam training, the beamforming circuit of the device under test switches rapidly, the power amplifier operates intermittently, and spurious radiation has a wide bandwidth and appears intermittently. Using a relatively wide resolution bandwidth and a short dwell time can quickly cover the scanning range and reduce the probability of missing intermittent spurious emissions.

[0057] The data transmission state corresponds to the second resolution bandwidth and the second dwell time. The second resolution bandwidth is smaller than the first resolution bandwidth, and the second dwell time is larger than the first dwell time. In the data transmission state, the device under test continuously transmits at maximum power, and harmonics and intermodulation products are concentrated at specific narrowband frequencies. Using a narrower resolution bandwidth can accurately distinguish the peak power of narrowband spurious signals, avoiding underestimation and missed detection due to the peak value being averaged by the bandwidth; using a longer dwell time provides sufficient measurement integration time, improving the stability of measurement data at narrowband frequencies.

[0058] The measurement state corresponds to the third resolution bandwidth and the third dwell time. The third resolution bandwidth is less than the first resolution bandwidth but greater than the second resolution bandwidth, and the third dwell time is greater than the first dwell time but less than the second dwell time. In the measurement state, the spurious radiation characteristics of the device under test are between those of the beam training state and the data transmission state. A compromise resolution bandwidth and dwell time are adopted to balance measurement accuracy and scanning speed.

[0059] The idle state corresponds to the fourth resolution bandwidth and the fourth dwell time. The fourth resolution bandwidth is greater than the first resolution bandwidth, and the fourth dwell time is less than the first dwell time. In the idle state, the device under test has no intentional emission, but the internal clock and oscillator are still working, and spurious radiation is generally weak and irregularly distributed. The widest resolution bandwidth and shortest dwell time are used to achieve rapid scanning and quickly pass through anomaly-free frequency bands.

[0060] For example, the first resolution bandwidth is 3MHz and the first dwell time is 1ms; the second resolution bandwidth is 100kHz and the second dwell time is 10ms; the third resolution bandwidth is 1MHz and the third dwell time is 5ms; and the fourth resolution bandwidth is 10MHz and the fourth dwell time is 0.5ms.

[0061] The test plan specifies the test sequence, for example, testing the beam training state first, then the data transmission state, then the measurement state, and finally the idle state. The test plan also specifies the switching sequence of the operating states. During the switching process between states, the test system, based on the relationship between the parameter reconfiguration time of the spectrum analyzer and the device state switching time, adopts either a forward timing method or a reverse timing method to ensure that parameter reconfiguration and state switching are performed in parallel, thus shortening the total test time.

[0062] Optionally, the method also includes a forward timing approach.

[0063] The test system acquires the time T1 for parameter reconfiguration of the spectrum analyzer and the time T2 for state switching of the device under test. T1 is the time required from when the test system sends the parameter configuration command to the spectrum analyzer until the spectrum analyzer completes the parameter reconfiguration and is ready to start the next scan cycle with the new parameters. T2 is the time required from when the test system sends the state switching command to the device under test until the device under test completes the internal RF link reconfiguration and enters the target operating state.

[0064] When T1 is greater than T2, the forward timing mode is executed. The test system first sends a parameter switching command carrying the second time-frequency scan parameters to the spectrum analyzer, and starts timing after sending the parameter switching command. When the timing reaches T1, the spectrum analyzer has completed parameter reconfiguration. At this moment, the test system sends a state switching command carrying the second operating state identifier to the device under test. The device under test completes the state switch after T2 and enters the second operating state. Since the parameter switching command is sent before the state switching command, and T1 is greater than T2, when the device under test completes the state switch, the second time-frequency scan parameters of the spectrum analyzer are already ready, leaving a time margin of T1 minus T2. The next scan cycle directly scans the spurious radiation power value in the second operating state using the second time-frequency scan parameters.

[0065] For example, before testing, the predicted values ​​are T1 as 50ms and T2 as 20ms, with T1 greater than T2, using a forward timing method. After the beam training state scan is completed, the test system prepares to switch to the data transmission state. The target time-frequency scan parameters are 100kHz / 10ms. The test system first sends a parameter switching command to the spectrum analyzer and starts timing. After 50ms, the test system sends a state switching command to the device under test. The device under test completes the state switch and enters the data transmission state after 20ms. At this time, the spectrum analyzer has completed parameter reconfiguration for 30ms. The next scan cycle directly scans the spurious radiation power value in the data transmission state at 100kHz / 10ms.

[0066] Alternatively, the method may also include a reverse timing approach.

[0067] When T1 is less than T2, the reverse timing mode is executed. The test system first sends a state switching command carrying the second operating state identifier to the device under test (DUT). Within the T2 time period during which the DUT performs the state switching, the test system sends a parameter switching command carrying the second time-frequency scan parameters to the spectrum analyzer. To avoid the parameter switching command being sent too late, causing the spectrum analyzer to not have completed parameter reconfiguration when the DUT completes the state switching, the test system sends the parameter switching command within a time period less than T2 minus T1 after sending the state switching command, reserving a full time margin for parameter reconfiguration. Since the parameter switching command is sent no later than T2 minus T1, the time when the spectrum analyzer completes parameter reconfiguration is strictly earlier than the time when the DUT completes the state switching. When the DUT enters the second operating state, the second time-frequency scan parameters of the spectrum analyzer are already ready. The next scan cycle directly scans the spurious radiation power value in the second operating state using the second time-frequency scan parameters.

[0068] For example, before testing, the predicted values ​​are T1 as 30ms and T2 as 80ms. Since T1 is less than T2, a reverse timing method is used. T2 minus T1 equals 50ms. The test system decides to switch the device under test (DUT) from data transmission state to idle state. The test system first sends a state switching command to the DUT. The state switching takes 80ms to complete. 10ms after the state switching command is issued (less than 50ms), the test system sends a parameter switching command to the spectrum analyzer (switching from 100kHz / 10ms to 10MHz / 0.5ms). Parameter reconfiguration is completed within 30ms, that is, the parameter reconfiguration is completed 40ms after the state switching command is issued. At this time, the DUT's state switching is not yet complete (it will be completed at 80ms). The DUT completes the state switching at 80ms and enters the idle state. The spectrum analyzer has been using 10MHz / 0.5ms and has been waiting for 40ms. The next scan cycle starts directly with the new parameters. The total time for state switching and parameter switching is equal to T2, which is 80ms, 30ms shorter than T1 plus T2 (110ms) in the forward timing method.

[0069] When T1 equals T2, it is treated as an independent case. The test system sends a parameter switching command to the spectrum analyzer at the same time as issuing the state switching command. Parameter reconfiguration and state switching start and complete simultaneously. When the device under test completes the state switching and enters the second operating state, the second time-frequency scan parameters of the spectrum analyzer are just ready. The next scan cycle directly scans the stray radiation power value in the second operating state using the second time-frequency scan parameters.

[0070] For example, T1 equals T2, both being 50ms. The test system first sends a state switching command to the device under test (DUT) and simultaneously sends a parameter switching command to the spectrum analyzer. The spectrum analyzer completes parameter reconfiguration within 50ms, and the DUT also completes state switching within 50ms. Parameter reconfiguration and state switching are completed simultaneously, without generating invalid measurement windows.

[0071] It should be understood that T1 is determined by averaging multiple measurements taken from the spectrum analyzer, and T2 is determined by averaging multiple measurements taken from the device under test (DUT). Before the test begins, the test system sends test commands to both the spectrum analyzer and the DUT, and measures the time elapsed from the issuance of the command to the completion of the response.

[0072] For example, the measurement is repeated 5 times, and the arithmetic mean of the 5 measurements is taken as T1. If the standard deviation of the 5 measurements exceeds 10% of the average, the measurement with the largest deviation is discarded, and the average is recalculated. The measurement of T1 is performed at the midpoint of the test frequency band (e.g., around 13GHz), and the switching time at this frequency is used as the representative value of the switching time across the entire frequency band. If, during subsequent scans, the switching time of other frequency bands deviates from the representative value by more than 20%, T1 is updated based on the actual measurement value of that frequency band. T2 is obtained in the same way.

[0073] Dynamic updates to T1 during testing do not affect the timing selection for the currently executing state transition. The timing mode (forward or reverse) is determined based on the current T1 and T2 measurements when the test plan is initiated. If T1 is updated due to frequency band deviation during testing, the updated T1 value will take effect at the next state transition.

[0074] Taking the average of multiple measurements can reduce the deviation caused by the instantaneous fluctuations in the equipment's status during a single measurement, making the values ​​of T1 and T2 closer to the equipment's true average time consumption.

[0075] Optionally, when the time-frequency scanning parameters of the spectrum analyzer are switched from the first time-frequency scanning parameters to the second time-frequency scanning parameters, the method further includes scanning data marking, as follows.

[0076] If the spectrum analyzer has not yet completed the current scan cycle using the first time-frequency scan parameters, the spectrum analyzer continues to use the first time-frequency scan parameters to complete the current scan cycle and associates the measurement data of the current scan cycle with the first working status identifier.

[0077] If the current scan cycle is not yet complete, but the device under test (DUT) has already switched to the second operating state, the measurement data for that scan cycle is marked as boundary data. It is then associated with the first operating state identifier and the DUT's current actual operating state identifier, and the test report indicates that the measurement conditions for that scan cycle are cross-state measurements. This portion of the measurement data is categorized separately in the subsequent statistical analysis and is not included in the stray radiation statistics for any operating state.

[0078] When the spectrum analyzer completes the second time-frequency scan parameter switching and the device under test completes the working state switching, at the start of the next scan cycle, the spectrum analyzer uses the second time-frequency scan parameter to scan and associates the corresponding measurement data with the second working state identifier.

[0079] Through data labeling, the measurement data of each scan cycle is associated with the corresponding operating state of the device under test and the time-frequency scan parameters. Even if there is residual data from the old parameter scan or cross-state measurement data at the switching boundary, it will not be confused with the measurement data under the new state during subsequent analysis.

[0080] Optionally, when the time-frequency scanning parameters of the spectrum analyzer are switched from the first time-frequency scanning parameters to the second time-frequency scanning parameters, the method also includes relevant strategies for overlapping frequency band processing, as follows.

[0081] Because the resolution bandwidth and frequency step differ before and after the handover, defining the overlap range by the number of frequency points cannot guarantee the physical consistency of frequency coverage. Therefore, overlapping frequency band processing is based on the frequency range, rather than the number of frequency points.

[0082] Specifically, in the last scan cycle performed using the first time-frequency scan parameters, the spectrum analyzer records the start and end frequencies covered by that scan cycle. After switching to the second time-frequency scan parameters, the spectrum analyzer starts from the recorded start frequency and rescans to the recorded end frequency using the second time-frequency scan parameters. The number of frequency points within this frequency range is denoted as M, where M is a natural number determined based on the frequency range and the resolution bandwidth of the second time-frequency scan parameters.

[0083] For example, the state switch occurs near frequency point F, which is approximately 8.2 GHz. Before the switch, a 3 MHz / 1 ms parameter is used, and the last scan cycle covers frequencies from 8.190 GHz to 8.210 GHz. After the switch, a 100 kHz / 10 ms parameter is used, and the first scan cycle starts measuring again from 8.190 GHz, gradually covering up to 8.210 GHz, requiring measurements of approximately 200 frequency points (frequency span of 20 MHz divided by 100 kHz steps). In the measurement log, there are two sets of measurement data for the 8.190 GHz to 8.210 GHz band, corresponding to the parameters before and after the switch, respectively. Overlapping frequency band processing ensures that the frequency band at the switch boundary is completely measured under both sets of parameters, maintaining physical continuity of frequency coverage at the switch boundary and preventing omissions due to changes in resolution bandwidth.

[0084] Optionally, after the test system sends a parameter switching command carrying the second time-frequency scanning parameters to the spectrum analyzer, if no parameter reconfiguration completion response is received within a preset timeout period, the test system controls the spectrum analyzer to continue scanning with the current scanning parameters and records the parameter switching timeout event. The recorded content of the timeout event includes the time of timeout occurrence, the target time-frequency scanning parameters, and the currently used time-frequency scanning parameters.

[0085] For example, the preset timeout duration is twice T1. During the test, the spectrum analyzer fails to complete parameter reconfiguration within 100ms (twice T1, where T1 is 50ms) due to an unexpected triggering of the internal calibration process. The test system determines that the parameter switching has timed out, records the timeout event, and controls the spectrum analyzer to maintain the current scanning parameters and continue scanning. In the forward timing mode, parameter switching precedes state switching, and the test system temporarily suspends issuing state switching commands.

[0086] The re-initiation process after a parameter switching timeout is as follows: The test system first queries the spectrum analyzer for the current parameter configuration status. If the spectrum analyzer is still in the switching state, the test system sends a stop command to the spectrum analyzer and resends the parameter switching command after the spectrum analyzer returns to an idle state. If the spectrum analyzer is in an idle state, the test system directly resends the parameter switching command. After a successful re-initiation, the test system continues execution according to the original forward timing method, that is, it waits for T1 time intervals before sending a state switching command to the device under test.

[0087] When the test system sends a state switching command carrying a second operating state identifier to the device under test (DUT), and does not receive a state switching completion response within a preset timeout period, the test system maintains the current scanning parameters of the spectrum analyzer unchanged and records the state switching timeout event. The recorded content of the timeout event includes the time of timeout occurrence, the target operating state identifier, and the current state of the DUT.

[0088] For example, the preset timeout duration is 3 times T2. After a state transition timeout occurs, the test system queries the device under test (DUT) for its current operating status. If the DUT has completed the state transition but has not returned a completion response, the test system uses the query result as the standard and continues with subsequent scans according to the normal procedure. If the DUT confirms that the state transition has not been completed, the test system reissues the state transition command and records the retry event in the test log.

[0089] Optionally, transient spurious signals generated by the device under test during operational state switching (during RF link reconfiguration) are separately tagged as "Transient Spurious Signals - Device State Switching" and are not included in the spurious signal statistics for any operational state. This type of data is recorded separately in the transient spurious event table of the test log for testers to analyze spurious behavior during device state switching. Each record in the transient spurious event table includes: the frequency point of the transient spur, the power value, the time of occurrence, and the corresponding state switching direction (from which state to which state).

[0090] Optionally, the test system statistically analyzes the spurious radiation signal detection rate and scanning time for each operating state within a preset statistical period. The detection rate refers to the ratio of the number of frequency points whose measured values ​​exceed a preset threshold of interest in that operating state to the total number of frequency points scanned in that operating state. The scanning time refers to the time required for the spectrum analyzer to complete a full-band scan in that operating state.

[0091] For example, after the test system completed the radiated spurious emissions test of 5 6G terminal devices, it statistically analyzed the scanning time and spurious emission signal detection rate in each state. The spurious emission signal detection rate in the idle state was 0.3%, but the scanning time in the idle state accounted for 15% of the total test time.

[0092] The statistical results are output to the test log file for offline analysis by testers. In an optional implementation, the test system also automatically adjusts the dwell time configuration of the corresponding state in the state-parameter mapping table based on the detection rate statistics of a preset statistical period: when the detection rate is lower than a first threshold, the dwell time of the corresponding state is shortened by a preset step (for example, the preset step is 10% of the current dwell time, and the minimum adjustment step is not less than 0.1ms); when the detection rate is higher than a second threshold, the dwell time is increased by a preset step, and an adjustment event is recorded after the adjustment. The adjustment event includes the adjustment time, the dwell time before the adjustment, the dwell time after the adjustment, and the basis for the adjustment.

[0093] The following situations may occur during testing, and the testing system will handle them as follows.

[0094] Scenario 1: The status-parameter mapping table does not contain an entry corresponding to the acquired working status identifier. The test system records the "unknown status" event in the measurement log, continues scanning with the current parameters of the spectrum analyzer, and continuously attempts to reacquire the working status identifier. When the number of consecutive failed acquisitions reaches a preset number, the test system outputs a prompt message to the tester.

[0095] The second scenario: Parameter switching is initiated just as the current scan cycle is completed. The spectrum analyzer directly enters the parameter reconfiguration process, and there are no unfinished scan cycles to process. The next scan cycle after parameter reconfiguration begins directly with the new parameters.

[0096] The third scenario: T1 and T2 are equal. When T1 and T2 are equal, they are treated as independent cases. The test system sends a parameter switching command to the spectrum analyzer at the same time as issuing the state switching command. The parameter reconfiguration and state switching are completed simultaneously, without generating invalid measurement windows.

[0097] The fourth scenario: Test plan is aborted during parameter switching. The test system sends an abort command to the spectrum analyzer, which stops scanning after completing the current scan cycle. Recorded measurement data is retained, and the abort time and completed scan range are recorded in the test log.

[0098] The fifth scenario: Transient spurious emissions are generated by the device under test during state transition. The measurement data of transient spurious emissions are processed according to the aforementioned transient spurious emissions marking method and are not included in the spurious emissions statistics for any operating state.

[0099] In summary, the test system determines the time-frequency scanning parameters corresponding to the operating state of the device under test (DUT) from a preset state-parameter mapping table based on the DUT's operating state identifier, and controls the spectrum analyzer to use the corresponding time-frequency scanning parameters during that operating state. The time-frequency scanning parameters differ for different operating states. Compared to existing technologies where the spectrum analyzer uses fixed scanning parameters throughout the test, this method allows the time-frequency scanning parameters to change synchronously with the DUT's operating state. This maintains a match between the spectral characteristics of stray radiation and the scanning parameters under different operating states, avoiding the measurement accuracy issues caused by fixed scanning parameters in certain operating states due to excessively wide resolution bandwidth or short dwell time, and the decreased scanning efficiency caused by excessively narrow resolution bandwidth or long dwell time in other operating states. This improves the measurement accuracy and scanning efficiency of multi-band radiated stray radiation scanning.

[0100] Figure 3 This is a schematic diagram of the structure of a test system provided in an embodiment of this application. Exemplarily, the test system can be a terminal, or a chip (system) or other component or part that can be disposed on the terminal. Figure 3As shown, the test system 200 may include a processor 201. Optionally, the test system 200 may also include a memory 202 and / or a transceiver 203. The processor 201 is coupled to the memory 202 and the transceiver 203, for example, via a communication bus.

[0101] The following is combined with Figure 3 A detailed description of each component of the test system 200 is provided below:

[0102] The processor 201 is the control center of the test system 200. It can be a single processor or a collective term for multiple processing elements. For example, the processor 201 can be one or more central processing units (CPUs), application-specific integrated circuits (ASICs), or one or more integrated circuits configured to implement the embodiments of this application, such as one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs).

[0103] Optionally, the processor 201 can perform various functions of the test system 200 by running or executing software programs stored in the memory 202 and calling data stored in the memory 202, such as performing the above-mentioned functions. Figure 2 The method shown.

[0104] In a specific implementation, as one example, the processor 201 may include one or more CPUs, for example... Figure 3 CPU0 and CPU1 are shown in the diagram.

[0105] In a specific implementation, as one example, the test system 200 may also include multiple processors, for example... Figure 3 The processor 201 shown is an example. Each of the processors 201 can be a single-core processor or a multi-core processor. Here, "processor" can refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).

[0106] The memory 202 is used to store the software program that executes the solution of this application, and the processor 201 controls its execution. The specific implementation method can be referred to the above method embodiment, and will not be repeated here.

[0107] Optionally, the memory 202 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory 202 may be integrated with the processor 201 or exist independently, and may be connected via the interface circuit of the test system 200. Figure 3 (Not shown in the image) is coupled to processor 201, but this embodiment does not specifically limit this.

[0108] Transceiver 203 is used for communication with other test systems. For example, if test system 200 is a terminal, transceiver 203 can be used to communicate with a network device or with another terminal device. As another example, if test system 200 is a network device, transceiver 203 can be used to communicate with a terminal or with another network device.

[0109] Optionally, transceiver 203 may include a receiver and a transmitter. Figure 3 (Not shown separately). The receiver is used to implement the receiving function, and the transmitter is used to implement the transmitting function.

[0110] Optionally, the transceiver 203 can be integrated with the processor 201 or exist independently, and can be connected to the interface circuit of the test system 200. Figure 3 (Not shown in the image) is coupled to processor 201, but this embodiment does not specifically limit this.

[0111] Understandable Figure 3 The structure of the test system 200 shown does not constitute a limitation on the test system. An actual test system may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0112] Furthermore, the technical effects of the testing system 200 can be referred to the technical effects of the methods described in the above method embodiments, and will not be repeated here.

[0113] It should be understood that the processor in the embodiments of this application can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.

[0114] It should also be understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced synchronous DRAM (ESDRAM), synchronous linked DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0115] The above embodiments can be implemented, in whole or in part, by software, hardware (such as circuits), firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. A semiconductor medium can be a solid-state drive.

[0116] It should be understood that the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. A and B can be singular or plural. Additionally, the character " / " in this article generally indicates an "or" relationship between the preceding and following related objects, but it can also represent an "and / or" relationship. Please refer to the context for a more accurate understanding.

[0117] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0118] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0119] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0120] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0121] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0122] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0123] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0124] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0125] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A time-frequency joint scanning test method for multi-band radiated spurious signals, characterized in that, The method is applied to a test system that is communicatively connected to both the device under test (DUT) and a spectrum analyzer. The spectrum analyzer is used to scan the stray radiation power value of the DUT within a test frequency range. The method includes: The first working state identifier of the device under test is obtained, and the first time-frequency scanning parameter corresponding to the first working state identifier is determined according to the preset state-parameter mapping table. The spectrum analyzer is controlled to scan the stray radiation power value using the first time-frequency scanning parameter during the working state indicated by the first working state identifier of the device under test. The second operating status identifier of the device under test is obtained, and the second time-frequency scanning parameter corresponding to the second operating status identifier is determined according to the status-parameter mapping table. The spectrum analyzer is controlled to scan the stray radiation power value using the second time-frequency scanning parameter during the period when the device under test is in the operating status indicated by the second operating status identifier. The working state indicated by the second working state identifier is different from the working state indicated by the first working state identifier, and the second time-frequency scanning parameter is different from the first time-frequency scanning parameter.

2. The method according to claim 1, characterized in that, The working state indicated by the first working state identifier or the second working state identifier is any one of the following: beam training state, data transmission state, measurement state, or idle state; The state-parameter mapping table contains the following correspondence between operating states and time-frequency scan parameters: The beam training state corresponds to the first resolution bandwidth and the first dwell time; The data transmission status corresponds to a second resolution bandwidth and a second dwell time, where the second resolution bandwidth is less than the first resolution bandwidth and the second dwell time is greater than the first dwell time. The measurement state corresponds to a third resolution bandwidth and a third dwell time, wherein the third resolution bandwidth is less than the first resolution bandwidth and greater than the second resolution bandwidth, and the third dwell time is greater than the first dwell time and less than the second dwell time; The idle state corresponds to a fourth resolution bandwidth and a fourth dwell time, wherein the fourth resolution bandwidth is greater than the first resolution bandwidth and the fourth dwell time is less than the first dwell time.

3. The method according to claim 2, characterized in that, The first resolution bandwidth is 3MHz and the first dwell time is 1ms; the second resolution bandwidth is 100kHz and the second dwell time is 10ms; the third resolution bandwidth is 1MHz and the third dwell time is 5ms; the fourth resolution bandwidth is 10MHz and the fourth dwell time is 0.5ms.

4. The method according to claim 1, characterized in that, The method further includes: The time T1 for parameter reconfiguration of the spectrum analyzer and the time T2 for state switching of the device under test are obtained, and T1 is greater than T2; When it is necessary to switch the device under test from the working state indicated by the first working state identifier to the working state indicated by the second working state identifier, a parameter switching command carrying the second time-frequency scanning parameters is first sent to the spectrum analyzer, and after waiting for the T1 duration, a state switching command carrying the second working state identifier is sent to the device under test.

5. The method according to claim 1, characterized in that, The method further includes: The time T1 for parameter reconfiguration of the spectrum analyzer and the time T2 for state switching of the device under test are obtained, and T1 is less than or equal to T2. When it is necessary to switch the device under test from the working state indicated by the first working state identifier to the working state indicated by the second working state identifier, a state switching command carrying the second working state identifier is first sent to the device under test. After sending the state switching command, within a time period of not later than T2 minus T1, a parameter switching command carrying the second time-frequency scanning parameters is sent to the spectrum analyzer.

6. The method according to claim 4 or 5, characterized in that, T1 is determined by averaging multiple measurements taken from the spectrum analyzer, and T2 is determined by averaging multiple measurements taken from the device under test.

7. The method according to claim 1, characterized in that, When the time-frequency scanning parameters of the spectrum analyzer are switched from the first time-frequency scanning parameters to the second time-frequency scanning parameters, the method further includes: If the spectrum analyzer has not yet completed the current scan cycle using the first time-frequency scan parameters, control the spectrum analyzer to continue using the first time-frequency scan parameters to complete the current scan cycle, and associate the measurement data of the current scan cycle with the first working status identifier; When the spectrum analyzer completes the second time-frequency scanning parameter switching and the device under test completes the working state switching, at the start of the next scanning cycle, the spectrum analyzer is controlled to scan using the second time-frequency scanning parameters, and the corresponding measurement data is associated with the second working state identifier.

8. The method according to claim 1, characterized in that, When the time-frequency scanning parameters of the spectrum analyzer are switched from the first time-frequency scanning parameters to the second time-frequency scanning parameters, the method further includes: The spectrum analyzer is controlled to complete the measurement of the last M frequency points in the last scan cycle executed using the first time-frequency scan parameters; After switching to the second time-frequency scanning parameters, the spectrum analyzer is controlled to start from the initial frequency point among the M frequency points and remeasure the M frequency points using the second time-frequency scanning parameters; Where M is a preset positive integer.

9. The method according to claim 1, characterized in that, The method further includes: When a parameter switching command carrying the second time-frequency scanning parameters is sent to the spectrum analyzer, if no parameter reconfiguration completion response is received within a preset timeout period, the spectrum analyzer is controlled to maintain the current scanning parameters and continue scanning, and the parameter switching timeout event is recorded. When a state switching command carrying the second working state identifier is sent to the device under test, if no state switching completion response is received within a preset timeout period, the current scanning parameters of the spectrum analyzer remain unchanged, and the state switching timeout event is recorded.

10. The method according to claim 1, characterized in that, The method further includes: The detection rate of stray radiation signals and the scanning time for each working state within a preset statistical period are statistically analyzed.