Bluetooth power calibration method and production line calibration tool
By using multiple sets of Bluetooth parameters and Bluetooth power calibration methods in the production process of smart products, the problem of Bluetooth power differences and wide thresholds between different motherboards is solved, and more accurate Bluetooth power calibration and better product performance is achieved.
Patent Information
- Application Number
- CN202510042666.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-10
- Publication Date
- 2025-04-25
AI Technical Summary
When producing smart products, the existing technology ignores the differences between different motherboards, resulting in large differences in Bluetooth power between different products, and the wider Bluetooth power threshold is difficult to optimize to the optimal level, affecting compliance testing and product performance.
Through multiple sets of Bluetooth parameters taking into account different motherboards, the Bluetooth power calibration method is adopted. The production line calibration tool is used to calibrate the signal transmission power of the Bluetooth module in electronic devices, shrink the Bluetooth power threshold, and achieve more accurate Bluetooth power calibration.
More precise Bluetooth power calibration is achieved, reducing the impact of power fluctuations, allowing each device to perform closer to the target power in compliance testing, avoiding unnecessary power backs, and ensuring that the device maintains good Bluetooth connectivity performance and user experience while complying.
Smart Images

Figure CN119892261A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communications, and in particular to a Bluetooth power calibration method, a production line calibration tool, an electronic device and a computer-readable storage device. Background Art
[0002] In existing smart products such as mobile phones and tablets, in order to save costs, they mainly rely on fixed golden Bluetooth parameters to compensate for differences. That is, a set of golden Bluetooth parameters with fixed power compensation values are made and incorporated into the software version. When the products are produced on the production line, the software version downloaded by the product's motherboard calls the fixed golden Bluetooth parameters. This method ignores the differences between different motherboards, resulting in large differences in Bluetooth power between different products.
[0003] In the prior art, in order to prevent the differences between different products from being too large, a wider Bluetooth power threshold is set when producing products. However, the wider Bluetooth power threshold makes it easy for the Bluetooth power upper limit to be too high or too low during compliance testing, making it difficult to optimize to the optimal level, affecting other indicators such as the compliance of Bluetooth spurious emissions. In addition, the loose threshold increases the power back-off during the Specific Absorption Rate (SAR) test, resulting in excessive power back-off during overseas shipments, affecting product performance. Summary of the invention
[0004] The embodiments of the present application disclose a Bluetooth power calibration method, a production line calibration tool, an electronic device and a computer-readable storage device, which mainly use multiple sets of Bluetooth parameters to take into account different motherboards, shrink the Bluetooth power threshold without increasing the calibration cost, and achieve more accurate Bluetooth power calibration.
[0005] A first aspect of an embodiment of the present application discloses a Bluetooth power calibration method, which is applied to a production line calibration tool, wherein the production line calibration tool is used to calibrate the signal transmission power of a Bluetooth module in a first electronic device, and the method includes:
[0006] When the first electronic device is configured with a first Bluetooth parameter, obtaining the test power of the Bluetooth module, and determining whether the test power is within the target power range, wherein the absolute value of the difference between the power included in the target power range and the target power is within the preset threshold;
[0007] In the case where the test power is not within the target power range, determining whether the test power is greater than the target power to obtain a determination result;
[0008] configuring a target Bluetooth parameter corresponding to the judgment result in the first electronic device, wherein when the target Bluetooth parameter is configured in the first electronic device, the test power of the Bluetooth module is within the target power range;
[0009] Among them, when the judgment result indicates that the test power is greater than the target power, the target Bluetooth parameter is the second Bluetooth parameter; when the judgment result indicates that the test power is less than the target power, the target Bluetooth parameter is the third Bluetooth parameter, and the second Bluetooth parameter is different from the third Bluetooth parameter.
[0010] As an optional implementation, in a first aspect of this embodiment, the production line calibration tool stores at least three sets of Bluetooth parameters, or the first electronic device stores at least three sets of Bluetooth parameters, the at least three sets of Bluetooth parameters include the first Bluetooth parameters, the second Bluetooth parameters and the third Bluetooth parameters,
[0011] When the judgment result indicates that the test power is greater than the target power, the target Bluetooth parameter is the second Bluetooth parameter; when the judgment result indicates that the test power is less than the target power, the target Bluetooth parameter is the third Bluetooth parameter, and the second Bluetooth parameter is different from the third Bluetooth parameter.
[0012] As an optional implementation manner, in the first aspect of this embodiment, configuring the target Bluetooth parameter corresponding to the judgment result in the first electronic device includes:
[0013] In a case where the production line calibration tool stores at least three sets of Bluetooth parameters, the target Bluetooth parameters are sent to the first electronic device, so that the first electronic device configures the Bluetooth module according to the target Bluetooth parameters; or
[0014] In the case that the first electronic device stores at least three sets of Bluetooth parameters, a feedback signal is sent to the first electronic device, wherein the feedback signal includes indication information for indicating the target Bluetooth parameters, so that the first electronic device, upon receiving the feedback signal, calls the target Bluetooth parameters and configures the Bluetooth module according to the target Bluetooth parameters.
[0015] As an optional implementation manner, in the first aspect of this embodiment, before sending the feedback signal to the first electronic device, the method further includes:
[0016] Determining target storage information corresponding to the judgment result according to the storage information of the at least three sets of Bluetooth parameters in the first electronic device and the mapping relationship between the at least three sets of Bluetooth parameters;
[0017] The feedback signal is generated according to the target storage information.
[0018] As an optional implementation manner, in the first aspect of this embodiment, when the test power is not within the target power range, determining whether the test power is greater than the target power and obtaining a determination result includes:
[0019] In the case that the test power is not within the target power range, determining whether the test power is within a first power range, a difference between the power included in the first power range and the target power is within a preset range, and a minimum value of the preset range is the preset threshold;
[0020] In a case where the test power is within the first power range, the judgment result is acquired, where the judgment result is used to indicate that the test power is greater than the target power.
[0021] As an optional implementation manner, in the first aspect of this embodiment, when the test power is not within the target power range, determining whether the test power is greater than the target power and obtaining a determination result includes:
[0022] In the case where the test power is not within the target power range, determining whether the test power is within a second power range, a difference between the target power and the power included in the second power range is within a preset range, and a minimum value of the preset range is the preset threshold;
[0023] In a case where the test power is within the second power range, the judgment result is acquired, where the judgment result is used to indicate that the test power is less than the target power.
[0024] As an optional implementation manner, in the first aspect of this embodiment, when the first electronic device configures the first Bluetooth parameter, before obtaining the test power of the Bluetooth module, the method further includes:
[0025] Debugging the second electronic device, obtaining Bluetooth parameters of the Bluetooth module of the second electronic device at various test powers, and obtaining the first Bluetooth parameter, the second Bluetooth parameter, and the third Bluetooth parameter; wherein the various test powers include the target power, a first test power less than the target power, and a second test power greater than the target power
[0026] A second aspect of an embodiment of the present application discloses a production line calibration tool, which is used to calibrate the signal transmission power of a Bluetooth module in a first electronic device. The production line calibration tool includes a test module, a judgment module, and a configuration module, wherein:
[0027] The test module is used to obtain the test power of the Bluetooth module when the first electronic device is configured with a first Bluetooth parameter;
[0028] The judgment module is used to judge whether the test power is within the target power range, the absolute value of the difference between the power included in the target power range and the target power is the preset threshold, and to judge whether the test power is greater than the target power when the test power is not within the target power range to obtain a judgment result;
[0029] The configuration module is used to configure the target Bluetooth parameter corresponding to the judgment result in the first electronic device, and when the target Bluetooth parameter is configured in the first electronic device, the test power of the Bluetooth module is within the target power range;
[0030] A third aspect of an embodiment of the present application discloses an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, any one of the above-mentioned Bluetooth power calibration methods is implemented.
[0031] A fourth aspect of an embodiment of the present application discloses a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any of the above-mentioned Bluetooth power calibration methods is implemented.
[0032] Compared with the related art, the embodiments of the present application include at least the following beneficial effects:
[0033] The Bluetooth power calibration method disclosed in the embodiment of the present application is applied to a production line calibration tool, which calibrates the signal transmission power of a Bluetooth module in a first electronic device. The method includes: when the first electronic device is configured with a first Bluetooth parameter, obtaining a test power of the Bluetooth module, and judging whether the test power is within a target power range; if it is not within the target power range, judging whether the test power is greater than the target power, and obtaining a judgment result; configuring the target Bluetooth parameter corresponding to the judgment result in the first electronic device, at which time the test power of the Bluetooth module is within the target power range; the method uses multiple sets of Bluetooth parameters to take into account different motherboards, thereby shrinking the Bluetooth power threshold without increasing the calibration cost, thereby achieving more accurate Bluetooth power calibration. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in 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 creative work.
[0035] Figure 1 A flowchart of a Bluetooth power calibration method provided in an embodiment of the present application;
[0036] Figure 2 A flowchart of another Bluetooth power calibration method provided in an embodiment of the present application;
[0037] Figure 3 A flowchart of another Bluetooth power calibration method provided in an embodiment of the present application;
[0038] Figure 4 A flowchart of another Bluetooth power calibration method provided in an embodiment of the present application;
[0039] Figure 5 A flowchart of another Bluetooth power calibration method provided in an embodiment of the present application;
[0040] Figure 6 A flowchart of another Bluetooth power calibration method provided in an embodiment of the present application;
[0041] Figure 7 A schematic diagram of a production line calibration tool provided in an embodiment of the present application;
[0042] Figure 8 A schematic diagram of a production line calibration tool provided in an embodiment of the present application;
[0043] Fig. 9 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0045] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application are used to distinguish similar or different objects, and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0046] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0047] In the production process of smart devices, in order to save costs, many manufacturers choose not to perform precise calibration of Bluetooth power on the production line. Bluetooth chips have certain power fluctuations at the hardware level. This is because there are consistency differences in the chip itself and the connection path (such as resistors, capacitors, and filters on the circuit board). These differences will cause the Bluetooth power performance of each motherboard to be different. If each motherboard needs to perform precise Bluetooth power adjustment, this will greatly increase production costs and complexity. To this end, the R&D team will debug and create a set of fixed golden Bluetooth parameters, and write these parameters into the product's firmware. During production on the production line, the motherboard directly downloads this set of parameters and calls these fixed golden Bluetooth parameters through software to avoid individual calibration of each device.
[0048] However, this method cannot perfectly solve the problem of hardware differences. Since the Bluetooth performance of each motherboard is different, including the characteristics of components such as the impedance, inductance, and filter of the circuit board, it is difficult to ensure that the Bluetooth power of different motherboards is completely consistent even if the same golden Bluetooth parameters are used. This leads to the need to set a wider power threshold during the production line production process to tolerate these hardware differences.
[0049] Typically, the Bluetooth power threshold set on the production line is ±3dB, which means that the actual Bluetooth power of the device may fluctuate within the ±3dB range of the target power value. Although such a threshold design can simplify the production process, it also brings challenges in compliance testing.
[0050] During the compliance testing phase, it is necessary to confirm whether the Bluetooth power of the device meets the requirements of relevant regulations. The wider threshold setting for Bluetooth power makes it easy for the upper limit of Bluetooth power to be too high or too low during compliance testing, making it difficult to optimize to the optimal level. It also affects other indicators such as the compliance of Bluetooth spurious signals. Therefore, the setting of the power threshold directly affects the pass rate of the compliance test and the performance level of the product.
[0051] In addition, the adjustment of Bluetooth power not only affects the passing of compliance tests, but also has a profound impact on the compliance of products in different markets, especially foreign markets. In SAR testing, the Bluetooth power of the device needs to be backed off according to certain rules to ensure that the electromagnetic radiation absorbed by the device does not exceed the safety standard when used at close range to the human body. If the power threshold set by the production line is wide, the product may need to perform a larger power backoff during SAR testing. However, excessive power backoff will cause the actual Bluetooth power of the device to be far lower than the power that its hardware can withstand, thereby affecting the signal strength and transmission performance of Bluetooth. Especially in some high-demand application scenarios, too low power may cause the device to be unable to connect stably or the connection quality may deteriorate beyond a certain distance. Therefore, power backoff has a significant impact on product performance and user experience.
[0052] The embodiment of the present application discloses a Bluetooth power calibration method, which adapts to the hardware differences of different motherboards through multiple sets of Bluetooth parameters. Without increasing the calibration cost, the Bluetooth power threshold is shrunk, thereby reducing the impact of power fluctuations, so that each device can achieve performance closer to the target power in the compliance test, thereby avoiding unnecessary power fallback, ensuring that the device maintains good Bluetooth connection performance and user experience while being compliant. The following are detailed descriptions of each method.
[0053] The Bluetooth power calibration method can be applied to Bluetooth power calibration in a variety of products, such as smart phones and wearable devices, Internet of Things devices, vehicle-mounted Bluetooth systems, medical devices, and smart industrial equipment, without specific limitations.
[0054] Among them, in smart phones and wearable devices, it can be applicable to smart phones, smart watches, headphones, etc., without specific restrictions; in IoT devices, it can be applicable to sensors and controllers in application scenarios such as smart homes, environmental monitoring, and smart agriculture, without specific restrictions; in car Bluetooth systems, it can be applicable to car entertainment systems, car phones, and car navigation, etc., without specific restrictions; in the field of medical equipment, it can be applicable to portable diagnostic equipment, health monitoring instruments, etc., without specific restrictions.
[0055] See also Figure 1 , Figure 1 A flowchart of a Bluetooth power calibration method provided in an embodiment of the present application is applied to a production line calibration tool, which is used to calibrate the signal transmission power of a Bluetooth module in a first electronic device. The flowchart includes at least the following steps S101-S105:
[0056] Step S101: acquiring a test power of a Bluetooth module when a first electronic device is configured with a first Bluetooth parameter;
[0057] Step S102: determining whether the test power is within the target power range. If the test power is within the target power range, the Bluetooth module passes the test of the production line calibration tool.
[0058] Wherein, the absolute value of the difference between the power included in the target power range and the target power is the preset threshold;
[0059] Step S103: when the test power is not within the target power range, determine whether the test power is greater than the target power and obtain a determination result;
[0060] Step S104: configuring the target Bluetooth parameters corresponding to the determination result in the first electronic device. When the target Bluetooth parameters are configured in the first electronic device, the test power of the Bluetooth module is within the target power range.
[0061] Optionally, there may be multiple sets of Bluetooth parameters. When the judgment result indicates that the test power is greater than the target power, the target Bluetooth parameter may be a Bluetooth parameter capable of lowering the test power. The Bluetooth parameter capable of lowering the test power corresponding to the judgment result is configured in the first electronic device, and the test power of the Bluetooth module is lowered from a higher test power to within the target power range. When the judgment result indicates that the test power is less than the target power, the target Bluetooth parameter may be a Bluetooth parameter capable of increasing the test power. The Bluetooth parameter capable of increasing the test power corresponding to the judgment result is configured in the first electronic device, and the test power of the Bluetooth module is increased from a lower test power to within the target power range.
[0062] The production line calibration tool can help adjust the Bluetooth power, frequency, sensitivity, communication quality and other parameters of the product's Bluetooth module to ensure that the product's wireless communication performance meets the standards and meets compliance requirements. In practical applications, the selection can be evaluated based on the actual needs of the production line calibration tool, such as test precision and accuracy, test automation, compatibility and standard compliance, ease of use and integration. For example, Bluetooth Power Meter, Bluetooth Spectrum Analyzer, RF Test System, etc., are not specifically limited here.
[0063] Among them, the Bluetooth power meter is specifically used to measure the RF power output of Bluetooth devices. It can usually accurately measure the transmission power of the device under different working conditions, including transmission peak, average power, etc. It has high sensitivity and can detect very weak signals. The Bluetooth spectrum analyzer is used to analyze the spectrum output of the device, detect the frequency distribution, power spectrum density and signal quality of the signal. It can capture and display the RF signal transmitted by the device, and help find noise, interference and distortion in the signal. The RF test system is usually composed of multiple instruments, which are specifically used to measure and calibrate the quality, power, frequency, etc. of RF signals. It can perform complex RF performance evaluations, including the transmission and reception characteristics of Bluetooth devices.
[0064] Exemplarily, in the Bluetooth power calibration method, firstly, a first Bluetooth parameter is configured in a first electronic device, and the first Bluetooth parameter controls the transmission power of the Bluetooth module of the first electronic device. Under this initial configuration, the actual test power of the Bluetooth module is measured by a production line calibration tool to determine whether the test power falls within a preset target power range. The target power range is determined by setting a target power value and the absolute value of the difference between the test power and the target power is equal to the preset threshold value. For example, when the set target power is 16 decibels and the preset threshold value is 2 decibels, the target power range is between 14 decibels and 18 decibels.
[0065] If the difference between the test power and the target power is less than or equal to the preset threshold, that is, the test power is between 14 dB and 18 dB, the test power is considered to meet the standard, and the calibration process ends here, confirming that the first electronic device is a power precision device.
[0066] If the test power is not within the target power range, further processing is required. In this case, it is first necessary to determine whether the test power is higher or lower than the target power. The judgment result of this step directly affects the subsequent adjustment strategy.
[0067] If the test power is greater than the target power, it means that the transmission power of the Bluetooth module is too strong. At this time, the power output needs to be reduced to make the power reach the target range. In this case, the target Bluetooth parameter is set to the second Bluetooth parameter according to the judgment result. When the second Bluetooth parameter is configured in the Bluetooth module, the transmission power of the Bluetooth module will be reduced to within the target power range, thereby solving the problem of excessive power.
[0068] On the contrary, if the test power is less than the target power, it indicates that the transmission power of the Bluetooth module is too low, and the power output of the Bluetooth module needs to be increased to make the power reach the target range. In this case, the target Bluetooth parameter is set to the third Bluetooth parameter according to the judgment result. The third Bluetooth parameter is a different parameter from the second Bluetooth parameter, which can enhance the Bluetooth power output to ensure that the power of the Bluetooth module is within the target power range.
[0069] Through this method, the production line calibration tool can select appropriate Bluetooth parameters for adjustment based on the comparison between the test power and the target power, that is, multiple sets of Bluetooth parameters are used to adapt to the hardware differences of different motherboards, reduce the impact caused by power fluctuations, and enable each device to achieve performance closer to the target power in the compliance test, thereby avoiding unnecessary power fallback. In addition, because the power calibration of the Bluetooth module can be completed through an automated adjustment process without manual intervention, the production efficiency of the production line can be effectively improved. In addition, ensuring that the power output of the Bluetooth module meets the target power can not only ensure the stable operation of the first electronic device, but also effectively improve the communication performance and signal coverage of the device, avoid signal loss and unstable connection caused by unqualified power, and by optimizing the production line calibration process, the generation of unqualified products can be reduced, thereby improving the overall production quality, reducing production costs, and ultimately bringing higher economic benefits to the enterprise.
[0070] In some embodiments, the production line calibration tool stores at least three sets of Bluetooth parameters, the at least three sets of Bluetooth parameters including a first Bluetooth parameter, a second Bluetooth parameter, and a third Bluetooth parameter. Figure 1 In step S104, configuring the target Bluetooth parameters corresponding to the judgment result in the first electronic device may be sending the target Bluetooth parameters to the first electronic device, so that the first electronic device configures the Bluetooth module according to the target Bluetooth parameters. For a clearer explanation of step S104, please refer to Figure 2 , Figure 2 A flowchart of another Bluetooth power calibration method provided in an embodiment of the present application, the flowchart at least includes the following steps S201-S204:
[0071] Step S201: acquiring the test power of the Bluetooth module when the first electronic device is configured with a first Bluetooth parameter;
[0072] Step S202: determining whether the test power is within the target power range, wherein the absolute value of the difference between the power included in the target power range and the target power is the preset threshold, and if the test power is within the target power range, the Bluetooth module passes the test of the production line calibration tool;
[0073] Step S203: when the test power is not within the target power range, determining whether the test power is greater than the target power, and obtaining a determination result;
[0074] Step S204: When the judgment result indicates that the test power is greater than the target power, the target Bluetooth parameter is a second Bluetooth parameter, and the second Bluetooth parameter corresponding to the judgment result is sent to the first electronic device, so that the first electronic device configures the Bluetooth module according to the second Bluetooth parameter. When the second Bluetooth parameter is configured in the first electronic device, the test power of the Bluetooth module is within the target power range.
[0075] Step S105: When the judgment result indicates that the test power is less than the target power, the target Bluetooth parameter is a third Bluetooth parameter, and the third Bluetooth parameter corresponding to the judgment result is sent to the first electronic device, so that the first electronic device configures the Bluetooth module according to the third Bluetooth parameter. When the third Bluetooth parameter is configured in the first electronic device, the test power of the Bluetooth module is within the target power range.
[0076] Among them, the second Bluetooth parameter is different from the third Bluetooth parameter. When the test power of the first electronic device is too high, the original first Bluetooth parameter is replaced with the second Bluetooth parameter, which can reduce the test power of the first electronic device to within the target range; when the test power of the first electronic device is too low, the original first Bluetooth parameter is replaced with the second Bluetooth parameter, which can increase the test power of the first electronic device to within the target range.
[0077] In an embodiment, the production line calibration tool stores at least three sets of Bluetooth parameters. When the production line calibration tool configures the Bluetooth parameters to the first electronic device based on the judgment result, the file names of the at least three sets of Bluetooth parameters may be the same. In this way, since each electronic device is only configured with one set of Bluetooth parameters, it can not only save storage space and reduce hardware and software costs, but also when the first electronic device calls the Bluetooth parameters, since the file names are the same, the system does not need to consider the difference in file names when calling the Bluetooth parameters, but only needs to ensure that the file path and content are correct. This reduces the complexity in the code and the chance of errors, and improves the operating efficiency of the system.
[0078] Exemplarily, in the Bluetooth power calibration method, firstly, a first Bluetooth parameter is configured in a first electronic device, and the first Bluetooth parameter controls the transmission power of the Bluetooth module of the first electronic device. Under this initial configuration, the actual test power of the Bluetooth module is measured by a production line calibration tool to determine whether the test power falls within a preset target power range. The target power range is determined by setting a target power value and the absolute value of the difference between the test power and the target power is equal to the preset threshold value. For example, when the set target power is 16 decibels and the preset threshold value is 2 decibels, the target power range is between 14 decibels and 18 decibels.
[0079] If the difference between the test power and the target power is less than or equal to the preset threshold, that is, the test power is between 14 dB and 18 dB, the test power is considered to meet the standard, and the calibration process ends here, confirming that the first electronic device is a power precision device.
[0080] If the test power is not within the target power range, further processing is required. In this case, it is first necessary to determine whether the test power is higher or lower than the target power. The judgment result of this step directly affects the subsequent adjustment strategy.
[0081] If the test power is greater than the target power, it means that the transmission power of the Bluetooth module is too strong. At this time, the power output needs to be reduced to make the power reach the target range. In this case, the production line calibration tool calls the second Bluetooth parameter according to the judgment result, and sends the second Bluetooth parameter to the first electronic device. The first electronic device configures the parameters according to the second Bluetooth parameter, so that the transmission power of the Bluetooth module is reduced to within the target power range, thereby solving the problem of excessive power.
[0082] On the contrary, if the test power is less than the target power, it indicates that the transmit power of the Bluetooth module is too low, and the power output of the Bluetooth module needs to be increased to make the power reach the target range. In this case, the production line calibration tool calls the third Bluetooth parameter according to the judgment result, and sends the third Bluetooth parameter to the first electronic device. The first electronic device performs parameter configuration according to the third Bluetooth parameter, so that the transmit power of the Bluetooth module is increased to within the target power range, thereby solving the problem of too low power.
[0083] In some embodiments, the first electronic device stores at least three sets of Bluetooth parameters, the at least three sets of Bluetooth parameters including a first Bluetooth parameter, a second Bluetooth parameter, and a third Bluetooth parameter. Figure 1In step S104, the target Bluetooth parameters corresponding to the judgment result are configured in the first electronic device. The production line calibration tool can send a feedback signal to the first electronic device, and the feedback signal includes indication information for indicating the target Bluetooth parameters, so that the first electronic device calls the target Bluetooth parameters when receiving the feedback signal, and configures the Bluetooth module according to the target Bluetooth parameters. For a clearer explanation of step S104, please refer to Figure 3 , Figure 3 A flowchart of another Bluetooth power calibration method provided in an embodiment of the present application, the flowchart at least includes the following steps S301-S304:
[0084] Step S301: acquiring the test power of the Bluetooth module when the first electronic device is configured with a first Bluetooth parameter;
[0085] Step S302: determining whether the test power is within the target power range, wherein the absolute value of the difference between the power included in the target power range and the target power is the preset threshold, and if the test power is within the target power range, the Bluetooth module passes the test of the production line calibration tool;
[0086] Step S303: when the test power is not within the target power range, determining whether the test power is greater than the target power, and obtaining a determination result;
[0087] Step S304: When the judgment result indicates that the test power is greater than the target power, the target Bluetooth parameter is the second Bluetooth parameter, and the production line calibration tool sends a first feedback signal to the first electronic device according to the judgment result, and the first feedback signal includes indication information for indicating the second Bluetooth parameter, so that the first electronic device calls the second Bluetooth parameter when receiving the first feedback signal, and configures the Bluetooth module according to the second Bluetooth parameter. When the second Bluetooth parameter is configured in the first electronic device, the test power of the Bluetooth module is within the target power range.
[0088] Step S305: When the judgment result indicates that the test power is less than the target power, the target Bluetooth parameter is a third Bluetooth parameter, and the production line calibration tool sends a second feedback signal to the first electronic device according to the judgment result, and the second feedback signal includes indication information for indicating the second Bluetooth parameter, so that the first electronic device calls the second Bluetooth parameter when receiving the first feedback signal, and configures the Bluetooth module according to the second Bluetooth parameter. When the third Bluetooth parameter is configured in the first electronic device, the test power of the Bluetooth module is within the target power range.
[0089] Among them, the second Bluetooth parameter is different from the third Bluetooth parameter. When the test power of the first electronic device is too high, the original first Bluetooth parameter is replaced with the second Bluetooth parameter, which can reduce the test power of the first electronic device to within the target range; when the test power of the first electronic device is too low, the original first Bluetooth parameter is replaced with the second Bluetooth parameter, which can increase the test power of the first electronic device to within the target range.
[0090] In an embodiment, the first electronic device stores at least three sets of Bluetooth parameters. The production line calibration tool sends feedback information to the first electronic device based on the judgment result, and the first electronic device calls the target Bluetooth parameters based on the feedback information. In this method, multiple Bluetooth parameters are stored in the Bluetooth device, which can achieve better compatibility and communication stability between different versions of Bluetooth devices, thereby enhancing the market competitiveness of the equipment.
[0091] In some embodiments, before sending the feedback signal to the first electronic device in step S304 and step S305, the method further includes determining target storage information corresponding to the judgment result based on the storage information of at least three sets of Bluetooth parameters in the first electronic device and the mapping relationship between at least three sets of Bluetooth parameters; and then generating the feedback signal based on the target storage information. For a clearer explanation of the process, please refer to Figure 4 , Figure 4 A flowchart of another Bluetooth power calibration method provided in an embodiment of the present application, the flowchart at least includes the following steps S401-S404:
[0092] Step S401: acquiring the test power of the Bluetooth module when the first electronic device is configured with a first Bluetooth parameter;
[0093] Step S402: determining whether the test power is within the target power range, wherein the absolute value of the difference between the power included in the target power range and the target power is the preset threshold, and if the test power is within the target power range, the Bluetooth module passes the test of the production line calibration tool;
[0094] Step S403: when the test power is not within the target power range, determining whether the test power is greater than the target power, and obtaining a determination result;
[0095] Step S404: determining target storage information corresponding to the judgment result according to the storage information of the at least three sets of Bluetooth parameters in the first electronic device and the mapping relationship between the at least three sets of Bluetooth parameters;
[0096] Step S405: generating the feedback signal according to the target storage information;
[0097] Step S406: Send a feedback signal to the first electronic device, where the feedback signal includes indication information for indicating the target Bluetooth parameters, so that the first electronic device calls the target Bluetooth parameters upon receiving the feedback signal and configures the Bluetooth module according to the target Bluetooth parameters.
[0098] In this method, the first electronic device stores at least three sets of Bluetooth parameters, and the production line calibration tool stores storage information of at least three sets of Bluetooth parameters in the electronic device and related mapping relationships. After the production line calibration tool obtains the judgment result, it can generate a feedback signal containing the target storage information based on the judgment result and the mapping relationship between the storage information of the first electronic device and the three sets of Bluetooth parameters. After the first electronic device receives the feedback signal, it will call the target Bluetooth parameters according to the instructions of the feedback signal to configure them in the Bluetooth module.
[0099] In this method, after receiving the feedback signal, the first electronic device can automatically select the most appropriate Bluetooth parameters according to the judgment result of the production line calibration tool, that is, adjust the configuration according to the actual situation, and can show good compatibility and stability in different application scenarios to meet different usage requirements. In addition, after obtaining the judgment result, the production line calibration tool can automatically generate a feedback signal according to the mapping relationship to guide the device to call the correct Bluetooth parameters, thereby simplifying the calibration process, eliminating the need for manual intervention, and improving production efficiency.
[0100] In some embodiments, for step S103, step S203, step S303, and step S403, when the test power is not within the target power range, it is determined whether the test power is greater than the target power, and the determination result obtained may be:
[0101] When the test power is not within the target power range, determine whether the test power is within a first power range, the difference between the power included in the first power range and the target power is within a preset range, and the minimum value of the preset range is the preset threshold;
[0102] In the case where the test power is within the first power range, the judgment result is obtained, where the judgment result is used to indicate that the test power is greater than the target power.
[0103] For a more detailed explanation of the above process, see Figure 5 , Figure 5 A flowchart of another Bluetooth power calibration method provided in an embodiment of the present application, the flowchart at least includes the following steps S501-S504:
[0104] Step S501: acquiring the test power of the Bluetooth module when the first electronic device is configured with a first Bluetooth parameter;
[0105] Step S502: determining whether the test power is within the target power range, wherein the absolute value of the difference between the power included in the target power range and the target power is the preset threshold, and if the test power is within the target power range, the Bluetooth module passes the test of the production line calibration tool;
[0106] Step S503: if the test power is not within the target power range, determining whether the test power is within the first power range;
[0107] The difference between the power included in the first power range and the target power is within a preset range, and the minimum value of the preset range is the preset threshold;
[0108] Step S504: when the test power is within the first power range, obtaining a judgment result, the judgment result is used to indicate that the test power is greater than the target power;
[0109] Step S504: When the judgment result indicates that the test power is greater than the target power, the target Bluetooth parameter is a second Bluetooth parameter, and the second Bluetooth parameter corresponding to the judgment result is configured in the first electronic device. When the second Bluetooth parameter is configured in the first electronic device, the test power of the Bluetooth module is within the target power range.
[0110] Exemplarily, since the absolute value of the difference between the power included in the target power range and the target power is the preset threshold, therefore, when the target power is 16 decibels, the preset threshold is set to 2 decibels, and the target power range refers to the power between 14 decibels and 18 decibels. If the test power is not within the target power range, it is determined whether the test power is within the first power range. Since the minimum value of the preset range is the preset threshold, i.e. 2 decibels, and the maximum value of the preset range is set to 3 decibels, the difference between the power included in the first power range and the target power is within the preset range, and the first power range is between 18 decibels and 19 decibels. Therefore, when the test power is not between 14 decibels and 18 decibels, determine whether the test power is between 18 decibels and 19 decibels. If the test power is between 18 decibels and 19 decibels, obtain a judgment result, and the judgment result indicates that the test power is greater than the target power. At this time, according to the judgment result, determine that the target Bluetooth parameter is the second Bluetooth parameter, and configure the second Bluetooth parameter corresponding to the judgment result in the first electronic device. When the second Bluetooth parameter is configured in the first electronic device, the test power will be reduced, so that the test power of the Bluetooth module of the electronic device returns to the target power range, that is, between 14 decibels and 18 decibels.
[0111] Optionally, when the preset threshold is 2 decibels and the maximum value of the preset range is 3 decibels, the power of the second Bluetooth parameter can be reduced by 1 decibel.
[0112] In some embodiments, for step S103, step S203, step S303, and step S403, when the test power is not within the target power range, it is determined whether the test power is greater than the target power, and the determination result obtained may be:
[0113] When the test power is not within the target power range, determine whether the test power is within the second power range, the difference between the target power and the power included in the second power range is within a preset range, and the minimum value of the preset range is the preset threshold;
[0114] When the test power is within the second power range, a judgment result is obtained, where the judgment result is used to indicate that the test power is less than the target power.
[0115] For a more detailed explanation of the above process, see Figure 6 , Figure 6 A flowchart of another Bluetooth power calibration method provided in an embodiment of the present application, the flowchart at least includes the following steps S601-S605:
[0116] Step S601: acquiring the test power of the Bluetooth module when the first electronic device is configured with a first Bluetooth parameter;
[0117] Step S602: determining whether the test power is within the target power range, wherein the absolute value of the difference between the power included in the target power range and the target power is the preset threshold, and if the test power is within the target power range, the Bluetooth module passes the test of the production line calibration tool;
[0118] Step S603: if the test power is not within the target power range, determine whether the test power is within the second power range;
[0119] The difference between the target power and the power included in the second power range is within a preset range, and the minimum value of the preset range is the preset threshold;
[0120] Step S604: when the test power is within the second power range, obtaining a judgment result, the judgment result is used to indicate that the test power is less than the target power;
[0121] Step S605: When the judgment result indicates that the test power is less than the target power, the target Bluetooth parameter is a third Bluetooth parameter, and the third Bluetooth parameter corresponding to the judgment result is configured in the first electronic device. When the third Bluetooth parameter is configured in the first electronic device, the test power of the Bluetooth module is within the target power range.
[0122] Exemplarily, since the absolute value of the difference between the power included in the target power range and the target power is the preset threshold, therefore, when the target power is 16 decibels, the preset threshold is set to 2 decibels, and the target power range refers to the power between 14 decibels and 18 decibels. If the test power is not within the target power range, it is determined whether the test power is within the second power range. Since the minimum value of the preset range is the preset threshold, i.e., 2 decibels, and the maximum value of the preset range is set to 3 decibels, the difference between the target power and the power included in the second power range is within the preset range, and the first power range is between 13 decibels and 14 decibels. Therefore, when the test power is not between 14 decibels and 18 decibels, determine whether the test power is between 13 decibels and 14 decibels. If the test power is between 13 decibels and 14 decibels, obtain a judgment result, and the judgment result indicates that the test power is less than the target power. At this time, according to the judgment result, determine that the target Bluetooth parameter is the third Bluetooth parameter, and configure the third Bluetooth parameter corresponding to the judgment result in the first electronic device. When the third Bluetooth parameter is configured in the first electronic device, the test power will be enhanced, so that the test power of the Bluetooth module of the electronic device returns to the target power range, that is, between 14 decibels and 18 decibels.
[0123] Optionally, when the preset threshold is 2 decibels and the maximum value of the preset range is 3 decibels, the power at which the third Bluetooth parameter can be enhanced is 1 decibel.
[0124] In this method, by further limiting the power range in which the test power is located, the device can finely adjust the power of the Bluetooth device according to the target power range, the preset threshold, the first power range or the second power range and the preset range, etc., which can not only shorten the Bluetooth threshold as needed, but also automatically optimize the Bluetooth power configuration according to the real-time test power, thereby improving the adaptability and stability of the device.
[0125] In some embodiments, before step S101, that is, when the first electronic device configures the first Bluetooth parameter, before obtaining the test power of the Bluetooth module, the method further includes obtaining at least three sets of Bluetooth parameters, namely:
[0126] Debug the second electronic device, obtain the Bluetooth parameters of the Bluetooth module of the second electronic device at each test power, and obtain the first Bluetooth parameter, the second Bluetooth parameter and the third Bluetooth parameter; wherein each test power includes a target power, a first test power less than the target power and a second test power greater than the target power.
[0127] For a more detailed explanation of this step, see Figure 7 , Figure 7 A flowchart of another Bluetooth power calibration method provided in an embodiment of the present application, the flowchart at least includes the following steps S701-S704:
[0128] Step S701: Debugging the second electronic device, obtaining Bluetooth parameters of the Bluetooth module of the second electronic device at various test powers, and obtaining a first Bluetooth parameter, a second Bluetooth parameter, and a third Bluetooth parameter;
[0129] Each test power includes a target power, a first test power that is smaller than the target power, and a second test power that is larger than the target power.
[0130] Step S702: acquiring the test power of the Bluetooth module when the first electronic device is configured with a first Bluetooth parameter;
[0131] Step S703: determining whether the test power is within the target power range, the absolute value of the difference between the power included in the target power range and the target power being the preset threshold, and if the test power is within the target power range, the Bluetooth module passes the test of the production line calibration tool;
[0132] Step S704: when the test power is not within the target power range, determining whether the test power is greater than the target power, and obtaining a determination result;
[0133] Step S705: configuring the target Bluetooth parameters corresponding to the judgment result in the first electronic device. When the target Bluetooth parameters are configured in the first electronic device, the test power of the Bluetooth module is within the target power range, that is:
[0134] When the judgment result indicates that the test power is greater than the target power, the target Bluetooth parameter is the second Bluetooth parameter, and the second Bluetooth parameter corresponding to the judgment result is configured in the first electronic device. When the second Bluetooth parameter is configured in the first electronic device, the test power of the Bluetooth module is within the target power range.
[0135] When the judgment result indicates that the test power is less than the target power, the target Bluetooth parameter is a third Bluetooth parameter, and the third Bluetooth parameter corresponding to the judgment result is configured in the first electronic device. When the third Bluetooth parameter is configured in the first electronic device, the test power of the Bluetooth module is within the target power range.
[0136] Exemplarily, before calibrating the Bluetooth power of all devices, some devices of the same series of products are debugged according to the needs to obtain at least three sets of Bluetooth parameters, so that when the first Bluetooth parameter is configured on the Bluetooth module of the device, the test power of the device can be obtained as the Bluetooth power, and when the second Bluetooth parameter is configured on the Bluetooth module of the device, the test power of the device is obtained as the first test power less than the target power. Therefore, when testing other products of the same series, if the test power of other devices is measured to be greater than the target power, the second Bluetooth test power is configured on the other devices, thereby reducing the test power of the other devices and returning them to the target power range. Similarly, when the third Bluetooth parameter is configured on the Bluetooth module of the device, the test power of the device is obtained as the second test power greater than the target power. Therefore, when testing other products of the same series, if the test power of other devices is measured to be less than the target power, the third Bluetooth test power is configured on the other devices, thereby enhancing the test power of the other devices and returning them to the target power range.
[0137] This application discloses a production line calibration tool, see Figure 8 , Figure 8 A schematic diagram of a production line calibration tool disclosed in an embodiment of the present application includes a test module 81, a judgment module 82 and a configuration module 83, wherein the test module 81 is connected to the judgment module 82, and the judgment module 82 is connected to the configuration module 83.
[0138] A test module 81, configured to obtain a test power of the Bluetooth module when the first electronic device is configured with a first Bluetooth parameter;
[0139] A judgment module 82, used to judge whether the test power is within the target power range, the absolute value of the difference between the power included in the target power range and the target power is the preset threshold, and, when the test power is not within the target power range, to judge whether the test power is greater than the target power, and obtain a judgment result;
[0140] A configuration module 83, configured to configure a target Bluetooth parameter corresponding to the judgment result in the first electronic device, and when the target Bluetooth parameter is configured in the first electronic device, the test power of the Bluetooth module is within a target power range;
[0141] Among them, when the judgment result indicates that the test power is greater than the target power, the target Bluetooth parameter is the second Bluetooth parameter; when the judgment result indicates that the test power is less than the target power, the target Bluetooth parameter is the third Bluetooth parameter, and the second Bluetooth parameter is different from the third Bluetooth parameter.
[0142] The present application embodiment discloses an electronic device. Fig. 9 , Fig. 9 A schematic diagram of an electronic device provided in an embodiment of the present application includes a memory 91 and a processor 92, wherein the memory 91 stores a computer program that can be run on the processor 92, and the processor 92 implements the steps of any of the above-mentioned Bluetooth power detection methods when executing the computer program.
[0143] An embodiment of the present application discloses a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned Bluetooth power detection methods are implemented.
[0144] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes in the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a ROM, etc.
[0145] As used herein, any reference to memory, storage, database, or other medium may include nonvolatile and / or volatile memory. Suitable nonvolatile memory may include ROM, programmable ROM (Programmable ROM, PROM), erasable PROM (Erasable PROM, EPROM), electrically erasable PROM (Electrically Erasable PROM, EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. By way of illustration and not limitation, RAM may be in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus direct RAM (RDRAM) and direct memory bus dynamic RAM (DRDRAM).
[0146] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.
[0147] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0148] The units described above 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.
[0149] 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.
[0150] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.
[0151] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0152] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0153] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0154] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0155] The Bluetooth power calibration method disclosed in the embodiment of the present application is introduced in detail above. The principle and implementation method of the present application are explained in detail using specific examples in this article. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present application.
Claims
1. A Bluetooth power calibration method, characterized in that: Applied to a production line calibration tool, the production line calibration tool is used to calibrate the signal transmission power of a Bluetooth module in a first electronic device, the method comprising: When the first electronic device is configured with a first Bluetooth parameter, obtaining a test power of the Bluetooth module, and determining whether the test power is within a target power range, wherein an absolute value of a difference between a power included in the target power range and the target power is a preset threshold; In the case where the test power is not within the target power range, determining whether the test power is greater than the target power to obtain a determination result; The target Bluetooth parameter corresponding to the judgment result is configured in the first electronic device. When the target Bluetooth parameter is configured in the first electronic device, the test power of the Bluetooth module is within the target power range.
2. The method according to claim 1, characterized in that The production line calibration tool stores at least three sets of Bluetooth parameters, or the first electronic device stores at least three sets of Bluetooth parameters, the at least three sets of Bluetooth parameters include the first Bluetooth parameters, the second Bluetooth parameters and the third Bluetooth parameters, When the judgment result indicates that the test power is greater than the target power, the target Bluetooth parameter is the second Bluetooth parameter; when the judgment result indicates that the test power is less than the target power, the target Bluetooth parameter is the third Bluetooth parameter, and the second Bluetooth parameter is different from the third Bluetooth parameter.
3. The method according to claim 2, characterized in that The step of configuring the target Bluetooth parameter corresponding to the judgment result in the first electronic device includes: In a case where the production line calibration tool stores at least three sets of Bluetooth parameters, the target Bluetooth parameters are sent to the first electronic device, so that the first electronic device configures the Bluetooth module according to the target Bluetooth parameters; or In the case that the first electronic device stores at least three sets of Bluetooth parameters, a feedback signal is sent to the first electronic device, wherein the feedback signal includes indication information for indicating the target Bluetooth parameters, so that the first electronic device, upon receiving the feedback signal, calls the target Bluetooth parameters and configures the Bluetooth module according to the target Bluetooth parameters.
4. The method according to claim 3, characterized in that Before sending the feedback signal to the first electronic device, the method further includes: Determining target storage information corresponding to the judgment result according to the storage information of the at least three sets of Bluetooth parameters in the first electronic device and the mapping relationship between the at least three sets of Bluetooth parameters; The feedback signal is generated according to the target storage information.
5. The method according to claim 2, characterized in that: When the test power is not within the target power range, determining whether the test power is greater than the target power to obtain a determination result includes: In the case that the test power is not within the target power range, determining whether the test power is within a first power range, a difference between the power included in the first power range and the target power is within a preset range, and a minimum value of the preset range is the preset threshold; In a case where the test power is within the first power range, the judgment result is acquired, where the judgment result is used to indicate that the test power is greater than the target power.
6. The method according to claim 2, characterized in that When the test power is not within the target power range, determining whether the test power is greater than the target power to obtain a determination result includes: In the case where the test power is not within the target power range, determining whether the test power is within a second power range, a difference between the target power and the power included in the second power range is within a preset range, and a minimum value of the preset range is the preset threshold; In a case where the test power is within the second power range, the judgment result is acquired, where the judgment result is used to indicate that the test power is less than the target power.
7. The method according to any one of claims 1 to 4, characterized in that: In the case where the first electronic device is configured with the first Bluetooth parameter, before acquiring the test power of the Bluetooth module, the method further includes: Debug the second electronic device, obtain the Bluetooth parameters of the Bluetooth module of the second electronic device at each test power, and obtain the first Bluetooth parameter, the second Bluetooth parameter and the third Bluetooth parameter; wherein the each test power includes the target power, a first test power less than the target power and a second test power greater than the target power.
8. A production line calibration tool, the production line calibration tool is used to calibrate the signal transmission power of a Bluetooth module in a first electronic device, the production line calibration tool comprises a test module, a judgment module and a configuration module, wherein: The test module is used to obtain the test power of the Bluetooth module when the first electronic device is configured with a first Bluetooth parameter; The judgment module is used to judge whether the test power is within the target power range, the absolute value of the difference between the power included in the target power range and the target power is a preset threshold, and is used to judge whether the test power is greater than the target power when the test power is not within the target power range to obtain a judgment result; The configuration module is used to configure the target Bluetooth parameter corresponding to the judgment result in the first electronic device. When the target Bluetooth parameter is configured in the first electronic device, the test power of the Bluetooth module is within the target power range.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.