Method, system and related device for automatically calibrating coupling line loss

By automatically calibrating the coupling line loss method, the calibration line loss files and test files of the calibrated equipment are updated, which solves the problem of manual intervention adjustment of the coupling line loss efficiency, and improves production efficiency and calculation accuracy.

CN119544101APending Publication Date: 2025-02-28SHENZHEN XINGUODU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411494933.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In the production process of terminal POS equipment, manual intervention adjustment of coupling line loss efficiency is low, resulting in a decrease in production efficiency, especially when the production line scale is expanded or the operating environment is complex.

Method used

Provide a method of automatically calibrating coupling line loss, by obtaining calibration line loss files of calibrated equipment, and testing them in known and unknown environments, generating corresponding files, and finally updating the configuration file to automatically calibrate coupling line loss.

Benefits of technology

It improves production efficiency, reduces the error of manual calculation, improves the accuracy and consistency of line loss calculation, and can quickly and accurately obtain equipment performance data in unknown environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The invention discloses a method, a system and a related device for automatically calibrating coupling line loss, which are used for improving the production efficiency and reducing errors of manual calculation. The method comprises the following steps: acquiring a calibration line loss file of calibrated equipment, and writing the calibration line loss file into a configuration file; in a known environment, testing the calibrated equipment according to preset target transmitting power and the configuration file, and generating a first file; in an unknown environment, testing equipment to be tested according to the target transmitting power and the configuration file to generate a second file; and updating the configuration file according to the calibration line loss file, the first file and the second file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication testing technology, and in particular to a method, system and related device for automatically calibrating coupling line loss. Background Art

[0002] With the widespread application of terminal POS devices in retail, catering, logistics and other industries, ensuring that the device antenna is installed in place and the performance is stable has become one of the important links in the production process of POS device manufacturers. The antenna performance of POS equipment directly affects the communication quality and user experience of the equipment. Therefore, it is particularly important to conduct coupling tests on the whole machine with the antenna installed.

[0003] In the prior art, the calculation of line loss usually relies on manual adjustment by human intervention. It is necessary to obtain each initial line loss value through measurement, and then calculate the average line loss, dispersion and standard deviation of the initial line loss values. Then, based on these statistical data, the initial line loss values ​​in the test frequency band are corrected to obtain the final line loss value.

[0004] However, when the production line scale of terminal POS equipment expands or the operating environment becomes complex, the defects of manual intervention to adjust and calculate line loss are particularly obvious. Manual adjustment coupling is very inefficient, resulting in a significant decrease in the production efficiency of POS equipment. Summary of the invention

[0005] In order to solve the above technical problems, the present application provides a method, system and related devices for automatically calibrating coupling line loss.

[0006] The technical solution provided in this application is described below:

[0007] In a first aspect, the present application provides a method for automatically calibrating coupling line loss, the method comprising:

[0008] Obtain a calibration line loss file of a calibrated device, and write the calibration line loss file into a configuration file;

[0009] Under a known environment, testing the calibrated device according to a preset target transmission power and the configuration file to generate a first file;

[0010] In an unknown environment, testing the device to be tested according to the target transmit power and the configuration file to generate a second file;

[0011] The configuration file is updated according to the calibration line loss file, the first file and the second file.

[0012] Optionally, updating the configuration file according to the calibration line loss file, the first file, and the second file includes:

[0013] Calculate the line loss difference based on the first file, the second file and the calibration line loss file;

[0014] The line loss parameter in the configuration file is updated according to the absolute value of the line loss difference.

[0015] Optionally, the method further includes:

[0016] In the unknown environment, the test instrument and the coupling test box are connected via a radio frequency coaxial line.

[0017] Optionally, the testing the device to be tested according to the target transmit power and the configuration file to generate the second file includes:

[0018] Putting the device under test into the coupling test box;

[0019] Obtaining the frequency band information and channel information set in the configuration file;

[0020] According to the frequency band information and the channel information, controlling the test instrument to transmit a signal to the coupling test box according to the target transmission power;

[0021] The actual power value is measured by the test instrument, and a second file is generated according to the measurement result.

[0022] Optionally, the method further includes:

[0023] Accessing the device under test in the unknown environment;

[0024] Sending a specified instruction to the device under test to control the device under test to enter a non-signaling forced transmission mode;

