CN108199789B - Bluetooth signal adjusting method, device, test terminal, system and readable medium - Google Patents

Bluetooth signal adjusting method, device, test terminal, system and readable medium Download PDF

Info

Publication number
CN108199789B
CN108199789B CN201711415508.8A CN201711415508A CN108199789B CN 108199789 B CN108199789 B CN 108199789B CN 201711415508 A CN201711415508 A CN 201711415508A CN 108199789 B CN108199789 B CN 108199789B
Authority
CN
China
Prior art keywords
power
terminal
bluetooth signal
tested
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201711415508.8A
Other languages
Chinese (zh)
Other versions
CN108199789A (en
Inventor
雷宏斌
陈丽君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711415508.8A priority Critical patent/CN108199789B/en
Publication of CN108199789A publication Critical patent/CN108199789A/en
Application granted granted Critical
Publication of CN108199789B publication Critical patent/CN108199789B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/11Monitoring; Testing of transmitters for calibration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/101Monitoring; Testing of transmitters for measurement of specific parameters of the transmitter or components thereof
    • H04B17/102Power radiated at antenna
    • H04B5/73

Abstract

The application discloses a Bluetooth signal adjusting method, a Bluetooth signal adjusting device, a testing terminal, a Bluetooth signal adjusting system and a readable medium, and belongs to the technical field of communication. The method comprises the following steps: the test terminal sends a transmitting instruction to the tested terminal to indicate the tested terminal to transmit a Bluetooth signal; acquiring a power value of a Bluetooth signal transmitted by a terminal to be detected and acquired by detection equipment; judging whether the power value meets a preset compensation condition or not; if so, acquiring a power difference value between the power value and a pre-acquired target power value; and acquiring a power compensation parameter according to the power difference, writing the power compensation parameter into the tested terminal, and indicating the tested terminal to adjust the transmitted Bluetooth signal according to the power compensation parameter when the power compensation parameter is read. And adjusting the transmission power of the Bluetooth signal of the terminal to be detected according to the power difference value, so that the transmitted Bluetooth signal is closer to a target power value, and the power accuracy and consistency of the Bluetooth signal transmitted by the terminal are improved.

Description

Bluetooth signal adjusting method, device, test terminal, system and readable medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a test terminal, a system and a readable medium for adjusting a bluetooth signal.
Background
In the production process of the wireless terminal, the bluetooth generally guarantees the accuracy of the transmitting power of the terminal by calibrating or writing in a fixed calibration compensation value, in the calibration process, the power of each terminal possibly has residual errors during calibration due to differences of environmental interference, temperature, humidity, power supply or RF thimble contact line loss and the like, while the power deviation caused by the hardware difference of the terminal product during batch production cannot be guaranteed by writing in the fixed compensation value, and the accuracy and consistency of the power of the bluetooth signal transmitted by the terminal are too low.
Disclosure of Invention
The application provides a Bluetooth signal adjusting method, a Bluetooth signal adjusting device, a testing terminal, a Bluetooth signal adjusting system and a computer readable medium, and aims to overcome the defects.
In a first aspect, an embodiment of the present application provides a bluetooth signal adjusting method, which is applied to a test system, where the test system includes a detection device, a test terminal, and a terminal under test, and the method includes: the test terminal sends a transmitting instruction to the tested terminal to instruct the tested terminal to transmit a Bluetooth signal; acquiring a power value of the Bluetooth signal transmitted by the terminal to be detected and acquired by the detection equipment; judging whether the power value meets a preset compensation condition or not; if so, acquiring a power difference value between the power value and a pre-acquired target power value; and acquiring a power compensation parameter according to the power difference, writing the power compensation parameter into the tested terminal, and indicating the tested terminal to adjust the transmitted Bluetooth signal according to the power compensation parameter when reading the power compensation parameter.
In a second aspect, an embodiment of the present application further provides a bluetooth signal adjusting method, which is applied to a test system, where the test system includes a test terminal, a detection device, and a terminal under test, and the method includes: the test terminal sends a transmitting instruction to the tested terminal; the tested terminal transmits a Bluetooth signal according to the transmitting instruction; the test terminal acquires a power value of a Bluetooth signal transmitted by the tested terminal and acquired by the detection equipment, judges whether the power value meets a preset compensation condition, acquires a power difference value between the power value and a pre-acquired target power value if the power value meets the preset compensation condition, acquires a power compensation parameter according to the power difference value, and writes the power compensation parameter into the tested terminal; and the tested terminal adjusts the transmitted Bluetooth signal according to the power compensation parameter when reading the power compensation parameter.
In a third aspect, an embodiment of the present application further provides an apparatus for adjusting a terminal bluetooth signal, which is applied to a test terminal of a test system, where the test system further includes a detection device and a terminal to be tested, and the apparatus includes: the device comprises a sending unit, a first acquiring unit, a judging unit, a second acquiring unit and an adjusting unit. And the sending unit is used for sending a sending instruction to the tested terminal and indicating the tested terminal to send the Bluetooth signal. And the first acquisition unit is used for acquiring the power value of the Bluetooth signal transmitted by the terminal to be detected, which is acquired by the detection equipment. And the judging unit is used for judging whether the power value meets a preset compensation condition or not. And the second obtaining unit is used for obtaining a power difference value between the power value and a pre-obtained target power value if the power value meets a preset compensation condition. And the adjusting unit is used for acquiring a power compensation parameter according to the power difference value, writing the power compensation parameter into the tested terminal, and indicating the tested terminal to adjust the transmitted Bluetooth signal according to the power compensation parameter when the power compensation parameter is read.
In a fourth aspect, an embodiment of the present application further provides a test terminal, including a memory and a processor, where the memory is coupled to the processor; the memory stores instructions that, when executed by the processor, cause the processor to: sending a transmitting instruction to the tested terminal, and indicating the tested terminal to transmit a Bluetooth signal; acquiring a power value of the Bluetooth signal transmitted by the terminal to be detected and acquired by the detection equipment; judging whether the power value meets a preset compensation condition or not; if so, acquiring a power difference value between the power value and a pre-acquired target power value; and acquiring a power compensation parameter according to the power difference, writing the power compensation parameter into the tested terminal, and indicating the tested terminal to adjust the transmitted Bluetooth signal according to the power compensation parameter when reading the power compensation parameter.
In a fifth aspect, an embodiment of the present application further provides a test system, including: the device comprises detection equipment, a test terminal and a tested terminal, wherein the detection equipment and the tested terminal are connected with the test terminal. The detection equipment is used for collecting the Bluetooth signal transmitted by the terminal to be detected. The test terminal is used for sending a transmitting instruction to the tested terminal and indicating the tested terminal to transmit a Bluetooth signal; acquiring a power value of the Bluetooth signal transmitted by the terminal to be detected and acquired by the detection equipment; judging whether the power value meets a preset compensation condition or not; if so, acquiring a power difference value between the power value and a pre-acquired target power value; and acquiring a power compensation parameter according to the power difference, and writing the power compensation parameter into the tested terminal. And the tested terminal is used for adjusting the transmitted Bluetooth signal according to the power compensation parameter when the power compensation parameter is read.
In a sixth aspect, the present application also provides a computer-readable medium having program code executable by a processor, where the program code causes the processor to execute the above method.
According to the Bluetooth signal adjusting method, the Bluetooth signal adjusting device, the testing terminal, the system and the readable medium, firstly, an emission instruction is input to the tested terminal, the tested terminal sends the Bluetooth signal according to the instruction, the Bluetooth signal is collected by the detecting equipment, so that the power value of the Bluetooth signal emitted by the tested terminal is obtained and sent to the testing terminal, the testing terminal judges whether the power value meets the preset compensation condition, and if the power value meets the preset compensation condition, the power difference value between the power value and the target power value obtained in advance is obtained. And then acquiring a power compensation parameter according to the power difference, writing the power compensation parameter into the tested terminal, and adjusting the transmitted Bluetooth signal according to the power compensation parameter when the tested terminal reads the power compensation parameter. Therefore, the transmission power of the Bluetooth signal of the tested terminal is adjusted according to the power difference value between the power value of the Bluetooth signal actually transmitted by the tested terminal and the expected target power value, so that the transmitted Bluetooth signal is closer to the target power value, and the power accuracy and consistency of the Bluetooth signal transmitted by the terminal are improved.
Additional features and advantages of embodiments of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of embodiments of the present application. The objectives and other advantages of the embodiments of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 shows a block diagram of a test system provided by an embodiment of the present application;
fig. 2 is a flowchart illustrating a method of adjusting bluetooth signals according to a first embodiment of the present application;
fig. 3 is a flowchart illustrating a method of adjusting bluetooth signals according to a second embodiment of the present application;
fig. 4 is a flowchart illustrating a method of adjusting bluetooth signals according to a third embodiment of the present application;
fig. 5 is a flowchart illustrating a method of adjusting bluetooth signals according to a fourth embodiment of the present application;
fig. 6 shows a block diagram of an adjusting apparatus for bluetooth signals of a terminal according to a fourth embodiment of the present application;
FIG. 7 is a block diagram of a test terminal according to a fourth embodiment of the present application;
fig. 8 shows a schematic structural diagram of a terminal under test provided in an embodiment of the present application;
fig. 9 shows a block diagram of a tested terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, a test system 1 provided in an embodiment of the present application is shown. The test system 1 includes: the device comprises a tested terminal 100, a detection device 200 and a test terminal 300, wherein the detection device 200 and the tested terminal 100 are connected with the test terminal 300, and the tested terminal 100 is connected with the detection device 200.
The terminal 100 to be tested can transmit a bluetooth signal, and a bluetooth transmitting device is arranged in the terminal, and the bluetooth transmitting device can transmit the bluetooth signal corresponding to the transmission parameter according to the preset transmission parameter. Specifically, the method and apparatus provided in the embodiment of the present application are applied to a non-signaling test of a bluetooth transmission signal of a terminal under test, and a paired bluetooth connection is established between the terminal under test 100 and the detection device 200 through the test terminal.
In the embodiment of the present application, the terminal 100 under test may be a mobile terminal device, and for example, may include an electronic device capable of transmitting a bluetooth signal, such as a smart phone, a tablet computer, an e-book reader, a laptop portable computer, a vehicle-mounted computer, and a wearable mobile terminal.
The detection device 200 can receive the bluetooth signal transmitted by the terminal 100 under test and can obtain the power value of the bluetooth signal. Specifically, the detection device 200 may be a radio frequency power meter, a radio frequency signal analyzer, or the like having a radio frequency test instrument that receives a bluetooth signal through an antenna and acquires a power value of the received bluetooth signal according to a predetermined algorithm.
The test terminal 300 is configured to instruct the terminal to be tested to transmit a bluetooth signal by sending an instruction to the terminal to be tested, and can obtain a power value of the bluetooth signal transmitted by the terminal to be tested, which is acquired by the detection device, and adjust the power transmitted by the terminal to be tested according to the power value. Specifically, the test terminal 300 may be a personal computer, and is connected to the terminal to be tested through data lines such as USB and JTAG, and the test terminal 300 is installed with test software, and the test software can obtain a power compensation parameter for adjusting the bluetooth signal transmitted by the terminal to be tested according to the power value of the bluetooth signal transmitted by the terminal to be tested and a preset algorithm. Then, the test terminal 300 writes the power compensation parameter into the terminal under test through the data line. And when the tested terminal reads the power compensation parameter, adjusting the transmitted Bluetooth signal according to the power compensation parameter, wherein the specific adjustment mode is described in detail in the following embodiments.
Referring to fig. 2, in particular, fig. 2 shows a bluetooth signal adjusting method provided in the embodiment of the present application, which is applied to the test system shown in fig. 1, and in particular, a process of the method is described with a test terminal as an execution subject of the method, where the method includes: s201 to S205.
S201: and sending a transmitting instruction to the tested terminal to indicate the tested terminal to transmit a Bluetooth signal.
Specifically, the method and the device provided by the embodiment of the application are applied to a non-signaling test of a bluetooth signal of a tested terminal, and under the non-signaling test, the tested terminal controls the establishment of communication connection between the tested terminal and a detection device through data lines such as a USB or other communication modes, specifically, the tested terminal sets a frequency band and a frequency point of the tested terminal, so that the tested terminal and the detection device establish bluetooth communication connection according to the frequency band and the frequency point. The test terminal controls the tested terminal to transmit the Bluetooth signal by inputting the transmitting instruction to the tested terminal, and the detection device serves as a one-way receiver and can acquire the Bluetooth signal transmitted by the test terminal. The transmission instruction can be input into the terminal under test through a data line such as a USB by the test terminal, and the transmission instruction is used to instruct the terminal under test to transmit a bluetooth signal according to the stored transmission parameters, where the transmission parameters are parameters of each circuit element in the bluetooth transmitting apparatus of the terminal under test, such as a radio frequency gain index or a channel quality index.
In addition, before the test terminal sends the transmission instruction, an initialization operation is required, which specifically includes: loading a Bluetooth target power file, detecting the initialization operation of equipment and controlling a tested terminal to enter a non-signaling test mode, wherein the target power file comprises a target power value which is an expected value that the power of a Bluetooth signal emitted by the tested terminal can be expected to reach, and the testing terminal loads the Bluetooth target power file to obtain the target power value. And the initialization operation of the detection device is to clear the power value stored by the detection device and to set the frequency band of the wireless signal that the detection device is capable of receiving, for example, to the frequency band of a bluetooth signal.
S202: and acquiring the power value of the Bluetooth signal transmitted by the terminal to be detected and acquired by the detection equipment.
After the detection equipment is started or initialized, the received Bluetooth signals can be collected in real time, and power analysis such as Fourier change is carried out on the collected Bluetooth signals so as to obtain the power value of the Bluetooth signals. The detection device sends the power value to the test terminal. Specifically, the power value of the bluetooth signal may be sent to the test terminal after the detection device collects the bluetooth signal sent by the terminal to be tested and analyzes the power value of the bluetooth signal. The detection device may collect the bluetooth signal sent by the terminal to be detected, analyze the power value of the bluetooth signal, and store the power value in the local memory. The test terminal sends an acquisition request to the detection equipment, and the detection equipment sends the power value of the Bluetooth signal to the test terminal after receiving the acquisition request.
S203: and judging whether the power value meets a preset compensation condition.
The preset compensation condition is set according to the expected target power value of the Bluetooth signal of the tested terminal and the power range which the Bluetooth signal of the tested terminal is supposed to reach under the condition of meeting the normal use requirement. Specifically, the manner of determining whether the power value satisfies the preset compensation condition is as follows:
judging whether the power value meets a preset qualified standard or not; if the power value meets the preset qualified standard, judging whether the power difference value between the power value and a preset target power value is within a preset compensation range; and if the power value is within the preset compensation range, judging that the power value meets the preset compensation condition.
Specifically, the preset qualified standard is used for detecting whether the power value of the bluetooth signal transmitted by the device to be tested reaches the qualified standard, and if the power value does not meet the preset qualified standard, the device to be tested is determined to be an unqualified product, and power compensation adjustment of the device to be tested is not needed. If the power value meets the preset qualified standard, the tested terminal is a qualified product, the power of the transmitted Bluetooth signal can meet the requirement of normal use, and the operation of judging whether the power difference value between the power value and the pre-acquired target power value is within the preset compensation range is continuously executed. The predetermined qualified criterion may be set according to a requirement of the transmission power of the bluetooth signal of the terminal under test in actual use, for example, the predetermined qualified criterion is greater than a first power value and less than a second power value, i.e., a range between the first power value and the second power value, where the first power value is a target power value plus a, and the second power value is the target power value minus a, where a may be 2mW, and the first power value is greater than the second power value. It is determined whether the power value is within a range between the first power value and the second power value, and if so, it is determined that the power value satisfies a preset qualification criterion, and if the power value is outside the range between the first power value and the second power value, it is determined that the power value does not satisfy the preset qualification criterion.
And under the condition that the power value meets a preset qualified standard, judging whether the power difference value between the power value and a pre-acquired target power value is within a preset compensation range. The preset compensation range is a criterion for judging whether the transmission power of the bluetooth signal of the terminal to be tested needs to be adjusted. Specifically, the predetermined compensation range is greater than a third power value or less than a fourth power value, the third power value being greater than the fourth power value, for example, the third power value is +0.5mW, and the fourth power value is-0.5 mW. And if the power difference value between the power value and the pre-acquired target power value is within the range between the third power value and the fourth power value, determining that the power difference value is not within the preset compensation range, and if the power difference value is smaller than the fourth power value or larger than the third power value, determining that the power difference value is within the preset compensation range. That is to say, if the absolute value of the power difference is less than 0.5mW, it is determined that the power difference is not within the preset compensation range, that is, the current power value has satisfied the standard, and it is not necessary to adjust the transmission power of the bluetooth signal of the terminal under test, if the absolute value of the power difference is greater than 0.5mW and less than 2mW, it is determined that the power difference is within the preset compensation range, and it is necessary to adjust the transmission power of the bluetooth signal of the terminal under test, so that the power of the bluetooth signal transmitted by the terminal under test can be closer to the target power value.
It should be noted that, in some embodiments, when the power value is determined to meet the preset qualified standard, step S204 may be directly performed, that is, whether the power difference between the power value and the pre-obtained target power value is within the preset compensation range or not, the transmission power of the bluetooth signal of the terminal under test may be adjusted according to the power difference.
S204: and acquiring a power difference value between the power value and a pre-acquired target power value.
And acquiring a power difference value between the power value and a pre-acquired target power value when the power value is judged to meet a preset compensation condition. The target power value is set according to the requirement of the transmission power of the Bluetooth signal of the tested terminal in actual use.
S205: and acquiring a power compensation parameter according to the power difference, writing the power compensation parameter into the tested terminal, and indicating the tested terminal to adjust the transmitted Bluetooth signal according to the power compensation parameter when reading the power compensation parameter.
And converting the power difference value into a power compensation parameter which can be identified by the tested terminal, specifically, converting the power difference value into the power compensation parameter according to the electrical parameter of the Bluetooth transmitting device of the tested terminal which is acquired in advance. The electrical parameter of the bluetooth transmitting apparatus of the terminal to be tested includes a data format that can be recognized by the bluetooth transmitting apparatus of the terminal to be tested, and specifically, may be a format standard of an interface of a chip of the bluetooth transmitting apparatus for received data. For example, the format standard of the data received by the MTK or high-pass chip to its interface is different, for example, the requirement of high-pass is that the data must be a number greater than a certain value, for example, the power difference is-1, then the conversion mode may be-1 × 10+100 to obtain 90, and the obtained power compensation parameter is 90.
And then, writing the power compensation parameter into the tested terminal, instructing the tested terminal to adjust the transmission parameter of the Bluetooth transmitting device according to the power compensation parameter when reading the power compensation parameter, and transmitting a Bluetooth signal according to the adjusted transmission parameter. The transmission power of the bluetooth signal transmitted by the tested terminal is related to the transmission parameter of the bluetooth transmitting device, wherein the transmission parameter can be a radio frequency gain index or a channel quality index, and the like, and a compensation algorithm is arranged in the tested terminal, and the transmission parameter can be adjusted by utilizing the power compensation parameter according to the compensation algorithm, so that the transmitted bluetooth signal is adjusted.
It should be noted that, after the test terminal writes the power compensation parameter into the tested terminal, the tested terminal stores the power compensation parameter, when the bluetooth signal is transmitted, it is read first whether the power compensation parameter is stored, and if the power compensation parameter can be read, the transmitted bluetooth signal is adjusted according to the power compensation parameter.
In some embodiments, the power compensation parameter is set reasonably, so that the terminal to be tested can directly adjust the transmitted bluetooth signal to be close to the target power value according to the power compensation parameter obtained this time, that is, within the preset compensation range, that is, no readjustment is needed.
In other embodiments, after the power compensation parameter is written into the terminal to be tested, the terminal to be tested is controlled to transmit the bluetooth signal again, and whether the power value meets the preset compensation condition is determined again, and multiple iterations are performed to make the power value transmitted by the terminal to be tested continuously approach the target power value, i.e. under the condition that the power value meets the preset qualified condition, the power difference value can be located outside the preset compensation range finally, and power adjustment is not needed any more.
Specifically, referring to fig. 3, fig. 3 shows a bluetooth signal adjustment method provided in the embodiment of the present application, which is applied to the test system shown in fig. 1, and specifically, a process of the method is described with a test terminal as an execution subject of the method, where the method includes: s301 to S311.
S301: and sending a transmitting instruction to the tested terminal to indicate the tested terminal to transmit a Bluetooth signal.
S302: and acquiring the power value of the Bluetooth signal transmitted by the terminal to be detected and acquired by the detection equipment.
S303: and judging whether the power value meets a preset qualified standard.
S304: and judging whether the power difference value between the power value and the pre-acquired target power value is within a preset compensation range.
S305: and judging whether the power difference value obtained last time is stored.
The power difference value obtained by the test terminal every time is correspondingly stored in the history obtaining record, and whether the power difference value obtained this time is obtained for the first time is judged according to the history obtaining record, namely whether the power difference value obtained last time is stored is judged.
S306: and summing the power difference obtained last time and the power difference obtained this time to obtain an accumulated power difference.
When it is determined that the power difference value acquired last time is not acquired for the first time, that is, it is determined that the power difference value acquired last time is stored, the power difference value acquired last time and the power difference value acquired this time are summed to obtain an accumulated power difference value. For example, if the stored power difference value obtained last time is a and the power difference value obtained this time is B, the accumulated power difference value is a + B.
S307: and taking the accumulated power difference value as the power difference value obtained at this time and storing the power difference value.
The accumulated power difference, for example, a + B described above, is used as the power difference acquired this time and is stored in the corresponding history acquisition record.
Specifically, the following table is stored:
reference numerals Obtained by After accumulation Stored
1 A A A
2 B A+B A+B
3 C A+B+C A+B+C
Where the reference numeral is used to indicate the number of times, for example, reference numeral 1 indicates the power difference value obtained for the first time, and reference numeral 3 indicates the power difference value obtained for the third time, then the value in the column of "stored" is recorded as the corresponding stored power difference value for the time, for example, the power difference value stored for the first time is a, and the power difference value stored for the third time is a + B + C. According to the table, whether the power difference value is stored before the current time can be judged, and the power difference value stored before can be obtained.
S308: and converting the power difference value into a power compensation parameter according to the electric parameter of the Bluetooth transmitting device of the tested terminal, which is acquired in advance.
S309: and sending the power compensation parameter to the tested terminal, indicating the tested terminal to adjust the transmission parameter of the Bluetooth transmitting device according to the power compensation parameter when reading the power compensation parameter, and transmitting a Bluetooth signal according to the adjusted transmission parameter.
S310: and clearing the power compensation parameters stored in the tested terminal.
And under the condition that the judgment power value does not meet the preset qualified standard, judging that the tested terminal is unqualified, and returning the tested terminal to the calibration link to perform calibration operation again. The power compensation parameters stored in the terminal under test are deleted, where the power compensation parameters input by the calibration step are stored in the terminal under test, and also include the power compensation parameters written in the process of adjusting the bluetooth signal of the terminal under test, and these power compensation parameters are the reasons that the power value does not meet the preset qualified standard, so that it is necessary to return to the calibration step after clearing all the power compensation parameters, that is, S311 is executed.
S311: and executing recalibration operation to write a preset initial power compensation parameter into the tested terminal, wherein the preset initial power compensation parameter is used for adjusting the power parameter of the Bluetooth signal transmitted by the tested terminal to meet a preset qualified standard.
Wherein the initial power compensation parameter is preset, i.e. the inherent power compensation parameter input in the calibration operation. The calibration operation is to calibrate certain specific frequency points of the Bluetooth transmitting signals of the tested terminal in the production process of the tested terminal, then generate certain preset initial power compensation parameters through certain algorithms and temperature compensation algorithms, and write the preset initial power compensation parameters into the tested terminal. However, in the calibration operation, the calibration is inaccurate due to the contact of the thimble or the influence of inaccurate temperature or line loss compensation of a production line or the difference of the algorithm, so that the power value of the bluetooth signal actually transmitted by the terminal to be tested cannot meet the preset qualified standard.
Therefore, in the case that the power value is judged not to satisfy the preset qualified standard, the calibration operation is executed again, namely, the power compensation parameters causing the power value not to satisfy the preset qualified standard are deleted, and the preset initial power compensation parameters are input again, so as to adjust the power value of the bluetooth signal transmitted by the tested terminal to satisfy the preset qualified standard, wherein the newly input preset initial power compensation parameters are generated in the calibration operation, and the algorithm in the calibration operation is adjusted to input new preset initial power compensation parameters again so as to enable the power value of the bluetooth signal transmitted by the tested terminal to satisfy the preset qualified standard in the case that the transmission power of the bluetooth signal of the tested terminal does not satisfy the preset qualified standard based on the previously input preset initial power compensation.
It should be noted that, after the preset initial power compensation parameter is written in, it may be determined again whether the power value of the bluetooth signal transmitted by the terminal to be tested meets the preset qualified standard, and if the power value of the bluetooth signal transmitted by the terminal to be tested is still unqualified, the power compensation parameter stored in the terminal to be tested is cleared again, and the recalibration operation is performed again until the power value of the bluetooth signal transmitted by the terminal to be tested meets the preset qualified standard. Further, the number of times of executing the recalibration operation is recorded, and when the number of times is equal to a preset upper limit value, the power compensation parameter stored in the tested terminal is not cleared and the recalibration operation is not executed any more, and the tested terminal is judged to be a defective product and is discarded.
It should be noted that, for the parts not described in detail in the above steps, reference may be made to the foregoing embodiments, and details are not described herein again.
In addition, considering that, when a plurality of iterations are performed to make a difference between a power value of a bluetooth signal transmitted by a terminal under test and a target power value meet a requirement, that is, the power value meets a preset qualification standard, and a power difference between the power value and a target power value obtained in advance is outside a preset compensation range, if the number of iterations is too large, a stress is imposed on a test system, a test resource is excessively occupied, and a cost is excessively increased, so that a limitation needs to be imposed on the number of iterations, specifically, referring to fig. 4, fig. 4 shows a bluetooth signal adjustment method provided by an embodiment of the present application, which is applied to the test system shown in fig. 1, and specifically, a process of the method is described by taking a test terminal as an execution subject of the method, the method includes: s401 to S413.
S401: and sending a transmitting instruction to the tested terminal to indicate the tested terminal to transmit a Bluetooth signal.
S402: and acquiring the power value of the Bluetooth signal transmitted by the terminal to be detected and acquired by the detection equipment.
S403: and judging whether the power value meets a preset qualified standard.
S404: and searching the write-in times of the current write-in of the power compensation parameter to the tested terminal according to a pre-stored power compensation parameter sending record.
And if the preset qualified standard is met, searching the write-in times of currently sending the power compensation parameter to the tested terminal according to a prestored power compensation parameter sending record. The power offset parameter transmission record records the power offset parameter for each transmission and records the number of transmissions.
S405: and judging whether the searched writing times exceed the preset times.
The preset number of times is set according to actual use, when the searched writing number of times exceeds the preset number of times, the operation is ended, and when the searched writing number of times does not exceed the preset number of times, the operation of S406 is executed. For example, after the power compensation parameter is written into the tested terminal, the number of writing times is recorded as K, the power value of the bluetooth signal, which is acquired by the tested terminal and adjusted by the testing device according to the power compensation parameter, is obtained again, whether the power value meets the preset qualified standard is judged, if yes, whether K exceeds the preset number of times is judged, if yes, the operation is ended, and then the transmitting power of the transmitted bluetooth signal is adjusted according to the power compensation parameter when the tested terminal reads the power compensation parameter written at the kth time. That is, it can be considered that after K times of adjustment, the power compensation parameter inputted for the K time can be considered, and the transmission power of the bluetooth signal transmitted by the terminal to be tested can approach the target power value, so as to meet the use requirement.
S406: and judging whether the power difference value is within a preset compensation range.
S407: and judging whether the power difference value obtained last time is stored.
S408: and summing the power difference obtained last time and the power difference obtained this time to obtain an accumulated power difference.
S409: and taking the accumulated power difference value as the power difference value obtained at this time and storing the power difference value.
S410: and converting the power difference value into a power compensation parameter according to the electric parameter of the Bluetooth transmitting device of the tested terminal, which is acquired in advance.
S411: and sending the power compensation parameter to the tested terminal, indicating the tested terminal to adjust the transmission parameter of the Bluetooth transmitting device according to the power compensation parameter when reading the power compensation parameter, and transmitting a Bluetooth signal according to the adjusted transmission parameter.
And after the power compensation parameter is sent to the tested terminal, changing the writing times in the power compensation parameter sending record from K to K + 1.
S412: and clearing the power compensation parameters stored in the tested terminal.
S413: and executing recalibration operation to write a preset initial power compensation parameter into the tested terminal, wherein the preset initial power compensation parameter is used for adjusting the power parameter of the Bluetooth signal transmitted by the tested terminal to meet a preset qualified standard.
It should be noted that, for the parts not described in detail in the above steps, reference may be made to the foregoing embodiments, and details are not described herein again.
Referring to fig. 5, fig. 5 shows a bluetooth signal adjusting method provided by an embodiment of the present application, which is applied to the test system shown in fig. 1, and specifically, the method is an interaction process between devices in the test system, and the method includes: s501 to S507.
S501: and the test terminal sends a transmitting instruction to the tested terminal.
S502: and the tested terminal transmits the Bluetooth signal according to the transmitting instruction.
S503: and the test terminal acquires the power value of the Bluetooth signal transmitted by the tested terminal and acquired by the detection equipment.
S504: and the test terminal judges whether the power value meets a preset compensation condition.
S505: and the test terminal acquires a power difference value between the power value and a pre-acquired target power value.
S506: and the test terminal acquires a power compensation parameter according to the power difference value and writes the power compensation parameter into the tested terminal.
S507: and the tested terminal adjusts the transmitted Bluetooth signal according to the power compensation parameter when reading the power compensation parameter.
It should be noted that, for the parts not described in detail in the above steps, reference may be made to the foregoing embodiments, and details are not described herein again.
Referring to fig. 6, fig. 6 shows an apparatus 600 for adjusting a terminal bluetooth signal according to an embodiment of the present application, which is applied to the test system shown in fig. 1, and in particular, the apparatus is applied to a test terminal, and the apparatus includes: a transmitting unit 601, a first acquiring unit 602, a judging unit 603, a second acquiring unit 604, and an adjusting unit 605.
A sending unit 601, configured to send a sending instruction to the terminal to be tested, and instruct the terminal to be tested to send a bluetooth signal.
A first obtaining unit 602, configured to obtain a power value of the bluetooth signal transmitted by the terminal to be tested, where the power value is collected by the detecting device.
A determining unit 603, configured to determine whether the power value satisfies a preset compensation condition.
A second obtaining unit 604, configured to obtain a power difference between the power value and a pre-obtained target power value if the power value meets a preset compensation condition.
An adjusting unit 605, configured to obtain a power compensation parameter according to the power difference, write the power compensation parameter into the terminal to be tested, and instruct the terminal to be tested to adjust the transmitted bluetooth signal according to the power compensation parameter when the power compensation parameter is read.
Further, the device also comprises a clearing unit, a recalibration unit and a time judgment unit.
And the clearing unit is used for clearing the power compensation parameter stored in the tested terminal if the power value does not meet the preset qualified standard.
And the recalibration unit is used for executing recalibration operation so as to write a preset initial power compensation parameter into the tested terminal, wherein the preset initial power compensation parameter is used for adjusting the power parameter of the Bluetooth signal transmitted by the tested terminal to meet a preset qualified standard.
The frequency judging unit is used for sending records according to pre-stored power compensation parameters and searching the current write-in frequency of writing the power compensation parameters into the tested terminal if the preset qualified standard is met; judging whether the searched writing times exceed preset times or not; if the number of times does not exceed the preset number of times, judging whether the power difference value is within a preset compensation range; if the number of times exceeds the preset number, the method is ended.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 7, a test terminal is provided based on the above method and apparatus. The test terminal 300 comprises a memory 320 and a processor 310, said memory 320 being coupled to said processor 310; the memory 320 stores instructions that, when executed by the processor 310, cause the processor 310 to perform the above-described method.
The memory 320 may be used to store software programs and modules, and the processor 310 executes various functional applications and data processing by operating the software programs and modules stored in the memory 320. The memory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 320 may further include memory located remotely from the processor 310, which may be connected to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Referring to fig. 8 again, based on the above method and apparatus, the present embodiment further provides a terminal under test 100, which includes an electronic body 10, where the electronic body 10 includes a housing 12 and a main display 120 disposed on the housing 12. The housing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, the main display 120 generally includes a display panel 111, and may also include a circuit or the like for responding to a touch operation performed on the display panel 111. The Display panel 111 may be a Liquid Crystal Display (LCD) panel, and in some embodiments, the Display panel 111 is a touch screen 109.
Referring to fig. 9, in an actual application scenario, the terminal 100 to be tested may be used as a smart phone terminal, in which case the electronic body 10 generally further includes one or more processors 102 (only one is shown in the figure), a memory 104, an RF (Radio Frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, and a power module 122. It will be understood by those skilled in the art that the structure shown in fig. 9 is merely illustrative and is not intended to limit the structure of the electronic body 10. For example, the electronics body section 10 may also include more or fewer components than shown in FIG. 9, or have a different configuration than shown in FIG. 8.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 102, and the processor 102 is coupled to the peripheral devices through a plurality of peripheral interfaces 124. The peripheral interface 124 may be implemented based on the following criteria: universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but the present invention is not limited to these standards. In some examples, the peripheral interface 124 may comprise only a bus; in other examples, the peripheral interface 124 may also include other elements, such as one or more controllers, for example, a display controller for interfacing with the display panel 111 or a memory controller for interfacing with a memory. These controllers may also be separate from the peripheral interface 124 and integrated within the processor 102 or a corresponding peripheral.
The memory 104 may be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the electronic body portion 10 or the primary display 120 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The RF module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF module 106 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Mobile Communication (Enhanced Data GSM Environment, EDGE), wideband Code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (WiFi) (e.g., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE 802.10A, IEEE802.11 b, IEEE802.1 g, and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for Wireless Communication), Wi-11 Wireless Access (wimax), and any other suitable protocol for instant messaging, and may even include those protocols that have not yet been developed.
The audio circuitry 110, earpiece 101, sound jack 103, microphone 105 collectively provide an audio interface between a user and the electronic body portion 10 or the main display 120. Specifically, the audio circuit 110 receives sound data from the processor 102, converts the sound data into an electrical signal, and transmits the electrical signal to the earpiece 101. The earpiece 101 converts the electrical signal into sound waves that can be heard by the human ear. The audio circuitry 110 also receives electrical signals from the microphone 105, converts the electrical signals to sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be retrieved from the memory 104 or through the RF module 106. In addition, audio data may also be stored in the memory 104 or transmitted through the RF module 106.
The sensor 114 is disposed in the electronic body portion 10 or the main display 120, examples of the sensor 114 include, but are not limited to: light sensors, operational sensors, pressure sensors, gravitational acceleration sensors, and other sensors.
Specifically, the light sensors may include a light sensor 114F, a pressure sensor 114G. Among them, the pressure sensor 114G may detect a pressure generated by pressing the terminal under test 100. That is, the pressure sensor 114G detects pressure generated by contact or pressing between the user and the mobile terminal, for example, contact or pressing between the user's ear and the mobile terminal. Accordingly, the pressure sensor 114G may be used to determine whether contact or pressing has occurred between the user and the terminal under test 100, and the magnitude of the pressure.
Referring to fig. 8 again, in the embodiment shown in fig. 8, the light sensor 114F and the pressure sensor 114G are disposed adjacent to the display panel 111. The light sensor 114F may turn off the display output when an object is near the main display 120, for example, when the electronic body portion 10 moves to the ear.
As one of the motion sensors, the gravitational acceleration sensor may detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), and the like, for recognizing the attitude of the terminal 100 under test. In addition, the electronic body 10 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a thermometer, which are not described herein,
in this embodiment, the input module 118 may include the touch screen 109 disposed on the main display 120, and the touch screen 109 may collect touch operations of the user (for example, operations of the user on or near the touch screen 109 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Optionally, the touch screen 109 may include a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch screen 109 may be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave.
The main display 120 is used to display information input by a user, information provided to the user, and various graphic user interfaces of the electronic body section 10, which may be composed of graphics, text, icons, numbers, video, and any combination thereof, and in one example, the touch screen 109 may be provided on the display panel 111 so as to be integrated with the display panel 111.
The power module 122 is used to provide power supply to the processor 102 and other components. Specifically, the power module 122 may include a power management system, one or more power sources (e.g., batteries or ac power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components associated with the generation, management, and distribution of power within the electronic body portion 10 or the primary display 120.
The terminal under test 100 further comprises a locator 119, and the locator 119 is configured to determine an actual location of the terminal under test 100. In this embodiment, the locator 119 implements the positioning of the terminal 100 by using a positioning service, which is understood to be a technology or a service for obtaining the position information (e.g., longitude and latitude coordinates) of the terminal 100 by using a specific positioning technology and marking the position of the object to be positioned on the electronic map.
It should be understood that the above-described terminal under test 100 is not limited to a smartphone terminal, but it should refer to a computer device that can be used in mobility. Specifically, the terminal 100 to be tested refers to a mobile computer device equipped with an intelligent operating system, and the terminal 100 to be tested includes, but is not limited to, a smart phone, a smart watch, a tablet computer, and the like.
To sum up, according to the bluetooth signal adjustment method, apparatus, test terminal, system, and computer readable medium provided in this embodiment of the present application, an emission instruction is first input to a terminal to be tested, the terminal to be tested sends a bluetooth signal according to the instruction, and the bluetooth signal is collected by a detection device, so that a power value of the bluetooth signal emitted by the terminal to be tested is obtained and sent to the test terminal, and the test terminal determines whether the power value meets a preset compensation condition, and if so, obtains a power difference between the power value and a target power value obtained in advance. And then acquiring a power compensation parameter according to the power difference, writing the power compensation parameter into the tested terminal, and adjusting the transmitted Bluetooth signal according to the power compensation parameter when the tested terminal reads the power compensation parameter. Therefore, the transmission power of the Bluetooth signal of the tested terminal is adjusted according to the power difference value between the power value of the Bluetooth signal actually transmitted by the tested terminal and the expected target power value, so that the transmitted Bluetooth signal is closer to the target power value, and the power accuracy and consistency of the Bluetooth signal transmitted by the terminal are improved. And finally, adjusting the transmission power of the Bluetooth signal of the tested terminal to be within the range of the target power value. Through the processing, the Bluetooth transmitting power of the terminal produced in batch can be ensured to be more accurate and more consistent, and the power consumption of the terminal product can be reduced and the quality of the terminal can be ensured.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (mobile terminal) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments. In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (8)

1. A Bluetooth signal adjusting method is applied to a test system, wherein the test system comprises a detection device, a test terminal and a tested terminal, and the method comprises the following steps:
the test terminal sends a transmitting instruction to the tested terminal to instruct the tested terminal to transmit a Bluetooth signal;
acquiring a power value of the Bluetooth signal transmitted by the terminal to be detected and acquired by the detection equipment;
judging whether the power value meets a preset qualified standard, wherein the preset qualified standard is used for detecting whether the tested equipment is a qualified product;
if the power value meets the preset qualified standard, judging whether the power difference value between the power value and the target power value is within a preset compensation range;
if the power value is within the preset compensation range, acquiring a power difference value between the power value and a pre-acquired target power value;
acquiring a power compensation parameter according to the power difference, writing the power compensation parameter into the tested terminal, and indicating the tested terminal to adjust the transmitted Bluetooth signal according to the power compensation parameter when the power compensation parameter is read;
if the preset qualified standard is not met, clearing the stored power compensation parameters in the tested terminal, wherein the stored power compensation parameters comprise the power compensation parameters which are input when the calibration operation is executed before the current adjusting method is executed in the tested terminal and the power compensation parameters which are written when the adjusting method is executed before the current adjusting method is executed;
and adjusting the algorithm of the calibration operation, executing the adjusted calibration operation to write a preset initial power compensation parameter into the tested terminal, returning to execute the test terminal to send a control instruction to the detection equipment and performing subsequent operations, wherein the preset initial power compensation parameter is used for adjusting the power parameter of the Bluetooth signal transmitted by the tested terminal to meet a preset qualified standard.
2. The method of claim 1, wherein obtaining the power difference between the power value and a pre-obtained target power value comprises:
judging whether the power difference value obtained last time is stored;
if so, summing the power difference obtained last time and the power difference obtained this time to obtain an accumulated power difference;
and taking the accumulated power difference value as the power difference value obtained at this time and storing the power difference value.
3. The method according to claim 1 or 2, wherein the obtaining a power compensation parameter according to the power difference, writing the power compensation parameter into the terminal under test, and instructing the terminal under test to adjust the transmitted bluetooth signal according to the power compensation parameter when the power compensation parameter is read comprises:
converting the power difference value into a power compensation parameter according to the electric parameter of the Bluetooth transmitting device of the tested terminal acquired in advance;
and sending the power compensation parameter to the tested terminal, indicating the tested terminal to adjust the transmission parameter of the Bluetooth transmitting device according to the power compensation parameter when reading the power compensation parameter, and transmitting a Bluetooth signal according to the adjusted transmission parameter.
4. A Bluetooth signal adjusting method is applied to a test system, wherein the test system comprises a test terminal, a detection device and a tested terminal, and the method comprises the following steps:
the test terminal sends a transmitting instruction to the tested terminal;
the tested terminal transmits a Bluetooth signal according to the transmitting instruction;
the test terminal acquires a power value of a Bluetooth signal transmitted by the tested terminal and acquired by the detection equipment, judges whether the power value meets a preset qualified standard, the preset qualified standard is used for detecting whether the tested equipment is a qualified product, judges whether a power difference value between the power value and a target power value is within a preset compensation range if the preset qualified standard is met, acquires a power difference value between the power value and a preset target power value if the preset qualified standard is within the preset compensation range, acquires a power compensation parameter according to the power difference value, and writes the power compensation parameter into the tested terminal; if the preset qualified standard is not met, clearing the stored power compensation parameters in the tested terminal, wherein the stored power compensation parameters comprise the power compensation parameters which are input when the calibration operation is executed before the current adjusting method is executed in the tested terminal and the power compensation parameters which are written when the adjusting method is executed before the current adjusting method is executed; adjusting an algorithm of the calibration operation, executing the adjusted calibration operation to write a preset initial power compensation parameter into the tested terminal, and returning to execute the test terminal to send a control instruction to the detection device and perform subsequent operations, wherein the preset initial power compensation parameter is used for adjusting a power parameter of a Bluetooth signal transmitted by the tested terminal to meet a preset qualified standard;
and the tested terminal adjusts the transmitted Bluetooth signal according to the power compensation parameter when reading the power compensation parameter.
5. The utility model provides an adjusting device of terminal bluetooth signal which characterized in that is applied to test system's test terminal, test system still includes check out test set and terminal under test, the device includes:
the transmitting unit is used for transmitting a transmitting instruction to the tested terminal and indicating the tested terminal to transmit a Bluetooth signal;
the first acquisition unit is used for acquiring the power value of the Bluetooth signal transmitted by the terminal to be detected and acquired by the detection equipment;
the judging unit is used for judging whether the power value meets a preset qualified standard, the preset qualified standard is used for detecting whether the tested equipment is a qualified product, and if the preset qualified standard is met, whether the power difference value between the power value and the target power value is within a preset compensation range is judged; if the preset qualified standard is not met, clearing the stored power compensation parameters in the tested terminal, wherein the stored power compensation parameters comprise the power compensation parameters which are input when the calibration operation is executed before the current adjusting method is executed in the tested terminal and the power compensation parameters which are written when the adjusting method is executed before the current adjusting method is executed; adjusting an algorithm of the calibration operation, executing the adjusted calibration operation to write a preset initial power compensation parameter into the tested terminal, and returning to execute the test terminal to send a control instruction to the detection device and perform subsequent operations, wherein the preset initial power compensation parameter is used for adjusting a power parameter of a Bluetooth signal transmitted by the tested terminal to meet a preset qualified standard;
the second obtaining unit is used for obtaining a power difference value between the power value and a pre-obtained target power value if the power value is within a preset compensation range;
and the adjusting unit is used for acquiring a power compensation parameter according to the power difference value, writing the power compensation parameter into the tested terminal, and indicating the tested terminal to adjust the transmitted Bluetooth signal according to the power compensation parameter when the power compensation parameter is read.
6. A test terminal comprising a memory and a processor, the memory coupled to the processor; the memory stores instructions that, when executed by the processor, cause the processor to perform the method of any of claims 1-3.
7. A test system, comprising: the system comprises detection equipment, a test terminal and a tested terminal, wherein the detection equipment and the tested terminal are connected with the test terminal;
the detection equipment is used for acquiring the power value of the Bluetooth signal transmitted by the terminal to be detected;
the test terminal is used for sending a transmitting instruction to the tested terminal and indicating the tested terminal to transmit a Bluetooth signal; acquiring a power value of the Bluetooth signal transmitted by the terminal to be detected and acquired by the detection equipment; judging whether the power value meets a preset qualified standard, wherein the preset qualified standard is used for detecting whether the tested equipment is a qualified product, if so, judging whether a power difference value between the power value and a target power value is within a preset compensation range, and if so, acquiring a power difference value between the power value and a pre-acquired target power value; acquiring a power compensation parameter according to the power difference value, and writing the power compensation parameter into the tested terminal; if the preset qualified standard is not met, clearing the stored power compensation parameters in the tested terminal, wherein the stored power compensation parameters comprise the power compensation parameters which are input when the calibration operation is executed before the current adjusting method is executed in the tested terminal and the power compensation parameters which are written when the adjusting method is executed before the current adjusting method is executed; adjusting an algorithm of the calibration operation, executing the adjusted calibration operation to write a preset initial power compensation parameter into the tested terminal, and returning to execute the test terminal to send a control instruction to the detection device and perform subsequent operations, wherein the preset initial power compensation parameter is used for adjusting a power parameter of a Bluetooth signal transmitted by the tested terminal to meet a preset qualified standard;
and the tested terminal is used for adjusting the transmitted Bluetooth signal according to the power compensation parameter when the power compensation parameter is read.
8. A computer-readable medium having program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1-3.
CN201711415508.8A 2017-12-22 2017-12-22 Bluetooth signal adjusting method, device, test terminal, system and readable medium Expired - Fee Related CN108199789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711415508.8A CN108199789B (en) 2017-12-22 2017-12-22 Bluetooth signal adjusting method, device, test terminal, system and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711415508.8A CN108199789B (en) 2017-12-22 2017-12-22 Bluetooth signal adjusting method, device, test terminal, system and readable medium

Publications (2)

Publication Number Publication Date
CN108199789A CN108199789A (en) 2018-06-22
CN108199789B true CN108199789B (en) 2021-06-15

Family

ID=62583872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711415508.8A Expired - Fee Related CN108199789B (en) 2017-12-22 2017-12-22 Bluetooth signal adjusting method, device, test terminal, system and readable medium

Country Status (1)

Country Link
CN (1) CN108199789B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111769889A (en) * 2020-06-18 2020-10-13 上海闻泰信息技术有限公司 Radio frequency power correction method, device, test equipment and storage medium
CN112003651A (en) * 2020-08-18 2020-11-27 深圳宇宙桥无线通信技术有限公司 Network division parameter compensation method, system, storage medium and network division compensation management platform
CN111970067B (en) * 2020-08-26 2022-08-12 炬芯科技股份有限公司 Method and device for calibrating output power
CN114698078B (en) * 2022-02-24 2023-05-16 荣耀终端有限公司 Transmission power adjustment method, electronic device, and storage medium
CN116471209A (en) * 2023-04-21 2023-07-21 广州通则康威智能科技有限公司 Registered network pressure testing method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999005781A1 (en) * 1997-07-24 1999-02-04 Ericsson Inc. Method and apparatus for converting a wideband if signal to a complex (quadrature) baseband signal
CN102638320A (en) * 2012-05-09 2012-08-15 大唐移动通信设备有限公司 Method and equipment for determining radiofrequency signal calibration parameter of terminal testing instrument
CN102695259A (en) * 2012-05-30 2012-09-26 福建星网锐捷网络有限公司 Method and device for power adjustment and access controller
CN105338608A (en) * 2015-12-02 2016-02-17 上海斐讯数据通信技术有限公司 Method and equipment for regulating signal transmitting power of router
CN105764083A (en) * 2014-12-18 2016-07-13 中兴通讯股份有限公司 RSSI compensation method, device and base station
CN106323353A (en) * 2016-08-12 2017-01-11 广东欧珀移动通信有限公司 Calibration method and device for proximity sensor, and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999005781A1 (en) * 1997-07-24 1999-02-04 Ericsson Inc. Method and apparatus for converting a wideband if signal to a complex (quadrature) baseband signal
CN102638320A (en) * 2012-05-09 2012-08-15 大唐移动通信设备有限公司 Method and equipment for determining radiofrequency signal calibration parameter of terminal testing instrument
CN102695259A (en) * 2012-05-30 2012-09-26 福建星网锐捷网络有限公司 Method and device for power adjustment and access controller
CN105764083A (en) * 2014-12-18 2016-07-13 中兴通讯股份有限公司 RSSI compensation method, device and base station
CN105338608A (en) * 2015-12-02 2016-02-17 上海斐讯数据通信技术有限公司 Method and equipment for regulating signal transmitting power of router
CN106323353A (en) * 2016-08-12 2017-01-11 广东欧珀移动通信有限公司 Calibration method and device for proximity sensor, and terminal

Also Published As

Publication number Publication date
CN108199789A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN107896131B (en) Bluetooth signal adjusting method, device, test terminal, system and readable medium
CN108199789B (en) Bluetooth signal adjusting method, device, test terminal, system and readable medium
CN108234034B (en) Bluetooth signal adjusting method, device, test terminal, system and readable medium
CN108055092B (en) Bluetooth signal adjusting method, device, test terminal, system and readable medium
CN108199787B (en) Transmission power adjusting method, device, terminal testing system and electronic terminal
CN108234035B (en) Transmission power adjusting method, device, terminal testing system and electronic terminal
CN108279408B (en) Proximity sensor calibration method and device, mobile terminal and computer readable medium
CN108199785B (en) Transmission power testing method, device and system and electronic equipment
CN107566985B (en) Method and device for determining main SIM card of mobile terminal
CN108990105B (en) Wireless communication transmission method, device, mobile terminal and computer readable storage medium
CN107450029B (en) Battery state checking method and device, computer equipment and computer readable storage medium
CN109753425B (en) Popup window processing method and device
CN108768548B (en) Radio frequency calibration method, device, mobile terminal and computer readable storage medium
CN108924908B (en) WiFi scanning method and device and electronic device
CN104809055B (en) Application program testing method and device based on cloud platform
CN108650041B (en) Signal quality display method and mobile terminal
CN108234045B (en) Received signal strength adjusting method and device, terminal testing system and electronic terminal
CN108234046B (en) Received signal strength adjusting method and device, terminal testing system and electronic terminal
CN108123762B (en) Transmission power testing method, device and system and electronic equipment
CN108199788B (en) Transmission power testing method, device and system and electronic equipment
CN108039928B (en) Received signal strength testing method, device and system and electronic equipment
CN108200546B (en) Data reporting method and device, mobile terminal and computer readable medium
CN109040457B (en) Screen brightness adjusting method and mobile terminal
CN108901062B (en) Wireless communication transmission method, device, mobile terminal and computer readable storage medium
CN108990104A (en) Wireless communication transmission method, device, mobile terminal and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210615