Testing method and device of RF system, storage medium and platform
By using wireless connectivity and automated test command processing, the problem of low efficiency in RF system testing has been solved, achieving simplified processes and efficient automated testing.
Patent Information
- Application Number
- CN202511738150.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-25
- Publication Date
- 2026-02-10
AI Technical Summary
The existing RF system testing process is inefficient, requiring manual confirmation of the next step, which makes the testing process cumbersome and complicated.
By establishing a pairing code with the RF system through a wireless connection, receiving test commands triggered by the user, automatically determining the target performance parameters, generating test commands and processing radio frequency signals, automatically generating test data, and realizing automatic testing of various performance parameters.
It enables "one-click" testing of RF systems, simplifies the testing process, improves testing efficiency and accuracy, reduces manual operations, avoids repeated confirmations, and improves the efficiency of pre-test preparation.
Smart Images

Figure CN121508686A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the wireless technical field, and particularly relates to a test method and device of an RF system, a storage medium and a platform. BACKGROUND
[0002] In the field of wireless or radio frequency (RF) control technology, RF control systems, RF receiving systems and other RF systems are involved. Before these systems are put into production and factory, they need to be tested to ensure that the quality and performance of the RF systems meet the standards.
[0003] At present, when the RF system is tested, only the test instrument connected with the RF system by wire is available. However, after the test instrument executes a certain link, it cannot send information to the RF system, and needs to be manually operated and input and confirmed by the operator to make the RF system execute the next link of the test. In the whole test process, the user needs to repeatedly click to confirm the next step, which makes the test process more troublesome, and thus causes the test efficiency of the RF system to be low. SUMMARY
[0004] The main purpose of the present application is to provide a test method, device, storage medium and platform of an RF system, which aims to solve the technical problem of low test efficiency of the RF system in the prior art.
[0005] To achieve the above-mentioned purpose, the present application provides a test method of an RF system, applied to a test platform, which comprises the following steps: establishing a wireless connection with a to-be-tested RF system and performing code matching, and receiving a RF system test instruction triggered by a user; in response to the RF system test instruction, determining a target performance parameter of the to-be-tested RF system, and reading preset performance data of the target performance parameter from the test platform locally; obtaining the test data; generating a target performance parameter test instruction according to the preset performance data of the target performance parameter and sending it to the to-be-tested RF system, and the to-be-tested RF system is used to process a target radio frequency signal and generate test data for the target performance parameter in response to the target performance parameter test instruction; determining a test result of the target performance parameter according to the test data and the preset performance data; selecting a next performance parameter as the target performance parameter, and repeating the above steps until the test of each performance parameter is completed.
[0006] To achieve the above-mentioned purpose, the present application further provides a test device of an RF system, applied to a test platform, which comprises the following steps: a connection unit, configured to establish a wireless connection with a to-be-tested RF system and perform code matching; a receiving unit configured to receive a user triggered RF system test instruction; a responding unit configured to determine a target performance parameter of the RF system to be tested in response to the RF system test instruction, and read preset performance data of the target performance parameter from a test platform locally; a generating unit configured to generate a target performance parameter test instruction according to the preset performance data of the target performance parameter, and send the target performance parameter test instruction to the RF system to be tested, wherein the RF system to be tested is configured to process a target radio frequency signal and generate test data for the target performance parameter in response to the target performance parameter test instruction; a determining unit configured to determine a test result of the target performance parameter according to the test data and the preset performance data, select a next performance parameter as the target performance parameter, and repeat the above steps until test of each performance parameter is completed.
[0007] To achieve the above object, the present application provides a storage medium, wherein the storage medium stores a test program of an RF system, and the test program of the RF system is executed by a processor to implement the steps of the test method of the RF system.
[0008] To achieve the above object, the present application provides a test platform, wherein the device comprises a memory and a processor, the memory stores a test program of an RF system, and the processor executes the test program of the RF system to implement the steps of the test method of the RF system.
[0009] The application provides a test method and device of an RF system, a storage medium and a platform, and can realize wireless connection of a test platform and the RF system to be tested and code matching. After the wireless connection is established and the wireless code matching is completed and the RF system test triggered by a user is received, the test platform can generate a target performance parameter test instruction automatically in response to the RF system test instruction triggered by the user according to a target performance parameter currently required by the RF system to be tested and / or a preset performance parameter corresponding to the target performance parameter, so that the RF system to be tested can process a target radio frequency signal in response to the target performance parameter test instruction and generate test data for the target performance parameter. Meanwhile, the test platform can determine a test result of the target performance parameter according to the test data and the preset performance data, select a next performance parameter as the target performance parameter, and repeat the above steps until the test of each performance parameter is completed. Compared with the prior art, the application can complete each test link of the RF system by one-key triggering operation of the user, and in the whole test process, the test platform can generate a target performance parameter test instruction automatically in response to the RF system test instruction triggered by the user according to a preset performance parameter of a target performance parameter of the RF system to be tested, so that the RF system to be tested can automatically process a target radio frequency signal, thereby realizing automatic test for any target performance parameter, and in the test process of the target performance parameter, each test step can be automatically switched and executed without the participation or manual confirmation of the user. In addition, after the test of the performance parameter is completed, the next performance test can be automatically switched to without the participation or manual confirmation of the user. The whole process of the RF system test is greatly simplified, and the test efficiency of the RF system is improved. BRIEF DESCRIPTION OF DRAWINGS
[0010] In order to more clearly illustrate the scheme in the application, the following will briefly introduce the drawings needed in the description of the embodiments of the application. Obviously, the drawings in the following description are some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.
[0011] Figure 1 is a flowchart of a test method of an RF system provided by an embodiment of the application; Figure 2 is an exemplary system architecture diagram related to the embodiment of the application; Figure 3 is a flowchart of another test method of an RF system provided by an embodiment of the application; Figure 4 is a test device structure schematic diagram of an RF system provided by an embodiment of the application; Figure 5 is a basic structure block diagram of a test platform provided by an embodiment of the application. DETAILED DESCRIPTION
[0012] The test method of the RF system provided by the embodiment of the present application is applied to the test method device of the RF system. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terms used in the specification of the application are only for the purpose of describing the specific embodiments and are not intended to limit the present application; the terms "include" and "have" and any variations thereof in the specification and claims of the present application and the above description of drawings are intended to cover non-exclusive inclusion. The terms "first", "second" and the like in the specification and claims of the present application or the above description of drawings are used to distinguish different objects, not to describe a specific order.
[0013] Reference herein to "embodiment" means that the specific features, structures, or characteristics described in connection with the embodiment can be included in at least one embodiment of the present application. The phrase appears at various places in the specification does not necessarily all refer to the same embodiment, nor is it necessarily mutually exclusive or alternative to other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0014] In order to better understand the technical scheme of the present application, the technical scheme in the embodiment of the present application will be described clearly and completely below in combination with the drawings.
[0015] In the field of RF control technology, RF control systems, RF receiving systems and other RF systems are involved. These systems need to be tested before being produced and shipped to ensure that the quality and performance of the RF system meet the standards.
[0016] At present, the RF system test is usually performed in a manual manner, that is, an operator interacts with the controlled device by using the RF system, records and calculates the performance of the RF system to verify whether the RF system can pass the test. However, in this way, the operator is required to have a higher requirement, and the operator needs to perform a large number of operations, thereby resulting in a lower test accuracy and test efficiency of the RF system. Alternatively, the RF system is tested by using a test instrument, and in the test of the RF system by using the test instrument, only the test instrument connected to the RF system by wire is usually available, however, after the test instrument performs a certain link, since the test instrument cannot send information to the RF system, the operator needs to manually input and confirm the next step, so that the RF system performs the next link of the test, and in the whole test process, the user needs to repeatedly click to confirm the next step, which causes the test process to be more troublesome, thereby resulting in a lower test efficiency of the RF system. In addition, in the test of the RF system by using the test instrument, the RF system needs to additionally pre-burn the test program matched with the step-by-step confirmation operation of the above test instrument, the test program is different from the actual user program of the RF system, and the RF system needs to be burned twice for each RF system, thereby resulting in a more complex work before the test of the RF system, and further resulting in a lower test efficiency of the RF system.
[0017] To achieve the above object, the embodiment of the present application provides a test method of an RF system, which is applied to a test platform, such as Figure 1 as shown in the figure, the method comprises: Step 101, establishing a wireless connection with the RF system to be tested and performing code matching.
[0018] In the embodiment of the present application, the test platform can supply power for the to-be-tested RF system. After the to-be-tested RF system is electrically connected to the test platform, the test platform can code with the to-be-tested RF system. In addition, the to-be-tested RF system can be powered by other external circuits. After the to-be-tested RF system is powered by the external circuits, the test platform can also code with the to-be-tested RF system. After the two are successfully coded, the to-be-tested RF system can enter the factory mode or the normal working mode. The specific process of coding between the test platform and the to-be-tested RF system can be as follows: when the test platform detects that the to-be-tested RF system is connected, the test platform sends a coding request to the to-be-tested RF system. The coding request contains the identity of the test platform (platform identity, authorization code, and request for the to-be-tested RF system to return identity information (system serial number, model, supported communication protocol version). After receiving the coding request, the to-be-tested RF system verifies the platform identity and authorization code of the test platform. If the verification fails, the to-be-tested RF system will refuse to respond. If the verification is passed, the to-be-tested RF system returns its own identity information, so that the test platform checks the system identity, confirms whether the system serial number and model are in the test task list, and checks whether the protocol version supported by the system is compatible with the test platform. If compatible, the test platform sends a "coding success" message. After successful coding, the test platform and the to-be-tested RF system can establish a stable wireless communication link. The test platform can send a test preparation notification to the to-be-tested RF system, so that the to-be-tested RF system can process the target radio frequency signal and generate test data after receiving the performance test instruction in the subsequent process, thereby realizing "one-key" testing of the RF system. If the coding is timed out or failed, the test personnel can be informed in time for further processing by displaying "coding timeout" or "coding failure" information.
[0019] Step 102, in response to the RF system test instruction, determining the target performance parameter of the to-be-tested RF system, and reading the preset performance data of the target performance parameter from the local test platform.
[0020] It should be noted that the test platform can set a "test" button or key. The user can trigger the RF system test instruction by clicking or triggering the "test" button or key of the test platform. After receiving the RF system test instruction, the test platform can start testing the to-be-tested RF system. In order to better support RF system testing, the test platform can include a test host computer and a test rack, such as Figure 2As shown, the cavity part of the test rack can be used to place the RF system, the RF system communicates with the test rack through a wireless communication link, and the code is tested. The test host computer is provided with a "test" button or key, and a serial port for digital communication with the test rack. When the RF system test instruction is detected, the RF system test instruction can be sent to the test rack through the digital communication serial port. In addition, the user can also set the performance data of each performance parameter of the RF system to be tested through the test host computer, so that the test platform can locally pre-store preset performance data of different performance parameters.
[0021] The test platform can pre-store preset performance data of different performance parameters. The preset performance data can be input by the user through the parameter setting interface of the test platform. The preset performance data can include parameter standard data and preset deviation range. For the RF system to be tested, the performance parameters involved can include frequency parameters, received signal strength indication (RSSI) parameters, power parameters, sensitivity parameters, voltage parameters, etc., which are not limited in the embodiments of the present application.
[0022] In the embodiments of the present application, one performance parameter can be selected from the multiple performance parameters contained in the RF system test instruction according to a preset order rule to determine the target performance parameter to be tested currently. One performance parameter can also be selected from the multiple performance parameters in the test platform locally according to a preset order rule to determine the target performance parameter to be tested currently.
[0023] In order to support different types of RF system testing, the multiple performance parameters of the RF system to be tested can also be read from the test platform locally according to the system type information contained in the RF system test instruction; one performance parameter can be selected from the multiple performance parameters according to a preset order rule to determine the target performance parameter to be tested currently. The test platform locally pre-stores system type information and multiple performance parameters corresponding to different RF systems. The preset order rule can be a rule for determining the order according to the performance parameter priority, performance parameter test time, and performance test dependency.
[0024] Step 103, generating a target performance parameter test instruction according to the preset performance data of the target performance parameter and sending it to the RF system to be tested. The RF system to be tested is used to process the target radio frequency signal and generate test data for the target performance parameter in response to the target performance parameter test instruction.
[0025] In this embodiment of the invention, the test platform can also read the signal power setting value corresponding to the target performance parameter from the local machine. Specifically, it can generate a target performance parameter test instruction based on the parameter standard value and / or signal power setting value of the target performance parameter. The generated target performance parameter test instruction includes the parameter standard value and / or signal power setting value of the target performance parameter, so that after receiving the target performance parameter test instruction, the RF system under test can transmit or receive the target radio frequency signal according to the signal power setting value, and generate test data for the target performance parameter.
[0026] For example, if the performance parameter is a frequency parameter, a frequency parameter test command is generated and sent to the RF system under test (DUT). This command may include a signal power setting, causing the DUT to transmit or receive the target RF signal with the set signal power upon receiving the command, generating RSSI values at different frequency points. The test platform can then record the RSSI values at these different frequency points, generating a measured frequency waveform. Based on the measured waveform and the standard frequency waveform, the parameter deviation of the frequency parameter is calculated.
[0027] Step 104: Obtain test data; Based on the test data and preset performance data, determine the test results of the target performance parameters.
[0028] In this embodiment of the invention, the step of determining the test result of the target performance parameter based on test data and preset performance data may specifically include: obtaining the parameter standard value and preset deviation range corresponding to the target performance parameter in the preset performance data; extracting the measured value or parameter deviation value corresponding to the target performance parameter from the test data; if the measured value of the parameter corresponding to the target performance parameter is obtained, determining the parameter deviation value corresponding to the target performance parameter based on the measured value and the parameter standard value; determining the test result of the target performance parameter based on the parameter deviation value and the preset deviation range; or determining the test result of the target performance parameter based on the measured value and the parameter deviation value.
[0029] Step 105: Select the next performance parameter as the target performance parameter, and repeat the above steps until all performance parameters have been tested.
[0030] In this embodiment of the invention, the step of selecting the next performance parameter as the target performance parameter may specifically include: monitoring the test status of the target performance parameter; and selecting the next performance parameter as the target performance parameter based on the test status. That is, monitoring whether the test status of the target performance parameter is in a test-complete state. If the test status is test-complete, the next performance parameter can be directly selected as the target performance parameter; if the test status is test-in progress, the process can wait for the test status to update to test-complete before selecting the next performance parameter as the target performance parameter; if the test status is test-abnormal, a test abnormality prompt message can be triggered, allowing testers to repair the abnormal situation. After the abnormal situation disappears, the current performance parameter is reselected as the target performance parameter, and the above steps are repeated until all performance parameters are tested. This embodiment of the invention, by setting an anomaly detection mechanism, can further ensure the completion of RF system testing.
[0031] This invention provides a testing method for an RF system. This invention enables a wireless connection and code pairing between a test platform and the RF system under test. After establishing a wireless connection and wireless code pairing, and receiving a user-triggered RF system test, the method can respond to the user-triggered RF system test command and automatically generate a target performance parameter test command based on the target performance parameters to be tested of the RF system under test and its corresponding preset performance parameters. This allows the RF system under test to process the target radio frequency signal and generate test data for the target performance parameters in response to the target performance parameter test command. Simultaneously, the testing platform can determine the test results of the target performance parameters based on the test data and preset performance data; select the next performance parameter as the target performance parameter, and repeat the above steps until each performance parameter test is completed. That is, compared with the prior art, the embodiments of the present invention can realize the completion of each test stage of the RF system by the user's "one-click" trigger operation. In the entire test process, the testing platform can respond to the RF system test command triggered by the user and automatically generate the target performance parameter test command according to the target performance parameter to be tested of the RF system under test and its corresponding preset performance parameter, so that the RF system under test can automatically process the target radio frequency signal, thereby realizing automatic testing of any target performance parameter. In the process of testing the target performance parameter, each test step can be automatically switched and executed without user participation or manual confirmation of the next step. In addition, after the target performance parameter test is completed, it can automatically switch to the next performance test without user parameters or manual confirmation. Overall, it greatly simplifies the RF system testing process and improves the testing efficiency of the RF system. Furthermore, through the embodiments of the present invention, the user program that processes the target radio frequency signal based on the RF system response command can complete the test, thereby eliminating the need for the step-by-step operation confirmation test method of the RF system in conjunction with the test instruments in the prior art. Before the test, a separate test program needs to be burned for each RF system. The user program only needs to be burned once before the RF system is produced, which simplifies the preparation work before the test of the RF system and thus improves the test efficiency of the RF system.
[0032] To achieve the above objectives, embodiments of the present invention provide another testing method for an RF system, applied to a testing platform, such as... Figure 3 As shown, the method includes: Step 301: Establish a wireless connection with the RF system under test and perform code pairing.
[0033] It should be noted that step 301 has been described in detail in step 101, and the embodiments of the present invention are not limited here.
[0034] Step 302: In response to the user-triggered RF system test command, determine the target performance parameters of the RF system under test, and read the preset performance data of the target performance parameters from the test platform.
[0035] In a specific embodiment of the present invention, the step of determining the target performance parameter of the RF system under test in response to the RF system test command may specifically include: reading multiple performance parameters of the RF system under test from the test platform according to the RF system test command; selecting one performance parameter from the multiple performance parameters according to a preset order rule to determine the current target performance parameter to be tested, wherein the test platform also stores system type information and multiple performance parameters corresponding to different RF systems in advance; or, selecting one performance parameter from the multiple performance parameters included in the RF system test command according to a preset order rule to determine the current target performance parameter to be tested.
[0036] Step 303: Based on the preset performance data of the target performance parameters, generate a target performance parameter test command and send it to the RF system under test. The RF system under test is used to process the target radio frequency signal in response to the target performance parameter test command and generate test data for the target performance parameters. Step 304: Obtain the standard values and preset deviation ranges of the parameters corresponding to the target performance parameters in the preset performance data.
[0037] Step 305: Extract the measured value or deviation value of the target performance parameter from the test data; if the measured value of the target performance parameter is obtained, determine the deviation value of the target performance parameter based on the measured value and the standard value of the parameter.
[0038] Step 306: Determine the test results of the target performance parameters based on the parameter deviation values and preset deviation ranges corresponding to the target performance parameters; or determine the test results of the target performance parameters based on the measured values and parameter deviation values corresponding to the target performance parameters.
[0039] In another specific embodiment of the present invention, the step of determining the test result of the target performance parameter based on the parameter deviation value corresponding to the target performance parameter and the preset deviation range may specifically include: obtaining the RF system test mode set by the user; when the RF system test mode is the first test mode, if the parameter deviation value corresponding to the target performance parameter is within the preset deviation range, then the target performance parameter test is determined to be passed; if the parameter deviation value corresponding to the target performance parameter is not within the preset deviation range, then the target performance parameter test is determined to be failed; when the RF system test mode is the second test mode, if the parameter deviation value corresponding to the target performance parameter is within the preset deviation range, then the target performance parameter test is determined to be passed; if the parameter deviation value corresponding to the target performance parameter is not within the preset deviation range and the preset number of tests has not been reached, then the RF system under test is compensated based on the parameter deviation value, and after compensation, a new parameter deviation value corresponding to the target performance parameter is determined; if the new parameter deviation value corresponding to the target performance parameter is within the preset deviation range, then the target performance parameter test is determined to be passed; if the new parameter deviation value corresponding to the target performance parameter is not within the preset deviation range and the preset number of tests has been reached, then the target performance parameter test is determined to be failed. The RF system test is successful when all performance parameters pass the test; otherwise, if any performance parameter fails, the RF system test is considered to have failed and the test is stopped.
[0040] The first test mode can be a test-only mode, and the second test mode can be a test + calibration mode. Different performance parameters correspond to different preset deviation ranges. The preset deviation ranges can be set according to the requirements of the RF system manufacturer or according to the general deviations of the RF system. This embodiment of the invention does not limit this. The preset number of tests can be 1 or 2. The specific number of tests is not limited in this embodiment of the invention.
[0041] To better illustrate the embodiments of the present invention, examples of testing several performance parameters are given below: If the target performance parameter is a frequency parameter, the test platform will send a frequency parameter test command to the RF system, causing the RF system to send a target RF signal that meets the signal power setting value and generate RSSI values at different frequency points. Under the constraints of "Advanced Frequency Test Settings," the test platform will obtain the measured frequency waveform by reading the RSSI values at different frequency points of the RF system, as well as the frequency standard waveform saved in the test fixture beforehand. Based on the measured frequency waveform and the frequency standard waveform, the platform will determine the frequency deviation waveform and compare it with the preset frequency deviation range. When the user-set test mode is test-only mode, the test result is: if the frequency deviation value is within the preset frequency deviation range, then... If the frequency parameter passes the test, the frequency parameter fails the test if the frequency deviation value is not within the preset frequency deviation range. When the user sets the test mode to test and calibration mode and the preset number of tests is 1, the test results are as follows: If the frequency deviation value is within the preset frequency deviation range, the frequency parameter passes the test; if the frequency deviation value is not within the preset frequency deviation range, the frequency deviation value is sent to the RF system for supplementation, and the test continues, recalculating the frequency deviation value; if the recalculated frequency deviation value is within the preset frequency deviation range, the frequency parameter passes the test; if the recalculated frequency deviation value is still not within the preset frequency deviation range, the frequency parameter fails the test.
[0042] If the target performance parameter is an RSSI parameter, the test platform will send an RSSI parameter test command to the RF system, causing the RF system to send a target RF signal that meets the signal power setting value and generate an RSSI value. The RF system will record the measured RSSI value (the average of multiple measured RSSI values can be taken). Based on the measured RSSI parameter value and the RSSI standard value, the RSSI deviation value will be determined and fed back to the test platform. The test platform will compare the RSSI deviation value with the preset RSSI deviation range. When the user sets the test mode to test-only mode, the test result is as follows: if the RSSI deviation value is within the preset RSSI deviation range, the frequency parameter is considered to have passed the test; if the RSSI deviation value is not within the preset RSSI deviation range, the test result is as follows: If the RSSI deviation is within the preset range, the RSSI parameter is determined to have failed the test. When the user-set test mode is test and calibration mode, and the preset number of tests is 1, the test results are as follows: If the RSSI deviation value is within the preset RSSI deviation range, the RSSI parameter is determined to have passed the test; if the RSSI deviation value is not within the preset RSSI deviation range, the RSSI deviation value is sent to the RF system for supplementation, and the test continues, recalculating the RSSI deviation value; if the recalculated RSSI deviation value is within the preset RSSI deviation range, the RSSI parameter is determined to have passed the test; if the recalculated RSSI deviation value is still not within the preset RSSI deviation range, the RSSI parameter is determined to have failed the test.
[0043] If the target performance parameter is a power parameter, the test platform will send a power parameter test command to the RF system, causing the RF system to send a target RF signal that meets the set signal power value. For example, the RF system may transmit a single-carrier signal at a frequency point according to the power standard value of 100 provided by the test platform. In reality, the RF system may not be able to transmit the carrier signal with the required standard power value of 100. The test platform can measure the actual RSSI value transmitted by the RF system itself, calculate the power deviation value based on the power standard value and the actual power value, and then update the power deviation value. When the user sets the test mode to test-only mode, the test result is: if the power deviation value is within the preset power deviation range, then the power parameter is determined to have passed the test. If the power deviation value is not within the preset power deviation range, the power parameter is determined to have failed the test. When the user sets the test mode to test and calibration mode and the preset number of tests is 1, the test results are as follows: If the power deviation value is within the preset power deviation range, the power parameter is determined to have passed the test; if the power deviation value is not within the preset power deviation range, the power deviation value is sent to the UUT for supplementation, and the test continues, recalculating the power deviation value. If the recalculated new RSSI deviation value is within the preset power deviation range, the power parameter is determined to have passed the test; if the recalculated new RSSI deviation value is still not within the preset power deviation range, the power parameter is determined to have failed the test.
[0044] If the target performance parameter is a sensitivity parameter, the test platform will send a sensitivity parameter test command to the RF system, causing the RF system to send a target radio frequency signal that meets the signal power setting value, determine the number of received data packets corresponding to the received radio frequency signal, and feed it back to the test platform. After receiving the number of received data packets from the RF system, the test platform will compare the number of received data packets with the standard number of data packets, calculate the data packet number deviation value based on the received data packet number and compare the data packet number deviation value with the preset data packet number deviation range. When the user sets the test mode to test-only mode, the test result is: if the data packet number deviation value is within the preset data packet number deviation range, the sensitivity parameter is determined to have passed the test; if the data packet deviation value is within the preset data packet number deviation range, the sensitivity parameter is determined to have passed the test. If the packet count deviation value is not within the preset packet count deviation range, the sensitivity parameter is determined to have failed the test. When the user sets the test mode to test and calibration mode and the preset number of tests is 1, the test results are as follows: If the packet count deviation value is within the preset packet count deviation range, the sensitivity parameter is determined to have passed the test; if the packet count deviation value is not within the preset packet count deviation range, the sensitivity parameter is determined to have failed the test. In this case, the power value of the radio frequency signal transmitted to the RF system can be increased, and the test can be continued and compared again. If the packet count deviation value is within the preset packet count deviation range, the sensitivity parameter is determined to have passed the test; if the packet count deviation value is not within the preset packet count deviation range, the sensitivity parameter is determined to have failed the test.
[0045] It should be noted that there are other testing methods for sensitivity parameters. Specifically, when the user sets the test mode to test-only, the test result is as follows: if the number of received data packets is greater than the standard number of data packets, the sensitivity parameter passes the test; if the number of received data packets is less than or equal to the standard number of data packets, the sensitivity parameter fails the test. When the user sets the test mode to test and calibration mode, and the preset number of tests is 1, the test result is as follows: if the number of received data packets is greater than the standard number of data packets, the sensitivity parameter passes the test; if the number of received data packets is less than the standard number of data packets, the sensitivity parameter fails the test. In this case, the power value of the radio frequency signal transmitted to the RF system can be increased, and the test can be continued and compared again. If the number of newly received data packets is greater than the standard number of data packets, the sensitivity parameter passes the test; if the number of newly received data packets is less than the standard number of data packets, the sensitivity parameter fails the test.
[0046] If the target performance parameter is voltage, the test platform will send a voltage parameter test command to the RF system, causing the RF system to measure the actual voltage value. Based on the voltage standard value and the actual voltage value, the RF system will calculate the voltage deviation value and feed it back to the test platform. The test platform will then compare the voltage deviation value with the preset voltage deviation range. When the user sets the test mode to test-only mode, the test result is as follows: if the voltage deviation value is within the preset voltage deviation range, the voltage parameter passes the test; if the voltage deviation value is not within the preset voltage deviation range, the voltage parameter fails the test. When the user sets the test mode to test and calibration mode, and the preset number of tests is 1, the test result is as follows: if the voltage deviation value is within the preset voltage deviation range, the voltage parameter passes the test; if the voltage deviation value is not within the preset voltage deviation range, the voltage deviation value will be sent to the RF system for compensation, and the test will continue, recalculating the voltage deviation value. If the recalculated voltage deviation value is within the preset voltage deviation range, the voltage parameter passes the test; if the recalculated voltage deviation value is still not within the preset voltage deviation range, the voltage parameter fails the test.
[0047] Step 307: Select the next performance parameter as the target performance parameter, and repeat the above steps until all performance parameters have been tested.
[0048] In an optional embodiment of the present invention, parallel testing of multiple RF systems can also be implemented. Specifically, the test platform has multiple test channels, and the RF system testing method further includes: establishing a wireless connection with multiple RF systems under test and performing code pairing; determining the test channel corresponding to each of the multiple RF systems under test according to the RF system type information contained in the RF system test command, wherein the test platform locally stores the system type information and test channels corresponding to different RF systems; and performing parallel testing of each performance parameter corresponding to each of the multiple RF systems under test through the test channels corresponding to each of the multiple RF systems under test.
[0049] To better enable parallel testing of multiple RF systems, the testing platform also supports test configuration file functionality for RF systems. This includes: acquiring the test configuration files and type information for different RF systems; establishing a preset mapping relationship between the type information and test configuration files of different RF systems, and storing this mapping locally on the testing platform. Each RF system's test configuration file contains multiple performance parameters that need to be tested. Furthermore, test channels can be assigned to multiple RF systems under test according to preset allocation rules. These preset allocation rules allocate test channels based on the type of the RF system under test or the priority of the performance parameters currently being tested.
[0050] In another optional embodiment of the present invention, the present invention also supports test exception or test timeout functions. That is, before the step of determining the test result of the target performance parameter based on test data and preset performance data, the method further includes: detecting whether test data has been obtained; if test data has not been obtained, determining whether the duration of not obtaining test data exceeds the preset timeout time; if the duration of not obtaining test data exceeds the preset timeout time, outputting a test timeout prompt message and stopping the test.
[0051] It should be noted that the steps for acquiring test data may include: receiving test data returned by the RF system under test; or measuring test data independently; the steps for detecting whether test data has been acquired may include: detecting whether test data returned by the RF system under test has been received, or detecting whether test data generated by the RF system under test can be measured; correspondingly, if no test data is acquired, the steps for determining whether the duration of the lack of test data acquisition exceeds a preset timeout period may include: if no test data is received from the RF system under test or no test data generated by the RF system under test is detected, determining whether the duration of the lack of test data received from the RF system under test exceeds a first preset timeout period; or determining whether the duration of the lack of measurement of test data generated by the RF system under test exceeds a second preset timeout period; similarly, if the lack of test data acquisition exceeds a preset timeout period, the steps for outputting a test timeout prompt and stopping the test may include: if the lack of test data received from the RF system under test exceeds the first preset timeout period, and the lack of measurement of test data generated by the RF system under test exceeds the second preset timeout period, outputting a test timeout prompt and stopping the test.
[0052] In another specific embodiment of the present invention, in order to realize automatic switching of different performance parameters in testing, the step of selecting the next performance parameter as the target performance parameter according to the test status may specifically include: when the target performance parameter test is completed, triggering the execution of a preset asynchronous callback function of the target performance parameter to select the next performance parameter as the target performance parameter from the local test platform; or, when the target performance parameter test is completed, triggering a preset test completion notification of the target performance parameter, so that the preset task scheduler selects the next performance parameter as the target performance parameter from the local test platform according to the triggered preset test completion notification.
[0053] In another optional embodiment of the present invention, the present invention also supports automatic testing of batch RF systems, that is, after the testing of one RF system is completed, it can automatically switch to the next RF system for testing. The method further includes: after the RF system under test is tested, establishing a wireless connection with the next RF system under test and performing code pairing; determining the target performance parameters that the next RF system under test needs to be tested, and repeating the above steps until the testing of each performance parameter of the next RF system under test is completed.
[0054] In this embodiment of the invention, to enable testers to obtain test results in a timely manner and facilitate subsequent testing, the RF system testing method further includes: displaying the parameter deviation values and test results of the target performance parameters on the test platform, and saving the parameter deviation values of the target performance parameters to the local memory of the test platform for use in the next test. Furthermore, to ensure the accuracy of the test platform and improve its calibration efficiency, the RF system testing method further includes: wirelessly connecting the test platform and a standard RF system and performing code pairing; and compensating and correcting the standard values of each performance parameter saved on the test platform based on the measured values of each performance parameter from the standard RF system.
[0055] In an optional embodiment of the present invention, "multiple test channels + task scheduling mechanism" can also be supported to realize fully automated testing of the RF system. The test platform includes multiple test channels, and the RF system testing method specifically includes: when a user-triggered RF system test instruction is received, according to the type information of the RF system under test and the preset mapping relationship contained in the RF system test instruction, the test configuration file corresponding to the RF system under test is loaded locally on the test platform; according to the performance parameter information, test requirements and test channels of multiple performance parameters that the RF system under test needs to be tested in the test configuration file, a test task queue is constructed; the specific test task to be executed at present is extracted from the test task queue; according to the specific test requirements corresponding to the specific test task, a specific performance parameter test instruction is sent to the RF system under test; according to the specific test channel corresponding to the specific test task, the test data of the RF system under test under specific operation performed according to the received instruction is determined; based on the test data and the expected performance indicators in the specific test requirements, the test result of the specific test task is determined; when the specific test task is completed, the preset task scheduling mechanism is triggered to extract the next test task and its test requirements from the test task queue, and the above steps are executed cyclically until each test task is completed. Before receiving the RF system test command triggered by the user, the method may also include: obtaining the configuration files and type information corresponding to different RF systems; establishing a preset mapping relationship between the type information and configuration files of different RF systems, and storing it locally on the test platform.
[0056] Specifically, each test channel corresponds to a built-in test module or an external test instrument. The steps for determining the test data of the RF system under test under specific operation based on the test channel corresponding to a specific test task may include: determining the test instrument or test module required for the specific test task based on the test channel corresponding to the specific test task; and determining the test data of the RF system under test under specific operation action performed according to the received instructions based on the test instrument, test module, or RF system under test required for the specific test task. More specifically, the steps for determining the test data of the RF system under test under specific operational actions performed according to received instructions, based on the test instruments, test modules, or RF system under test required for a specific test task, may include: detecting whether the test instruments or test modules required for the specific test task are in a normal and usable state; if the detection result is in a normal and usable state, resetting the parameters of the test instruments or test modules required for the specific test task, and measuring the test data of the RF system under test under specific operational actions performed according to received instructions based on the reset test instruments, test modules, or RF system under test; if the detection result is not in a normal and usable state, waiting for a preset time threshold and then re-detecting; if the detection result is still not in a normal and usable state, determining that the specific test task is abnormal, adding the specific test task back to the test task queue, and triggering a preset task scheduling mechanism to extract the next test task and its test requirements from the test task queue, and repeating the above steps until each test task is completed.
[0057] Based on the above, when a specific test task is completed, a preset task scheduling mechanism is triggered to extract the next test task and its test requirements from the test task queue. Specifically, this may include: determining whether a specific test task has been completed based on the test data and the test completion judgment conditions in the feature test requirements; when a specific test task is completed, triggering the execution of a preset asynchronous callback function corresponding to the performance parameters of the specific test task to extract the next test task and its test requirements from the test task queue; or, when a specific test task is completed, triggering a preset test completion notification corresponding to the performance parameters of the specific test task, so that the preset task scheduler extracts the next test task and its test requirements from the test task queue according to the triggered preset test completion notification. The preset task scheduling mechanism includes: preset asynchronous callback functions and preset test completion notifications corresponding to multiple performance parameters.
[0058] In this optional embodiment of the present invention, the step of constructing a test task queue based on the performance parameters and test requirements of multiple performance parameters that the RF system under test needs to be tested in the test configuration file may specifically include: generating test tasks corresponding to multiple performance parameters and determining the execution order of the test tasks according to the performance parameter information and test requirements of multiple performance parameters; adding the test tasks corresponding to multiple performance parameters to the test task queue according to the execution order of the test tasks.
[0059] Compared to existing technologies, this invention eliminates the need for users to manually confirm or trigger test commands for each performance parameter. Based on multiple test channels, this invention ensures that test data for any performance parameter can be measured, overcoming the limitation of existing technologies that cannot measure test data for different performance parameters within a single overall test process. Users no longer need to change test instruments to measure different performance parameters; as long as the test channel corresponding to the test task is determined, test data for the performance parameter can be measured. By comparing the test data with the expected performance indicators, the test result can be obtained, completing the test for a specific performance parameter. Furthermore, this invention automatically switches to subsequent test tasks by extracting the next test task from the test task queue based on a preset task scheduling mechanism upon completion of the test task, until all performance test parameters have been executed, without requiring manual switching between different test tasks. In other words, this invention, by introducing "multiple test channels + task scheduling mechanism," achieves fully automated testing of the RF system. Before testing, users only need to trigger the test command for the RF system with a single click. During the entire testing process, no manual confirmation or operation is required from the user, thus greatly reducing the operational complexity and error rate of the RF system, thereby improving the testing efficiency and accuracy of the RF system. Furthermore, this invention can meet the full-process automated testing needs of different types of RF systems.
[0060] This invention provides another method for testing an RF system. This invention enables a wireless connection and code pairing between a test platform and the RF system under test. After establishing a wireless connection and wireless code pairing, and receiving a user-triggered RF system test, the method can respond to the user-triggered RF system test command and automatically generate a target performance parameter test command based on the preset performance parameters of the target performance parameters of the RF system under test. This allows the RF system under test to process the target radio frequency signal in response to the target performance parameter test command and generate test data for the target performance parameters. Simultaneously, the testing platform can determine the test results of the target performance parameters based on test data and preset performance data; monitor the test status of the target performance parameters; select the next performance parameter as the target performance parameter based on the test status; and repeat the above steps until each performance parameter test is completed. That is, compared with the prior art, the embodiments of the present invention can enable users to complete each test stage of the RF system with a "one-click" trigger operation. During the entire test process, the testing platform can respond to the RF system test command triggered by the user and automatically generate the target performance parameter test command based on the target performance parameter to be tested of the RF system under test and its corresponding preset performance parameter. This allows the RF system under test to automatically process the target radio frequency signal, thereby realizing automatic testing of any target performance parameter. During the test of the target performance parameter, each test step can be automatically switched and executed without user intervention or manual confirmation of the next step. In addition, after the target performance parameter test is completed, it can automatically switch to the next performance test without user parameters or manual confirmation. Overall, it greatly simplifies the RF system test process and improves the RF system test efficiency. Furthermore, through the embodiments of the present invention, the user program that processes the target radio frequency signal based on the RF system response command can complete the test, thereby eliminating the need for the step-by-step operation confirmation test method of the RF system in conjunction with the test instruments in the prior art. Before the test, a separate test program needs to be burned for each RF system. The user program only needs to be burned once before the RF system is produced, which simplifies the preparation work before the test of the RF system and thus improves the test efficiency of the RF system.
[0061] To achieve the above objectives, embodiments of the present invention also provide a testing apparatus for an RF system, applied to a testing platform, such as... Figure 4 As shown, the test setup for the RF system includes: Connection unit 41 can be used to establish a wireless connection with the RF system under test and perform code pairing; The receiving unit 42 can be used to receive RF system test commands triggered by the user; The response unit 43 can be used to respond to RF system test commands, determine the target performance parameters of the RF system under test, and read the preset performance data of the target performance parameters from the test platform locally; The generation unit 44 can be used to generate a target performance parameter test command based on the preset performance data of the target performance parameters and send it to the RF system under test. The RF system under test is used to process the target radio frequency signal in response to the target performance parameter test command and generate test data for the target performance parameters. The determining unit 45 can be used to acquire the test data; determine the test results of the target performance parameter based on the test data and preset performance data; select the next performance parameter as the target performance parameter, and repeat the above steps until the test of each performance parameter is completed.
[0062] In this embodiment of the invention, the response unit 43 can be specifically used to read multiple performance parameters of the RF system under test from the local test platform according to the RF system test command; select one performance parameter from the multiple performance parameters according to a preset order rule, and determine it as the current target performance parameter to be tested. The test platform also stores system type information and multiple performance parameters corresponding to different RF systems in advance; or, select one performance parameter from the multiple performance parameters included in the RF system test command according to a preset order rule, and determine it as the current target performance parameter to be tested.
[0063] In this embodiment of the invention, the testing device for the RF system may further include: a detection unit, a judgment unit, and an output unit.
[0064] The detection unit can be used to detect whether test data has been acquired.
[0065] The judgment unit can be used to determine whether the duration of the failure to acquire test data exceeds a preset timeout if test data is not acquired. The output unit can be used to output a test timeout message and stop the test if test data is not obtained for a preset timeout period.
[0066] It should be noted that the detection unit can specifically be used to detect whether test data is received from the RF system under test, or to detect whether test data generated by the RF system under test can be measured. Correspondingly, the judgment unit can specifically determine whether the duration of not receiving test data from the RF system under test exceeds a first preset timeout period if no test data is received or no test data generated by the RF system under test is detected; or determine whether the duration of not measuring test data generated by the RF system under test exceeds a second preset timeout period. Similarly, the output unit can specifically be used to output a test timeout prompt message and stop the test if the duration of not receiving test data from the RF system under test exceeds the first preset timeout period and the duration of not measuring test data generated by the RF system under test exceeds the second preset timeout period.
[0067] In this embodiment of the invention, the determining unit 45 can be further configured to obtain the parameter standard value and preset deviation range corresponding to the target performance parameter in the preset performance data; extract the measured value or parameter deviation value corresponding to the target performance parameter from the test data; if the measured value of the parameter corresponding to the target performance parameter is obtained, determine the parameter deviation value corresponding to the target performance parameter based on the measured value and the parameter standard value; determine the test result of the target performance parameter based on the parameter deviation value and the preset deviation range; or determine the test result of the target performance parameter based on the measured value and the parameter deviation value.
[0068] In this embodiment of the invention, the determining unit 45 can also be used to obtain the RF system test mode set by the user; when the RF system test mode is the first test mode, if the parameter deviation value corresponding to the target performance parameter is within the preset deviation range, then the target performance parameter test is determined to be passed; if the parameter deviation value corresponding to the target performance parameter is not within the preset deviation range, then the target performance parameter test is determined to be failed; when the RF system test mode is the second test mode, if the parameter deviation value corresponding to the target performance parameter is within the preset deviation range, then the target performance parameter test is determined to be passed; if the parameter deviation value corresponding to the target performance parameter is not within the preset deviation range and the preset number of tests has not been reached, then the RF system under test is compensated based on the parameter deviation value, and after compensation, a new parameter deviation value corresponding to the target performance parameter is determined; if the new parameter deviation value corresponding to the target performance parameter is within the preset deviation range, then the target performance parameter test is determined to be passed; if the new parameter deviation value corresponding to the target performance parameter is not within the preset deviation range and the preset number of tests has been reached, then the target performance parameter test is determined to be failed.
[0069] In this embodiment of the invention, the determining unit 45 can also be used to trigger the execution of a preset asynchronous callback function of the target performance parameter when the target performance parameter test is completed, so as to select the next performance parameter from the test platform and determine it as the target performance parameter; or, when the target performance parameter test is completed, trigger a preset test completion notification of the target performance parameter, so that the preset task scheduler selects the next performance parameter from the test platform and determines it as the target performance parameter according to the triggered preset test completion notification.
[0070] In this embodiment of the invention, in order to support the parallel testing of multiple RF systems, the test platform has multiple test channels and a connection unit 41, which can also be used to establish wireless connections with multiple RF systems under test and perform code pairing.
[0071] The determination unit 45 can also be used to determine the test channels corresponding to each of the multiple RF systems under test according to the RF system type information contained in the RF system test instructions. The test platform has pre-stored the system type information and test channels corresponding to different RF systems locally. Through the test channels corresponding to each of the multiple RF systems under test, the tests of each performance parameter corresponding to each of the multiple RF systems under test are completed in parallel.
[0072] In this embodiment of the invention, the connection unit 41 can also be used to establish a wireless connection with the next RF system under test and perform code pairing after the RF system under test has been tested. Unit 45 can also be used to determine the target performance parameters that need to be tested for the next RF system under test, and repeat the above steps until the test of each performance parameter of the next RF system under test is completed.
[0073] To achieve the above objectives, the present invention provides a storage medium storing a test program for an RF system, wherein when the test program for the RF system is executed by a processor, the test program for the RF system implements the steps of the test method for the RF system as described above.
[0074] To achieve the above objectives, embodiments of the present invention provide a test platform for an RF system. The device includes a memory and a processor. The memory stores a test program for the RF system, and when the processor executes the test program for the RF system, it implements the steps of the test method for the RF system as described above.
[0075] To address the aforementioned technical problems, embodiments of the present invention also provide a testing platform. Please refer to the following for details. Figure 5 , Figure 5 This is a basic structural block diagram of the test platform in this embodiment.
[0076] Test platform 5 includes a memory 51, a processor 52, and a network interface 53 that are interconnected via a system bus. It should be noted that only test platform 5 with components 51-53 is shown in the figure; however, it should be understood that it is not required to implement all shown components, and more or fewer components can be implemented alternatively. Those skilled in the art will understand that the test platform described here is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0077] The memory 51 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 51 may be an internal storage unit of the test platform 5, such as the hard disk or memory of the test platform 5. In other embodiments, the memory 51 may also be an external storage device of the test platform 5, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the test platform 5. Of course, the memory 51 may include both internal storage units and external storage devices of the test platform 5. In this embodiment, the memory 51 is typically used to store the operating system and various application software installed on the test platform 5, such as the program code of the test method for the RF system. In addition, the memory 51 may also be used to temporarily store various types of data that have been output or will be output.
[0078] In some embodiments, processor 52 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. This processor 52 is typically used to control the overall operation of the test platform 5. In this embodiment, processor 52 is used to run program code stored in memory 51 or process data, such as program code for running test methods for an RF system.
[0079] The network interface 53 may include a wireless network interface or a wired network interface, which is typically used to establish communication connections between the test platform 5 and other electronic devices.
[0080] This invention provides a testing platform that enables wireless connection and code pairing between the testing platform and the RF system under test. After establishing a wireless connection and wireless code pairing, and receiving a user-triggered RF system test command, the platform can respond to the user-triggered RF system test command and automatically generate a target performance parameter test command based on the target performance parameters to be tested of the RF system under test and its corresponding preset performance parameters. This allows the RF system under test to process the target radio frequency signal and generate test data for the target performance parameters in response to the target performance parameter test command. Simultaneously, the testing platform can determine the test results of the target performance parameters based on test data and preset performance data; monitor the test status of the target performance parameters; select the next performance parameter as the target performance parameter based on the test status; and repeat the above steps until each performance parameter test is completed. That is, compared with the prior art, the embodiments of the present invention can enable users to complete each test stage of the RF system with a "one-click" trigger operation. During the entire test process, the testing platform can respond to the RF system test command triggered by the user and automatically generate the target performance parameter test command according to the preset performance parameters of the target performance parameters of the RF system under test. This allows the RF system under test to automatically process the target radio frequency signal, thereby realizing automatic testing for any target performance parameter. During the test of the target performance parameter, each test step can be automatically switched and executed without user intervention or manual confirmation of the next step. In addition, after the target performance parameter test is completed, it can automatically switch to the next performance test without user parameters or manual confirmation. Overall, this greatly simplifies the RF system testing process and improves the testing efficiency of the RF system. Furthermore, through the embodiments of the present invention, the user program that processes the target radio frequency signal based on the RF system response command can complete the test, thereby eliminating the need for the step-by-step operation confirmation test method of the RF system in conjunction with the test instruments in the prior art. Before the test, a separate test program needs to be burned for each RF system. The user program only needs to be burned once before the RF system is produced, which simplifies the preparation work before the test of the RF system and thus improves the test efficiency of the RF system.
[0081] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware online platforms. Of course, they 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 the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods of the various embodiments of the present invention.
[0082] This invention can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This invention can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This invention can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0083] Obviously, the embodiments described above are merely some embodiments of the present invention, not all embodiments. The accompanying drawings show preferred embodiments of the present invention, but do not limit the patent scope of the present invention. The present invention can be implemented in many different forms; rather, these embodiments are provided to provide a more thorough and complete understanding of the disclosure of the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the patent protection scope of this invention.
Claims
1. A testing method for an RF system, characterized in that, Applied to a testing platform, the method includes: Establish a wireless connection with the RF system under test and perform code pairing; In response to user-triggered RF system test commands, determine the target performance parameters of the RF system under test, and read the preset performance data of the target performance parameters from the test platform locally; Based on the preset performance data of the target performance parameters, a target performance parameter test command is generated and sent to the RF system under test. The RF system under test is used to respond to the target performance parameter test command, process the target radio frequency signal, and generate test data for the target performance parameters. Acquire the test data; determine the test results of the target performance parameters based on the test data and the preset performance data; Select the next performance parameter as the target performance parameter, and repeat the above steps until all performance parameters have been tested.
2. The method according to claim 1, characterized in that, The process of responding to a user-triggered RF system test command to determine the target performance parameters of the RF system under test includes: According to the RF system test instructions, multiple performance parameters of the RF system under test are read from the local test platform; one performance parameter is selected from the multiple performance parameters according to a preset order rule and determined as the target performance parameter to be tested. The test platform also pre-stores multiple performance parameters corresponding to different RF systems; or... According to a preset order rule, one performance parameter is selected from the multiple performance parameters included in the RF system test command and determined as the target performance parameter to be tested.
3. The method according to claim 1, characterized in that, Before acquiring the test data, the method further includes: Check whether the test data has been acquired; If the test data is not obtained, determine whether the duration of the failure to obtain the test data exceeds the preset timeout period; If the preset timeout period is exceeded, a test timeout message will be output and the test will stop.
4. The method according to claim 1, characterized in that, The step of determining the test results of the target performance parameters based on the test data and the preset performance data includes: Obtain the standard values and preset deviation ranges of the target performance parameters from the preset performance data; Extract the measured values or parameter deviation values corresponding to the target performance parameters from the test data; If the measured values of the parameters corresponding to the target performance parameters are obtained, then the parameter deviation values corresponding to the target performance parameters are determined based on the measured values of the parameters and the standard values of the parameters. The test results of the target performance parameters are determined based on the parameter deviation values and preset deviation ranges corresponding to the target performance parameters.
5. The method according to claim 4, characterized in that, The step of determining the test results for a specific test task based on the parameter deviation values corresponding to the target performance parameters and the preset deviation range includes: Retrieve the RF system test mode set by the user; When the RF system test mode is the first test mode, if the parameter deviation value corresponding to the target performance parameter is within the preset deviation range, the target performance parameter test is determined to be passed; if the parameter deviation value corresponding to the target performance parameter is not within the preset deviation range, the target performance parameter test is determined to be failed. When the RF system test mode is the second test mode, if the parameter deviation value corresponding to the target performance parameter is within the preset deviation range, the target performance parameter test is determined to be passed; if the parameter deviation value corresponding to the target performance parameter is not within the preset deviation range and the preset number of tests has not been reached, the RF system under test is compensated based on the parameter deviation value, and after compensation, the new parameter deviation value corresponding to the target performance parameter is determined; if the new parameter deviation value corresponding to the target performance parameter is within the preset deviation range, the target performance parameter test is determined to be passed; if the new parameter deviation value corresponding to the target performance parameter is not within the preset deviation range and the preset number of tests has been reached, the target performance parameter test is determined to be failed.
6. The method according to claim 1, characterized in that, The testing platform has multiple testing channels, and the method further includes: Establish wireless connections and pair codes with multiple RF systems under test; Based on the RF system type information contained in the RF system test command, the test channels corresponding to each of the multiple RF systems under test are determined. The test platform has pre-stored the system type information and test channels corresponding to different RF systems locally. The test parameters of each RF system under test are tested in parallel through the test channels corresponding to each RF system under test.
7. The method according to any one of claims 1-6, characterized in that, The method further includes: After the RF system under test is tested, it establishes a wireless connection with the next RF system under test and performs code pairing. Determine the target performance parameters that need to be tested for the next RF system under test, and repeat the above steps until all performance parameters of the next RF system under test have been tested.
8. A testing apparatus for an RF system, characterized in that, The device, applied to a testing platform, includes: A connection unit is used to establish a wireless connection with the RF system under test and perform code pairing. The receiving unit is used to receive RF system test commands triggered by the user. The response unit is used to respond to the RF system test command, determine the target performance parameters of the RF system under test, and read the preset performance data of the target performance parameters from the test platform locally; The generation unit is used to generate a target performance parameter test command based on the preset performance data of the target performance parameter and send it to the RF system under test. The RF system under test is used to respond to the target performance parameter test command, process the target radio frequency signal, and generate test data for the target performance parameter. A determining unit is used to acquire the test data; determine the test result of the target performance parameter based on the test data and the preset performance data; select the next performance parameter as the target performance parameter, and repeat the above steps until the test of each performance parameter is completed.
9. A storage medium, characterized in that, The storage medium stores a test program for an RF system, which, when executed by a processor, implements the steps of the test method for an RF system as described in any one of claims 1 to 7.
10. A testing platform, characterized in that, The device includes a memory and a processor, the memory storing a test program for an RF system, and the processor executing the test program for the RF system implementing the steps of the test method for the RF system as described in any one of claims 1 to 7.