CN108055092B - 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
CN108055092B
CN108055092B CN201711408302.2A CN201711408302A CN108055092B CN 108055092 B CN108055092 B CN 108055092B CN 201711408302 A CN201711408302 A CN 201711408302A CN 108055092 B CN108055092 B CN 108055092B
Authority
CN
China
Prior art keywords
intensity
received signal
terminal
compensation parameter
signal strength
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
CN201711408302.2A
Other languages
Chinese (zh)
Other versions
CN108055092A (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 CN201711408302.2A priority Critical patent/CN108055092B/en
Publication of CN108055092A publication Critical patent/CN108055092A/en
Application granted granted Critical
Publication of CN108055092B publication Critical patent/CN108055092B/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/20Monitoring; Testing of receivers
    • H04B17/21Monitoring; Testing of receivers for calibration; for correcting measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/10Means associated with receiver for limiting or suppressing noise or interference
    • H04B1/12Neutralising, balancing, or compensation arrangements
    • H04B1/123Neutralising, balancing, or compensation arrangements using adaptive balancing or compensation means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/73Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for taking measurements, e.g. using sensing coils

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

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: sending a transmitting instruction to the detection equipment, and instructing the detection equipment to send a Bluetooth signal to the tested terminal based on the transmitting instruction; acquiring the intensity of a received signal which is sent by a detection device and acquired from a tested terminal, wherein the intensity of the received signal is acquired by the tested terminal according to a received Bluetooth signal; judging whether the received signal strength meets a preset compensation condition or not; if yes, obtaining the intensity difference between the received signal intensity and the preset target received signal intensity; and obtaining an intensity compensation parameter according to the intensity difference, writing the intensity compensation parameter into the tested terminal, and indicating the tested terminal to adjust the received signal intensity of the received Bluetooth signal according to the intensity compensation parameter when reading the intensity compensation parameter. Make the received signal intensity of bluetooth signal more closely receive signal intensity of the target, improve received signal intensity accuracy and uniformity.

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 accuracy of the received signal strength of the terminal is usually ensured by calibrating or writing a fixed calibration compensation value in the bluetooth mode, in the calibration process, the received signal strength of each terminal has residual errors possibly caused by differences of environmental interference, temperature, humidity, power supply or RF thimble contact line loss and the like, while the received signal strength deviation caused by the hardware difference of the terminal product in the batch production process cannot be ensured by writing the fixed compensation value in the calibration process, and the accuracy and consistency of the received signal strength of the bluetooth signal of 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 detection equipment, and the detection equipment is instructed to send a Bluetooth signal to the tested terminal based on the transmitting instruction; acquiring the received signal strength acquired from the tested terminal and sent by the detection equipment, wherein the received signal strength is acquired by the tested terminal according to the received Bluetooth signal; judging whether the received signal strength meets a preset compensation condition or not; if yes, obtaining a strength difference value between the received signal strength and a preset target received signal strength; and obtaining an intensity compensation parameter according to the intensity difference, writing the intensity compensation parameter into the tested terminal, and instructing the tested terminal to adjust the received signal intensity of the received Bluetooth signal according to the intensity compensation parameter when reading the intensity 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 detection equipment; the detection equipment sends a Bluetooth signal to the tested terminal based on the emission instruction; the tested terminal obtains the received signal strength according to the received Bluetooth signal and sends the received signal strength to the detection equipment; the detection equipment sends the received signal strength to the test terminal; the test terminal acquires the intensity of a received signal sent by the detection equipment and judges whether the intensity of the received signal meets a preset compensation condition; if yes, acquiring a strength difference value between the received signal strength and a pre-acquired target received signal strength; obtaining an intensity compensation parameter according to the intensity difference value, and writing the intensity compensation parameter into the tested terminal; and the tested terminal adjusts the received signal intensity of the received Bluetooth signal according to the intensity compensation parameter when reading the intensity 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 detection equipment and indicating the detection equipment to send a Bluetooth signal to the tested terminal based on the sending instruction. The first obtaining unit is used for obtaining the received signal strength which is sent by the detection device and obtained from the tested terminal, and the received signal strength is obtained by the tested terminal according to the received Bluetooth signal. And the judging unit is used for judging whether the received signal strength meets a preset compensation condition or not. And the second acquisition unit is used for acquiring the strength difference value between the received signal strength and the pre-acquired target received signal strength if the strength difference value is met. And the adjusting unit is used for acquiring an intensity compensation parameter according to the intensity difference value, writing the intensity compensation parameter into the tested terminal, and instructing the tested terminal to adjust the received signal intensity of the received Bluetooth signal according to the intensity compensation parameter when the intensity compensation parameter is read.
In a fourth aspect, an embodiment of the present application further provides a test terminal, which includes a memory and a processor, where the memory is coupled with the processor. The memory stores instructions that, when executed by the processor, cause the processor to: sending a transmitting instruction to the detection equipment, and instructing the detection equipment to send a Bluetooth signal to the tested terminal based on the transmitting instruction; acquiring the received signal strength acquired from the tested terminal and sent by the detection equipment, wherein the received signal strength is acquired by the tested terminal according to the received Bluetooth signal; judging whether the received signal strength meets a preset compensation condition or not; if yes, acquiring a strength difference value between the received signal strength and a pre-acquired target received signal strength; and obtaining an intensity compensation parameter according to the intensity difference, writing the intensity compensation parameter into the tested terminal, and instructing the tested terminal to adjust the received signal intensity of the received Bluetooth signal according to the intensity compensation parameter when reading the intensity 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 test terminal is used for sending a transmitting instruction to the detection equipment; the detection equipment is used for sending a Bluetooth signal to the terminal to be detected based on the emission instruction; the tested terminal is used for obtaining the received signal strength according to the received Bluetooth signal and sending the received signal strength to the detection equipment; the detection equipment is also used for sending the received signal strength to the test terminal; the test terminal is further configured to obtain the strength of the received signal sent by the detection device, and determine whether the strength of the received signal meets a preset compensation condition; if yes, acquiring a strength difference value between the received signal strength and a pre-acquired target received signal strength; obtaining an intensity compensation parameter according to the intensity difference value, and writing the intensity compensation parameter into the tested terminal; and the tested terminal is used for adjusting the received signal strength of the received Bluetooth signal according to the intensity compensation parameter when the intensity 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 testing system and the readable medium, the testing terminal sends the emission instruction to the detecting device, the detecting device sends the Bluetooth signal according to the emission instruction, the tested terminal receives the Bluetooth signal, and the received signal strength corresponding to the Bluetooth signal is obtained according to the received Bluetooth signal. Then, the detection device obtains the received signal strength sent by the tested terminal, and then sends the received signal strength to the test terminal. And when the test terminal judges that the signal intensity value meets the preset compensation condition, acquiring an intensity difference value between the received signal intensity and a preset target received signal intensity, acquiring an intensity compensation parameter according to the intensity difference value, and writing the intensity compensation parameter into the tested terminal. And the tested terminal adjusts the received signal intensity of the received Bluetooth signal according to the intensity compensation parameter when reading the intensity compensation parameter. Therefore, the received signal strength of the Bluetooth signal of the terminal to be tested is adjusted according to the strength difference between the received signal strength and the preset target received signal strength, so that the received signal strength of the Bluetooth signal is closer to the target received signal strength, and the accuracy and the consistency of the received signal strength 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 timing diagram illustrating interaction among devices of a test system according to an embodiment of the present disclosure;
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 under test can receive the bluetooth signal, and a bluetooth receiving device is disposed inside the terminal, and the bluetooth receiving device can receive the bluetooth signal according to the preset receiving parameters, and the terminal 100 under test can measure the received signal strength of the received bluetooth signal. The receiving circuit receives the bluetooth signal, and after the bluetooth signal is subjected to front-end processing such as low-noise amplification and filtering, the gain adjusting device adjusts the signal intensity value of the received bluetooth signal after the front-end processing according to the gain parameter, so that the signal intensity value of the output bluetooth signal is stabilized within an expected range, that is, the received signal intensity of the received bluetooth signal can be stabilized within an expected range. The method and the device provided by the embodiment of the application are applied to the signaling test of the Bluetooth receiving signal of the tested terminal, and the matched Bluetooth connection is established between the tested terminal 100 and the detection equipment 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 measured terminal can acquire the received signal strength of the received bluetooth signal through a call-back function of the received signal strength, for example, a readremotersis function under an android system, or a readRSSI function under an IOS system.
The detection device 200 can transmit a bluetooth signal to the terminal under test 100, and 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 transmits a bluetooth signal through an antenna.
The test terminal 300 is configured to send a transmission instruction to the detection device 200, instruct the detection device 200 to send a bluetooth signal to the terminal under test 100 based on the transmission instruction, and further be capable of reading the received signal strength of the received bluetooth signal measured by the terminal under test 100. Specifically, the test terminal 300 may be a personal computer, and is connected to the terminal under test through data lines such as USB and JTAG, and the test terminal 300 is installed with test software, and the test software can obtain an intensity compensation parameter for adjusting the received signal intensity of the bluetooth signal received by the terminal under test according to the received signal intensity of the bluetooth signal received by the terminal under test and a preset algorithm. Then, the test terminal 300 writes the intensity compensation parameter into the terminal under test through the data line. And when the measured terminal reads the intensity compensation parameter, adjusting the received signal intensity of the received Bluetooth signal according to the intensity compensation parameter, wherein the specific adjustment mode is described in detail in the following embodiments.
Referring to fig. 2, fig. 2 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 test terminal is used as an execution main body of the method to describe a process of the method, where the method includes:
s201: and sending a transmitting instruction to the detection equipment, and instructing the detection equipment to send a Bluetooth signal to the tested terminal based on the transmitting instruction.
Specifically, the method and the device provided by the embodiment of the application are applied to the signaling test of the bluetooth signal of the tested terminal, under the signaling test, the testing terminal controls the detection device and the tested terminal to establish a link through data lines such as a USB or other communication modes, and the detection device sends various signaling to the tested terminal. The terminal under test now both transmits signals and receives various signaling from the detection device. The test terminal controls the detection equipment to transmit the Bluetooth signal by sending a transmission instruction to the detection equipment.
In addition, before the test terminal sends the transmission instruction, an initialization operation is required, which specifically includes: loading a received signal strength target file of a Bluetooth signal, initializing a detection device and controlling a tested terminal to enter a signaling test mode, wherein the received signal strength target file of the Bluetooth signal comprises a target received signal strength which is an expected value that the received signal strength of the Bluetooth signal received by the tested terminal is expected to reach, and the test terminal loads the received signal strength target file of the Bluetooth signal to acquire the target received signal strength. And the initialization operation of the detection device is to clear the detection device of stored received signal strength or other data and to set the frequency band of the wireless signal that the detection device is capable of transmitting, for example, to the frequency band of a bluetooth signal.
Furthermore, this application expects that the received signal strength of the bluetooth signal of the terminal under test is stable near the target received signal strength, and therefore, the bluetooth signal that the check out test set sent to the terminal under test should also be close to the target received signal strength, and as an implementation, the test terminal sends the emission instruction to the check out test set, instructs the check out test set to send the bluetooth signal of presetting the signal strength to the terminal under test based on the emission instruction, wherein, the presetting signal strength is set according to the target received signal strength. Specifically, when the detection device sends the bluetooth signal to the terminal to be tested, the bluetooth signal may be attenuated during transmission due to factors such as the distance between the detection device and the terminal to be tested, and the signal strength of the bluetooth signal received by the terminal to be tested is too small. Therefore, the distance between the detection device and the terminal to be detected is determined, and then the preset signal intensity is determined according to the target received signal intensity and the distance, so that the signal intensity value of the Bluetooth signal emitted by the detection device is greater than or equal to the target received signal intensity, and when the Bluetooth signal emitted by the detection device reaches the terminal to be detected after being attenuated, the attenuated Bluetooth signal can approach the target received signal intensity.
In some embodiments, the distance between the detection device and the terminal under test is a maximum distance, specifically, the bluetooth signal transmitted by the detection device has a farthest transmission distance, and the terminal under test also has a farthest receiving distance for receiving the bluetooth signal, and the maximum distance is the farthest transmission distance or the farthest receiving distance, and the signal strength value of the bluetooth signal transmitted by the detection device is set according to the preset rule and the maximum distance, for example, there is a correspondence between an attenuation coefficient of the bluetooth signal transmitted by the detection device and the distance, and according to the correspondence, the signal strength value of the bluetooth signal transmitted by the detection device corresponding to the maximum distance can be set, that is, the preset signal strength can be determined.
As an implementation manner, the emission instruction sent by the test terminal includes a preset signal strength value, after the detection device acquires the emission instruction, the emission instruction is analyzed to obtain the preset signal strength, and a bluetooth signal is sent to the terminal to be tested according to the preset signal strength value, where the signal strength of the emitted bluetooth signal is the preset signal strength.
S202: and acquiring the received signal strength acquired from the tested terminal and sent by the detection equipment, wherein the received signal strength is acquired by the tested terminal according to the received Bluetooth signal.
After the detection device transmits the bluetooth signal, the terminal under test can receive the bluetooth signal transmitted by the detection device and measure the received signal strength of the received bluetooth signal, for example, read the return value of the readmomertis function or the readRSSI function to obtain the received signal strength of the received bluetooth signal, and then send the received signal strength to the detection device. Specifically, the detecting device may send an intensity returning instruction to the terminal to be tested after sending the bluetooth signal to the terminal to be tested, and the terminal to be tested sends the received signal intensity value of the received bluetooth signal to the detecting device after obtaining the intensity returning instruction. Of course, the received signal strength value may also be sent to the detection device after the terminal under test measures the received signal strength value of the received bluetooth signal.
Then, the test terminal obtains the received signal strength from the detection device, and specifically, the received signal strength may be sent to the test terminal after the received signal strength obtained by the detection device. Alternatively, the detection device may store the received signal strength of the bluetooth signal in a local memory after acquiring the received signal strength. The test terminal sends an acquisition request to the detection equipment, and the detection equipment sends the received signal strength of the Bluetooth signal to the test terminal after receiving the acquisition request.
S203: and judging whether the received signal strength meets a preset compensation condition.
The preset compensation condition is set according to the expected target received signal strength of the Bluetooth signal of the tested terminal and the received signal strength which the Bluetooth signal of the tested terminal is supposed to achieve under the condition that the Bluetooth signal of the tested terminal meets the normal use requirement. Specifically, the manner of determining whether the received signal strength satisfies the preset compensation condition is as follows:
judging whether the received signal strength meets a preset qualified standard or not; if the received signal strength meets the preset qualified standard, judging whether the strength difference value between the received signal strength and the target received signal strength is within a preset compensation range; and if the received signal strength is within the preset compensation range, judging that the received signal strength meets the preset compensation condition.
Specifically, the preset qualified standard is used for detecting whether the received signal strength of the bluetooth signal received by the device to be tested reaches the qualified standard, and if the received signal strength does not meet the preset qualified standard, the device to be tested is determined to be an unqualified product, and the received signal strength does not need to be adjusted. And if the received signal strength is judged to meet the preset qualified standard, the terminal to be tested is a qualified product, the received signal strength of the received Bluetooth signal can meet the requirement of normal use, and the operation of judging whether the strength difference value between the received signal strength and the pre-acquired target received signal strength is within the preset compensation range is continuously executed. The predetermined qualified criterion may be set according to a requirement of the received signal strength of the bluetooth signal of the terminal under test in actual use, for example, the predetermined qualified criterion is greater than a first received signal strength and less than a second received signal strength, i.e., a range between the first received signal strength and the second received signal strength, where the first received signal strength is a target received signal strength plus a, and the second received signal strength is the target received signal strength minus a, where a may be 2mW, and the first received signal strength is greater than the second received signal strength. Determining whether the received signal strength is within a range between the first received signal strength and the second received signal strength, if so, determining that the received signal strength meets a predetermined qualification criterion, and if the received signal strength is outside the range between the first received signal strength and the second received signal strength, determining that the received signal strength does not meet the predetermined qualification criterion.
And under the condition that the received signal strength meets a preset qualified standard, judging whether the strength difference value between the received signal strength and the pre-acquired target received signal strength is within a preset compensation range. The preset compensation range is a criterion for judging whether the received signal strength of the bluetooth signal of the terminal to be tested needs to be adjusted. Specifically, the preset compensation range is greater than the third received signal strength or less than the fourth received signal strength, the third received signal strength is greater than the fourth received signal strength, for example, the third received signal strength is +0.5mW, and the fourth received signal strength is-0.5 mW. And if the intensity difference value between the received signal intensity and the pre-acquired target received signal intensity is within the range between the third received signal intensity and the fourth received signal intensity, judging that the received signal intensity is not within the preset compensation range, and if the received signal intensity is smaller than the fourth received signal intensity or larger than the third received signal intensity, judging that the received signal intensity is within the preset compensation range. That is, if the absolute value of the received signal strength is less than 0.5mW, it is determined that the received signal strength is not within the preset compensation range, that is, the current received signal strength has satisfied the criterion, and it is not necessary to adjust the received signal strength of the bluetooth signal of the terminal under test, and if the absolute value of the received signal strength is greater than 0.5mW and less than 2mW, it is determined that the received signal strength is within the preset compensation range, and it is necessary to adjust the received signal strength of the bluetooth signal of the terminal under test, so that the received signal strength of the bluetooth signal received by the terminal under test can be closer to the target received signal strength.
It should be noted that, in some embodiments, when the received signal strength is determined to meet the predetermined qualified standard, step S204 may be directly performed, that is, whether the strength difference between the received signal strength and the target received signal strength obtained in advance is within the predetermined compensation range, the received signal strength of the bluetooth signal of the terminal under test may be adjusted according to the strength difference.
S204: and acquiring a strength difference value between the received signal strength and a preset target received signal strength.
And when the received signal strength is judged to meet the preset compensation condition, acquiring a strength difference value between the received signal strength and a target received signal strength acquired in advance. The target received signal strength is set according to the requirement of the received signal strength of the Bluetooth signal of the tested terminal in actual use.
S205: and obtaining an intensity compensation parameter according to the intensity difference, writing the intensity compensation parameter into the tested terminal, and instructing the tested terminal to adjust the received signal intensity of the received Bluetooth signal according to the intensity compensation parameter when reading the intensity compensation parameter.
And converting the intensity difference value into an intensity compensation parameter which can be identified by the tested terminal, specifically, converting the intensity difference value into the intensity compensation parameter according to the electric parameter of the Bluetooth receiving device of the tested terminal which is acquired in advance. The electrical parameter of the bluetooth receiving apparatus of the terminal under test includes a data format that can be recognized by the bluetooth receiving apparatus of the terminal under test, and specifically, may be a format standard of an interface of a chip of the bluetooth receiving apparatus for received data. For example, the format standards of the data received by the MTK or high-pass chip to its interface are different, for example, the requirement of high-pass is that the data must be a number greater than a certain value, for example, the intensity difference is-1, then the conversion may be-1 × 10+100 to obtain 90, and the obtained intensity compensation parameter is 90.
And then, writing the intensity compensation parameter into the tested terminal, instructing the tested terminal to adjust the receiving parameter of the Bluetooth receiving device according to the intensity compensation parameter when reading the intensity compensation parameter, and receiving the Bluetooth signal according to the adjusted receiving parameter. The received signal strength of the bluetooth signal received by the terminal under test is related to the receiving parameter of the bluetooth receiving apparatus, wherein the receiving parameter may be a gain parameter, for example, the gain parameter of the aforementioned gain adjusting apparatus. An antenna in a Bluetooth receiving device of a terminal to be tested receives a Bluetooth signal, the Bluetooth signal is subjected to front-end processing such as low-noise amplification and filtering, and then a gain adjusting device adjusts the signal intensity value of the received Bluetooth signal subjected to the front-end processing according to a gain parameter, so that the received signal intensity of the received Bluetooth signal can be adjusted by adjusting the gain parameter.
It should be noted that, after the test terminal writes the intensity compensation parameter into the terminal to be tested, the terminal to be tested stores the intensity compensation parameter, when receiving the bluetooth signal, first reads whether the intensity compensation parameter is stored, and if the intensity compensation parameter can be read, adjusts the received signal intensity of the received bluetooth signal according to the intensity compensation parameter.
In some embodiments, the intensity compensation parameter is set reasonably, so that the measured terminal can directly adjust the received signal intensity of the received bluetooth signal to be close to the target received signal intensity according to the intensity compensation parameter obtained this time, that is, within a preset compensation range, that is, without readjustment.
In other embodiments, after the intensity compensation parameter is written into the terminal to be tested, the transmission instruction is sent to the detection device again, and the detection device sends the Bluetooth signal again. The tested terminal sends the received signal strength of the received Bluetooth signal to the detection device again, the test terminal obtains the received signal strength sent by the detection device again, and executes again to judge whether the received signal strength meets the preset compensation condition, and through multiple iterations, the received signal strength of the Bluetooth signal received by the tested terminal is continuously close to the target received signal strength, namely, under the condition that the received signal strength meets the preset qualified condition, the strength difference value can be finally positioned outside the preset compensation range, and the received signal strength does not need to be adjusted 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 detection equipment, and instructing the detection equipment to send a Bluetooth signal to the tested terminal based on the transmitting instruction.
S302: and acquiring the received signal strength acquired from the tested terminal and sent by the detection equipment, wherein the received signal strength is acquired by the tested terminal according to the received Bluetooth signal.
S303: and judging whether the received signal strength meets the preset qualified standard.
S304: and judging whether the intensity difference value between the received signal intensity and the target received signal intensity is within a preset compensation range.
S305: and judging whether the intensity difference value obtained last time is stored.
The strength difference value acquired by the test terminal every time is correspondingly stored in the history acquisition record, and whether the strength difference value acquired this time is acquired for the first time or not is judged according to the history acquisition record, namely whether the strength difference value acquired last time is stored or not is judged.
S306: and summing the intensity difference value obtained last time and the intensity difference value obtained this time to obtain an accumulated intensity difference value.
When it is determined that the last acquired intensity difference value is not stored, that is, it is determined that the last acquired intensity difference value is stored, the last acquired intensity difference value and the intensity difference value acquired this time are summed to obtain an accumulated intensity difference value. For example, if the stored last acquired intensity difference is a and the currently acquired intensity difference is B, the accumulated intensity difference is a + B.
S307: and taking the accumulated intensity difference value as the intensity difference value obtained at this time and storing the intensity difference value.
The cumulative intensity difference, for example, a + B described above, is taken as the intensity difference acquired this time and stored in the corresponding history acquisition record.
Specifically, the following table is stored:
Figure BDA0001520783130000131
Figure BDA0001520783130000141
where the reference numeral is used to indicate the number of times, for example, reference numeral 1 indicates the intensity difference obtained for the first time, and reference numeral 3 indicates the intensity difference obtained for the third time, then the value in the column of "stored" is recorded as the corresponding stored intensity difference for the time, for example, the intensity difference stored for the first time is a, and the intensity difference stored for the third time is a + B + C. According to the table, whether the intensity difference value is stored before the current time can be judged, and the intensity difference value stored before can be obtained.
S308: and converting the intensity difference value into an intensity compensation parameter according to the electric parameters of the Bluetooth receiving device of the tested terminal, which are acquired in advance.
S309: and sending the intensity compensation parameter to the tested terminal, indicating the tested terminal to adjust the receiving parameter of the Bluetooth receiving device according to the intensity compensation parameter when reading the intensity compensation parameter, and adjusting the received signal intensity of the Bluetooth signal according to the adjusted receiving parameter.
S310: and clearing the intensity compensation parameters stored in the tested terminal.
And under the condition that the received signal strength is judged not to meet the preset qualified standard, judging that the tested terminal is unqualified, and returning the tested terminal to the calibration link to re-execute the calibration operation. The intensity compensation parameters stored in the terminal under test are deleted, where the intensity compensation parameters input by the calibration link are stored in the terminal under test, and also include the intensity compensation parameters written in the process of adjusting the received signal intensity of the bluetooth signal of the terminal under test, and these intensity compensation parameters are reasons that the received signal intensity does not meet the preset qualified standard, so that it is necessary to return to the calibration link after clearing all the intensity compensation parameters, that is, S311 is executed.
S311: and executing recalibration operation to write a preset initial intensity compensation parameter into the tested terminal, wherein the preset initial intensity compensation parameter is used for adjusting a preset qualified standard when the received signal intensity of the Bluetooth signal received by the tested terminal is full.
Wherein the preset initial intensity compensation parameter is the intrinsic intensity compensation parameter input in the calibration operation. The calibration operation is to calibrate certain specific frequency points of the bluetooth receiving signals of the terminal to be tested in the production process of the terminal to be tested, then generate certain preset initial intensity compensation parameters through certain algorithms and temperature compensation algorithms, and then write the preset initial intensity compensation parameters into the terminal to be tested. 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 received signal strength of the bluetooth signal actually received by the terminal to be tested cannot meet the preset qualified standard.
Therefore, in the case that the received signal strength is determined not to satisfy the predetermined qualified standard, the calibration operation is re-executed, that is, the strength compensation parameters causing the received signal strength not to satisfy the predetermined qualified standard are deleted, and the predetermined initial strength compensation parameters are re-input, so as to adjust the received signal strength of the bluetooth signal received by the terminal under test to satisfy the predetermined qualified standard, wherein the re-input predetermined initial strength compensation parameters are generated in the calibration operation, and the algorithm in the calibration operation is adjusted to re-input new predetermined initial strength compensation parameters so as to cause the received signal strength of the bluetooth signal received by the terminal under test to satisfy the predetermined qualified standard in the case that the received signal strength of the bluetooth signal received by the terminal under test does not satisfy the predetermined qualified standard based on the previously input predetermined initial strength compensation.
It should be noted that, after the preset initial strength compensation parameter is written in, it may be determined again whether the received signal strength of the bluetooth signal received by the terminal to be tested meets the preset qualified standard, if the received signal strength of the bluetooth signal received by the terminal to be tested is still unqualified, the strength compensation parameter stored in the terminal to be tested is cleared again, and the recalibration operation is performed again until the received signal strength of the bluetooth signal received 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 intensity compensation parameter and the recalibration operation stored in the tested terminal are not cleared 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 the strength difference between the received signal strength of the bluetooth signal received by the terminal under test and the target received signal strength meet the requirement, that is, the received signal strength meets the preset qualification standard, and the strength difference between the received signal strength and the target received signal strength obtained in advance is outside the preset compensation range, if the number of iterations is too large, the test system will be stressed, the test resource will be excessively occupied, and the cost will be excessively increased, and therefore, a limitation needs to be made on the number of iterations, specifically, refer to fig. 4, where fig. 4 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, the process of the method is described by taking the test terminal as an execution subject of the method, the method includes: s401 to S413.
S401: and sending a transmitting instruction to the detection equipment, and instructing the detection equipment to send a Bluetooth signal to the tested terminal based on the transmitting instruction.
S402: and acquiring the received signal strength acquired from the tested terminal and sent by the detection equipment, wherein the received signal strength is acquired by the tested terminal according to the received Bluetooth signal.
S403: and judging whether the received signal strength value meets a preset qualified standard.
S404: and searching the write-in times of the current write-in of the intensity compensation parameter to the tested terminal according to a pre-stored intensity compensation parameter sending record.
And if the preset qualified standard is met, searching the write-in times of currently sending the intensity compensation parameter to the tested terminal according to a prestored intensity compensation parameter sending record. The intensity compensation parameter transmission record records the intensity compensation parameter of each transmission and records the number of transmissions.
S405: and judging whether the searched transmitting 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 intensity compensation parameter is written into the tested terminal, the number of writing times is recorded as K, the received signal intensity of the bluetooth signal adjusted by the tested terminal according to the intensity compensation parameter is obtained again, whether the received signal intensity 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 received signal intensity of the received bluetooth signal is adjusted according to the intensity compensation parameter after the tested terminal reads the intensity compensation parameter written at the kth time. That is, it can be considered that after the adjustment for K times, the intensity compensation parameter inputted for the K-th time can be determined, and the received signal intensity of the bluetooth signal received by the terminal under test can be made to approach the target received signal intensity, which can meet the use requirement.
S406: and judging whether the intensity difference value between the received signal intensity and the target received signal intensity is within a preset compensation range.
S407: and judging whether the intensity difference value obtained last time is stored.
S408: and summing the intensity difference value obtained last time and the intensity difference value obtained this time to obtain an accumulated intensity difference value.
S409: and taking the accumulated intensity difference value as the intensity difference value obtained at this time and storing the intensity difference value.
S410: and converting the intensity difference value into an intensity compensation parameter according to the electric parameters of the Bluetooth receiving device of the tested terminal, which are acquired in advance.
S411: and sending the intensity compensation parameter to the tested terminal, indicating the tested terminal to adjust the receiving parameter of the Bluetooth receiving device according to the intensity compensation parameter when reading the intensity compensation parameter, and adjusting the received signal intensity of the Bluetooth signal according to the adjusted receiving parameter.
And after the intensity compensation parameter is sent to the tested terminal, changing the writing times in the intensity compensation parameter sending record from K to K + 1.
S412: and clearing the intensity compensation parameters stored in the tested terminal.
S413: and executing recalibration operation to write a preset initial intensity compensation parameter into the tested terminal, wherein the preset initial intensity compensation parameter is used for adjusting a preset qualified standard when the received signal intensity of the Bluetooth signal received by the tested terminal is full.
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 is a timing diagram illustrating interaction among devices in a test system according to an embodiment of the present disclosure.
S501: and the test terminal sends a transmitting instruction to the detection equipment.
S502: and the detection equipment sends a Bluetooth signal to the tested terminal based on the emission instruction.
S503: and the tested terminal obtains the received signal strength according to the received Bluetooth signal and sends the received signal strength to the detection equipment.
S504: and the detection equipment sends the received signal strength to the test terminal.
S505: and the test terminal judges whether the received signal strength meets a preset compensation condition.
S506: and if so, the test terminal acquires the intensity difference between the received signal intensity and the pre-acquired target received signal intensity.
S507: and the test terminal acquires an intensity compensation parameter according to the intensity difference value and writes the intensity compensation parameter into the tested terminal.
S508: and the tested terminal adjusts the received signal intensity of the received Bluetooth signal according to the intensity compensation parameter when reading the intensity 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 transmission instruction to the detection device, and instruct the detection device to send a bluetooth signal to the terminal under test based on the transmission instruction;
a first obtaining unit 602, configured to obtain a received signal strength obtained from the terminal under test sent by the detection device, where the received signal strength is obtained by the terminal under test according to the received bluetooth signal;
a determining unit 603, configured to determine whether the received signal strength meets a preset compensation condition;
a second obtaining unit 604, configured to obtain, if the strength difference is satisfied, a strength difference between the received signal strength and a target received signal strength obtained in advance;
an adjusting unit 605, configured to obtain an intensity compensation parameter according to the intensity difference, write the intensity compensation parameter into the terminal under test, and instruct the terminal under test to adjust the received signal intensity of the received bluetooth signal according to the intensity compensation parameter when the intensity 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 intensity compensation parameter stored in the tested terminal if the intensity of the received signal does not meet the preset qualified standard.
And the recalibration unit is used for executing recalibration operation so as to write a preset initial intensity compensation parameter into the tested terminal, wherein the preset initial intensity compensation parameter is used for adjusting a preset qualified standard when the received signal intensity of the Bluetooth signal received by the tested terminal is full.
The frequency judging unit is used for sending a record according to a pre-stored intensity compensation parameter if the preset qualified standard is met, and searching the current write-in frequency of the intensity compensation parameter written into the tested terminal; judging whether the searched transmitting times exceed preset times or not; if the number of times does not exceed the preset number of times, judging whether the intensity difference value between the received signal intensity and the target received signal intensity 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., IEEE802.1 a, IEEE802.11 b, IEEE802.1 g and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (world wide for Wireless Communication), and other instant messaging protocols, as well as any other suitable communication protocols, and may even include those 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.

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 detection equipment, and the detection equipment is instructed to send a Bluetooth signal to the tested terminal based on the transmitting instruction;
acquiring the received signal strength acquired from the tested terminal and sent by the detection equipment, wherein the received signal strength is acquired by the tested terminal according to the received Bluetooth signal;
judging whether the received signal strength meets a preset qualified standard or not;
if the preset qualified standard is met, judging whether the intensity difference value between the received signal intensity and the preset target received signal intensity is within a preset compensation range; the preset compensation range is greater than a third received signal strength or less than a fourth received signal strength, and the third received signal strength is greater than the fourth received signal strength;
if the intensity compensation parameter is within the preset compensation range, obtaining an intensity compensation parameter according to the intensity difference, writing the intensity compensation parameter into the tested terminal, and instructing the tested terminal to adjust the received signal intensity of the received Bluetooth signal according to the intensity compensation parameter when the intensity compensation parameter is read;
if the intensity compensation parameter does not meet the preset qualified standard, removing the intensity compensation parameter stored in the tested terminal; and executing recalibration operation to write a preset initial intensity compensation parameter into the tested terminal, wherein the preset initial intensity compensation parameter is used for adjusting the received signal intensity of the Bluetooth signal received by the tested terminal to meet a preset qualified standard.
2. The method of claim 1, wherein obtaining a strength difference between the received signal strength and a preset target received signal strength comprises:
judging whether the intensity difference value obtained last time is stored;
if so, summing the intensity difference obtained last time and the intensity difference obtained this time to obtain an accumulated intensity difference;
and taking the accumulated intensity difference value as the intensity difference value obtained at this time and storing the intensity difference value.
3. The method according to claim 1 or 2, wherein the obtaining an intensity compensation parameter according to the intensity difference, writing the intensity compensation parameter into the terminal under test, and instructing the terminal under test to adjust the received signal intensity of the received bluetooth signal according to the intensity compensation parameter when reading the intensity compensation parameter comprises:
converting the intensity difference value into an intensity compensation parameter according to the electric parameters of the Bluetooth receiving device of the tested terminal acquired in advance;
and sending the intensity compensation parameter to the tested terminal, indicating the tested terminal to adjust the receiving parameter of the Bluetooth receiving device according to the intensity compensation parameter when reading the intensity compensation parameter, and adjusting the received signal intensity of the Bluetooth signal according to the adjusted receiving 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 detection equipment;
the detection equipment sends a Bluetooth signal to the tested terminal based on the emission instruction;
the tested terminal obtains the received signal strength according to the received Bluetooth signal and sends the received signal strength to the detection equipment;
the detection equipment sends the received signal strength to the test terminal;
the test terminal acquires the intensity of a received signal sent by the detection equipment and judges whether the intensity of the received signal meets a preset qualified standard or not; if the preset qualified standard is met, judging whether the intensity difference value between the received signal intensity and the pre-acquired target received signal intensity is within a preset compensation range; if the intensity difference value is within the preset compensation range, obtaining an intensity compensation parameter according to the intensity difference value, and writing the intensity compensation parameter into the tested terminal; the preset compensation range is greater than a third received signal strength or less than a fourth received signal strength, and the third received signal strength is greater than the fourth received signal strength; if the intensity compensation parameter does not meet the preset qualified standard, removing the intensity compensation parameter stored in the tested terminal; executing recalibration operation to write a preset initial intensity compensation parameter into the tested terminal, wherein the preset initial intensity compensation parameter is used for adjusting the received signal intensity of the Bluetooth signal received by the tested terminal to meet a preset qualified standard;
and the tested terminal adjusts the received signal intensity of the received Bluetooth signal according to the intensity compensation parameter when reading the intensity 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 sending unit is used for sending a sending instruction to the detection equipment and instructing the detection equipment to send a Bluetooth signal to the tested terminal based on the sending instruction;
a first obtaining unit, configured to obtain a received signal strength obtained from the terminal under test sent by the detection device, where the received signal strength is obtained by the terminal under test according to the received bluetooth signal;
the judging unit is used for judging whether the received signal strength meets a preset qualified standard or not; if the preset qualified standard is met, judging whether the intensity difference value between the received signal intensity and the pre-acquired target received signal intensity is within a preset compensation range; the preset compensation range is greater than a third received signal strength or less than a fourth received signal strength, and the third received signal strength is greater than the fourth received signal strength;
the adjusting unit is used for acquiring an intensity compensation parameter according to the intensity difference if the measured bluetooth signal is within the preset compensation range, writing the intensity compensation parameter into the measured terminal, and instructing the measured terminal to adjust the received signal intensity of the received bluetooth signal according to the intensity compensation parameter when the intensity compensation parameter is read;
the clearing unit is used for clearing the intensity compensation parameter stored in the tested terminal if the received signal intensity does not meet the preset qualified standard; and
and the recalibration unit is used for executing recalibration operation so as to write a preset initial intensity compensation parameter into the tested terminal, wherein the preset initial intensity compensation parameter is used for adjusting the received signal intensity of the Bluetooth signal received by the tested terminal to meet a preset qualified standard.
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:
sending a transmitting instruction to a detection device, and instructing the detection device to send a Bluetooth signal to a tested terminal based on the transmitting instruction;
acquiring the received signal strength acquired from the tested terminal and sent by the detection equipment, wherein the received signal strength is acquired by the tested terminal according to the received Bluetooth signal;
judging whether the received signal strength meets a preset qualified standard or not;
if the preset qualified standard is met, judging whether the intensity difference value between the received signal intensity and the pre-acquired target received signal intensity is within a preset compensation range; the preset compensation range is greater than a third received signal strength or less than a fourth received signal strength, and the third received signal strength is greater than the fourth received signal strength;
if the intensity compensation parameter is within the preset compensation range, obtaining an intensity compensation parameter according to the intensity difference, writing the intensity compensation parameter into the tested terminal, and instructing the tested terminal to adjust the received signal intensity of the received Bluetooth signal according to the intensity compensation parameter when the intensity compensation parameter is read;
if the intensity compensation parameter does not meet the preset qualified standard, removing the intensity compensation parameter stored in the tested terminal; and executing recalibration operation to write a preset initial intensity compensation parameter into the tested terminal, wherein the preset initial intensity compensation parameter is used for adjusting the received signal intensity of the Bluetooth signal received by the tested terminal to meet a preset qualified standard.
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 test terminal is used for sending a transmitting instruction to the detection equipment;
the detection equipment is used for sending a Bluetooth signal to the terminal to be detected based on the emission instruction;
the tested terminal is used for obtaining the received signal strength according to the received Bluetooth signal and sending the received signal strength to the detection equipment;
the detection equipment is also used for sending the received signal strength to the test terminal;
the test terminal is further used for acquiring the strength of the received signal sent by the detection equipment and judging whether the strength of the received signal meets a preset qualified standard; if the preset qualified standard is met, judging whether the intensity difference value between the received signal intensity and the pre-acquired target received signal intensity is within a preset compensation range; if the intensity difference value is within the preset compensation range, obtaining an intensity compensation parameter according to the intensity difference value, and writing the intensity compensation parameter into the tested terminal; the preset compensation range is greater than a third received signal strength or less than a fourth received signal strength, and the third received signal strength is greater than the fourth received signal strength; if the intensity compensation parameter does not meet the preset qualified standard, removing the intensity compensation parameter stored in the tested terminal; executing recalibration operation to write a preset initial intensity compensation parameter into the tested terminal, wherein the preset initial intensity compensation parameter is used for adjusting the received signal intensity of the Bluetooth signal received by the tested terminal to meet a preset qualified standard;
and the tested terminal is used for adjusting the received signal strength of the received Bluetooth signal according to the intensity compensation parameter when the intensity 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.
CN201711408302.2A 2017-12-22 2017-12-22 Bluetooth signal adjusting method, device, test terminal, system and readable medium Expired - Fee Related CN108055092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711408302.2A CN108055092B (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
CN201711408302.2A CN108055092B (en) 2017-12-22 2017-12-22 Bluetooth signal adjusting method, device, test terminal, system and readable medium

Publications (2)

Publication Number Publication Date
CN108055092A CN108055092A (en) 2018-05-18
CN108055092B true CN108055092B (en) 2021-07-13

Family

ID=62131471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711408302.2A Expired - Fee Related CN108055092B (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) CN108055092B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990035B (en) * 2018-09-07 2021-10-22 上海华测导航技术股份有限公司 Bluetooth function detection method, device, equipment and storage medium
CN110007297B (en) * 2019-03-18 2021-01-15 北京星网锐捷网络技术有限公司 Method and device for measuring distance between transmitter and receiver
CN109917335B (en) * 2019-03-29 2021-04-20 北京经纬恒润科技股份有限公司 Method and device for calibrating received signal strength
CN111464979A (en) * 2019-10-30 2020-07-28 孙凯旋 Electric drive vehicle control method based on Internet of vehicles, cloud server and storage medium
CN111865449B (en) * 2020-07-20 2023-03-31 深圳市思讯通信技术有限公司 Omnidirectional connection performance test method for Bluetooth audio equipment
CN113466841B (en) * 2021-07-16 2024-05-03 Oppo广东移动通信有限公司 Distance measuring method, device, electronic equipment and storage medium
CN116405968B (en) * 2023-06-07 2023-08-29 深圳市百泰实业股份有限公司 Bluetooth test system with programmable user

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
CN108055092A (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN107896131B (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
CN108234034B (en) Bluetooth signal adjusting method, device, test terminal, system and readable medium
CN108234035B (en) Transmission power adjusting method, device, terminal testing system and electronic terminal
CN108199787B (en) Transmission power adjusting method, device, terminal testing system and electronic terminal
CN108199789B (en) Bluetooth signal adjusting method, device, test terminal, system and readable medium
CN108199785B (en) Transmission power testing method, device and system and electronic equipment
CN108279408B (en) Proximity sensor calibration method and device, mobile terminal and computer readable medium
CN109753425B (en) Popup window processing method and device
CN107450029B (en) Battery state checking method and device, computer equipment and computer readable storage medium
CN104516812A (en) Method and device for testing software
CN112637756B (en) Position detection method, position detection device, electronic equipment and computer readable storage medium
CN112415554B (en) Positioning method and device, electronic equipment and computer readable storage medium
WO2018161540A1 (en) Fingerprint registration method and related product
CN109348504A (en) Power detecting method, mobile terminal and power-sensing circuit
CN106294168A (en) A kind of method and system carrying out Application testing
CN104809055B (en) Application program testing method and device based on cloud platform
CN108234045B (en) Received signal strength adjusting method and device, terminal testing system and electronic terminal
CN112491484A (en) Radio frequency test method, device, storage medium and electronic device
CN110069407B (en) Function test method and device for application program
CN109218082B (en) Network configuration parameter processing method, device and equipment
CN108650041B (en) Signal quality display method and mobile terminal
CN109141355B (en) Relative height measuring method based on multiple sensors and wearable equipment
CN110888494A (en) Angle detection method and device and mobile terminal
CN108123762B (en) Transmission power testing method, device and system and electronic equipment

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210713

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