Method, system, electronic device and storage medium for calibrating WIFI module test instrument
By controlling the module to transmit radio frequency data in the WIFI module testing instrument, calculating and outputting real-time power value and signal line loss value, the problem of being unable to directly measure line loss in the prior art is solved, and higher measurement accuracy is achieved.
Patent Information
- Application Number
- CN202411702538.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-04-08
AI Technical Summary
The prior art cannot directly measure the line loss of the test instrument, resulting in large errors in the line loss meter of the WIFI module.
By controlling the transmitting radio frequency data of the WIFI module standard components, the test instrument calculates the current power value, outputs the real-time power value and signal line loss value, and uploads and processes to generate line loss test files.
It realizes accurate measurement of the linear loss data of the test instrument, and improves the linear loss measurement accuracy of the WIFI module.
Smart Images

Figure CN119788208A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of WIFI modules, and in particular to a method, system, electronic equipment and storage medium for calibrating a WIFI module test instrument. Background Art
[0002] At present, WIFI modules need to undergo radio frequency testing during the production process, and the test results can be used to analyze whether the WIFI modules meet the standards.
[0003] In the related art, since the test instrument and wire of the WIFI module have line loss, the line loss needs to be calibrated and compensated in the line loss setting. However, the current test method cannot directly measure the line loss of the test instrument, which leads to a large error in the final line loss measurement of the WIFI module. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a method, system, electronic device and storage medium for calibrating a WIFI module test instrument, which can accurately measure the line loss of the test instrument, thereby improving the line loss measurement accuracy of the WIFI module.
[0005] The objective of the present invention is achieved through the following technical solutions:
[0006] In a first aspect, the present application provides a method for calibrating a WIFI module test instrument, comprising: controlling a first WIFI module standard component to transmit a plurality of first radio frequency data, and the test instrument obtaining a plurality of first current power values according to the first radio frequency data; the test instrument calculating and processing each of the first current power values, outputting a first real-time power value, calculating and processing the first real-time power value and a preset power value, and outputting a first current signal line loss value; uploading and processing the first current signal line loss value, outputting a line loss file and file expiration data, binding the file expiration data with the line loss file, and generating a line loss test file.
[0007] The method further includes: controlling the second WIFI module standard component to transmit a plurality of second radio frequency data, and the test instrument obtaining a plurality of second current power values according to the second radio frequency data; the test instrument calculating and processing each of the second current power values, outputting a second real-time power value, calculating and processing the second real-time power value and a preset power value, and outputting a second current signal line loss value; calculating and processing the second current signal line loss value and the first current signal line loss value, outputting a processed power value, and using the processed power value as the current signal line loss value;
[0008] Determine whether the current signal line loss value is greater than the preset configuration threshold. If not, upload the current signal line loss value for processing, output the line loss file and the file expiration data, bind the file expiration data to the line loss file, and generate the line loss test file.
[0009] The method also includes: receiving typed product model data, searching for an available line loss file based on the product model data; determining whether the expiration date of the available line loss file exceeds a preset expiration date, and if not, outputting the available line loss file as the line loss test file.
[0010] The method also includes: running the line loss test file to output first test data and second test data; analyzing the first test data to output a defective product test document; analyzing the second test data to output a good product test document; and writing the defective product test document and the good product test document to a server.
[0011] The second aspect of the present application provides a system for calibrating a WIFI module test instrument, including: a main control module, used to control a first WIFI module standard component to transmit multiple first radio frequency data, and the test instrument obtains multiple first current power values according to the first radio frequency data; a calculation module, used for the test instrument to calculate and process each of the first current power values, output a first real-time power value, calculate and process the first real-time power value and a preset power value, and output a first current signal line loss value; a writing module, used to upload and process the first current signal line loss value, output a line loss file and file expiration data, bind the file expiration data to the line loss file, and generate a line loss test file.
[0012] The main control module includes a cyclic test unit, which is used to control the second WIFI module standard part to transmit multiple second radio frequency data, and the test instrument obtains multiple second current power values according to the second radio frequency data; the test instrument calculates and processes each of the second current power values, outputs a second real-time power value, calculates and processes the second real-time power value and the preset power value, and outputs a second current signal line loss value; calculates and processes the second current signal line loss value and the first current signal line loss value, outputs a processed power value, and uses the processed power value as the current signal line loss value; determines whether the current signal line loss value is greater than a preset configuration threshold, if not, uploads the current signal line loss value, outputs the line loss file and the file expiration data, binds the file expiration data to the line loss file, and generates the line loss test file.
[0013] It also includes a query module, which is used to receive typed product model data, and search for an available line loss file based on the product model data; determine whether the expiration date of the available line loss file exceeds the preset expiration date, and if not, output the available line loss file as the line loss test file.
[0014] It also includes a parsing module, which is used to run the line loss test file, output the first test data and the second test data; analyze the first test data, output a defective product test document; analyze the second test data, output a good product test document; and write the defective product test document and the good product test document to a server.
[0015] A third aspect of the present application provides an electronic device, including:
[0016] Processor; and
[0017] The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method as described above.
[0018] A fourth aspect of the present application provides a computer-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as described above.
[0019] Compared with the prior art, the present invention has at least the following advantages:
[0020] This application can accurately and quickly measure the line loss data of the test instrument through automated processing, thereby improving the line loss measurement accuracy of the WIFI module. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below.
[0022] Figure 1 A method flow chart of a method for calibrating a WIFI module testing instrument in one embodiment of the present invention;
[0023] Figure 2 A method flow chart of another implementation of a method for calibrating a WIFI module test instrument in an embodiment of the present invention;
[0024] Figure 3 A method flow chart of another implementation of a method for calibrating a WIFI module test instrument in an embodiment of the present invention;
[0025] Figure 4 A method flow chart of another implementation of a method for calibrating a WIFI module test instrument in one embodiment of the present invention;
[0026] Figure 5 It is a functional module diagram of a system for calibrating a WIFI module test instrument in one embodiment of the present invention;
[0027] Figure 6 FIG. 4 is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0028] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.
[0029] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0030] Unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, or a detachable connection or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0031] At present, WIFI modules need to undergo RF testing during the production process, and the test results can be used to analyze whether the WIFI modules meet the standards. Since the test instruments and wires of the WIFI modules have line losses, the line losses need to be calibrated and compensated in the line loss settings. However, the current test methods cannot directly measure the line losses of the test instruments, which results in a large error in the final line loss meter of the WIFI module.
[0032] In view of the above problems, the embodiments of the present application provide a method, system, electronic device and storage medium for calibrating a WIFI module test instrument, which can accurately measure the line loss of the test instrument, thereby improving the line loss measurement accuracy of the WIFI module.
[0033] The technical solution of the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0034] Figure 1 It is a flow chart of a method for calibrating a WIFI module test instrument shown in an embodiment of the present application.
[0035] See also Figure 1 , a method for calibrating a WIFI module test instrument, comprising:
[0036] Step S101: Control a first WIFI module standard component to transmit a plurality of first radio frequency data, and a test instrument obtains a plurality of first current power values according to the first radio frequency data.
[0037] It should be noted that the first WIFI module standard part is a standard WIFI module that has been tested for line loss, that is, all its data are standard data. Furthermore, in order to avoid test result errors caused by unstable signals, the intelligent terminal will call the corresponding test program to control the first WIFI module standard part to transmit multiple first radio frequency data according to the model of the first WIFI module. The multiple first radio frequency data here refer to the radio frequency signal of the first WIFI module in the specified mode and channel, such as 5G signal or 2.4G signal. Each mode and channel will transmit 5, so that the test instrument will obtain 5 corresponding first current power values.
[0038] Step S102: The testing instrument calculates and processes each first current power value, outputs a first real-time power value, calculates and processes the first real-time power value and the preset power value, and outputs a first current signal line loss value.
[0039] It should be noted that the test instrument will remove the maximum and minimum values of the five first current power values, and take the average of the three middle power values as the first real-time power value. Then the difference between the first real-time power value and the preset power value is taken as the first current signal line loss value. The preset power value is the standard power value of the test instrument.
[0040] Step S103: upload the first current signal line loss value, output the line loss file and file expiration data, bind the file expiration data with the line loss file, and generate a line loss test file.
[0041] It should be noted that the intelligent terminal will upload and save the first current signal line loss value, and then bind the line loss file to the validity period to remind the test instrument that the line loss value needs to be updated on time, thereby improving the accuracy of line loss measurement.
[0042] Figure 2 FIG. 4 is a flow chart of a method for calibrating a WIFI module testing instrument according to another embodiment of the present application.
[0043] Step S201: Control the second WIFI module standard component to transmit a plurality of second radio frequency data, and the test instrument obtains a plurality of second current power values according to the second radio frequency data.
[0044] Step S202: The testing instrument calculates and processes each second current power value, outputs a second real-time power value, calculates and processes the second real-time power value and the preset power value, and outputs a second current signal line loss value.
[0045] It should be noted that, in order to reduce the error caused by the instability of individual WIFI module standard parts, the smart terminal will control the second WIFI module standard part to repeat the calibration test, wherein the second WIFI module standard part may include multiple WIFI module standard parts.
[0046] Step S203: Calculate and process the second current signal line loss value and the first current signal line loss value, output a processed power value, and use the processed power value as the current signal line loss value.
[0047] It should be noted that in order to improve the accuracy of the test, the second current signal line loss value and the first current signal line loss value output under the same mode and signal are averaged to obtain a processed power value, and finally the processed power value is used as the current signal line loss value.
[0048] Step S204, determine whether the current signal line loss value is greater than the preset configuration threshold, if not, upload the current signal line loss value for processing, output the line loss file and file expiration data, bind the file expiration data with the line loss file, and generate a line loss test file.
[0049] It should be noted that this application puts the same model of WIFI module standard parts into the loop test. After the loop test is completed, it is determined whether the current signal line loss value exceeds the preset threshold of the configuration item. If so, the system will re-inspect and calibrate the workstation.
[0050] Further, in another embodiment, see Figure 3 , a method for calibrating a WIFI module test instrument, further comprising:
[0051] Step S301, receiving the input product model data, and searching for the available line loss file according to the product model data.
[0052] Step S302: determine whether the deadline for using the line loss file exceeds the preset deadline; if not, output the usable line loss file as a line loss test file.
[0053] It should be noted that before the test instrument tests the line loss, the intelligent terminal will receive the manually entered product model data and search for the available line loss file based on the product model data. The test will only be performed if the available line loss file has expired. This can save test time and improve test efficiency.
[0054] Further, in another embodiment, see Figure 4 , a method for calibrating a WIFI module test instrument, further comprising:
[0055] Step S401, running the line loss test file, outputting the first test data and the second test data;
[0056] Step S402, analyzing the first test data and outputting a defective product test document;
[0057] S403, analyzing the second test data and outputting a good product test document;
[0058] S404, writing the defective product test document and the good product test document to the server.
[0059] It should be noted that the first test data is the data that failed the test, and the second test data is the data that passed the test. The second test data includes information such as MAC address, station ID, test time, target value, range value, etc., and lists extreme values, calculation margins, average values, standard deviations, etc. through retrieval data. After analyzing these data, good product test documents are generated to facilitate subsequent production of standard data. After analyzing the first test data, defective product test documents will be output. The smart terminal will analyze the reasons why each data in the defective product test document failed, so as to focus on the reasons for the large proportion of subsequent tests.
[0060] Corresponding to the aforementioned application function implementation method embodiment, the present application also provides a system for calibrating a WIFI module test instrument, an electronic device and corresponding embodiments.
[0061] Figure 5 It is a functional module diagram of a system for calibrating a WIFI module test instrument shown in an embodiment of the present application.
[0062] See also Figure 5A system for calibrating a WIFI module test instrument includes: a main control module 100, a calculation module 200 and a writing module 300. The main control module 100 is used to control a first WIFI module standard part to transmit a plurality of first radio frequency data, and the test instrument obtains a plurality of first current power values according to the first radio frequency data; the calculation module 200 is used for the test instrument to calculate and process each first current power value, output a first real-time power value, calculate and process the first real-time power value and a preset power value, and output a first current signal line loss value; the writing module 300 is used to upload and process the first current signal line loss value, output a line loss file and file expiration data, bind the file expiration data with the line loss file, and generate a line loss test file.
[0063] In one embodiment, the main control module 100 includes a cyclic test unit, which is used to control the second WIFI module standard part to transmit multiple second radio frequency data, and the test instrument obtains multiple second current power values according to the second radio frequency data; the test instrument calculates and processes each second current power value, outputs a second real-time power value, calculates and processes the second real-time power value and the preset power value, and outputs a second current signal line loss value; calculates and processes the second current signal line loss value and the first current signal line loss value, outputs a processed power value, and uses the processed power value as the current signal line loss value; determines whether the current signal line loss value is greater than a preset configuration threshold, if not, uploads the current signal line loss value, outputs a line loss file and file expiration data, binds the file expiration data to the line loss file, and generates a line loss test file.
[0064] In one embodiment, it also includes a query module, which is used to receive input product model data, and search for an available line loss file based on the product model data; determine whether the deadline for the available line loss file exceeds the preset deadline, and if not, output the available line loss file as a line loss test file.
[0065] In one embodiment, it also includes a parsing module, which is used to run the line loss test file, output the first test data and the second test data; analyze the first test data, output the defective product test document; analyze the second test data, output the good product test document; write the defective product test document and the good product test document to the server.
[0066] Regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated again here.
[0067] Figure 6 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application.
[0068] See also Figure 6, the electronic device 1000 includes a memory 1010 and a processor 1020 .
[0069] The processor 1020 may be a central processing unit (CPU), or an integrated circuit composed of other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor may be any conventional processor that can run the Linux kernel.
[0070] The memory 1010 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. Among them, ROM can store static data or instructions required by the processor 1020 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 1010 may include any combination of computer-readable storage media, including various types of semiconductor storage chips (such as DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 1010 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.
[0071] The memory 1010 stores executable codes, and when the executable codes are processed by the processor 1020 , the processor 1020 can execute part or all of the methods described above.
[0072] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.
[0073] Alternatively, the present application can also be implemented as a computer-readable storage medium (or non-transitory machine-readable storage medium or machine-readable storage medium) on which executable code (or computer program or computer instruction code) is stored. When the executable code (or computer program or computer instruction code) is executed by a processor of an electronic device (or server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present application.
[0074] The scheme of the present application has been described in detail above with reference to the accompanying drawings. In the above embodiments, the descriptions of the various embodiments have their own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments. Those skilled in the art should also be aware that the actions and modules involved in the specification are not necessarily required for the present application. In addition, it can be understood that the steps in the method of the embodiment of the present application can be adjusted in order, merged and deleted according to actual needs, and the modules in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.
[0075] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A method for calibrating a WIFI module test instrument, characterized in that: include: Controlling the first WIFI module standard component to transmit a plurality of first radio frequency data, and the test instrument obtaining a plurality of first current power values according to the first radio frequency data; The test instrument calculates and processes each of the first current power values, outputs a first real-time power value, calculates and processes the first real-time power value and a preset power value, and outputs a first current signal line loss value; The first current signal line loss value is uploaded and processed, a line loss file and file expiration data are output, the file expiration data is bound to the line loss file, and a line loss test file is generated.
2. The method for calibrating a WIFI module test instrument according to claim 1, characterized in that: The method further comprises: Controlling the second WIFI module standard component to transmit a plurality of second radio frequency data, and the test instrument obtaining a plurality of second current power values according to the second radio frequency data; The test instrument calculates and processes each of the second current power values, outputs a second real-time power value, calculates and processes the second real-time power value and a preset power value, and outputs a second current signal line loss value; Calculate and process the second current signal line loss value and the first current signal line loss value, output a processed power value, and use the processed power value as the current signal line loss value; Determine whether the current signal line loss value is greater than the preset configuration threshold. If not, upload the current signal line loss value for processing, output the line loss file and the file expiration data, bind the file expiration data to the line loss file, and generate the line loss test file.
3. The method for calibrating a WIFI module test instrument according to claim 1, characterized in that: The method further comprises: Receiving keyed product model data, and searching for an available line loss file according to the product model data; It is determined whether the expiration date of the usable line loss file exceeds the preset expiration date. If not, the usable line loss file is output as the line loss test file.
4. The method for calibrating a WIFI module test instrument according to claim 1, characterized in that: The method further comprises: Running the line loss test file and outputting first test data and second test data; Analyze the first test data and output a defective product test document; Analyze the second test data and output a good product test document; The defective product test document and the good product test document are written to the server.
5. A system for calibrating a WIFI module test instrument, characterized in that: include: A main control module, used for controlling the first WIFI module standard component to transmit a plurality of first radio frequency data, and the test instrument obtains a plurality of first current power values according to the first radio frequency data; A calculation module, used for the test instrument to calculate and process each of the first current power values, output a first real-time power value, calculate and process the first real-time power value and a preset power value, and output a first current signal line loss value; A writing module is used to upload the first current signal line loss value, output a line loss file and file expiration data, bind the file expiration data with the line loss file, and generate a line loss test file.
6. The system for calibrating a WIFI module test instrument according to claim 5, characterized in that: The main control module includes a cyclic test unit, which is used to control the second WIFI module standard component to transmit a plurality of second radio frequency data, and the test instrument obtains a plurality of second current power values according to the second radio frequency data; The test instrument calculates and processes each of the second current power values, outputs a second real-time power value, calculates and processes the second real-time power value and a preset power value, and outputs a second current signal line loss value; Calculate and process the second current signal line loss value and the first current signal line loss value, output a processed power value, and use the processed power value as the current signal line loss value; Determine whether the current signal line loss value is greater than the preset configuration threshold. If not, upload the current signal line loss value for processing, output the line loss file and the file expiration data, bind the file expiration data to the line loss file, and generate the line loss test file.
7. The system for calibrating a WIFI module test instrument according to claim 5, characterized in that: It also includes a query module, the query module is used to receive the input product model data, and search for the available line loss file according to the product model data; It is determined whether the expiration date of the usable line loss file exceeds the preset expiration date. If not, the usable line loss file is output as the line loss test file.
8. The system for calibrating a WIFI module test instrument according to claim 5, characterized in that: It also includes a parsing module, which is used to run the line loss test file and output the first test data and the second test data; Analyze the first test data and output a defective product test document; Analyze the second test data and output a good product test document; The defective product test document and the good product test document are written to the server.
9. An electronic device, characterized in that: include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 4.
10. A computer-readable storage medium having executable codes stored thereon, which, when executed by a processor of an electronic device, causes the processor to execute the method according to any one of claims 1 to 4.