CPK data extraction method and system based on WIFI test and computer storage medium
Patent Information
- Application Number
- CN202211256663.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-14
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2042-10-14
AI Technical Summary
由于人工提取WIFI产品的CPK测试数据耗时耗力,因此亟需一种自动提取CPK数据的方法
本申请公开的基于WIFI测试的CPK数据提取方法,可应用在大规模的WIFI产品的生产,利用WIFI产品校准的参数进行WIFI测试,能够有效避免采用统一的校准参数导致WIFI测试不合格的问题,提高CPK数据的提取效率。
Smart Images

Figure CN117135071B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless router product manufacturing and calibration, and in particular to a method, system, and computer storage medium for extracting CPK data based on WIFI testing. Background Technology
[0002] CPK, or Process Capability Index, refers to the degree to which a process's capability meets product quality standards (specification range, etc.). Also known as the operational capability index, it refers to the actual processing capacity of a process under controlled (stable) conditions over a given period. It represents the inherent capability of the process, or in other words, its ability to guarantee quality. The operational process referred to here encompasses the combined effects of five fundamental quality factors: operator, machine, raw materials, technological methods, and production environment—in other words, the production process of the product.
[0003] Wireless routers designed based on Wi-Fi products require calibration testing of a series of Wi-Fi parameters to ensure communication performance. Since manually extracting CPK test data from Wi-Fi products is time-consuming and labor-intensive, there is an urgent need for an automated method for CPK data extraction. Summary of the Invention
[0004] (a) Purpose of application Based on this, in order to efficiently extract CPK data from WIFI products, this application discloses the following technical solution.
[0005] (II) Technical Solution This application discloses a method for extracting CPK data based on WIFI testing, including: By scanning the product serial number with the product testing software and submitting it to the MES database, the product is bound to the product testing software. Perform WIFI calibration and save the calibrated parameters; Perform a WIFI test based on the calibrated parameters to verify whether the calibrated parameters are qualified; If the calibration parameters are qualified, extract the CPK data from the test LOG file and upload the CPK data to the MES database.
[0006] In one possible implementation, the method for binding the product with the product testing software specifically includes: Before product manufacturing, import identification information, including the product serial number, into the MES database system; After powering on the product and waiting for it to activate, use product testing software to scan the product serial number to bind the product to the serial number.
[0007] In one possible implementation, the WIFI calibration method specifically includes: By establishing a communication connection with the product, calibration instructions determined by the product's chip design are sent to the product. The product undergoes frequency offset calibration and power calibration according to the calibration instructions.
[0008] In one possible implementation, the frequency offset calibration and power calibration method specifically includes: Based on the initial frequency offset index value and initial power index value set in the calibration instruction, the product emits the corresponding target frequency offset value and the corresponding target power value. The calibration tool accepts the target frequency offset value and the target power value, and calculates the difference between the initial frequency offset index value and the target frequency offset value, and the difference between the initial power index value and the target power value, respectively. The calibration tool performs a difference compensation operation based on the initial frequency offset index value and the initial power index value, and writes the difference into the calibration command and issues it. After repeating this process several times, the calibration parameters are obtained, namely the final frequency offset index value corresponding to the target frequency offset value and the final power index value corresponding to the target power value.
[0009] In one possible implementation, the final frequency offset index value and the final power index value after calibration are written into the flash memory chip via a save command.
[0010] In one possible implementation, since the range of half the index values of a WIFI chip has an empirical value that does not vary from product to product, the calibration range can be limited by configuring the upper and lower limits of the index values before WIFI calibration.
[0011] In one possible implementation, the WIFI testing method is as follows: establish a communication connection with the product, send a power command to the product, and then obtain various indicators of the product through a WIFI testing instrument. Test whether each indicator is within the specified range according to the calibrated parameters. If each indicator is within the specified range, the calibrated parameters are qualified; otherwise, the calibrated parameters are unqualified.
[0012] In one possible implementation, the metrics primarily include transmit power (POWER), vector deviation (EVM), spectrum template (MASK), frequency offset (PPM), sensitivity, and packet loss rate for each channel across each bandwidth.
[0013] In one possible implementation, the CPK data is searched in the LOG file using keywords as indexes. If the WIFI calibration is performed using open-source calibration testing software, strings can be added to the software source code for concatenation to extract the CPK data. The integrated CPK data is then uploaded by calling the Webservice upload interface provided by the MES system.
[0014] As a second aspect of this application, this application also discloses a CPK data extraction system based on WIFI testing, including: The preparation module scans the product serial number using the product testing software and submits it to the MES database, thus binding the product to the product testing software. The calibration module performs WIFI calibration and saves the calibrated parameters. The testing module performs WIFI tests based on the calibrated parameters to verify whether the calibrated parameters are qualified. If the calibration parameters are qualified, the extraction module extracts the CPK data from the test LOG file and uploads the CPK data to the MES database.
[0015] As a third aspect of this application, this application also discloses a computer-readable storage medium having a computer program stored thereon, characterized in that the computer program, when executed, implements the CPK data extraction method based on WIFI testing as described in any of the preceding claims.
[0016] (III) Beneficial Effects The CPK data extraction method based on WIFI testing disclosed in this application can be applied to the production of large-scale WIFI products. By using the WIFI product calibration parameters for WIFI testing, it can effectively avoid the problem of WIFI test failure caused by using uniform calibration parameters and improve the extraction efficiency of CPK data. Attached Figure Description
[0017] The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain and illustrate this application, and should not be construed as limiting the scope of protection of this application.
[0018] Figure 1 This is a flowchart illustrating the CPK data extraction method based on WIFI testing disclosed in this application; Figure 2 This is a schematic diagram of the product power-on window in the CPK data extraction method based on WIFI testing disclosed in this application; Figure 3 This is a flowchart of the frequency offset calibration and power calibration method in the CPK data extraction method based on WIFI testing disclosed in this application; Figure 4This is a block diagram of the CPK data extraction system based on WIFI testing disclosed in this application. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be described in more detail below with reference to the accompanying drawings.
[0020] The following is for reference. Figure 1 This application provides a detailed description of embodiments of the CPK data extraction method based on WIFI testing disclosed in this application. (Refer to...) Figure 1 The CPK data extraction method based on WIFI testing disclosed in this embodiment mainly includes steps S10 to S40.
[0021] S10: Scan the product serial number using product testing software and submit it to the MES database to bind the product to the product testing software; Specifically, the methods for linking products with product testing software include: Before product manufacturing, import identification information, including the product serial number, into the MES database system; After powering on the product and waiting for it to activate, use the product testing software to scan the product serial number to bind the product to the testing software.
[0022] Among them, such as Figure 2 As shown, after the product is powered on, the product testing software will pop up a window representing the product. By scanning the product serial number with the product testing software, the product binding is completed, which facilitates the subsequent WIFI calibration process by querying the data of the corresponding product through the product serial number.
[0023] S20: Perform WIFI calibration and save the calibrated parameters; The specific methods for WIFI calibration include: By establishing a communication connection with the product, such as a telnet connection or a serial port connection, calibration commands determined by the product's chip design are sent to the product. The product undergoes frequency offset calibration and power calibration according to the calibration instructions.
[0024] Specifically, such as Figure 3 As shown, the methods for frequency offset calibration and power calibration specifically include: S21~S23.
[0025] S21: The product sends out the corresponding target frequency deviation value and the corresponding target power value according to the initial frequency deviation index value and initial power index value set in the calibration instruction; S22: The calibration tool accepts the target frequency offset value and the target power value, and calculates the difference between the initial frequency offset index value and the target frequency offset value, and the difference between the initial power index value and the target power value, respectively; S23: The calibration tool performs the difference compensation operation based on the initial frequency offset index value and the initial power index value and writes it in the calibration command. After repeating this several times, the calibration completed parameters are obtained, namely the final frequency offset index value corresponding to the target frequency offset value and the final power index value corresponding to the target power value.
[0026] The final frequency offset index value and final power index value after calibration are written into the flash memory chip via a save command.
[0027] Because the range of half the index value of a WIFI chip has an empirical value that does not change depending on the individual product, the calibration range can be limited by configuring the upper and lower limits of the index value before WIFI calibration.
[0028] S30: Perform a WIFI test based on the calibrated parameters to verify whether the calibrated parameters are qualified; Specifically, the WIFI testing method is as follows: establish a communication connection with the product through telnet or serial port, send a power command to the product, and then obtain various indicators of the product through a WIFI testing instrument. Test whether each indicator is within the specified range according to the calibrated parameters. If each indicator is within the specified range, the calibrated parameters are qualified; otherwise, the calibrated parameters are unqualified. The indicators mainly include the transmit power POWER, vector deviation EVM, spectrum template MASK, frequency offset PPM, sensitivity, and packet loss rate of each channel in each bandwidth.
[0029] S40: If the calibration parameters are qualified, extract the CPK data from the test LOG file and upload the CPK data to the MES database.
[0030] If the calibration parameters are not up to standard, the WIFI test will fail and no CPK data-related operations will be performed.
[0031] Specifically, if the WIFI test is successful, the CPK data can be found in the LOG file by keyword index. If the WIFI calibration is completed through open-source calibration testing software, strings can be added to the software source code for concatenation to extract the CPK data. The integrated CPK data can then be uploaded by calling the Webservice upload interface provided by the MES system. The CPK data can also be checked on other interfaces provided by the MES system to see if it has been uploaded successfully.
[0032] Based on the same inventive concept, referring to Figure 4This invention also provides a CPK data extraction system based on WIFI testing, comprising: The preparation module scans the product serial number using the product testing software and submits it to the MES database, thus binding the product to the product testing software. The calibration module performs WIFI calibration and saves the calibrated parameters. The testing module performs WIFI tests based on the calibrated parameters to verify whether the calibrated parameters are qualified. If the calibration parameters are qualified, the extraction module extracts the CPK data from the test LOG file and uploads the CPK data to the MES database.
[0033] Based on the same inventive concept, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon. In one embodiment, the computer-readable storage medium is a flash memory chip containing a C# program capable of processing and executing the CPK data extraction method based on WIFI testing as described above. The C# HTTP class simulates the process of manually submitting CPK data, ensuring the reliability of WIFI production.
[0034] The CPK data extraction method, system, and computer storage medium disclosed in this application based on WIFI testing can be applied to the production of large-scale WIFI products. By using the WIFI product calibration parameters for WIFI testing, the problem of WIFI test failure caused by using uniform calibration parameters can be effectively avoided, thereby improving the efficiency of CPK data extraction.
[0035] The division of modules, units, or components in this document is merely a logical functional division. In actual implementation, other division methods are possible; for example, multiple modules and / or units may be combined or integrated into another system. Modules, units, and components described as separate parts may or may not be physically separate. Components shown as units may or may not be physical units; that is, they may be located in a specific location or distributed across grid cells. Therefore, some or all of the units can be selected to implement the embodiment's scheme according to actual needs.
[0036] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for extracting CPK data based on WIFI testing, characterized in that, include: By scanning the product serial number with the product testing software and submitting it to the MES database, the product is bound to the product testing software. Perform WIFI calibration and save the calibrated parameters; Perform a WIFI test based on the calibrated parameters to verify whether the calibrated parameters are qualified; If the calibration parameters are qualified, extract the CPK data from the test LOG file and upload the CPK data to the MES database; The CPK data is searched in the LOG file using keywords as indexes. If the WIFI calibration is completed through open-source calibration testing software, strings are added to the software source code for concatenation to extract the CPK data. The integrated CPK data is then uploaded by calling the Webservice upload interface provided by the MES system. The WIFI calibration method specifically includes: By establishing a communication connection with the product, calibration instructions determined by the product's chip design are sent to the product. Perform frequency offset calibration and power calibration on the product according to the calibration instructions; The methods for frequency offset calibration and power calibration specifically include: Based on the initial frequency offset index value and initial power index value set in the calibration instruction, the product emits the corresponding target frequency offset value and the corresponding target power value. The calibration tool accepts the target frequency offset value and the target power value, and calculates the difference between the initial frequency offset index value and the target frequency offset value, and the difference between the initial power index value and the target power value, respectively. The calibration tool performs a difference compensation operation based on the initial frequency offset index value and the initial power index value, and writes the difference into the calibration command and issues it. After repeating this process several times, the calibration parameters are obtained, namely the final frequency offset index value corresponding to the target frequency offset value and the final power index value corresponding to the target power value.
2. The CPK data extraction method based on WIFI testing as described in claim 1, characterized in that, The specific methods for linking products with product testing software include: Before product manufacturing, import identification information, including the product serial number, into the MES database system; After powering on the product and waiting for it to activate, use product testing software to scan the product serial number to bind the product to the serial number.
3. The CPK data extraction method based on WIFI testing as described in claim 1, characterized in that, The final frequency offset index value and final power index value after calibration are written into the flash memory chip via a save command.
4. The CPK data extraction method based on WIFI testing as described in claim 1, characterized in that, Because the range of half the index value of a WIFI chip has an empirical value that does not change depending on the individual product, the calibration range is limited by configuring the upper and lower limits of the index value before WIFI calibration.
5. The CPK data extraction method based on WIFI testing as described in claim 1, characterized in that, The WIFI testing method is as follows: establish a communication connection with the product, send a power command to the product, and then obtain various indicators of the product through a WIFI testing instrument. Test whether each indicator is within the specified range according to the calibrated parameters. If each indicator is within the specified range, the calibrated parameters are qualified; otherwise, the calibrated parameters are unqualified.
6. The CPK data extraction method based on WIFI testing as described in claim 5, characterized in that, The metrics include transmit power (POWER), vector deviation (EVM), spectrum template (MASK), frequency offset (PPM), sensitivity, and packet loss rate for each channel across each bandwidth.
7. A CPK data extraction system based on WIFI testing, comprising executing the CPK data extraction method based on WIFI testing as described in any one of claims 1-6, characterized in that, include: The preparation module scans the product serial number using the product testing software and submits it to the MES database, thus binding the product to the product testing software. The calibration module performs WIFI calibration and saves the calibrated parameters. The testing module performs WIFI tests based on the calibrated parameters to verify whether the calibrated parameters are qualified. If the calibration parameters are qualified, the extraction module extracts the CPK data from the test LOG file and uploads the CPK data to the MES database.
Citation Information
Patent Citations
Equipment testing method and system
CN111163134A
WIFI production measurement calibration method and computer readable storage medium
CN112202507A
A Nonlinear BOB Power Calibration Method and System Based on Table Lookup and Slope Prediction
CN114938242A