Wireless communication module calibration method, device and computer equipment
The signal transmission parameters and calibration information of the wireless communication module are obtained through an automated program, and the attenuation value fitting table is generated, which solves the problem of time-consuming and inefficient traditional calibration methods and realizes efficient and accurate calibration of the wireless communication module.
Patent Information
- Application Number
- CN202411154298.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2044-08-21
AI Technical Summary
The calibration method of traditional wireless communication modules is time-consuming and inefficient, requires a lot of manpower and is prone to errors, resulting in low calibration efficiency.
By obtaining the current signal transmission parameters of the wireless communication module, identifying power information, generating attenuation value calibration fitting tables, and using automated procedures to calibrate, avoiding manual operations and improving calibration timeliness and accuracy.
The automatic calibration of the wireless communication module is realized, the calibration efficiency and accuracy are improved, the errors in manual operations are reduced, and the efficiency of the calibration process is improved.
Smart Images

Figure CN118694448B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a calibration method, device and computer equipment for a wireless communication module. Background Art
[0002] Power calibration is the calibration work of wireless communication modules, and the calibration of wireless devices mainly involves ensuring the accuracy and consistency of the device's transmit and receive frequencies, power levels, and other key parameters. This includes but is not limited to frequency synthesizer calibration, transmitter calibration, receiver calibration, and other aspects. The purpose of calibration is to ensure that wireless devices can provide stable, high-quality communication services in various environments. Therefore, how to perform wireless calibration is the current research focus.
[0003] The traditional calibration method of wireless communication modules is mainly manual calibration. When doing calibration, the tester needs to manually configure the spectrum analyzer parameters, including analysis mode, modulation mode, reference level, center frequency and other parameters after the software and hardware environment is set up. Then, after turning on the power of the test tooling, click the wireless communication module control software to configure the RF module of the wireless communication module, so that the RF channel is in the normal transmission state and the calibration process begins. However, in the case of mass production, the calibration process is time-consuming and inefficient, requires a lot of manpower, and is prone to errors, resulting in low efficiency in calibrating the wireless communication module. Summary of the invention
[0004] Based on this, it is necessary to provide a calibration method, apparatus, computer equipment, computer-readable storage medium and computer program product for a wireless communication module in order to solve the above technical problems.
[0005] In a first aspect, the present application provides a calibration method for a wireless communication module. The method comprises:
[0006] Acquire current signal transmission parameters of the wireless communication module, and identify power information of the wireless communication module based on the current signal transmission parameters;
[0007] Based on the power information, identifying the signal calibration information of the wireless communication module through the calibration strategy of the wireless communication module, and generating an attenuation value calibration fitting table of the wireless communication module based on each of the signal calibration information;
[0008] The wireless communication module is calibrated by using the attenuation value calibration fitting table to obtain a target wireless communication module.
[0009] Optionally, the identifying the power information of the wireless communication module based on the current signal transmission parameter includes:
[0010] Based on the current signal transmission parameters, identifying the transmission frequency point of the wireless communication module and the transmission attenuation value of the wireless communication module;
[0011] Configure the center frequency point of the target spectrum analyzer as the transmission frequency point, and identify the power value of the center frequency point through the target spectrum analyzer based on the transmission attenuation value;
[0012] The power value of the center frequency point is used as the power information of the wireless communication module.
[0013] Optionally, the identifying, based on the power information and by using the calibration strategy, the signal calibration information of the wireless communication module includes:
[0014] Acquire a target power value and a transmission frequency of the wireless communication module, and identify a magnitude relationship between the power value of the center frequency point and the target power value;
[0015] Based on the magnitude relationship, the transmission attenuation value is adjusted to obtain a first transmission attenuation value, and when the first transmission attenuation value is greater than a preset transmission attenuation value, the first transmission attenuation value is used to replace the transmission attenuation value, and the step of identifying the power of the center frequency point through the target spectrum analyzer based on the transmission attenuation value is returned to execute, until the first transmission attenuation value is not greater than the preset transmission attenuation value, and the power value of the center frequency point obtained by the last iteration and the first transmission attenuation value are used as the sub-signal calibration information of the wireless communication module;
[0016] Adjusting the transmission frequency of the wireless communication module through the transmission frequency adjustment strategy to obtain each new transmission frequency, and identifying the sub-signal calibration information corresponding to each new transmission frequency;
[0017] The sub-signal calibration information corresponding to all new transmission frequencies and the sub-signal calibration information corresponding to the transmission frequency of the wireless communication module are used as the signal calibration information of the wireless communication module.
[0018] Optionally, the identifying sub-signal calibration information corresponding to each new transmission frequency includes:
[0019] Based on each new transmission frequency, respectively configure the transmission frequency of the wireless communication module, and re-acquire new signal transmission parameters of each new wireless communication module;
[0020] Substituting each new signal transmission parameter for the current signal transmission parameter, and substituting each new wireless communication module for the wireless communication module, returning to the step of identifying the power information of the wireless communication module based on the current signal transmission parameter, and obtaining sub-signal calibration information of each new wireless communication module;
[0021] The sub-signal calibration information is used as the sub-signal calibration information corresponding to the new transmission frequency of each new wireless communication module.
[0022] Optionally, generating an attenuation value calibration fitting table of the wireless communication module based on each of the signal calibration information includes:
[0023] Based on the sub-signal calibration information corresponding to each of the transmission frequencies, a signal calibration information distribution table is generated, and based on the signal calibration information distribution table, unit signal calibration information corresponding to the unit transmission frequency corresponding to each unit step is fitted by a unit step fitting strategy;
[0024] The fitting attenuation value of each unit signal calibration information is identified, and based on the fitting attenuation value corresponding to each unit transmission frequency, an attenuation value calibration fitting table of the wireless communication module is generated.
[0025] Optionally, calibrating the wireless communication module by using the attenuation value calibration fitting table to obtain a target wireless communication module includes:
[0026] Based on each unit signal calibration information, identifying a fitting power value corresponding to each fitting attenuation value, and obtaining a transmission power value of each actual transmission frequency point of the wireless communication module;
[0027] Based on the fitting power value corresponding to each fitting attenuation value, identifying the fitting attenuation value corresponding to each transmit power value, and replacing the current attenuation value of each actual transmit frequency point with each fitting attenuation value to obtain an initial target wireless communication module;
[0028] Randomly select a preset number of to-be-tested transmitting frequency points from each actual transmitting frequency point of the initial target wireless communication module, and verify the accuracy of each of the to-be-tested transmitting frequency points through a preset verification procedure;
[0029] In the case that the accuracy of the transmitting frequency point to be tested is lower than the accuracy threshold, the initial target wireless communication module replaces the wireless communication module, and the step of obtaining the calibration strategy of the wireless communication module and the current signal transmission parameter of the wireless communication module is returned to be executed, until the accuracy of the transmitting frequency point to be tested is no longer lower than the accuracy threshold, and the initial target wireless communication module obtained in the last iteration is used as the target wireless communication module.
[0030] In a second aspect, the present application also provides a calibration device for a wireless communication module. The device comprises:
[0031] An acquisition module, used to acquire current signal transmission parameters of the wireless communication module, and identify power information of the wireless communication module based on the current signal transmission parameters;
[0032] A generating module, configured to identify the signal calibration information of the wireless communication module based on the power information and through the calibration strategy of the wireless communication module, and generate an attenuation value calibration fitting table of the wireless communication module based on each of the signal calibration information;
[0033] The calibration module is used to calibrate the wireless communication module through the attenuation value calibration fitting table to obtain a target wireless communication module.
[0034] Optionally, the acquisition module is specifically used to:
[0035] Based on the current signal transmission parameters, identifying the transmission frequency point of the wireless communication module and the transmission attenuation value of the wireless communication module;
[0036] Configure the center frequency point of the target spectrum analyzer as the transmission frequency point, and identify the power value of the center frequency point through the target spectrum analyzer based on the transmission attenuation value;
[0037] The power value of the center frequency point is used as the power information of the wireless communication module.
[0038] Optionally, the generating module is specifically used for:
[0039] Acquire a target power value and a transmission frequency of the wireless communication module, and identify a magnitude relationship between the power value of the center frequency point and the target power value;
[0040] Based on the magnitude relationship, the transmission attenuation value is adjusted to obtain a first transmission attenuation value, and when the first transmission attenuation value is greater than a preset transmission attenuation value, the first transmission attenuation value is used to replace the transmission attenuation value, and the step of identifying the power of the center frequency point through the target spectrum analyzer based on the transmission attenuation value is returned to execute, until the first transmission attenuation value is not greater than the preset transmission attenuation value, and the power value of the center frequency point obtained by the last iteration and the first transmission attenuation value are used as the sub-signal calibration information of the wireless communication module;
[0041] Adjusting the transmission frequency of the wireless communication module through the transmission frequency adjustment strategy to obtain each new transmission frequency, and identifying the sub-signal calibration information corresponding to each new transmission frequency;
[0042] The sub-signal calibration information corresponding to all new transmission frequencies and the sub-signal calibration information corresponding to the transmission frequency of the wireless communication module are used as the signal calibration information of the wireless communication module.
[0043] Optionally, the generating module is specifically used for:
[0044] Based on each new transmission frequency, respectively configure the transmission frequency of the wireless communication module, and re-acquire new signal transmission parameters of each new wireless communication module;
[0045] Substituting each new signal transmission parameter for the current signal transmission parameter, and substituting each new wireless communication module for the wireless communication module, returning to the step of identifying the power information of the wireless communication module based on the current signal transmission parameter, and obtaining sub-signal calibration information of each new wireless communication module;
[0046] The sub-signal calibration information is used as the sub-signal calibration information corresponding to the new transmission frequency of each new wireless communication module.
[0047] Optionally, the generating module is specifically used for:
[0048] Based on the sub-signal calibration information corresponding to each of the transmission frequencies, a signal calibration information distribution table is generated, and based on the signal calibration information distribution table, unit signal calibration information corresponding to the unit transmission frequency corresponding to each unit step is fitted by a unit step fitting strategy;
[0049] The fitting attenuation value of each unit signal calibration information is identified, and based on the fitting attenuation value corresponding to each unit transmission frequency, an attenuation value calibration fitting table of the wireless communication module is generated.
[0050] Optionally, the calibration module is specifically used to:
[0051] Based on each unit signal calibration information, identifying a fitting power value corresponding to each fitting attenuation value, and obtaining a transmission power value of each actual transmission frequency point of the wireless communication module;
[0052] Based on the fitting power value corresponding to each fitting attenuation value, identifying the fitting attenuation value corresponding to each transmit power value, and replacing the current attenuation value of each actual transmit frequency point with each fitting attenuation value to obtain an initial target wireless communication module;
[0053] Randomly select a preset number of to-be-tested transmitting frequency points from each actual transmitting frequency point of the initial target wireless communication module, and verify the accuracy of each of the to-be-tested transmitting frequency points through a preset verification procedure;
[0054] In the case that the accuracy of the transmitting frequency point to be tested is lower than the accuracy threshold, the initial target wireless communication module replaces the wireless communication module, and the step of obtaining the calibration strategy of the wireless communication module and the current signal transmission parameter of the wireless communication module is returned to be executed, until the accuracy of the transmitting frequency point to be tested is no longer lower than the accuracy threshold, and the initial target wireless communication module obtained in the last iteration is used as the target wireless communication module.
[0055] In a third aspect, the present application provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0056] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0057] In a fifth aspect, the present application provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0058] The calibration method, device and computer equipment of the wireless communication module obtain the calibration strategy of the wireless communication module and the current signal transmission parameters of the wireless communication module, and identify the power information of the wireless communication module based on the current signal transmission parameters; based on the power information, identify the signal calibration information of the wireless communication module through the calibration strategy, and generate the attenuation value calibration fitting table of the wireless communication module based on each of the signal calibration information; calibrate the wireless communication module through the attenuation value calibration fitting table to obtain the target wireless communication module. This scheme is applicable to equipment that needs to calibrate the wireless communication module. This scheme does not require manual operation, but converts the calibration process of the wireless communication module into an automatic calibration process through automated software. In the automatic calibration process, the current signal transmission parameters are automatically obtained, so that the signal calibration information identification of manual operation, the fitting process of the attenuation value calibration fitting table, and the calibration verification process of the wireless communication module are replaced by automated procedures, which not only improves the calibration timeliness of the wireless communication module, but also avoids error problems in the process of automated calibration, improves the calibration accuracy, and thus comprehensively improves the efficiency of calibrating the wireless communication module. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 is a flow chart of a calibration method for a wireless communication module in one embodiment;
[0060] Figure 2 is a flow chart of an example of calibration of a wireless communication module in one embodiment;
[0061] Figure 3 is a structural block diagram of a calibration device for a wireless communication module in one embodiment;
[0062] Figure 4 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0064] The calibration method of the wireless communication module provided in the embodiment of the present application can be applied to the application environment of the wireless communication module calibration. The method can be applied to a terminal, a server, or a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. Among them, the terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. Among them, the terminal converts the calibration process of the wireless communication module into an automatic calibration process through automation software, and in the automatic calibration process, the current signal transmission parameters are automatically obtained, so that the signal calibration information of the manual operation, the fitting process of the attenuation value calibration fitting table, and the calibration verification process of the wireless communication module are replaced by an automation program, which not only improves the calibration timeliness of the wireless communication module, but also avoids error problems in the process of automatic calibration, improves the calibration accuracy, and thus comprehensively improves the efficiency of calibrating the wireless communication module.
[0065] In one embodiment, Figure 1 As shown, a calibration method for a wireless communication module is provided, which is described by taking the method applied to a terminal as an example, and includes the following steps:
[0066] Step S101: acquiring current signal transmission parameters of the wireless communication module, and identifying power information of the wireless communication module based on the current signal transmission parameters.
[0067] In this embodiment, the terminal obtains the calibration strategy of the wireless communication module in response to the user's information upload operation. The terminal can also identify the current signal transmission parameters of the wireless communication module by detecting the signal transmission data of the wireless communication module. Among them, the wireless communication module is a communication module provided in each wireless communication device. The wireless communication device is, for example, a walkie-talkie, a radio station, an unmanned system, a Bluetooth device, a wireless network device, etc. Among them, the current signal transmission parameters are the basic parameters of the wireless communication module when transmitting signals to the outside, for example, the parameters corresponding to the transmission frequency point, the transmission attenuation value, the power and other data. Then, the terminal identifies the power information of the wireless communication module based on the current signal transmission parameters. Among them, the power information is the power value of the center frequency point in the transmission frequency point on the wireless module. The specific identification process will be described in detail later.
[0068] Step S102: Based on the power information and through the calibration strategy of the wireless communication module, the signal calibration information of the wireless communication module is identified, and based on each signal calibration information, an attenuation value calibration fitting table of the wireless communication module is generated.
[0069] In this embodiment, the terminal identifies the signal calibration information of the wireless communication module based on the power information and the calibration strategy of the wireless communication module, and generates an attenuation value calibration fitting table of the wireless communication module based on each signal calibration information. The calibration strategy is a calibration strategy for calibrating the attenuation value of different transmission frequencies of the wireless communication module, and the specific identification process will be described in detail later. Finally, the terminal generates an attenuation value calibration fitting table of the wireless communication module based on the calibration information of each signal. The attenuation value calibration fitting table is the actual calibration value of the fitting attenuation value corresponding to the transmission frequency of different unit steps. The unit step size is, for example, 1MHz. The specific generation process will be described in detail later.
[0070] Step S103, calibrating the wireless communication module through the attenuation value calibration fitting table to obtain a target wireless communication module.
[0071] In this embodiment, the terminal calibrates the wireless communication module through the attenuation value calibration fitting table to obtain the target wireless communication module.
[0072] Based on the above scheme, the calibration process of the wireless communication module is converted into an automatic calibration process through automated software, and in the automatic calibration process, the current signal transmission parameters are automatically acquired, so that the manually operated signal calibration information identification, the fitting process of the attenuation value calibration fitting table, and the calibration verification process of the wireless communication module are replaced by automated procedures. This not only improves the calibration timeliness of the wireless communication module, but also avoids error problems in the automated calibration process, improves the calibration accuracy, and thus comprehensively improves the efficiency of calibrating the wireless communication module.
[0073] Optionally, based on current signal transmission parameters, the power information of the wireless communication module is identified, including: based on the current signal transmission parameters, identifying the transmission frequency point of the wireless communication module and the transmission attenuation value of the wireless communication module; configuring the center frequency point of the target spectrum analyzer as the transmission frequency point, and based on the transmission attenuation value, identifying the power value of the center frequency point through the target spectrum analyzer; and using the power value of the center frequency point as the power information of the wireless communication module.
[0074] In this embodiment, the terminal identifies the transmission frequency point of the wireless communication module and the transmission attenuation value of the wireless communication module based on the current signal transmission parameters. Then, the terminal randomly selects a single transmission frequency point from each transmission frequency point, and replaces the center frequency point of the spectrum analyzer with the transmission frequency point. Then, the terminal automatically configures other parameters of the spectrum analyzer based on the historical operation data of the frequency analyzer to obtain the target spectrum analyzer. The parameters that need to be configured include analysis mode, modulation mode, reference level, center frequency point and other parameters.
[0075] Based on the transmission attenuation value, the target spectrum analyzer is used to identify the power value of the center frequency. Finally, the terminal uses the power value of the center frequency as the power information of the wireless communication module.
[0076] Based on the above solution, by automatically setting the analysis mode, modulation mode, reference level, center frequency and other parameters of the spectrum analyzer, the inefficient process of manual configuration is avoided, and the efficiency of calibration preparation of the wireless communication module is greatly improved.
[0077] Optionally, based on the power information, the signal calibration information of the wireless communication module is identified through a calibration strategy, including: obtaining a target power value and a transmission frequency of the wireless communication module, and identifying the power value of the center frequency and the size relationship between the power value and the target power value; based on the size relationship, adjusting the transmission attenuation value to obtain a first transmission attenuation value, and when the first transmission attenuation value is greater than a preset transmission attenuation value, replacing the transmission attenuation value with the first transmission attenuation value, returning to execute the power step of identifying the center frequency through a target spectrum analyzer based on the transmission attenuation value, until the first transmission attenuation value is not greater than the preset transmission attenuation value, and using the power value of the center frequency obtained by the last iteration and the first transmission attenuation value as the sub-signal calibration information of the wireless communication module; adjusting the transmission frequency of the wireless communication module through a transmission frequency adjustment strategy to obtain each new transmission frequency, and identifying the sub-signal calibration information corresponding to each new transmission frequency; using the sub-signal calibration information corresponding to all new transmission frequencies and the sub-signal calibration information corresponding to the transmission frequency of the wireless communication module as the signal calibration information of the wireless communication module.
[0078] In this embodiment, the terminal obtains the target power value and the transmission frequency of the wireless communication module, and identifies the relationship between the power value of the center frequency point and the target power value.
[0079] Among them, the wireless module transmission frequency point is F1 and the transmission attenuation value is A0.
[0080] Read the power value P of the center frequency corresponding to the transmitting frequency point on the spectrum analyzer, and compare it with the target power value P0;
[0081] a) When P>P0, increase the attenuation value, and the adjustment value is |P-P0| (rounded off);
[0082] b) When P<P0, reduce the attenuation value and adjust the value to |P-P0| (round off);
[0083] Based on the magnitude relationship, the terminal adjusts the transmission attenuation value to obtain the first transmission attenuation value, and when the first transmission attenuation value is greater than the preset transmission attenuation value, the first transmission attenuation value replaces the transmission attenuation value, and returns to execute the power step of identifying the center frequency point through the target spectrum analyzer based on the transmission attenuation value, until the first transmission attenuation value is not greater than the preset transmission attenuation value, and the power value of the center frequency point obtained by the last iteration and the first transmission attenuation value are used as the sub-signal calibration information of the wireless communication module. Among them, the first transmission attenuation value is 0.5dB, and the above process is that the terminal iteratively detects the adjusted attenuation value until the adjusted attenuation value |P-P0|≤0.5dB, the terminal records the first transmission attenuation value at this moment, and the power value of the center frequency point at this moment, and obtains the sub-signal calibration information.
[0084] The terminal adjusts the transmission frequency of the wireless communication module through the transmission frequency adjustment strategy, obtains each new transmission frequency, and identifies the sub-signal calibration information corresponding to each new transmission frequency. The terminal uses the sub-signal calibration information corresponding to all new transmission frequencies and the sub-signal calibration information corresponding to the transmission frequency of the wireless communication module as the signal calibration information of the wireless communication module. The transmission frequency adjustment strategy is to adjust the transmission frequency in steps of 5MHz to obtain the sub-signal calibration information corresponding to each adjusted transmission frequency. The specific process of identifying the sub-signal calibration information corresponding to each new transmission frequency will be described in detail later.
[0085] Based on the above scheme, the attenuation value and power value lower than the preset attenuation threshold are iteratively searched to ensure that the sub-signal calibration information of each transmission frequency meets the calibration requirements of the wireless communication module, and by stepping in 5MHz, the sub-signal calibration information of different transmission frequencies is identified, which not only reduces the number of iterations and improves the calibration efficiency, but also ensures that the corresponding relationship between the transmission frequency and power value and the attenuation value can be identified, thereby improving the calibration accuracy.
[0086] Optionally, identifying sub-signal calibration information corresponding to each new transmission frequency includes: configuring the transmission frequency of the wireless communication module based on each new transmission frequency, and re-acquiring new signal transmission parameters of each new wireless communication module; replacing the current signal transmission parameters with each new signal transmission parameter, and replacing the wireless communication module with each new wireless communication module, returning to execute the step of identifying the power information of the wireless communication module based on the current signal transmission parameters to obtain sub-signal calibration information of each new wireless communication module; using each sub-signal calibration information as the sub-signal calibration information corresponding to the new transmission frequency of each new wireless communication module.
[0087] In this embodiment, the terminal configures the transmission frequency of the wireless communication module based on each new transmission frequency, and re-acquires the new signal transmission parameters of each new wireless communication module. Then, the terminal replaces the current signal transmission parameters with each new signal transmission parameter, and replaces the wireless communication module with each new wireless communication module, and returns to execute the step of identifying the power information of the wireless communication module based on the current signal transmission parameter to obtain the sub-signal calibration information of each new wireless communication module. Finally, the terminal uses each sub-signal calibration information as the sub-signal calibration information corresponding to the new transmission frequency of each new wireless communication module.
[0088] Based on the above scheme, the wireless communication module is adjusted by the new transmission frequency to re-identify the sub-signal calibration information corresponding to each new transmission frequency, thereby improving the accuracy of identifying the sub-signal calibration information corresponding to each new transmission frequency.
[0089] Optionally, based on the calibration information of each signal, an attenuation value calibration fitting table of the wireless communication module is generated, including: based on the sub-signal calibration information corresponding to each transmission frequency, a signal calibration information distribution table is generated, and based on the signal calibration information distribution table, through a unit step fitting strategy, the unit signal calibration information corresponding to the unit transmission frequency corresponding to each unit step is fitted; the fitting attenuation value of each unit signal calibration information is identified, and based on the fitting attenuation value corresponding to each unit transmission frequency, an attenuation value calibration fitting table of the wireless communication module is generated.
[0090] In this embodiment, the terminal generates a signal calibration information distribution table based on the sub-signal calibration information corresponding to each transmission frequency, wherein the columns of the signal calibration information distribution table are each transmission frequency, and the rows of the signal calibration information distribution table are each sub-signal calibration information.
[0091] Based on the signal calibration information distribution table, the unit signal calibration information corresponding to the unit transmission frequency corresponding to each unit step is fitted through the unit step fitting strategy. The unit step fitting strategy is a fitting method corresponding to the explicit fitting method, which fits the sub-signal calibration information corresponding to the unit transmission frequency step between 5MHz. The unit transmission frequency step is 1MHz.
[0092] Then, the terminal identifies the fitting attenuation value of each unit signal calibration information, and generates an attenuation value calibration fitting table for the wireless communication module based on the fitting attenuation value corresponding to each unit transmission frequency, wherein each unit transmission frequency corresponds to a fitting attenuation value and a fitting power value.
[0093] Based on the above scheme, the sub-signal calibration information corresponding to different unit transmission frequencies is identified by unit step fitting, which ensures the accuracy of the obtained sub-signal calibration information and improves the efficiency of obtaining the attenuation value calibration fitting table.
[0094] Optionally, the wireless communication module is calibrated through the attenuation value calibration fitting table to obtain the target wireless communication module, including: based on each unit signal calibration information, identifying the fitting power value corresponding to each fitting attenuation value, and obtaining the transmission power value of each actual transmission frequency point of the wireless communication module; based on the fitting power value corresponding to each fitting attenuation value, identifying the fitting attenuation value corresponding to each transmission power value, and replacing the current attenuation value of each actual transmission frequency point with each fitting attenuation value to obtain the initial target wireless communication module; among the actual transmission frequency points of the initial target wireless communication module, randomly selecting a preset number of transmission frequency points to be tested, and verifying the accuracy of each transmission frequency point to be tested through a preset verification procedure; in the case where the accuracy of the transmission frequency point to be tested is lower than the accuracy threshold, replacing the wireless communication module with the initial target wireless communication module, and returning to execute the step of obtaining the calibration strategy of the wireless communication module and the current signal transmission parameter step of the wireless communication module, until there is no transmission frequency point to be tested with an accuracy lower than the accuracy threshold, and the initial target wireless communication module obtained by the last iteration is used as the target wireless communication module.
[0095] In this embodiment, the terminal identifies the fitting power value corresponding to each fitting attenuation value based on the calibration information of each unit signal, and obtains the transmission power value of each actual transmission frequency point of the wireless communication module. Then, based on the fitting power value corresponding to each fitting attenuation value, the terminal identifies the fitting attenuation value corresponding to each transmission power value, and replaces the current attenuation value of each actual transmission frequency point with each fitting attenuation value to obtain the initial target wireless communication module.
[0096] Among the actual transmitting frequency points of the initial target wireless communication module, the terminal randomly selects a preset number of transmitting frequency points to be tested, and verifies the accuracy of each transmitting frequency point to be tested through a preset verification program. The preset verification program is a conventional accuracy verification program for the wireless communication module, and this scheme does not make redundant descriptions. The preset number is the number preset in the terminal. Then, the terminal also presets an accuracy threshold. In the case where the accuracy of the transmitting frequency point to be tested is lower than the accuracy threshold, the terminal replaces the wireless communication module with the initial target wireless communication module, and returns to execute the calibration strategy for obtaining the wireless communication module, and the current signal transmission parameter step of the wireless communication module, until there is no transmitting frequency point to be tested whose accuracy is lower than the accuracy threshold, and the initial target wireless communication module obtained in the last iteration is used as the target wireless communication module.
[0097] Based on the above solution, the calibration accuracy of the calibrated wireless communication module is identified through a verification program, so that the wireless communication module is iteratively calibrated to ensure the calibration accuracy of the target wireless communication module.
[0098] The present application also provides a calibration example of a wireless communication module, such as Figure 2As shown, the specific processing process includes the following steps:
[0099] Step S201, obtaining current signal transmission parameters of the wireless communication module.
[0100] Step S202: Based on the current signal transmission parameters, identify the transmission frequency point of the wireless communication module and the transmission attenuation value of the wireless communication module.
[0101] Step S203: configure the center frequency point of the target spectrum analyzer as the transmission frequency point, and identify the power value of the center frequency point through the target spectrum analyzer based on the transmission attenuation value.
[0102] Step S204: Using the power value of the center frequency as power information of the wireless communication module.
[0103] Step S205, obtaining a target power value and a transmission frequency of the wireless communication module, and identifying a magnitude relationship between the power value of the center frequency point and the target power value.
[0104] Step S206, based on the size relationship, adjust the transmission attenuation value to obtain a first transmission attenuation value, and when the first transmission attenuation value is greater than the preset transmission attenuation value, replace the transmission attenuation value with the first transmission attenuation value, and return to execute the power step of identifying the center frequency point through the target spectrum analyzer based on the transmission attenuation value, until the first transmission attenuation value is no greater than the preset transmission attenuation value, and the power value of the center frequency point obtained by the last iteration and the first transmission attenuation value are used as the sub-signal calibration information of the wireless communication module.
[0105] Step S207: adjusting the transmission frequency of the wireless communication module through the transmission frequency adjustment strategy to obtain new transmission frequencies.
[0106] Step S208: Based on each new transmission frequency, the transmission frequency of the wireless communication module is respectively configured, and new signal transmission parameters of each new wireless communication module are reacquired.
[0107] Step S209, replace the current signal transmission parameters with each new signal transmission parameter, and replace the wireless communication module with each new wireless communication module, and return to execute the step of identifying the power information of the wireless communication module based on the current signal transmission parameters to obtain the sub-signal calibration information of each new wireless communication module.
[0108] Step S210: Using each sub-signal calibration information as sub-signal calibration information corresponding to a new transmission frequency of each new wireless communication module.
[0109] Step S211: taking the sub-signal calibration information corresponding to all new transmission frequencies and the sub-signal calibration information corresponding to the transmission frequency of the wireless communication module as signal calibration information of the wireless communication module.
[0110] Step S212, based on the sub-signal calibration information corresponding to each transmission frequency, a signal calibration information distribution table is generated, and based on the signal calibration information distribution table, the unit signal calibration information corresponding to the unit transmission frequency corresponding to each unit step is fitted through a unit step fitting strategy.
[0111] Step S213, identifying the fitting attenuation value of each unit signal calibration information, and generating an attenuation value calibration fitting table of the wireless communication module based on the fitting attenuation value corresponding to each unit transmission frequency.
[0112] Step S214: Based on each unit signal calibration information, identify the fitting power value corresponding to each fitting attenuation value, and obtain the transmission power value of each actual transmission frequency point of the wireless communication module.
[0113] Step S215, based on the fitting power value corresponding to each fitting attenuation value, identify the fitting attenuation value corresponding to each transmit power value, and replace the current attenuation value of each actual transmit frequency point with each fitting attenuation value to obtain the initial target wireless communication module.
[0114] Step S216 , randomly selecting a preset number of to-be-tested transmitting frequency points from each actual transmitting frequency point of the initial target wireless communication module, and verifying the accuracy of each to-be-tested transmitting frequency point through a preset verification procedure.
[0115] Step S217: When there is a transmission frequency point to be tested whose accuracy is lower than the accuracy threshold, the initial target wireless communication module replaces the wireless communication module, and the process returns to the step of obtaining the calibration strategy of the wireless communication module and the current signal transmission parameter of the wireless communication module, until there is no transmission frequency point to be tested whose accuracy is lower than the accuracy threshold, and the initial target wireless communication module obtained in the last iteration is used as the target wireless communication module.
[0116] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0117] Based on the same inventive concept, the embodiment of the present application also provides a calibration device for a wireless communication module for implementing the calibration method for the wireless communication module involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the calibration device for one or more wireless communication modules provided below can refer to the limitations of the calibration method for the wireless communication module above, and will not be repeated here.
[0118] In one embodiment, Figure 3 As shown, a calibration device for a wireless communication module is provided, including: an acquisition module 310, a generation module 320 and a calibration module 330, wherein:
[0119] An acquisition module 310 is used to acquire current signal transmission parameters of the wireless communication module, and identify power information of the wireless communication module based on the current signal transmission parameters;
[0120] A generating module 320, configured to identify the signal calibration information of the wireless communication module based on the power information and through the calibration strategy of the wireless communication module, and generate an attenuation value calibration fitting table of the wireless communication module based on each of the signal calibration information;
[0121] The calibration module 330 is used to calibrate the wireless communication module through the attenuation value calibration fitting table to obtain a target wireless communication module.
[0122] Optionally, the acquisition module 310 is specifically configured to:
[0123] Based on the current signal transmission parameters, identifying the transmission frequency point of the wireless communication module and the transmission attenuation value of the wireless communication module;
[0124] Configure the center frequency point of the target spectrum analyzer as the transmission frequency point, and identify the power value of the center frequency point through the target spectrum analyzer based on the transmission attenuation value;
[0125] The power value of the center frequency point is used as the power information of the wireless communication module.
[0126] Optionally, the generating module 320 is specifically configured to:
[0127] Acquire a target power value and a transmission frequency of the wireless communication module, and identify a magnitude relationship between the power value of the center frequency point and the target power value;
[0128] Based on the magnitude relationship, the transmission attenuation value is adjusted to obtain a first transmission attenuation value, and when the first transmission attenuation value is greater than a preset transmission attenuation value, the first transmission attenuation value is used to replace the transmission attenuation value, and the step of identifying the power of the center frequency point through the target spectrum analyzer based on the transmission attenuation value is returned to execute, until the first transmission attenuation value is not greater than the preset transmission attenuation value, and the power value of the center frequency point obtained by the last iteration and the first transmission attenuation value are used as the sub-signal calibration information of the wireless communication module;
[0129] Adjusting the transmission frequency of the wireless communication module through the transmission frequency adjustment strategy to obtain each new transmission frequency, and identifying the sub-signal calibration information corresponding to each new transmission frequency;
[0130] The sub-signal calibration information corresponding to all new transmission frequencies and the sub-signal calibration information corresponding to the transmission frequency of the wireless communication module are used as the signal calibration information of the wireless communication module.
[0131] Optionally, the generating module 320 is specifically configured to:
[0132] Based on each new transmission frequency, respectively configure the transmission frequency of the wireless communication module, and re-acquire new signal transmission parameters of each new wireless communication module;
[0133] Substituting each new signal transmission parameter for the current signal transmission parameter, and substituting each new wireless communication module for the wireless communication module, returning to the step of identifying the power information of the wireless communication module based on the current signal transmission parameter, and obtaining sub-signal calibration information of each new wireless communication module;
[0134] The sub-signal calibration information is used as the sub-signal calibration information corresponding to the new transmission frequency of each new wireless communication module.
[0135] Optionally, the generating module 320 is specifically configured to:
[0136] Based on the sub-signal calibration information corresponding to each of the transmission frequencies, a signal calibration information distribution table is generated, and based on the signal calibration information distribution table, unit signal calibration information corresponding to the unit transmission frequency corresponding to each unit step is fitted by a unit step fitting strategy;
[0137] The fitting attenuation value of each unit signal calibration information is identified, and based on the fitting attenuation value corresponding to each unit transmission frequency, an attenuation value calibration fitting table of the wireless communication module is generated.
[0138] Optionally, the calibration module 330 is specifically used to:
[0139] Based on each unit signal calibration information, identifying a fitting power value corresponding to each fitting attenuation value, and obtaining a transmission power value of each actual transmission frequency point of the wireless communication module;
[0140] Based on the fitting power value corresponding to each fitting attenuation value, identifying the fitting attenuation value corresponding to each transmit power value, and replacing the current attenuation value of each actual transmit frequency point with each fitting attenuation value to obtain an initial target wireless communication module;
[0141] Randomly select a preset number of to-be-tested transmitting frequency points from each actual transmitting frequency point of the initial target wireless communication module, and verify the accuracy of each of the to-be-tested transmitting frequency points through a preset verification procedure;
[0142] In the case that the accuracy of the transmitting frequency point to be tested is lower than the accuracy threshold, the initial target wireless communication module replaces the wireless communication module, and the step of obtaining the calibration strategy of the wireless communication module and the current signal transmission parameter of the wireless communication module is returned to be executed, until the accuracy of the transmitting frequency point to be tested is no longer lower than the accuracy threshold, and the initial target wireless communication module obtained in the last iteration is used as the target wireless communication module.
[0143] Each module in the calibration device of the wireless communication module can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0144] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a calibration method for a wireless communication module is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse, etc.
[0145] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0146] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0147] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0148] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps of any one of the methods in the first aspect.
[0149] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0150] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0151] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0152] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A calibration method for a wireless communication module, characterized in that: The method comprises: Obtaining current signal transmission parameters of the wireless communication module; Based on the current signal transmission parameters, identifying the transmission frequency point of the wireless communication module and the transmission attenuation value of the wireless communication module; Configure the center frequency point of the target spectrum analyzer as the transmission frequency point, and identify the power value of the center frequency point through the target spectrum analyzer based on the transmission attenuation value; Using the power value of the center frequency as the power information of the wireless communication module; Acquire a target power value and a transmission frequency of the wireless communication module, and identify a magnitude relationship between the power value of the center frequency point and the target power value; Based on the magnitude relationship, the transmission attenuation value is adjusted to obtain a first transmission attenuation value, and when the first transmission attenuation value is greater than a preset transmission attenuation value, the first transmission attenuation value is used to replace the transmission attenuation value, and the step of identifying the power of the center frequency point through the target spectrum analyzer based on the transmission attenuation value is returned to execute, until the first transmission attenuation value is not greater than the preset transmission attenuation value, and the power value of the center frequency point obtained by the last iteration and the first transmission attenuation value are used as the sub-signal calibration information of the wireless communication module; Adjusting the transmission frequency of the wireless communication module through the transmission frequency adjustment strategy to obtain each new transmission frequency, and identifying the sub-signal calibration information corresponding to each new transmission frequency; Using the sub-signal calibration information corresponding to all new transmission frequencies and the sub-signal calibration information corresponding to the transmission frequency of the wireless communication module as the signal calibration information of the wireless communication module; Based on each of the signal calibration information, generating an attenuation value calibration fitting table of the wireless communication module; The wireless communication module is calibrated by using the attenuation value calibration fitting table to obtain a target wireless communication module.
2. The method according to claim 1, characterized in that The identifying sub-signal calibration information corresponding to each new transmission frequency includes: Based on each new transmission frequency, respectively configure the transmission frequency of the wireless communication module, and re-acquire new signal transmission parameters of each new wireless communication module; Substituting each new signal transmission parameter for the current signal transmission parameter, and substituting each new wireless communication module for the wireless communication module, returning to the step of identifying the power information of the wireless communication module based on the current signal transmission parameter, and obtaining sub-signal calibration information of each new wireless communication module; The sub-signal calibration information is used as the sub-signal calibration information corresponding to the new transmission frequency of each new wireless communication module.
3. The method according to claim 2, characterized in that The step of generating an attenuation value calibration fitting table of the wireless communication module based on each of the signal calibration information comprises: Based on the sub-signal calibration information corresponding to each of the transmission frequencies, a signal calibration information distribution table is generated, and based on the signal calibration information distribution table, unit signal calibration information corresponding to the unit transmission frequency corresponding to each unit step is fitted by a unit step fitting strategy; The fitting attenuation value of each unit signal calibration information is identified, and based on the fitting attenuation value corresponding to each unit transmission frequency, an attenuation value calibration fitting table of the wireless communication module is generated.
4. The method according to claim 3, characterized in that The step of calibrating the wireless communication module by using the attenuation value calibration fitting table to obtain a target wireless communication module includes: Based on each unit signal calibration information, identifying a fitting power value corresponding to each fitting attenuation value, and obtaining a transmission power value of each actual transmission frequency point of the wireless communication module; Based on the fitting power value corresponding to each fitting attenuation value, identifying the fitting attenuation value corresponding to each transmit power value, and replacing the current attenuation value of each actual transmit frequency point with each fitting attenuation value to obtain an initial target wireless communication module; Randomly select a preset number of to-be-tested transmitting frequency points from each actual transmitting frequency point of the initial target wireless communication module, and verify the accuracy of each of the to-be-tested transmitting frequency points through a preset verification procedure; In the case that the accuracy of the transmitting frequency point to be tested is lower than the accuracy threshold, the initial target wireless communication module replaces the wireless communication module, and the step of obtaining the calibration strategy of the wireless communication module and the current signal transmission parameter of the wireless communication module is returned to be executed, until the accuracy of the transmitting frequency point to be tested is no longer lower than the accuracy threshold, and the initial target wireless communication module obtained in the last iteration is used as the target wireless communication module.
5. A calibration device for a wireless communication module, characterized in that: The device comprises: An acquisition module is used to acquire current signal transmission parameters of the wireless communication module; based on the current signal transmission parameters, identify the transmission frequency point of the wireless communication module and the transmission attenuation value of the wireless communication module; configure the center frequency point of the target spectrum analyzer as the transmission frequency point, and based on the transmission attenuation value, identify the power value of the center frequency point through the target spectrum analyzer; use the power value of the center frequency point as the power information of the wireless communication module; A generation module, used to obtain a target power value and a transmission frequency of the wireless communication module, and identify the power value of the center frequency point and the size relationship between the power value of the center frequency point and the target power value; based on the size relationship, adjust the transmission attenuation value to obtain a first transmission attenuation value, and when the first transmission attenuation value is greater than a preset transmission attenuation value, replace the transmission attenuation value with the first transmission attenuation value, and return to execute the step of identifying the power of the center frequency point through the target spectrum analyzer based on the transmission attenuation value, until the first transmission attenuation value is not greater than the preset transmission attenuation value, and use the power value of the center frequency point obtained by the last iteration and the first transmission attenuation value as the sub-signal calibration information of the wireless communication module; adjust the transmission frequency of the wireless communication module through a transmission frequency adjustment strategy to obtain each new transmission frequency, and identify the sub-signal calibration information corresponding to each new transmission frequency; use the sub-signal calibration information corresponding to all new transmission frequencies and the sub-signal calibration information corresponding to the transmission frequency of the wireless communication module as the signal calibration information of the wireless communication module; based on each of the signal calibration information, generate an attenuation value calibration fitting table of the wireless communication module; The calibration module is used to calibrate the wireless communication module through the attenuation value calibration fitting table to obtain a target wireless communication module.
6. The device according to claim 5, characterized in that The generating module is specifically used for: Based on each new transmission frequency, respectively configure the transmission frequency of the wireless communication module, and re-acquire new signal transmission parameters of each new wireless communication module; Substituting each new signal transmission parameter for the current signal transmission parameter, and substituting each new wireless communication module for the wireless communication module, returning to the step of identifying the power information of the wireless communication module based on the current signal transmission parameter, and obtaining sub-signal calibration information of each new wireless communication module; The sub-signal calibration information is used as the sub-signal calibration information corresponding to the new transmission frequency of each new wireless communication module.
7. The device according to claim 6, characterized in that The generating module is specifically used for: Based on the sub-signal calibration information corresponding to each of the transmission frequencies, a signal calibration information distribution table is generated, and based on the signal calibration information distribution table, unit signal calibration information corresponding to the unit transmission frequency corresponding to each unit step is fitted by a unit step fitting strategy; The fitting attenuation value of each unit signal calibration information is identified, and based on the fitting attenuation value corresponding to each unit transmission frequency, an attenuation value calibration fitting table of the wireless communication module is generated.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