[0025] The testing the device to be tested according to the target transmit power and the configuration file includes:

[0026] When a confirmation signal returned by the device under test is received, the device under test is tested according to the target transmit power and the configuration file.

[0027] Optionally, the configuration file includes line loss threshold limit information, and the step of testing the device to be tested according to the target transmit power and the configuration file to generate the second file includes:

[0028] Testing the device under test according to the target transmit power and the configuration file;

[0029] Determine whether the test result meets the preset threshold range according to the line loss threshold limit information;

[0030] If yes, a second file is generated according to the test result.

[0031] Optionally, the target transmit power is 0dBm.

[0032] A second aspect of the present application provides a system for automatically calibrating coupling line loss, the system comprising:

[0033] An acquisition unit, used for acquiring a calibration line loss file of a calibrated device and writing the calibration line loss file into a configuration file;

[0034] A first testing unit, configured to test the calibrated device under a known environment according to a preset target transmission power and the configuration file, and generate a first file;

[0035] A second testing unit is used to test the device to be tested according to the target transmission power and the configuration file in an unknown environment, and generate a second file;

[0036] An updating unit is used to update the configuration file according to the calibration line loss file, the first file and the second file.

[0037] A third aspect of the present application provides a device for automatically calibrating coupling line loss, the device comprising:

[0038] Processor, memory, input-output unit, and bus;

[0039] The processor is connected to the memory, the input and output unit, and the bus;

[0040] The memory stores a program, and the processor calls the program to execute the method according to any one of claims 1 to 7.

[0041] A fourth aspect of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed on a computer, the program executes the first aspect and any optional method in the first aspect.

[0042] It can be seen from the above technical solutions that this application has the following advantages:

[0043] By obtaining the calibration line loss file of the calibrated device and writing the calibration line loss file into the configuration file, the initialization and standardization of the line loss data is ensured, providing a reliable basis for subsequent precise calculations; by testing the calibrated device in a known environment according to the preset target transmission power and configuration file to generate a first file, manual intervention in the test process is reduced, making the test results more accurate and reliable; by testing the device to be tested in an unknown environment according to the target transmission power and configuration file to generate a second file, the data of the device to be tested in the unknown environment can be quickly and accurately obtained, ensuring that the test results can truly reflect the performance of the device in an unknown actual complex environment; by updating the configuration file according to the calibration line loss file, the first file and the second file, the entire process of calibrating the coupled line loss does not require manual intervention, which significantly improves production efficiency, reduces errors in manual calculations, and greatly improves the accuracy and consistency of line loss calculations. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solution in the present application, the drawings required for use in the description of the embodiments 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 any creative work.

[0045] Figure 1 A schematic flow chart of an embodiment of a method for automatically calibrating coupling line loss provided in the present application;

[0046] Figure 2 A schematic flow chart of another embodiment of the method for automatically calibrating coupling line loss provided by the present application;

[0047] Figure 3 A schematic flow chart of an embodiment of a process of testing and generating a second file under a coupling environment in the method for automatically calibrating coupling line loss provided by the present application;

[0048] Figure 4 A schematic flow chart of an embodiment of a process of determining a test result according to a configuration file in a method for automatically calibrating coupling line loss provided by the present application;

[0049] Figure 5 A schematic diagram of the structure of an embodiment of a system for automatically calibrating coupling line loss provided by the present application;

[0050] Figure 6 A schematic diagram of the structure of an embodiment of a device for automatically calibrating coupling line loss provided in the present application. DETAILED DESCRIPTION

[0051] The present application provides a method for automatically calibrating coupled line loss, which can improve the production efficiency of calibrating coupled line loss, reduce the error of manual calculation, and effectively improve the accuracy and consistency of line loss calculation. It should be noted that the method for automatically calibrating coupled line loss of the present application is applied to a terminal.

[0052] Coupling line loss is a phenomenon of energy loss caused by coupling during signal transmission. In the operation of the POS machine, coupling refers to the process of energy transmission from one circuit to another, and line loss will inevitably occur in this process, and its internal circuit structure and the connection with external devices are coupled. The size of the coupling line loss is affected by many factors such as the material of the line, the length of the line, the quality of the connection point, etc. This influence will cause the communication signal of the POS machine to weaken, affecting the speed and stability of the transaction. For example, there may be delays or transaction failures when swiping a card. At the same time, it will also increase the energy consumption of the equipment and reduce the overall performance and service life of the equipment.

