Communication equipment signal test method and device, storage medium and computer equipment
Through the automated signal testing method of communication equipment, the comprehensive measuring instrument and signal images are used to solve the problem of low efficiency and reliability of manual testing in complex environments, and efficient and accurate signal testing is achieved.
Patent Information
- Application Number
- CN202510299731.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-05-13
AI Technical Summary
In the prior art, signal testing of communication equipment relies on manual operations, making it difficult to ensure the efficiency and reliability of signal testing under complex network environments and variable signal conditions.
Provide a communication device signal testing method, by obtaining a test plan and using a comprehensive measuring instrument to perform a test plan on the target device, automatically record signal strength and obtain signal images, determine the error range according to the device type and test plan, and generate test results and reports.
It realizes automation of the test process, improves the efficiency and reliability of signal testing, ensures the completeness and accuracy of the test data, and provides more intuitive and detailed testing content.
Smart Images

Figure CN119996277A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication testing technology, and in particular to a communication equipment signal testing method, device, storage medium and computer equipment. Background Art
[0002] During the development and application phase of communication equipment, signal testing is a key step in ensuring equipment performance and quality. This testing process is designed to verify the signal reception and display capabilities of mobile phones in different network environments, so as to ensure that users can obtain signal strength information stably and accurately in actual use.
[0003] At present, this testing process mainly relies on manual operation. Testers need to verify the signal changes one by one according to the preset test cases to determine whether the signal reception of the communication equipment is normal. However, in complex network environments and changing signal conditions, this manual testing method is difficult to ensure the efficiency and reliability of signal testing. Summary of the invention
[0004] The purpose of this application is to solve at least one of the above technical defects, especially the technical defect that the tester in the prior art needs to verify the signal changes one by one according to the preset test cases to determine whether the signal reception of the communication device is normal. However, in a complex network environment and under changing signal conditions, this manual testing method is difficult to ensure the efficiency and reliability of signal testing.
[0005] In a first aspect, the present application provides a communication device signal testing method, the method comprising:
[0006] Obtaining a test plan, and executing the test plan on a target device connected to the integrated tester using the integrated tester;
[0007] During the execution of the test plan, the signal strengths of the comprehensive tester and the target device are recorded at preset intervals, and a signal image of the target device is obtained;
[0008] Determine the error range corresponding to the target device according to the device type of the target device and the test plan;
[0009] Determine a test result according to the signal strength of the comprehensive tester and the target device and the error range, and generate a report record based on the signal image, the test result, the error range and the signal strength of the comprehensive tester and the target device;
[0010] When the test plan is completed, a signal test report is generated according to the report records obtained during the execution of the test plan.
[0011] In one embodiment, obtaining the test plan and executing the test plan on the target device connected to the comprehensive tester by using the comprehensive tester includes:
[0012] Determine the target device to be tested to which the comprehensive tester is connected;
[0013] Acquire the communication parameters to be tested of the target device and the current network standard of the target device; the communication parameters to be tested include frequency band, bandwidth and channel;
[0014] A test plan for the target device is formulated according to the communication parameters to be tested and the network standard, and the test plan is sent to the comprehensive tester so that the comprehensive tester executes the test plan on the target device.
[0015] In one embodiment, the recording the signal strengths of the comprehensive tester and the target device respectively, and obtaining the signal image of the target device, includes:
[0016] Read the signal strength currently set by the comprehensive tester, and send a signal acquisition instruction to the target device so that the target device obtains the signal strength from its status information, and intercepts the current signal grid of the target device as a signal image;
[0017] The signal strength and signal image returned by the target device are obtained.
[0018] In one embodiment, determining the test result according to the signal strength of the comprehensive tester and the target device and the error range includes:
[0019] Calculating the absolute value of the difference between the signal strength of the comprehensive tester and the target device;
[0020] It is determined whether the absolute value is within the error range. If the absolute value is within the error range, a test result indicating that the test has passed is generated. If the absolute value is not within the error range, a test result indicating that the test has not passed is generated.
[0021] In one embodiment, determining the error range corresponding to the target device according to the device type of the target device and the test plan includes:
[0022] Obtaining the communication parameters and network standards to be tested in the test plan;
[0023] Querying a preset technical document for a target error range corresponding to the device type of the target device under the communication parameters to be tested and the network standard;
[0024] The target error range is fine-tuned based on historical signal test data, and the fine-tuned target error range is determined as the error range corresponding to the target device.
[0025] In one embodiment, the method further comprises:
[0026] During the execution of the test plan, the target device is recorded, and when the test plan is executed, the test screen recording data of the target device is obtained and saved.
[0027] In one embodiment, the method further comprises:
[0028] During the execution of the test plan, the execution progress of the test plan is calculated in real time based on a preset strategy, and the calculated execution progress is displayed in real time;
[0029] When there are multiple test plans to be executed, if a plan adjustment instruction is received, the order of each test plan in the plan queue is modified according to the plan adjustment instruction to adjust the execution order of each test plan to be executed.
[0030] In a second aspect, the present application provides a communication device signal testing device, the device comprising:
[0031] A plan acquisition module is used to acquire a test plan and use the comprehensive tester to execute the test plan on the target device to which it is connected;
[0032] An information recording module, used to record the signal strengths of the comprehensive tester and the target device at preset intervals during the execution of the test plan, and obtain a signal image of the target device;
[0033] An error determination module, used to determine an error range corresponding to the target device according to the device type of the target device and the test plan;
[0034] A record generating module, configured to determine a test result according to the signal strength of the comprehensive tester and the target device and the error range, and generate a report record based on the signal image, the test result, the error range and the signal strength of the comprehensive tester and the target device;
[0035] The report generation module is used to generate a signal test report according to the report records obtained during the execution of the test plan when the test plan is completed.
[0036] In a third aspect, the present application provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the communication device signal testing method described in any of the above embodiments.
[0037] In a fourth aspect, the present application provides a computer device, comprising: one or more processors, and a memory;
[0038] The memory stores computer-readable instructions, and when the one or more processors execute the computer-readable instructions, the steps of the communication device signal testing method described in any one of the above embodiments are performed.
[0039] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0040] The communication equipment signal testing method, device, storage medium and computer equipment provided by the present application, when performing signal testing on the communication equipment, firstly, by obtaining the test plan and using the comprehensive tester to execute the test plan on the target device connected to it, the automation of the test process is realized, and the operation errors and inefficiency problems that may occur in the traditional manual test are avoided, thereby improving the efficiency and reliability of the test. During the execution of the test plan, the signal strength of the comprehensive tester and the target device is automatically recorded at every preset time period, and the signal image of the target device is captured synchronously. This combination of real-time data acquisition and image capture not only ensures the integrity and accuracy of the test data, but also can provide more intuitive and detailed test content, so as to quickly locate and analyze the problem later. Then, the error range is automatically determined according to the device type and the test plan, and after the test results are generated in combination with the signal strength and the error range, the above information is summarized to obtain a report record to form a final test report. In this process, by dynamically determining the error range, the generated test results are closer to the actual situation, so as to further improve the accuracy and reliability of the signal test. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0042] Figure 1 A flow chart of a communication device signal testing method provided in an embodiment of the present application;
[0043] Figure 2 A schematic diagram of a process for determining an error range corresponding to a target device according to a device type and a test plan of the target device provided in an embodiment of the present application;
[0044] Figure 3 An interface design diagram of a communication device signal testing system provided in an embodiment of the present application;
[0045] Figure 4 A schematic diagram of the structure of a communication device signal testing device provided in an embodiment of the present application;
[0046] Figure 5 An internal structure diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0048] like Figure 1 As shown, the present application provides a communication device signal testing method, the method comprising:
[0049] S101: Obtain a test plan, and use the integrated tester to execute the test plan on the target device to which it is connected.
[0050] In this step, when the user needs to perform a signal test on the target device, the target device can be connected to the comprehensive tester and the computer device deployed with the communication equipment signal test system respectively, and then the connection status among the comprehensive tester, the target device and the computer device can be checked. After completing the connection status check, the computer device can obtain the information selected or input by the user, determine the test plan based on this information, and obtain the test plan, and then use the comprehensive tester to execute the test plan on the target device.
[0051] Among them, the test plan refers to a plan composed of test steps, test parameters and other data; the target device refers to the device on which the signal test will be performed. The target device includes but is not limited to mobile phones, tablets, smart watches, etc. The comprehensive tester is an electronic measuring instrument that integrates multiple test functions. It is mainly used for transmitting power and receiving sensitivity testing, signal analysis, protocol testing, equipment performance evaluation, etc.
[0052] In one example, the target device can be connected to a computer device that deploys a communication device signal test system via a USB cable, and the target device can be connected to a comprehensive tester via a radio frequency cable. It can be understood that the target device and the computer device and the comprehensive tester can be connected in a wired or wireless manner under the premise of meeting communication requirements, and this application does not impose specific restrictions on this.
[0053] S102: During the execution of the test plan, the signal strengths of the integrated tester and the target device are recorded at every preset time interval, and a signal image of the target device is obtained.
[0054] The preset time period is an empirical value and can be modified and adjusted according to actual conditions. In one example, the preset time period can be set to 18 seconds. The signal image refers to the signal grid display image on the target device.
[0055] When executing the test plan, at each preset time interval, the computer device can automatically obtain the signal strength of the comprehensive tester and the target device at that time through the connection between it, the comprehensive tester and the target device, and obtain the signal image intercepted on the target device.
[0056] For example, suppose that in the test of wireless communication equipment, for the signal test of a 5G mobile phone, the tester can set the preset period to every 30 seconds. After the test starts, the computer device will send the test plan to the comprehensive tester so that the comprehensive tester automatically triggers the measurement of signal strength at each preset period, obtains the signal strength of the comprehensive tester at the current moment, and returns it to the computer device to record the signal strength of the comprehensive tester at this moment. At the same time, the computer device obtains the signal image and model strength of the target device through the interface (such as USB or network interface) of the target device to record the signal strength of the target device and obtain the signal image of the target device.
[0057] S103: Determine the error range corresponding to the target device according to the device type and the test plan of the target device.
[0058] The error range refers to the reasonable range of the signal strength difference between the target device and the comprehensive tester.
[0059] In this step, the communication parameters and network standards to be tested in the test plan are obtained, and the error range corresponding to the target device is determined based on the device type, the communication parameters to be tested, and the network standard of the target device. Specifically, the process of determining the error range can be determined according to a preset mathematical model, or according to a pre-trained neural network model, and this application does not impose specific restrictions on this.
[0060] It is understandable that the device type reflects the hardware design and application scenario. Different types of devices differ in terms of transmit power, receive sensitivity, signal processing capabilities, etc., so their error ranges will also be different. The communication parameters to be tested (such as frequency, bandwidth, etc.) directly affect the characteristics and accuracy requirements of signal transmission. The signal strength and stability under different parameters have a direct impact on the setting of the error range. The network standard specifies the technical standards and performance indicators that the equipment must follow. For example, wireless communication standards of different standards have clear requirements for the fault tolerance range of parameters such as signal strength, spectrum purity, and bit error rate. Therefore, by comprehensively considering these factors, the error range of the target device in the signal test can be accurately determined to ensure that the test results can not only reflect the true performance of the equipment, but also meet industry standards and actual application needs.
[0061] Furthermore, if a pre-trained range determination model is used to determine the error range, the range determination model can be obtained by using sample data including device type, communication parameters to be tested and network format as training samples, using the true error range corresponding to the sample data as sample labels, and using the target loss function to train the preset pre-trained model. During the training process, the computer device can input the training samples with sample labels into the pre-trained model for forward propagation to train the model, and use the target loss function to tune the parameters of the model during the back propagation process of the model. When the model meets certain training conditions or parameter convergence conditions, such as the number of iterations reaching the set value, the training is considered to be completed, and the trained model can be used as the range determination model.
[0062] S104: Determine the test result according to the signal strength and error range of the comprehensive tester and the target device, and generate a report record based on the signal image, the test result, the error range, and the signal strength of the comprehensive tester and the target device.
[0063] The test results include test pass and test fail.
[0064] In this step, after determining the signal strength of the comprehensive tester and the target device at this time, the test result of the target device can be determined in combination with the error range, and then a report record at the current moment is generated based on the signal image, test results, error range, and signal strength of the comprehensive tester and the target device.
[0065] S105: When the test plan is completed, a signal test report is generated according to the report records obtained during the execution of the test plan.
[0066] In this step, when the test plan is completed, multiple preset time periods may be spaced apart during the execution of the test plan. Therefore, multiple report records can be obtained during the execution of the test plan, and then a signal test report on the target device is generated based on the report records obtained during the execution of the test plan.
[0067] Specifically, the completion condition of the test plan can be set to reach a preset duration, or can be set to reach a preset number of report records. This application does not impose specific restrictions on this.
[0068] In the above embodiment, when the communication device is subjected to a signal test, the test plan is first obtained and the test plan is executed on the target device connected to the communication device by using the comprehensive tester, so as to realize the automation of the test process, avoid the operation errors and inefficiency problems that may occur in the traditional manual test, and thus improve the efficiency and reliability of the test. During the execution of the test plan, the signal strength of the comprehensive tester and the target device is automatically recorded at every preset time interval, and the signal image of the target device is captured synchronously. This combination of real-time data acquisition and image capture not only ensures the integrity and accuracy of the test data, but also can provide more intuitive and detailed test content, so as to quickly locate and analyze the problem later. Then, the error range is automatically determined according to the device type and the test plan, and after the test results are generated in combination with the signal strength and the error range, the above information is summarized to obtain a report record to form a final test report. In this process, by dynamically determining the error range, the generated test results are closer to the actual situation, so as to further improve the accuracy and reliability of the signal test.
[0069] In one embodiment, obtaining a test plan and executing the test plan on a target device connected to the comprehensive tester includes:
[0070] S1: Determine the target device to be tested to which the comprehensive tester is connected.
[0071] S2: Obtain the communication parameters to be tested of the target device and the current network standard of the target device.
[0072] The communication parameters to be tested include frequency band, bandwidth and channel. The communication parameters to be tested refer to the communication parameters of the target device to be tested. Frequency band refers to the frequency range, bandwidth refers to the available frequency range within the frequency band, and channel refers to the frequency resources allocated to a specific communication link within the frequency band. Network standard refers to the technical standard adopted by the target device, such as 3G network, 4G network, 5G network, WiFi, Bluetooth, etc.
[0073] S3: Formulate a test plan for the target device according to the communication parameters to be tested and the network standard, and send the test plan to the comprehensive tester so that the comprehensive tester executes the test plan on the target device.
[0074] In this step, a test plan is generated based on the communication parameters (such as frequency band, bandwidth, channel, etc.) and network standards (such as 5G, LTE, etc.) of the target device. Then, the configured test plan is sent to the comprehensive tester through the software interface or API interface. After receiving the test plan, the comprehensive tester will automatically execute the preset test steps to perform signal evaluation on the target device. Among them, the comprehensive tester can be connected to the computer device via a network cable.
[0075] Specifically, when the comprehensive tester executes the test plan on the target device, it uses the preset maximum signal as the initial signal, sends the initial signal to the target device, and weakens the signal of the preset step length at each preset time interval until the plan completion conditions are met.
[0076] For example, assuming that the target device is a mobile phone, after the test plan is generated, the relevant instructions in the test plan are sent to the integrated tester, and then the mobile phone is registered on the integrated tester during flight. Then the integrated tester can send signals according to the preset maximum signal of -80dbm, and decrease by 1dbm at each preset time period, such as -81, -82, -83, -84,..., until the number of signal grids displayed in the signal image of the mobile phone is 0.
[0077] It is understandable that by sending the test plan to the comprehensive tester and automatically executing it, the test process can be standardized and automated, the errors caused by human operation can be reduced, and the reliability and consistency of the test results can be improved. At the same time, automated testing can significantly shorten the test time and improve the test efficiency.
[0078] In one embodiment, recording the signal strength of the comprehensive tester and the target device respectively, and obtaining the signal image of the target device includes:
[0079] S1: Read the signal strength currently set by the comprehensive tester, and send a signal acquisition instruction to the target device so that the target device obtains the signal strength from its status information, and captures the current signal grid of the target device as a signal image.
[0080] S2: Obtain the signal strength and signal image returned by the target device.
[0081] The signal acquisition instruction is a remote device control instruction. For example, in a mobile phone, the signal acquisition instruction may be an ADB (Android Debug Bridge) instruction.
[0082] In this embodiment, the computer device can read the signal strength of the current device of the comprehensive tester through the connection between the computer device and the comprehensive tester, and then the computer device sends a signal acquisition instruction to the target device, so that the target device obtains the signal strength from its status information when receiving the signal acquisition instruction, and captures the current signal grid display as a signal image. Finally, the computer device obtains the signal strength and signal image of the target device at this moment through the connection between the computer device and the target device.
[0083] Exemplarily, assuming that the target device is a mobile phone, the target device can read the signal strength through a preset path. The preset path can be set to: Settings-About Mobile Phone-Status Information, and then the signal strength can be read on the status information interface.
[0084] By acquiring signal strength and signal image at the same time in one test, the integrity and accuracy of the test data can be ensured, and more intuitive and detailed test content can be provided to facilitate subsequent rapid location and analysis of problems.
[0085] In one embodiment, determining the test result according to the signal strength and error range of the comprehensive tester and the target device includes:
[0086] S1: Calculate the absolute value of the difference in signal strength between the tester and the target device.
[0087] S2: Determine whether the absolute value is within the error range. If the absolute value is within the error range, generate a test result indicating that the test has passed. If the absolute value is not within the error range, generate a test result indicating that the test has not passed.
[0088] In this embodiment, by determining the absolute value of the difference in signal strength between the comprehensive tester and the target device, and comparing the absolute value with the dynamically determined error range, the generated test results can be closer to the actual situation, reducing misjudgments or missed judgments caused by a fixed error range, so as to further improve the accuracy and reliability of signal testing.
[0089] like Figure 2 As shown, in one embodiment, determining the error range corresponding to the target device according to the device type and the test plan of the target device includes:
[0090] S201: Obtain the communication parameters and network standards to be tested in the test plan.
[0091] S202: Querying a preset technical document for a target error range corresponding to the device type of the target device under the communication parameters and network standards to be tested.
[0092] Among them, technical documentation refers to a collection of files or materials that record in detail the design, function, performance, operation, testing and other information of the equipment.
[0093] S203: fine-tuning the target error range based on the historical signal test data, and determining the fine-tuned target error range as the error range corresponding to the target device.
[0094] In this embodiment, according to the preset technical documents, the standard error range of the target device under specific communication parameters (i.e., the communication parameters to be tested) and network standards, i.e., the target error range, is queried. For example, the technical documents may stipulate that the target error range of a certain 5G device is ±2 dbm. Then, the standard error range is fine-tuned in combination with historical signal test data (such as the actual error values recorded in past tests). If the historical signal data shows that the target device generally has a large error under a specific environment, the target error range can be appropriately relaxed; conversely, if the device performance is stable and the error is small, the target error range can be narrowed. Finally, the fine-tuned target error range is determined as the final error range of the target device and applied to subsequent tests. For example, in a certain LTE base station test, the target error range was adjusted from ±3 dbm to ±2.5 dbm based on historical signal data to better fit the actual performance.
[0095] In another embodiment, the target error range can be fine-tuned through a pre-trained neural network model. The specific method can be selected according to the actual situation, and this application does not impose any specific restrictions on this.
[0096] Specifically, by querying technical documents and fine-tuning the target error range in combination with historical signal data, it can ensure that the final error range is set more scientifically and reasonably, avoiding the potential problems of the equipment due to overly loose standards, and preventing misjudgments due to overly strict standards. This dynamic adjustment method can better reflect the performance of the equipment in the actual use environment, thereby improving the accuracy and reliability of the test results.
[0097] In one embodiment, the communication device signal testing method further includes:
[0098] During the execution of the test plan, the target device is recorded. When the test plan is executed, the test screen recording data of the target device is obtained and saved.
[0099] In this embodiment, the target device can also be recorded during the execution of the test plan, and the test screen recording data of the target device during this test is obtained after the test plan is completed, and the test screen recording data is saved in a preset path. In this way, the user can obtain the test screen recording data of the target device when the test result does not meet expectations, and then quickly locate the location where the problem may occur by replaying the test process.
[0100] In one embodiment, the communication device signal testing method further includes:
[0101] S1: During the execution of the test plan, the execution progress of the test plan is calculated in real time based on the preset strategy, and the calculated execution progress is displayed in real time.
[0102] Among them, the preset strategy refers to dividing the test plan into multiple test phases and calculating the execution progress according to the weight occupied by each test phase.
[0103] In this step, during the execution of the test plan, the test plan can be divided into multiple test phases, and a certain weight is assigned to each test phase, so that after completing a certain test phase, the execution progress is determined by calculating the weight ratio of the test phase and the test phase before it in each test phase. It can be understood that when assigning weights, the estimated completion time of the test phase can be given priority consideration. That is, the weight can measure the proportion of the estimated completion time of the test phase in the entire test plan. In this way, the execution progress of the test plan being executed can be displayed in real time to improve the intelligence level of the communication equipment signal testing method.
[0104] S2: When there are multiple test plans to be executed, if a plan adjustment instruction is received, the order of each test plan in the plan queue is modified according to the plan adjustment instruction to adjust the execution order of each test plan to be executed.
[0105] In this step, if there are multiple test plans to be executed, the user can initiate a plan adjustment instruction. When the computer device receives the plan adjustment instruction, it modifies the order of each test plan to be executed in the plan queue, thereby adjusting the execution order of each test plan to be executed. This can make the execution of the test plan more flexible.
[0106] In addition, each test plan can be saved, so that when the same test plan is used later, it can be directly reused and selected, saving computing resources and improving the efficiency of signal testing.
[0107] In one example, if Figure 3 As shown, Figure 3 This is an interface design diagram of a communication device signal test system provided in an embodiment of the present application. Figure 3 In the figure, 2G, 3G, 4G, 5G and WiFi in the first row represent the network standards. The comprehensive tester selection indicates that it can support equipment from multiple instrument manufacturers. Connectivity refers to checking the connectivity between the target device, computer equipment and comprehensive tester. The area below the network standard is used to set or select the communication parameters to be tested, and you can choose to add or delete the plan to adjust the execution order in the plan queue below. The threshold setting allows users to manually modify the error range. The test progress bar is used to display the execution progress. Start / interrupt is used to control the start or interruption of the test. The comprehensive test instrument setting can configure the connection with the comprehensive tester. Under the comprehensive test instrument setting, you can set file generation and the generation path.
[0108] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0109] The communication device signal testing device provided in an embodiment of the present application is described below. The communication device signal testing device described below and the communication device signal testing method described above can refer to each other.
[0110] like Figure 4 As shown, the present application provides a communication device signal testing device 300, the device comprising:
[0111] The plan acquisition module 301 is used to acquire the test plan and use the comprehensive tester to execute the test plan on the target device connected to it;
[0112] The information recording module 302 is used to record the signal strength of the comprehensive tester and the target device at each preset time interval during the execution of the test plan, and obtain the signal image of the target device;
[0113] An error determination module 303 is used to determine an error range corresponding to the target device according to the device type and the test plan of the target device;
[0114] A record generation module 304 is used to determine the test result according to the signal strength and error range of the comprehensive tester and the target device, and generate a report record based on the signal image, the test result, the error range and the signal strength of the comprehensive tester and the target device;
[0115] The report generation module 305 is used to generate a signal test report according to the report records obtained during the execution of the test plan when the test plan is completed.
[0116] In the above embodiment, when the communication device is subjected to a signal test, the test plan is first obtained and the test plan is executed on the target device connected to the communication device by using the comprehensive tester, so as to realize the automation of the test process, avoid the operation errors and inefficiency problems that may occur in the traditional manual test, and thus improve the efficiency and reliability of the test. During the execution of the test plan, the signal strength of the comprehensive tester and the target device is automatically recorded at every preset time interval, and the signal image of the target device is captured synchronously. This combination of real-time data acquisition and image capture not only ensures the integrity and accuracy of the test data, but also can provide more intuitive and detailed test content, so as to quickly locate and analyze the problem later. Then, the error range is automatically determined according to the device type and the test plan, and after the test results are generated in combination with the signal strength and the error range, the above information is summarized to obtain a report record to form a final test report. In this process, by dynamically determining the error range, the generated test results are closer to the actual situation, so as to further improve the accuracy and reliability of the signal test.
[0117] In one embodiment, the plan acquisition module includes:
[0118] The device determination submodule is used to determine the target device to be tested connected to the comprehensive tester;
[0119] The information acquisition submodule is used to obtain the communication parameters to be tested of the target device and the current network standard of the target device; the communication parameters to be tested include frequency band, bandwidth and channel;
[0120] The plan formulation submodule is used to formulate a test plan for the target device according to the communication parameters to be tested and the network standard, and send the test plan to the comprehensive tester so that the comprehensive tester executes the test plan on the target device.
[0121] In one embodiment, the information recording module includes:
[0122] The information reading submodule is used to read the signal strength currently set by the comprehensive tester, and send a signal acquisition instruction to the target device so that the target device obtains the signal strength from its status information, and intercepts the current signal grid of the target device as a signal image;
[0123] The image acquisition submodule is used to obtain the signal strength and signal image returned by the target device.
[0124] In one embodiment, the record generation module includes:
[0125] A calculation submodule is used to calculate the absolute value of the difference between the signal strength of the comprehensive tester and the target device;
[0126] The judgment submodule is used to judge whether the absolute value is within the error range. If the absolute value is within the error range, a test result indicating that the test has passed is generated; if the absolute value is not within the error range, a test result indicating that the test has not passed is generated.
[0127] In one embodiment, the error determination module includes:
[0128] The parameter acquisition submodule is used to obtain the communication parameters and network standards to be tested in the test plan;
[0129] An information query submodule, used to query the target error range corresponding to the device type of the target device under the communication parameters and network standards to be tested in the preset technical documents;
[0130] The range fine-tuning submodule is used to fine-tune the target error range based on historical signal test data, and determine the fine-tuned target error range as the error range corresponding to the target device.
[0131] In one embodiment, the communication device signal testing device further includes:
[0132] The screen recording module is used to record the screen of the target device during the execution of the test plan, obtain the test screen recording data of the target device when the test plan is executed, and save the test screen recording data.
[0133] In one embodiment, the communication device signal testing device further includes:
[0134] The progress display module is used to calculate the execution progress of the test plan in real time based on the preset strategy during the execution of the test plan, and to display the calculated execution progress in real time;
[0135] The sequence adjustment module is used to modify the sequence of each test plan in the plan queue according to the plan adjustment instruction when there are multiple test plans to be executed, so as to adjust the execution sequence of each test plan to be executed.
[0136] The division of each module in the above-mentioned communication equipment signal test device is only for illustration. In other embodiments, the communication equipment signal test device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned communication equipment signal test device. Each module in the above-mentioned communication equipment signal test device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0137] In one embodiment, the present application also provides a storage medium, in which computer-readable instructions are stored. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the communication device signal testing method described in any of the above embodiments.
[0138] In one embodiment, the present application also provides a computer device, in which computer-readable instructions are stored. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the communication device signal testing method described in any of the above embodiments.
[0139] Indicatively, if Figure 4 As shown, Figure 4 This is a schematic diagram of the internal structure of a computer device provided in an embodiment of the present application. The computer device 300 may be provided as a server. Figure 4 The computer device 300 includes a processing component 302, which further includes one or more processors, and a memory resource represented by a memory 301, for storing instructions executable by the processing component 302, such as an application. The application stored in the memory 301 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 302 is configured to execute instructions to perform the communication device signal testing method of any of the above embodiments.
[0140] The computer device 300 may further include a power supply component 303 configured to perform power management of the computer device 300, a wired or wireless network interface 304 configured to connect the computer device 300 to a network, and an input / output (I / O) interface 305. The computer device 300 may operate based on an operating system stored in the memory 301, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, Free BSD TM, or the like.
[0141] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0142] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish an entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements not only include those elements, but also include other elements that are not clearly listed, or also include elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements limited by the sentence "comprise one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements. Herein, the singular "one", "one" and "described / the" may also include plural forms, unless the context clearly indicates another way. It should also be understood that the terms "include / comprise" or "have" etc. specify the existence of stated features, wholes, steps, operations, components, parts or combinations thereof, but do not exclude the possibility of the existence or addition of one or more other features, wholes, steps, operations, components, parts or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.
[0143] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.
[0144] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A communication device signal testing method, characterized in that: The method comprises: Obtaining a test plan, and executing the test plan on a target device connected to the integrated tester using the integrated tester; During the execution of the test plan, the signal strengths of the comprehensive tester and the target device are recorded at preset intervals, and a signal image of the target device is obtained; Determine the error range corresponding to the target device according to the device type of the target device and the test plan; Determine a test result according to the signal strength of the comprehensive tester and the target device and the error range, and generate a report record based on the signal image, the test result, the error range and the signal strength of the comprehensive tester and the target device; When the test plan is completed, a signal test report is generated according to the report records obtained during the execution of the test plan.
2. The communication device signal testing method according to claim 1, characterized in that: The step of obtaining the test plan and executing the test plan on the target device connected to the comprehensive tester includes: Determine the target device to be tested to which the comprehensive tester is connected; Acquire the communication parameters to be tested of the target device and the current network standard of the target device; the communication parameters to be tested include frequency band, bandwidth and channel; A test plan for the target device is formulated according to the communication parameters to be tested and the network standard, and the test plan is sent to the comprehensive tester so that the comprehensive tester executes the test plan on the target device.
3. The communication device signal testing method according to claim 1, characterized in that: The recording of the signal strengths of the comprehensive tester and the target device respectively, and obtaining the signal image of the target device, includes: Read the signal strength currently set by the comprehensive tester, and send a signal acquisition instruction to the target device so that the target device obtains the signal strength from its status information, and intercepts the current signal grid of the target device as a signal image; The signal strength and signal image returned by the target device are obtained.
4. The communication device signal testing method according to claim 1, characterized in that: The determining of the test result according to the signal strength of the comprehensive tester and the target device and the error range includes: Calculating the absolute value of the difference between the signal strength of the comprehensive tester and the target device; It is determined whether the absolute value is within the error range. If the absolute value is within the error range, a test result indicating that the test has passed is generated. If the absolute value is not within the error range, a test result indicating that the test has not passed is generated.
5. The communication device signal testing method according to claim 1, characterized in that: The determining the error range corresponding to the target device according to the device type of the target device and the test plan includes: Obtaining the communication parameters and network standards to be tested in the test plan; Querying the target error range corresponding to the device type of the target device under the communication parameters to be tested and the network standard in a preset technical document; The target error range is fine-tuned based on historical signal test data, and the fine-tuned target error range is determined as the error range corresponding to the target device.
6. The communication device signal testing method according to claim 1, characterized in that: The method further comprises: During the execution of the test plan, the target device is recorded, and when the test plan is executed, the test screen recording data of the target device is obtained and saved.
7. The communication device signal testing method according to any one of claims 1 to 6, characterized in that: The method further comprises: During the execution of the test plan, the execution progress of the test plan is calculated in real time based on a preset strategy, and the calculated execution progress is displayed in real time; When there are multiple test plans to be executed, if a plan adjustment instruction is received, the order of each test plan in the plan queue is modified according to the plan adjustment instruction to adjust the execution order of each test plan to be executed.
8. A communication equipment signal testing device, characterized in that: The device comprises: A plan acquisition module is used to acquire a test plan and use the comprehensive tester to execute the test plan on the target device to which it is connected; An information recording module, used to record the signal strengths of the comprehensive tester and the target device at preset intervals during the execution of the test plan, and obtain a signal image of the target device; An error determination module, used to determine an error range corresponding to the target device according to the device type of the target device and the test plan; A record generating module, configured to determine a test result according to the signal strength of the comprehensive tester and the target device and the error range, and generate a report record based on the signal image, the test result, the error range and the signal strength of the comprehensive tester and the target device; The report generation module is used to generate a signal test report according to the report records obtained during the execution of the test plan when the test plan is completed.
9. A storage medium, characterized in that: The storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the communication device signal testing method according to any one of claims 1 to 7.
10. A computer device, characterized in that: include: one or more processors, and memory; The memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the steps of the communication device signal testing method according to any one of claims 1 to 7 are performed.