CN113886164A - Bluetooth product testing method and device and electronic equipment - Google Patents

Bluetooth product testing method and device and electronic equipment Download PDF

Info

Publication number
CN113886164A
CN113886164A CN202111315488.3A CN202111315488A CN113886164A CN 113886164 A CN113886164 A CN 113886164A CN 202111315488 A CN202111315488 A CN 202111315488A CN 113886164 A CN113886164 A CN 113886164A
Authority
CN
China
Prior art keywords
bluetooth
feedback signal
dut
signal
instruction
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.)
Pending
Application number
CN202111315488.3A
Other languages
Chinese (zh)
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 Transtek Medical Electronics Co Ltd
Original Assignee
Guangdong Transtek Medical Electronics Co 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 Transtek Medical Electronics Co Ltd filed Critical Guangdong Transtek Medical Electronics Co Ltd
Priority to CN202111315488.3A priority Critical patent/CN113886164A/en
Publication of CN113886164A publication Critical patent/CN113886164A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Abstract

The invention provides a method and a device for testing a Bluetooth product and electronic equipment, relates to the technical field of Bluetooth and solves the technical problem that the cost for testing the Bluetooth product is high in the prior art. The method comprises the following steps: acquiring a first instruction, and controlling a DUT to transmit a first signal to a Bluetooth test device through the first instruction; receiving a first feedback signal sent by a Bluetooth testing device; the first feedback signal is a feedback signal of the Bluetooth testing device aiming at the first signal; acquiring a second instruction, and controlling the Bluetooth test device to transmit a second signal to the DUT through the second instruction; receiving a second feedback signal sent by the DUT; wherein the second feedback signal is a feedback signal of the DUT for the second signal; and determining a Bluetooth product test result according to the first feedback signal and the second feedback signal.

Description