[0053] See also Figure 1 The present application first provides an embodiment of a method for automatically calibrating coupling line loss, the embodiment comprising:

[0054] S101, obtaining a calibration line loss file of a calibrated device, and writing the calibration line loss file into a configuration file;

[0055] In this embodiment, to obtain the calibration line loss file of the calibrated device, it is first necessary to determine the storage location of the calibration line loss file, establish a communication connection with the storage location through the network to read the calibration line loss file, and then determine the format and structure of the configuration file. According to the format and structure of the configuration file, the data format in the calibration line loss file is converted to the format of the configuration file, and the converted data is written into the configuration file.

[0056] Before obtaining the calibration line loss file, the device has been calibrated using a calibration instrument. During this calibration process, a calibration line loss file is generated, which contains the line loss data of the device in different frequency bands and channels. These data represent the characteristics of the device and the line loss situation under a good test environment. Writing the calibration line loss file into the configuration file allows subsequent tests to be performed based on the data information obtained from the calibration line loss file. The configuration file serves as the basic framework in the entire test process, and it contains all test-related parameters.

[0057] S102, testing the calibrated device in a known environment according to a preset target transmission power and configuration file to generate a first file;

[0058] In this embodiment, under a known environment, the target transmission power is set according to a predetermined adjustment mode, the information in the configuration file is used to set the test equipment accordingly, and then a signal is transmitted according to the set target transmission power. The result returned by the signal is the test result, and the test result is generated into a first file.

[0059] During the test, the target transmit power is a pre-set value, which is set based on the test requirements and the characteristics of the device. The known environment is a standard, relatively ideal test environment in which various interference factors are kept to a minimum. Based on the preset target transmit power and the configuration file containing the calibration line loss information, the device is tested. Various data will be collected during the test, such as the actual transmit power, receive power, signal loss and other information in different frequency bands and channels. These data are sorted and generated into the first file.

[0060] S103, in an unknown environment, testing the device to be tested according to the target transmission power and the configuration file, and generating a second file;

[0061] In this embodiment, the selected unknown environment should be representative and reflect various unknown situations that the device may encounter in actual use. For example, for wireless communication devices, an office space where multiple wireless devices are working at the same time is selected. There are WiFi routers, Bluetooth devices, etc., which will produce complex electromagnetic coupling. In the unknown environment, the device to be tested is connected to the environment in a normal way. After confirming that the device to be tested has been connected to the unknown coupling environment, the test device is set accordingly according to the information in the configuration file, and then the signal is transmitted according to the preset target transmission power. The result returned by the signal is the test result, and the test result is generated into a second file. Due to the complexity of the unknown environment, multiple tests can be performed at different locations and at different times to obtain comprehensive data.

[0062] S104. Update the configuration file according to the calibration line loss file, the first file, and the second file.

[0063] In this embodiment, before updating the configuration file, it is first necessary to read the contents of the calibration line loss file, the first file, and the second file. The data in the three files contain information about the line loss and performance of the device in different environments. According to the calibration line loss file, the data in the first file (test results in a known environment) and the second file (test results in an unknown environment) are calculated, and the configuration file content is updated based on the calculation results.

[0064] By obtaining the calibration line loss file of the calibrated device and writing the calibration line loss file into the configuration file, the initialization and standardization of the line loss data is ensured, providing a reliable basis for subsequent precise calculations; by testing the calibrated device in a known environment according to the preset target transmission power and configuration file to generate the first file, manual intervention in the test process is reduced, making the test results more accurate and reliable; by testing the device to be tested in an unknown environment according to the target transmission power and configuration file to generate the second file, this step quickly and accurately obtains the performance data of the device to be tested in an unknown environment, ensuring that the test results can truly reflect the performance of the device in an actual complex environment; by updating the configuration file according to the calibration line loss file, the first file and the second file, it is ensured that the configuration file can timely and accurately reflect the actual situation of the device in different environments, further reducing the workload and possible errors of manual data processing, and improving the intelligence and operation efficiency of the entire process.

[0065] For updating the configuration file, the line loss difference can be calculated by the first file, the second file and the calibration line loss file for updating, and before the device is tested in the unknown environment, the coupling environment can be formed by connecting the RF coaxial line, and the steps after the device under test is connected to the unknown coupling environment are specifically described as follows:

[0066] See also Figure 2 , Figure 2 Another embodiment of a method for automatically calibrating coupling line loss provided by the present application includes:

[0067] S201, obtaining a calibration line loss file of a calibrated device, and writing the calibration line loss file into a configuration file;

[0068] In this embodiment, step S201 is similar to step S101 in the above embodiment and will not be described again here.

[0069] S202, testing the calibrated device in a known environment according to a preset target transmission power and configuration file to generate a first file;

[0070] In this embodiment, step S202 is similar to step S102 in the above embodiment and will not be described again here.

[0071] S203. In an unknown environment, connect the test instrument and the coupling test box via a radio frequency coaxial line.

[0072] In this embodiment, in an unknown environment, the test instrument is first placed in a designated area in the environment, and then one end of the RF coaxial line is connected to the corresponding port of the test instrument, and the other end is connected to the corresponding interface of the coupling test box. During the connection process, a simple functional test is performed on the test instrument and the coupling test box to ensure that the two can work normally after being connected through the RF coaxial line, thereby preparing for subsequent testing of the device to be tested.

[0073] S204, accessing the device under test in an unknown environment, and sending a specified instruction to the device under test to control the device under test to enter a non-signaling forced transmission mode;

[0074] In this embodiment, the power line, signal line and other lines of the device under test are connected to the corresponding interface in the unknown environment. After the connection is successful, a specified instruction for the device under test is sent, and the instruction is transmitted to the device under test through the established communication link. After the device under test receives the instruction, the built-in control module of the device under test will parse the instruction. After the analysis is completed, the internal program is started to adjust the working mode and enter the non-signaling forced transmission mode.

[0075] The non-signaling strong transmission mode is a working mode in which the device under test does not need to follow the conventional signaling interaction process to send high-intensity signals. It can eliminate the complex interaction effects related to signaling and focus on testing the transmission capability of the device in a specific environment, such as an unknown coupling environment, to facilitate accurate performance testing.

[0076] This embodiment connects the device under test to an unknown environment and puts it into a non-signaling forced mode, which allows the device to operate in a specific state that meets the test requirements. This mode helps to more accurately test the performance of the device in an unknown coupling environment, eliminates signaling interference, and makes the test results more reflective of the actual capabilities of the device in a specific environment.

[0077] S205. When receiving a confirmation signal returned by the device under test, test the device under test according to the target transmit power and the configuration file to generate a second file;

[0078] In this embodiment, it is necessary to wait for the device under test to return a confirmation signal, which indicates that the device under test has successfully entered the non-signaling forced transmission mode and is ready to be tested. When the confirmation signal is received, the relevant parameters in the configuration file, such as device calibration parameters, power parameters, frequency parameters, etc., are extracted, and the test is performed according to the pre-set target transmission power, where the target transmission power is 0dBm. After the test is successful, the test data is collected and sorted to generate a second file.

[0079] This embodiment starts the test by receiving a confirmation signal, ensuring that the device under test is in a suitable test state and improving the accuracy of the test. The test is performed using the target transmission power and configuration file to ensure the standardization and repeatability of the test. The second file generated after the test is completed contains the key test data of the device in an unknown environment, providing an important basis for subsequent operations such as calculating the line loss difference.

[0080] S206, calculating a line loss difference based on the first file, the second file, and the calibration line loss file;

[0081] In this embodiment, the calibration line loss data of the device is read from the calibration line loss file, and the data obtained by testing under a standard environment in the first file and the test data corresponding to the device under test in an unknown coupling environment obtained from the second file are subtracted in sequence. The difference obtained is the line loss difference.

[0082] This embodiment provides data for evaluating the performance difference of the device under test in different environments by calculating the difference between the three files, which helps to accurately update the configuration file according to the difference, thereby optimizing the accuracy of the entire test system.

[0083] S207. Update the line loss parameter in the configuration file according to the absolute value of the line loss difference.

[0084] In this embodiment, the configuration file is updated according to the absolute value of the line loss difference. First, the calculated line loss difference needs to be obtained, and then the configuration file is opened to locate the line loss parameter part, and the line loss parameters in the configuration file are updated according to the absolute value of the line loss difference.