Bluetooth product testing method and device and electronic equipment
Technical Field
The present application relates to the field of bluetooth technologies, and in particular, to a method and an apparatus for testing a bluetooth product, and an electronic device.
Background
Traditional bluetooth product test needs software and hardware equipment such as host computer, comprehensive tester and anchor clamps. For example, a Test environment is built through a cable, and a bluetooth function of a Device Under Test (DUT) is tested in a manner that an upper computer controls an integrated tester to interact with the DUT.
However, for the existing test method, the test time is long, the equipment cost of the comprehensive tester is high, and the cost for testing the bluetooth product is high.
Disclosure of Invention
The application aims to provide a method and a device for testing a Bluetooth product and electronic equipment, so as to relieve the technical problem of high cost of testing the Bluetooth product in the prior art.
In a first aspect, an embodiment of the present application provides a method for testing a bluetooth product, which is applied to an upper computer, where the upper computer is connected to a DUT and a bluetooth testing device respectively; the method comprises the following steps:
acquiring a first instruction, and controlling the DUT to transmit a first signal to the Bluetooth test device through the first instruction;
receiving a first feedback signal sent by the Bluetooth testing device; wherein the first feedback signal is a feedback signal of the Bluetooth test device for the first signal;
acquiring a second instruction, and controlling the Bluetooth test device to transmit a second signal to the DUT through the second instruction;
receiving a second feedback signal transmitted by the DUT; wherein the second feedback signal is a feedback signal of the DUT for the second signal;
and determining a Bluetooth product test result according to the first feedback signal and the second feedback signal.
In one possible implementation, the step of receiving the first feedback signal sent by the bluetooth testing apparatus includes:
acquiring a third instruction, and controlling the Bluetooth test device to receive a first signal transmitted by the DUT to the Bluetooth test device through the third instruction;
controlling the Bluetooth testing device to send a first feedback signal based on a receiving result of the Bluetooth testing device for the first signal;
and receiving a first feedback signal sent by the Bluetooth testing device.
In one possible implementation, the step of receiving a second feedback signal sent by the DUT includes:
acquiring a fourth instruction, and controlling the DUT to receive a second signal transmitted to the DUT by the Bluetooth test device through the fourth instruction;
controlling the DUT to transmit a second feedback signal based on a result of the reception of the second signal by the DUT;
receiving a second feedback signal transmitted by the DUT.
In one possible implementation, the step of determining the test result of the bluetooth product according to the first feedback signal and the second feedback signal includes:
determining a test result of the transmission function of the Bluetooth product based on the first feedback signal;
determining a test result of the Bluetooth product receiving function based on the second feedback signal;
and storing the test result of the Bluetooth product.
In one possible implementation, the upper computer is connected with the Bluetooth testing device through a communication interface cable; the upper computer is connected with the DUT through a communication interface cable; the Bluetooth test device is connected with the DUT through a wireless and/or radio frequency cable.
In one possible implementation, the communication interface includes any one or more of:
USB interface, SPI interface, IIC interface and UART interface.
In one possible implementation, the bluetooth test apparatus is a bluetooth base station.
In a second aspect, a testing device for a bluetooth product is provided, which is applied to an upper computer, and the upper computer is respectively connected with a DUT and the bluetooth testing device; the device comprises:
the first control module is used for acquiring a first instruction and controlling the DUT to transmit a first signal to the Bluetooth test device through the first instruction;
the first receiving module is used for receiving a first feedback signal sent by the Bluetooth testing device; wherein the first feedback signal is a feedback signal of the Bluetooth test device for the first signal;
the second control module is used for acquiring a second instruction and controlling the Bluetooth test device to transmit a second signal to the DUT through the second instruction;
the second receiving module is used for receiving a second feedback signal sent by the DUT; wherein the second feedback signal is a feedback signal of the DUT for the second signal;
and the determining module is used for determining a Bluetooth product test result according to the first feedback signal and the second feedback signal.
In a third aspect, an embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor executes the computer program to implement the method in the first aspect.
In a fourth aspect, this embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, which, when invoked and executed by a processor, cause the processor to perform the method of the first aspect.
The embodiment of the application brings the following beneficial effects:
the embodiment of the application provides a method and a device for testing a Bluetooth product, and an electronic device, wherein a first instruction can be acquired, a DUT is controlled to transmit a first signal to the Bluetooth testing device through the first instruction, so as to receive a first feedback signal transmitted by the Bluetooth testing device, the first feedback signal is a feedback signal of the Bluetooth testing device for the first signal, then a second instruction can be acquired, the Bluetooth testing device is controlled to transmit a second signal to the DUT through the second instruction, so as to receive a second feedback signal transmitted by the DUT, the second feedback signal is a feedback signal of the DUT for the second signal, and then a Bluetooth product testing result is determined according to the first feedback signal and the second feedback signal. In the scheme, firstly, the upper computer controls the DUT to transmit a first signal to the Bluetooth testing device by acquiring a first instruction, the Bluetooth testing device sends a first feedback signal to the upper computer based on whether the first signal is received, and similarly, the upper computer controls the Bluetooth testing device to transmit a second signal to the DUT by acquiring a second instruction, the DUT sends a second feedback signal to the upper computer based on whether the first signal is received, and finally the upper computer judges the transmitting function and the receiving function of the DUT respectively according to the first feedback signal and the second feedback signal to obtain a testing result aiming at the DUT.
Drawings
In order to more clearly illustrate the detailed description of the present application or the technical solutions in the prior art, the drawings needed to be used in the detailed description of the present application or the prior art description will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic view of an application scenario of a prior art solution;
fig. 2 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of a testing method for a bluetooth product according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a testing apparatus for a bluetooth product according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "comprising" and "having," and any variations thereof, as referred to in the embodiments of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The traditional bluetooth test requires software and hardware devices such as an upper computer (generally, a computer with control software and a driver installed), a comprehensive tester, a clamp, a General-Purpose Interface Bus (GPIB), a network cable, a Universal Serial Bus (USB), and the like, and adopts a mode of interaction between the comprehensive tester and the DUT controlled by the upper computer. The DUT transmits and receives signals via a Transmitter (Transmitter) and a Receiver (Receiver). As shown in fig. 1, the detailed process is as follows: the DUT101 is started, the upper computer 102 controls the DUT101 to enter a test mode, and simultaneously controls the comprehensive tester 103 to initialize to enter a test preparation state; when testing transmission, the upper computer 102 controls the DUT101 to turn on a transmitter, the transmitter transmits power, the upper computer 102 controls the comprehensive tester 103 to receive the power transmitted by the DUT101 for measurement, and reads a measurement result to finish transmitter testing; when the measurement is received, the upper computer 102 controls the integrated tester 103 to turn on the signal generator and send out the target signal power, then controls the DUT101 to turn on the receiver to receive the signal sent out by the integrated tester 103, and the upper computer 102 reads the signal intensity of the DUT101 to complete the receiver test. The whole testing process is about 20 seconds, the testing time is long, the Output per hour (UPH) is low, the equipment cost is high, and the low-cost requirement of low input and high Output cannot be met. And special people are required to invest in developing instrument interface control, so that the realization is complex.
In addition, the DUT enters a test mode before the test is started by using the integrated tester, and in consideration of the complexity of software design and the limitation of equipment storage space, test firmware and user firmware of most Bluetooth devices to be tested are designed independently, so that the test firmware needs to be firstly brushed before the device to be tested enters the test mode, and the user firmware needs to be brushed after the test is finished, thereby increasing the complexity of the test procedure and greatly shrinking the UPH of a production line.
According to the defects, the existing testing method has the disadvantages that the testing time is long, the equipment cost of the comprehensive tester is high, and the cost for testing the Bluetooth product is high.
Based on this, the embodiment of the present application provides a method and an apparatus for testing a bluetooth product, and an electronic device, and the main content is as shown in fig. 2, in the present invention, a simple bluetooth testing apparatus 201 (bluetooth base station) is used to replace an integrated tester to complete the test of a DUT203, so that the testing process is greatly simplified: when the transmitting function is tested, the DUT203 is started and sends a Bluetooth signal, the upper computer 202 controls the Bluetooth testing device 201 to search the Bluetooth signal of a Media Access Control Address (MAC) of the DUT203, and records the searched signal intensity; when the receiving function is tested, the upper computer 202 controls the Bluetooth testing device 201 to transmit Bluetooth signals, controls the DUT203 to search the MAC address of the Bluetooth testing device 201, reads and records the signal intensity, and the transmission and receiving tests are finished.
This scheme need not expensive comprehensive tester, only needs simple cheap bluetooth testing arrangement 201 (bluetooth basic station) just can realize, and the equipment cost reduces by a wide margin, does not need the special messenger to do interface program development yet, only needs can realize basic test through sending simple instruction, and the process is simple, and test speed is fast, can reach very high UPH. The method can solve the technical problem of high cost of testing the Bluetooth product in the prior art.
The embodiments of the present application will be further described with reference to the accompanying drawings.
Fig. 3 is a schematic flowchart of a testing method of a bluetooth product according to an embodiment of the present application, where the method may be applied to an upper computer. As shown in fig. 3, the method includes:
step S310, a first instruction is obtained, and the DUT is controlled to transmit a first signal to the Bluetooth test device through the first instruction.
Illustratively, as shown in fig. 2, the upper computer 202 acquires a first instruction, and controls the DUT203 to turn on the transmitter to transmit a first signal to the bluetooth test apparatus 201 at a target power through the first instruction.
The first instruction may be an instruction issued by a user operation, or may be an instruction automatically issued by the test program. DUT203 may include, but is not limited to: the Bluetooth mobile phone comprises any equipment with a Bluetooth function, such as a mobile phone, a tablet personal computer, an intelligent watch and the like.
Step S320, receiving a first feedback signal sent by the bluetooth testing apparatus.
The first feedback signal is a feedback signal of the Bluetooth testing device for the first signal.
For example, as shown in fig. 2, the bluetooth testing apparatus 201 may give a feedback signal to the upper computer 202 based on the receiving status of the first signal.
And step S330, acquiring a second instruction, and controlling the Bluetooth test device to transmit a second signal to the DUT through the second instruction.
Illustratively, as shown in fig. 2, the upper computer 202 acquires a second instruction and controls the bluetooth testing apparatus 201 to transmit a bluetooth signal at a target power according to the second instruction.
The second instruction may be an instruction issued by a user operation or an instruction automatically issued by the test program.
Step S340, receiving a second feedback signal sent by the DUT; wherein the second feedback signal is a feedback signal of the DUT for the second signal.
Illustratively, as shown in fig. 2, the DUT203 may give the host computer 202 a feedback signal based on the reception status of the second signal.
And step S350, determining a Bluetooth product test result according to the first feedback signal and the second feedback signal.
In the scheme, firstly, the upper computer controls the DUT to transmit a first signal to the Bluetooth testing device by acquiring a first instruction, the Bluetooth testing device sends a first feedback signal to the upper computer based on whether the first signal is received, and similarly, the upper computer controls the Bluetooth testing device to transmit a second signal to the DUT by acquiring a second instruction, the DUT sends a second feedback signal to the upper computer based on whether the first signal is received, and finally the upper computer judges the transmitting function and the receiving function of the DUT respectively according to the first feedback signal and the second feedback signal to obtain a testing result aiming at the DUT.
In some embodiments, the upper computer controls the bluetooth testing device to receive the first signal transmitted by the DUT, and controls the bluetooth testing device to give the upper computer a feedback signal based on whether the first signal is received, so that the upper computer can make an accurate detection. As an example, the step S320 may specifically include the following steps:
and a), acquiring a third instruction, and controlling the Bluetooth test device to receive a first signal transmitted from the DUT to the Bluetooth test device through the third instruction.
And b), controlling the Bluetooth testing device to send a first feedback signal based on the receiving result of the Bluetooth testing device for the first signal.
And c), receiving a first feedback signal sent by the Bluetooth testing device.
Illustratively, as shown in fig. 2, the upper computer 202 controls the bluetooth testing apparatus 201 to receive the first signal transmitted by the DUT203 based on the third instruction, and whether the bluetooth testing apparatus 201 receives the first signal transmitted by the DUT203 or does not receive the first signal transmitted by the DUT203, a feedback signal is sent to the upper computer 202, and the sent feedback signal is different only based on different receiving results. For example, when the bluetooth test device 201 receives a bluetooth signal, the power of the received bluetooth signal is fed back to the upper computer 202; if the bluetooth test device 201 does not receive the bluetooth signal, feeding back a signal which is not received to the upper computer 202.
Through making the host computer obtain the third instruction to through third instruction control bluetooth testing arrangement receiving DUT to bluetooth testing arrangement transmission first signal, thereby based on the receiving result of bluetooth testing arrangement to first signal, control bluetooth testing arrangement and send first feedback signal, and then receive the first feedback signal that bluetooth testing arrangement sent, can make the host computer can make accurate detection.
In some embodiments, the upper computer controls the DUT to receive the second signal transmitted by the bluetooth testing apparatus, and controls the DUT to give the upper computer a feedback signal based on whether the second signal is received, so that the upper computer can make an accurate detection. As an example, the step S340 may specifically include the following steps:
step d), acquiring a fourth instruction, and controlling the DUT to receive a second signal transmitted to the DUT by the Bluetooth test device through the fourth instruction;
step e), controlling the DUT to send a second feedback signal based on the receiving result of the DUT for the second signal;
and f), receiving a second feedback signal sent by the DUT.
Illustratively, as shown in fig. 2, the upper computer 202 controls the bluetooth test apparatus 201 to transmit a second signal to the DUT203 based on a fourth instruction, wherein the power of the second signal is known, and the DUT203 sends a feedback signal to the upper computer 202 whether receiving or not receiving the second signal transmitted by the bluetooth test apparatus 201, and the sent feedback signal is different only based on different receiving results. For example, when the DUT203 receives a bluetooth signal, it feeds back to the upper computer 202 according to the power of the received bluetooth signal; if the DUT203 does not receive the Bluetooth signal, it feeds back an unreceived signal to the upper computer 202.
The upper computer obtains the fourth instruction, and controls the DUT to receive the second signal transmitted by the Bluetooth test device to the DUT through the fourth instruction, so that the DUT is controlled to transmit the second feedback signal based on the receiving result of the DUT for the second signal, and the second feedback signal transmitted by the DUT is received, and the upper computer can perform accurate detection.
In some embodiments, the upper computer can accurately test the bluetooth function of the DUT according to the first feedback signal and the second feedback signal. As an example, the step S350 may specifically include the following steps:
and g), determining a test result of the transmitting function of the Bluetooth product based on the first feedback signal.
And h), determining a test result of the receiving function of the Bluetooth product based on the second feedback signal.
And step i), storing the test result of the Bluetooth product.
In practical applications, the overall process of testing can be understood as follows:
as shown in fig. 2, a connected test environment is set up, a user starts up a bluetooth test device 201 and a DUT203, an upper computer 202 is operated to start a test under program control, the bluetooth test device 201 is initialized, the upper computer 202 controls the DUT203 to turn on a transmitter to send target power, the upper computer 202 controls the bluetooth test device 201 to read the transmission power and feed back the transmission power to the upper computer 202, the upper computer controls the bluetooth test device 201 to transmit bluetooth signals (the power is known), the upper computer 202 controls the DUT203 to search for the bluetooth signals and feed back the signal strength to the upper computer 202, the upper computer respectively judges whether the transmitting function and the receiving function of the DUT are normal or not according to the two feedback signals, and the upper computer completes data processing and storage. The whole testing process is within 10 seconds, and compared with the testing time of about 20 seconds in the prior art, the testing time is shortened, and the UPH is improved.
In some embodiments, connection through complex connection equipment and test firmware is not needed, so that rapid detection is realized, and test cost is reduced. As an example, the upper computer is connected with the bluetooth testing device through a communication interface cable; the upper computer is connected with the DUT through a communication interface cable; the bluetooth test apparatus is connected to the DUT via a wireless and/or radio frequency cable.
By allowing the test environment to be built through a simple communication interface cable, there is no need to prepare specific connection equipment and to flush test firmware in advance for the DUT, enabling rapid detection.
In some embodiments, multiple communication interfaces may be covered so that rapid bluetooth detection may be performed for different kinds of devices. As an example, the communication interface includes any one or more of:
USB interface, SPI interface, IIC interface and UART interface.
By covering various communication interfaces, corresponding application equipment of the detection method can be richer, application scenes can be richer, and quick detection can be carried out on different types of equipment more flexibly.
In some embodiments, a simple bluetooth test device may be used instead of an expensive comprehensive tester, thereby reducing test costs. As an example, the bluetooth test apparatus is a bluetooth base station.
In practical applications, the bluetooth base station may include many kinds, and its core is to receive and transmit bluetooth power. The bluetooth base station can be professional small-size bluetooth base station, can also be through installing the instrument that detects the bluetooth signal in the cell-phone, can regard as a bluetooth base station with the cell-phone and use.
The expensive comprehensive tester is replaced by the simple and easily-obtained Bluetooth base station, so that the test cost can be reduced, test firmware does not need to be brushed into the DUT, and the rapid detection is realized.
Fig. 4 provides a schematic structural diagram of a testing apparatus 400 for a bluetooth product. The device can be applied to the host computer. As shown in fig. 4, the apparatus includes:
the first control module 401 is configured to obtain a first instruction, and control the DUT to transmit a first signal to the bluetooth testing apparatus through the first instruction;
a first receiving module 402, configured to receive a first feedback signal sent by a bluetooth testing apparatus; the first feedback signal is a feedback signal of the Bluetooth testing device aiming at the first signal;
the second control module 403 is configured to obtain a second instruction, and control the bluetooth testing apparatus to transmit a second signal to the DUT through the second instruction;
a second receiving module 404, configured to receive a second feedback signal sent by the DUT; wherein the second feedback signal is a feedback signal of the DUT for the second signal;
a determining module 405, configured to determine a bluetooth product test result according to the first feedback signal and the second feedback signal.
In some embodiments, the first receiving module 402 is specifically configured to:
acquiring a third instruction, and controlling the Bluetooth test device to receive a first signal transmitted to the Bluetooth test device by the DUT through the third instruction;
controlling the Bluetooth testing device to send a first feedback signal based on a receiving result of the Bluetooth testing device for the first signal;
and receiving a first feedback signal sent by the Bluetooth testing device.
In some embodiments, the second receiving module 404 is specifically configured to:
acquiring a fourth instruction, and controlling the DUT to receive a second signal transmitted to the DUT by the Bluetooth test device through the fourth instruction;
controlling the DUT to transmit a second feedback signal based on a reception result of the DUT for the second signal;
and receiving a second feedback signal transmitted by the DUT.
In some embodiments, the determining module 405 is specifically configured to:
determining a test result of the transmitting function of the Bluetooth product based on the first feedback signal;
determining a test result of the receiving function of the Bluetooth product based on the second feedback signal;
and storing the test result of the Bluetooth product.
In some embodiments, the upper computer is connected with the bluetooth test device through a communication interface cable; the upper computer is connected with the DUT through a communication interface cable; the bluetooth test apparatus is connected to the DUT via a wireless and/or radio frequency cable.
In some embodiments, the communication interface comprises any one or more of:
USB interface, SPI interface, IIC interface and UART interface.
In some embodiments, the bluetooth test apparatus is a bluetooth base station.
The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments.
The embodiment of the invention provides electronic equipment, which particularly comprises a processor and a storage device; the storage means has stored thereon a computer program which, when executed by the processor, performs the method of any of the above described embodiments.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device includes: the system comprises a processor 501, a memory 502, a bus 503 and a communication interface 504, wherein the processor 501, the communication interface 504 and the memory 502 are connected through the bus 503; the processor 501 is arranged to execute executable modules, such as computer programs, stored in the memory 502.
The Memory 502 may include a high-speed Random Access Memory (RAM) and may also include a Non-volatile Memory (Non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 504 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
Bus 503 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 5, but this does not indicate only one bus or one type of bus.
The memory 502 is used for storing a program, the processor 501 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501.
The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The Processor 501 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the method in combination with the hardware.
The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the foregoing method embodiment, which is not described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The test method of the Bluetooth product is characterized by being applied to an upper computer, wherein the upper computer is respectively connected with a DUT (device under test) and a Bluetooth test device; the method comprises the following steps:
acquiring a first instruction, and controlling the DUT to transmit a first signal to the Bluetooth test device through the first instruction;
receiving a first feedback signal sent by the Bluetooth testing device; wherein the first feedback signal is a feedback signal of the Bluetooth test device for the first signal;
acquiring a second instruction, and controlling the Bluetooth test device to transmit a second signal to the DUT through the second instruction;
receiving a second feedback signal transmitted by the DUT; wherein the second feedback signal is a feedback signal of the DUT for the second signal;
and determining a Bluetooth product test result according to the first feedback signal and the second feedback signal.
2. The method of claim 1, wherein the step of receiving the first feedback signal sent by the bluetooth test apparatus comprises:
acquiring a third instruction, and controlling the Bluetooth test device to receive a first signal transmitted by the DUT to the Bluetooth test device through the third instruction;
controlling the Bluetooth testing device to send a first feedback signal based on a receiving result of the Bluetooth testing device for the first signal;
and receiving a first feedback signal sent by the Bluetooth testing device.
3. The method of claim 1, wherein said step of receiving a second feedback signal transmitted by said DUT comprises:
acquiring a fourth instruction, and controlling the DUT to receive a second signal transmitted to the DUT by the Bluetooth test device through the fourth instruction;
controlling the DUT to transmit a second feedback signal based on a result of the reception of the second signal by the DUT;
receiving a second feedback signal transmitted by the DUT.
4. The method of claim 1, wherein the step of determining the result of the bluetooth product test based on the first feedback signal and the second feedback signal comprises:
determining a test result of the transmission function of the Bluetooth product based on the first feedback signal;
determining a test result of the Bluetooth product receiving function based on the second feedback signal;
and storing the test result of the Bluetooth product.
5. The method according to claim 1, wherein the upper computer is connected with the Bluetooth testing device through a communication interface cable; the upper computer is connected with the DUT through a communication interface cable; the Bluetooth test device is connected with the DUT through a wireless and/or radio frequency cable.
6. The method of claim 5, wherein the communication interface comprises any one or more of:
USB interface, SPI interface, IIC interface and UART interface.
7. The method of claim 1, wherein the bluetooth test device is a bluetooth base station.
8. The testing device of the Bluetooth product is characterized by being applied to an upper computer, wherein the upper computer is respectively connected with a DUT (device under test) and a Bluetooth testing device; the device comprises:
the first control module is used for acquiring a first instruction and controlling the DUT to transmit a first signal to the Bluetooth test device through the first instruction;
the first receiving module is used for receiving a first feedback signal sent by the Bluetooth testing device; wherein the first feedback signal is a feedback signal of the Bluetooth test device for the first signal;
the second control module is used for acquiring a second instruction and controlling the Bluetooth test device to transmit a second signal to the DUT through the second instruction;
the second receiving module is used for receiving a second feedback signal sent by the DUT; wherein the second feedback signal is a feedback signal of the DUT for the second signal;
and the determining module is used for determining a Bluetooth product test result according to the first feedback signal and the second feedback signal.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and wherein the processor implements the steps of the method of any of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium having stored thereon computer executable instructions which, when invoked and executed by a processor, cause the processor to execute the method of any of claims 1 to 7.
CN202111315488.3A 2021-11-08 2021-11-08 Bluetooth product testing method and device and electronic equipment Pending CN113886164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111315488.3A CN113886164A (en) 2021-11-08 2021-11-08 Bluetooth product testing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111315488.3A CN113886164A (en) 2021-11-08 2021-11-08 Bluetooth product testing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113886164A true CN113886164A (en) 2022-01-04

Family

ID=79017402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111315488.3A Pending CN113886164A (en) 2021-11-08 2021-11-08 Bluetooth product testing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113886164A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553328A (en) * 2022-02-22 2022-05-27 深圳市冠旭电子股份有限公司 Bluetooth device testing method and device, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201007569A (en) * 2008-08-15 2010-02-16 Chi Mei Comm Systems Inc System and method for testing bluetooth
CN101751313A (en) * 2008-10-17 2010-06-23 环旭电子股份有限公司 Measuring device of input/output end port and measuring method thereof
US20120190304A1 (en) * 2009-08-27 2012-07-26 Zte Corporation Bluetooth Function Providing Method and Terminal for Computer
CN106646053A (en) * 2016-12-28 2017-05-10 深圳市磊科实业有限公司 Antenna testing device and method for batch production WiFi/Bluetooth products
CN106851678A (en) * 2017-02-15 2017-06-13 Tcl通力电子(惠州)有限公司 Blue tooth productses method of testing and device
CN108829609A (en) * 2018-07-27 2018-11-16 深圳智芯数据服务有限公司 A kind of test method and system of blue tooth products

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201007569A (en) * 2008-08-15 2010-02-16 Chi Mei Comm Systems Inc System and method for testing bluetooth
CN101751313A (en) * 2008-10-17 2010-06-23 环旭电子股份有限公司 Measuring device of input/output end port and measuring method thereof
US20120190304A1 (en) * 2009-08-27 2012-07-26 Zte Corporation Bluetooth Function Providing Method and Terminal for Computer
CN106646053A (en) * 2016-12-28 2017-05-10 深圳市磊科实业有限公司 Antenna testing device and method for batch production WiFi/Bluetooth products
CN106851678A (en) * 2017-02-15 2017-06-13 Tcl通力电子(惠州)有限公司 Blue tooth productses method of testing and device
CN108829609A (en) * 2018-07-27 2018-11-16 深圳智芯数据服务有限公司 A kind of test method and system of blue tooth products

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑之光, 卫耀辉, 杨红丽: "蓝牙设备的测试方案", 数据通信, no. 01, 30 March 2002 (2002-03-30) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553328A (en) * 2022-02-22 2022-05-27 深圳市冠旭电子股份有限公司 Bluetooth device testing method and device, electronic device and storage medium
CN114553328B (en) * 2022-02-22 2023-10-20 深圳市冠旭电子股份有限公司 Bluetooth device testing method and device, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN105577293B (en) A kind of test method of bluetooth equipment, apparatus and system
CN108803577B (en) Diagnosis method, upper computer and lower computer
CN106771972B (en) Automatic testing device, system and method for POS machine mainboard
CN111372232B (en) Method and system for first connection pairing of electric energy meter and Bluetooth circuit breaker
CN111579959A (en) Chip verification method, device and storage medium
CN112996020B (en) Bluetooth-based automatic test method and device and Bluetooth test terminal
CN113419926B (en) Method, system and device for monitoring server BIOS starting process
CN113886164A (en) Bluetooth product testing method and device and electronic equipment
CN113133041B (en) Method and device for testing vehicle-to-vehicle communication function in dynamic interval train control vehicle
CN105045671A (en) Method and device for upgrading systems of intelligent terminals
CN111179907A (en) Voice recognition test method, device, equipment and computer readable storage medium
CN111090039A (en) FPGA function test method and device
CN110289890B (en) Near field communication test method, system, mobile terminal and storage medium
CN112486833A (en) Software testing system and method capable of dynamically reconstructing on demand and oriented to software defined satellite
CN111949538A (en) Data analysis method, equipment and system
CN108600042B (en) WiFi test method and device for electronic equipment, storage medium and test equipment
CN111786852A (en) Test method and related equipment
CN113360161A (en) Resource upgrading method and related product
US7337346B2 (en) Method and apparatus for fine tuning a memory interface
CN111352023B (en) Crystal oscillator detection method and device and computer readable storage medium
JPH10276266A (en) Exchange test device
CN115080328A (en) Board card testing method and system
CN114253784A (en) Configuration method and device of chip test mode, SOC chip and electronic equipment
CN108536482B (en) Application shielding method, device, server and storage medium
CN107302605B (en) Configuration method and device of television proxy server, television and 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