[0085] In an unknown environment, this embodiment connects the test instrument and the coupling test box through the RF coaxial line, which can meet the test requirements in an unknown special environment. By accessing the device under test in an unknown environment and sending a specified instruction to the device under test to control the device under test to enter a non-signaling forced transmission mode, the controllability of the device under test entering a specific test mode is improved, and signaling interference is eliminated. When a confirmation signal returned by the device under test is received, the device under test is tested according to the target transmission power and the configuration file to generate a second file, thereby avoiding invalid operations when the device under test is not ready, and improving the effectiveness of testing in an unknown environment. By calculating the line loss difference based on the first file, the second file and the calibration line loss file, the accuracy of the calculated line loss difference is improved. By updating the line loss parameters in the configuration file according to the absolute value of the line loss difference, the configuration file can more accurately reflect the actual line loss situation, which is helpful for subsequent equipment operation to be based on more accurate line loss parameters.

[0086] The following describes the process of testing and generating the second file in an unknown environment. Figure 3 , Figure 3Another embodiment of the method for automatically calibrating coupling line loss provided by the present application includes:

[0087] S301, placing the device under test into a coupling test box;

[0088] In this embodiment, the device under test is placed in a coupling test box to first ensure that the coupling test box is in normal working condition, there is no foreign interference inside and all functions are normal, and then the device under test is stably placed in a designated position in the coupling test box so that the interface of the device under test and the test instrument in the coupling test box corresponds accurately.

[0089] S302, obtaining frequency band information and channel information set in the configuration file;

[0090] In this embodiment, to obtain the frequency band information and channel information set in the configuration file, first open the configuration file, locate the part containing the frequency band information and channel information, and then accurately extract the frequency band information and channel information therein. Among them, the frequency band information is the identification of a specific frequency range in wireless communication. For example, in mobile communication, 5G networks may use millimeter wave frequency bands, while 4G networks commonly use frequency bands such as 1800MHz and 2100MHz; channel information is the communication channel identification further divided within a specific frequency band. A frequency band can contain multiple channels, and each channel has a specific frequency range or number identification. For example, in WiFi communication, the 2.4GHz frequency band can be divided into channels 1 to 13. Different channels can be used by devices for data transmission to avoid interference or achieve simultaneous communication of multiple devices.

[0091] S303, according to the frequency band information and the channel information, controlling the test instrument to transmit a signal to the coupling test box according to the target transmission power;

[0092] In this embodiment, the test instrument is controlled to transmit a signal to the coupling test box according to the target transmission power. The frequency band information and channel information are first obtained from the configuration file, and then the frequency band information and channel information are input into the control module of the test instrument. At the same time, the target transmission power is set. The test instrument performs internal adjustments according to the frequency band information, channel information and target transmission power, such as adjusting the frequency of the signal generator, the gain of the power amplifier, etc. After the adjustment is completed, a signal is transmitted to the coupling test box.

[0093] S304: Measure the actual power value using a test instrument, and generate a second file according to the measurement result.

[0094] In this embodiment, after the test instrument transmits a signal to the coupling test box, the power of the device to be tested is measured by the test instrument. During the measurement process, the test instrument ensures the accuracy of the measurement according to the measurement algorithm and calibration mechanism. After the measurement is completed, the actual power value measured is sorted according to a predetermined data format, and relevant information such as the measurement time, corresponding frequency band and channel are given, and then a second file is generated.

[0095] This embodiment provides a basis for subsequent testing in an unknown environment by placing the device under test into a coupling test box, which can effectively control the test environment and avoid the influence of external interference on the test results, so that the test results can more accurately reflect the performance of the device in an unknown environment. By obtaining the frequency band information and channel information in the configuration file, it can ensure that the test is carried out according to the preset frequency and channel, which helps to unify the test standards and allow different devices to be tested under the same frequency band and channel, thereby improving the comparability of the test results. By controlling the test instrument to transmit a signal to the coupling test box according to the target transmission power based on the frequency band information and channel information, it helps to accurately evaluate the receiving and processing capabilities of the device under test under specific communication conditions and improve the reliability of the test results. By measuring the actual power value and generating a second file, the actual power situation under the current test conditions can be intuitively obtained, which helps to compare and analyze with the target transmission power.

[0096] The following describes the process of judging the test results based on the configuration file. Figure 4 , Figure 4 Another embodiment of the method for automatically calibrating coupling line loss provided by the present application includes:

[0097] S401, testing the device under test according to the target transmission power and the configuration file, wherein the configuration file includes line loss threshold limit information;

[0098] In this embodiment, to test the device under test according to the target transmission power and the configuration file, it is first necessary to obtain the line loss threshold limit information in the configuration file, determine the limit standard for line loss in the test, and then set the transmission parameters of the test instrument according to the target transmission power, and transmit the signal to the device under test in an unknown environment. In the process of transmitting the signal, various relevant parameters are continuously monitored to ensure that the entire test process meets the requirements of the line loss threshold limit information to ensure that the test is carried out within the specified range. Among them, the line loss threshold limit information refers to the definition information of an acceptable range set for line loss during signal transmission. In a communication system or electrical system, when a signal is transmitted from the transmitter to the receiver, power loss will inevitably occur due to the influence of factors such as line resistance, capacitance, and inductance. The line loss threshold limit information clarifies the upper limit or upper and lower limits of this loss.

[0099] S402, judging whether the test result meets the preset threshold range according to the line loss threshold limit information;

[0100] In this embodiment, in order to determine whether the test result meets the preset threshold range based on the line loss threshold limit information, it is first necessary to obtain the test result data during the test process, including the actual measured line loss value and other related information, and then compare the test result data with the line loss threshold limit information in the configuration file to determine whether the actual line loss value is within the preset threshold range.

[0101] S403: If yes, generate a second file according to the test result;

[0102] If it is determined that the test result meets the preset threshold range, all result data related to the test are collected from the test instrument, such as transmission power, reception power, frequency band, channel and other information, and then these data are sorted and generated into a second file according to the file format requirements to ensure that the data in the file is complete, accurate and easy for subsequent analysis and query.

[0103] S404: If not, stop the test and mark the test result as abnormal.

[0104] If it is determined that the test result does not meet the preset threshold range, the ongoing test operation will be stopped immediately, including stopping the signal transmission, data collection and other related operations of the test instrument, and the test result will be clearly marked as abnormal in the test result record.

[0105] This embodiment can effectively control the stability of the test environment and the validity of the test results by testing in combination with the target transmission power and the configuration file containing the line loss threshold limit information. It can accurately evaluate the performance of the device under test in an unknown coupling environment while meeting the line loss requirements, and avoid inaccurate test results due to line loss exceeding the range. By judging whether the test results meet the preset threshold range based on the line loss threshold limit information, it is possible to quickly determine whether the test results meet the requirements, and problems that may exist in the test process can be discovered in a timely manner. By generating a second file after determining that the test results meet the preset threshold range, it is helpful to effectively record and store the test results, and facilitate subsequent detailed analysis of the test data. By stopping the test and marking the exception after determining that the test results do not meet the preset threshold range, invalid tests can be avoided from continuing, saving time and resources, and the exception marking helps to quickly locate the problem, which is convenient for subsequent in-depth analysis of the cause of the test failure.

[0106] The following is a detailed description of the system for automatically calibrating the coupling line loss provided by this application. Figure 5 , Figure 5 Another embodiment of the system for automatically calibrating coupling line loss provided by the present application includes:

[0107] An acquisition unit 501 is used to acquire a calibration line loss file of a calibrated device and write the calibration line loss file into a configuration file;

[0108] A first testing unit 502 is used to test the calibrated device under a known environment according to a preset target transmission power and configuration file to generate a first file;

[0109] The second testing unit 503 is used to test the device under test according to the target transmission power and the configuration file in an unknown environment, and generate a second file;

[0110] The updating unit 504 is configured to update the configuration file according to the calibration line loss file, the first file and the second file.

[0111] Optionally, the updating unit 504 is further configured to:

[0112] Calculate the line loss difference based on the first file, the second file and the calibration line loss file;

[0113] Update the line loss parameters in the configuration file according to the absolute value of the line loss difference.

[0114] Optionally, a connection unit 505 is further included, which is specifically used for:

[0115] In an unknown environment, connect the test instrument and the coupling test box via a RF coaxial cable.

[0116] Optionally, the second testing unit 503 is further used for:

[0117] Place the device under test into the coupling test box;

[0118] Get the frequency band information and channel information set in the configuration file;

[0119] According to the frequency band information and channel information, control the test instrument to transmit signals to the coupling test box according to the target transmission power;

[0120] The actual power value is measured by the test instrument, and a second file is generated according to the measurement result.

[0121] Optionally, a control unit 506 is further included, which is specifically configured to:

[0122] Connect the device under test in an unknown environment;

[0123] Send a specified command to the device under test to control the device under test to enter a non-signaling forced transmission mode;

[0124] Test the device under test according to the target transmit power and profile, including:

[0125] When a confirmation signal returned by the device under test is received, the device under test is tested according to the target transmit power and the configuration file.

[0126] Optionally, the second testing unit 503 is further used for:

[0127] Test the device under test according to the target transmit power and profile;

[0128] Determine whether the test result meets the preset threshold range according to the line loss threshold limit information;

[0129] If yes, generate a second file based on the test results;

[0130] Optionally, the target transmit power is 0dBm.

[0131] This application also provides a device for automatically calibrating coupling line loss, see Figure 6 , Figure 6 An embodiment of a device for automatically calibrating coupling line loss provided in the present application includes:

[0132] Processor 601, memory 602, input and output unit 603, bus 604;

[0133] The processor 601 is connected to the memory 602, the input and output unit 603 and the bus 604;

[0134] The memory 602 stores a program, and the processor 601 calls the program to execute any of the above methods.

[0135] The present application also relates to a computer-readable storage medium, on which a program is stored. When the program is run on a computer, the computer executes any of the above methods.

[0136] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0137] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

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

[0139] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0140] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

Claims

1. A method for automatically calibrating coupling line loss, characterized in that: The method comprises: Obtain a calibration line loss file of a calibrated device, and write the calibration line loss file into a configuration file; Under a known environment, testing the calibrated device according to a preset target transmission power and the configuration file to generate a first file; In an unknown environment, testing the device to be tested according to the target transmit power and the configuration file to generate a second file; The configuration file is updated according to the calibration line loss file, the first file and the second file.

2. The method according to claim 1, characterized in that The updating of the configuration file according to the calibration line loss file, the first file and the second file comprises: Calculate the line loss difference based on the first file, the second file and the calibration line loss file; The line loss parameter in the configuration file is updated according to the absolute value of the line loss difference.

3. The method according to claim 1, characterized in that The method further comprises: In the unknown environment, the test instrument and the coupling test box are connected via a radio frequency coaxial line.

4. The method according to claim 3, characterized in that The testing the device to be tested according to the target transmit power and the configuration file to generate a second file comprises: Putting the device under test into the coupling test box; Obtaining the frequency band information and channel information set in the configuration file; According to the frequency band information and the channel information, controlling the test instrument to transmit a signal to the coupling test box according to the target transmission power; The actual power value is measured by the test instrument, and a second file is generated according to the measurement result.

5. The method according to claim 1, characterized in that The method further comprises: Accessing the device under test in the unknown environment; Sending a specified instruction to the device under test to control the device under test to enter a non-signaling forced transmission mode; The testing the device to be tested according to the target transmit power and the configuration file includes: When a confirmation signal returned by the device under test is received, the device under test is tested according to the target transmit power and the configuration file.

6. The method according to claim 1, characterized in that The configuration file includes line loss threshold limit information, and the device to be tested is tested according to the target transmit power and the configuration file to generate a second file, including: Testing the device under test according to the target transmit power and the configuration file; Determine whether the test result meets the preset threshold range according to the line loss threshold limit information; If yes, a second file is generated according to the test result.

7. The method according to any one of claims 1 to 6, characterized in that The target transmit power is 0 dBm.

8. A system for automatically calibrating coupling line loss, characterized in that: include: An acquisition unit, used for acquiring a calibration line loss file of a calibrated device, and writing the calibration line loss file into a configuration file; A first testing unit, configured to test the calibrated device under a known environment according to a preset target transmission power and the configuration file, and generate a first file; A second testing unit is used to test the device to be tested according to the target transmission power and the configuration file in an unknown environment, and generate a second file; An updating unit is used to update the configuration file according to the calibration line loss file, the first file and the second file.

9. A device for automatically calibrating coupling line loss, characterized in that: The device comprises: Processor, memory, input-output unit, and bus; The processor is connected to the memory, the input and output unit, and the bus; The memory stores a program, and the processor calls the program to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a program stored thereon, wherein the program, when executed on a computer, performs the method according to any one of claims 1 to 7.