[go: up one dir, main page]

CN113886164B - 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
CN113886164B
CN113886164B CN202111315488.3A CN202111315488A CN113886164B CN 113886164 B CN113886164 B CN 113886164B CN 202111315488 A CN202111315488 A CN 202111315488A CN 113886164 B CN113886164 B CN 113886164B
Authority
CN
China
Prior art keywords
bluetooth
dut
feedback signal
signal
testing device
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.)
Active
Application number
CN202111315488.3A
Other languages
Chinese (zh)
Other versions
CN113886164A (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 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/CN113886164B/en
Publication of CN113886164A publication Critical patent/CN113886164A/en
Application granted granted Critical
Publication of CN113886164B publication Critical patent/CN113886164B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a testing method and device for a Bluetooth product and electronic equipment, relates to the technical field of Bluetooth, and solves the technical problem of high cost for testing the Bluetooth product in the prior art. The method comprises the following steps: acquiring a first instruction, and controlling the DUT to transmit a first signal to the Bluetooth testing 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 testing 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 requires software and hardware equipment such as an upper computer, a comprehensive tester and a clamp. For example, a testing environment is built through a cable, and the Bluetooth function of the DUT is tested in a mode that an upper computer controls the comprehensive tester to interact with the tested device (Device Under Test, DUT).
However, for the existing testing method, the time consumed by testing is long, the equipment cost of the comprehensive tester is high, and the cost of testing the Bluetooth product is high.
Disclosure of Invention
The application aims to provide a Bluetooth product testing method and device and electronic equipment, so as to solve the technical problem of high cost for 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 testing device through the first instruction;
Receiving a first feedback signal sent by the 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 testing 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.
In one possible implementation, the step of receiving the first feedback signal sent by the bluetooth test device includes:
acquiring a third instruction, and controlling the Bluetooth testing device to receive the DUT and transmit a first signal to the Bluetooth testing 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 the second feedback signal sent by the DUT includes:
acquiring a fourth instruction, and controlling the DUT to receive the Bluetooth testing device and transmit a second signal to the DUT through the fourth instruction;
controlling the DUT to send a second feedback signal based on a receiving result of the DUT for the second signal;
and receiving a second feedback signal sent by the DUT.
In one possible implementation, the step of determining the bluetooth product test result according to the first feedback signal and the second feedback signal includes:
determining a test result of the Bluetooth product transmitting function 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 testing 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 the following:
USB interface, SPI interface, IIC interface and UART interface.
In one possible implementation, the bluetooth test device is a bluetooth base station.
In a second aspect, a testing device for a bluetooth product is provided, and the testing device 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 testing device through the first instruction;
The first receiving module is used for receiving a first feedback signal sent by the Bluetooth testing device; the first feedback signal is a feedback signal of the Bluetooth testing device aiming at the first signal;
The second control module is used for acquiring a second instruction and controlling the Bluetooth testing device to transmit a second signal to the DUT through the second instruction;
A second receiving module, 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;
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, including a memory, and a processor, where the memory stores a computer program that can be executed by the processor, and the processor executes the method according to the first aspect.
In a fourth aspect, embodiments of the present application further provide 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 described above.
The embodiment of the application has the following beneficial effects:
The embodiment of the application provides a testing method and device for a Bluetooth product and electronic equipment, which can acquire a first instruction, control a DUT to transmit a first signal to the Bluetooth testing device through the first instruction, and accordingly receive a first feedback signal sent by the Bluetooth testing device, wherein the first feedback signal is a feedback signal of the Bluetooth testing device aiming at the first signal, then acquire a second instruction, control the Bluetooth testing device to transmit a second signal to the DUT through the second instruction, and accordingly receive a second feedback signal sent by the DUT, wherein the second feedback signal is a feedback signal of the DUT aiming at the second signal, and further determine a Bluetooth product testing 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 transmits 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 transmits the 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 according to the first feedback signal and the second feedback signal respectively, so that the test result of the DUT is obtained.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present application, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of an application scenario of a prior art solution;
Fig. 2 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 3 is a flow chart of a testing method of a bluetooth product according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a testing device for bluetooth products according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms "comprising" and "having" and any variations thereof, as used in the embodiments of the present application, are intended to cover non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or apparatus.
The traditional Bluetooth test requires a host computer (generally a computer provided with control software and a driver), a comprehensive tester, a clamp, a General-purpose interface bus (GPIB), a network cable, a universal serial bus (Universal Serial Bus, USB) and other software and hardware equipment, and adopts the host computer to control the comprehensive tester and the DUT to interact. The DUT transmits and receives signals through a Transmitter (Transmitter) and a Receiver (Receiver). As shown in fig. 1, the detailed procedure 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 be initialized to enter a test preparation state; when testing and transmitting, the upper computer 102 controls the DUT101 to turn on the transmitter, the transmitter transmits power, the upper computer 102 controls the comprehensive tester 103 to receive the power transmitted by the DUT101 for measuring, and reads the measuring result to finish the transmitter test; during measurement and reception, the upper computer 102 controls the comprehensive tester 103 to open a signal generator and send out target signal power, then controls the DUT101 to open a receiver to receive the signal sent out by the comprehensive tester 103, and the upper computer 102 reads the signal intensity of the DUT101 again to finish the receiver test. The whole test process is about 20 seconds, the test 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 personnel are required to input and develop instrument interface control, so that the implementation is complex.
In addition, the DUT is required to enter a test mode before the test by the comprehensive tester, and the test firmware and the user firmware of most Bluetooth devices to be tested are designed independently in consideration of the complexity of software design and the limitation of the storage space of the devices, so that the test firmware needs to be brushed before the machine to be tested enters the test mode, and the user firmware needs to be brushed after the test, thereby increasing the complexity of the test procedure and greatly shrinking the UPH of the production line.
As can be seen from the above-mentioned drawbacks, the existing testing method consumes a long time for testing, and the cost of the comprehensive tester is high, which results in a high cost for testing bluetooth products.
Based on this, the embodiment of the application provides a testing method and device for bluetooth products and an electronic device, the main content is as shown in fig. 2, and the application completes the test of DUT203 by using simple bluetooth testing device 201 (bluetooth base station) instead of comprehensive tester, the testing process is greatly simplified: when the transmitting function is tested, the DUT203 is started and sends out Bluetooth signals, the upper computer 202 controls the Bluetooth testing device 201 to search Bluetooth signals of a media access Control Address (MAC) of the DUT203, and the searched signal intensity is recorded; when testing the receiving function, the upper computer 202 controls the Bluetooth testing device 201 to emit Bluetooth signals, controls the DUT203 to search the MAC address of the Bluetooth testing device 201, reads and records the signal intensity, and the emitting and receiving test is completed.
The scheme does not need an expensive comprehensive tester, can be realized only by a simple and cheap Bluetooth testing device 201 (Bluetooth base station), greatly reduces the equipment cost, does not need special personnel to develop an interface program, can realize basic testing only by sending a simple instruction, has simple process and high testing speed, and can reach very high UPH. The method can alleviate the technical problem of high cost for testing the Bluetooth product in the prior art.
Embodiments of the present application are further described below with reference to the accompanying drawings.
Fig. 3 is a flow chart 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 acquired, and the DUT is controlled to transmit a first signal to the Bluetooth testing device through the first instruction.
Illustratively, as shown in fig. 2, the upper computer 202 obtains a first instruction, and controls the DUT203 to turn on the transmitter to transmit a first signal to the bluetooth test device 201 at a target power through the first instruction.
It should be noted that, the first instruction may be an instruction sent by a user operation, or may be an instruction automatically sent by the test program. The DUT203 may include, but is not limited to: and any device with Bluetooth function such as a mobile phone, a tablet personal computer and a smart watch.
Step S320, receiving a first feedback signal sent by the bluetooth testing device.
The first feedback signal is a feedback signal of the Bluetooth testing device aiming at the first signal.
For example, as shown in fig. 2, the bluetooth test device 201 may give a feedback signal to the upper computer 202 based on the reception state of the first signal.
Step S330, a second instruction is acquired, and the Bluetooth testing device is controlled to transmit a second signal to the DUT through the second instruction.
Illustratively, as shown in fig. 2, the upper computer 202 obtains a second instruction, and controls the bluetooth testing device 201 to transmit a bluetooth signal according to the target power through the second instruction.
It should be noted that, the second instruction may be an instruction sent by a user operation, or may be an instruction automatically sent 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 a feedback signal to the host computer 202 based on the reception status of the second signal.
Step S350, determining the 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 transmits 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 transmits the 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 according to the first feedback signal and the second feedback signal respectively, so that the test result of the DUT is obtained.
In some embodiments, the host computer will control the bluetooth test device to receive the first signal transmitted by the DUT and control the bluetooth test device to give a feedback signal to the host computer based on whether the first signal is received, so that the host computer can make accurate detection. As an example, the step S320 may specifically include the following steps:
And a step a), obtaining a third instruction, and controlling the Bluetooth testing device to receive the DUT and transmit a first signal to the Bluetooth testing 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 device 201 to receive the first signal transmitted by the DUT203 based on the third instruction, and whether the bluetooth testing device 201 receives or does not receive the first signal transmitted by the DUT203, a feedback signal will be sent to the upper computer 202, but the feedback signal sent will be different based on different receiving results. For example, when the bluetooth test device 201 receives a bluetooth signal, the bluetooth signal power is fed back to the upper computer 202; if the Bluetooth testing device 201 does not receive the Bluetooth signal, a signal which is not received is fed back to the upper computer 202.
The upper computer is enabled to acquire the third instruction, and the Bluetooth testing device is controlled to receive the DUT through the third instruction and transmit the first signal to the Bluetooth testing device, so that the Bluetooth testing device is controlled to transmit the first feedback signal based on the receiving result of the first signal by the Bluetooth testing device, and then the first feedback signal transmitted by the Bluetooth testing device is received, and the upper computer can make accurate detection.
In some embodiments, the host computer will control the DUT to receive the second signal transmitted by the bluetooth test device and control the DUT to give a feedback signal to the host computer based on whether the second signal is received, so that the host computer can make accurate detection. As an example, the step S340 may specifically include the following steps:
Step d), a fourth instruction is obtained, and the DUT is controlled to receive the Bluetooth testing device and transmit a second signal to the DUT through the fourth instruction;
Step e), based on the receiving result of the DUT aiming at the second signal, controlling the DUT to send the second feedback signal;
step f), receiving a second feedback signal sent by the DUT.
Illustratively, as shown in fig. 2, the upper computer 202 controls the bluetooth test device 201 to transmit the second signal to the DUT203 based on the fourth instruction, wherein the power of the second signal is known, and whether the DUT203 receives or does not receive the second signal transmitted by the bluetooth test device 201, a feedback signal will be transmitted to the upper computer 202, and only based on different receiving results, the transmitted feedback signal is different. For example, when the DUT203 receives a bluetooth signal, the received bluetooth signal is fed back to the upper computer 202; if the DUT203 does not receive the Bluetooth signal, a signal that is not received is fed back to the host 202.
The upper computer is enabled to acquire the fourth instruction, and the Bluetooth testing device is controlled to transmit the second signal 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 aiming at the second signal, and further the second feedback signal transmitted by the DUT is received, and the upper computer can be enabled to make accurate detection.
In some embodiments, the host computer may perform accurate testing of 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 Bluetooth product transmitting function based on the first feedback signal.
And h), determining a test result of the Bluetooth product receiving function based on the second feedback signal.
And 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 the bluetooth test device 201 and the DUT203, runs the program control of the upper computer 202 to start the test, initializes the bluetooth test device 201, controls the DUT203 to open a transmitter to send target power, controls the bluetooth test device 201 to read the transmitting power and feeds back the transmitting power to the upper computer 202, controls the bluetooth test device 201 to transmit bluetooth signals (with known power), controls the DUT203 to search for bluetooth signals, feeds back the signal intensity to the upper computer 202, and determines whether the transmitting function and the receiving function of the DUT are normal for the two feedback signals respectively, and the upper computer completes data processing and saves the data. The whole test process is within 10 seconds, compared with the test time of about 20 seconds in the prior art, the test time is shortened, and the UPH is improved.
In some embodiments, connection is not required through complex connection equipment and test firmware, so that quick detection is realized, and test cost is reduced. As an example, 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 testing device is connected with the DUT through wireless and/or radio frequency cables.
By having the test environment built through a simple communication interface cable, quick detection is achieved without having to prepare special connection equipment and swiping test firmware into the DUT in advance.
In some embodiments, multiple communication interfaces may be contemplated so that rapid bluetooth detection may be performed for different kinds of devices. As one example, the communication interface includes any one or more of the following:
USB interface, SPI interface, IIC interface and UART interface.
Through covering multiple communication interfaces, the corresponding application equipment of the detection method can be richer, the application scene is richer, and the rapid detection can be performed 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 one example, the bluetooth test device is a bluetooth base station.
In practical applications, bluetooth base stations may include a wide variety of types, and the core of the bluetooth base station is to receive and transmit bluetooth power. The Bluetooth base station can be a professional small Bluetooth base station, and can be used as a Bluetooth base station by installing a tool for detecting Bluetooth signals in the mobile phone.
By using a simple and readily available Bluetooth base station instead of an expensive comprehensive tester, the test cost can be reduced, and the test firmware does not need to be brushed into the DUT, thereby realizing rapid detection.
Fig. 4 provides a schematic structural diagram of a bluetooth product testing device 400. The device can be applied to an upper 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 test device through the first instruction;
a first receiving module 402, configured to receive a first feedback signal sent by the bluetooth testing device; the first feedback signal is a feedback signal of the Bluetooth testing device aiming at the first signal;
a second control module 403, configured to obtain a second instruction, and control the bluetooth test device 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;
the determining module 405 is 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 testing device to receive the DUT and transmit a first signal to the Bluetooth testing device through the third instruction;
based on the receiving result of the Bluetooth testing device aiming at the first signal, controlling the Bluetooth testing device to send a first feedback 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 the Bluetooth testing device and transmit a second signal to the DUT through the fourth instruction;
Controlling the DUT to send a second feedback signal based on a receiving result of the DUT for the second signal;
And receiving a second feedback signal sent by the DUT.
In some embodiments, the determining module 405 is specifically configured to:
determining a test result of a Bluetooth product transmitting function 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 some embodiments, 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 testing device is connected with the DUT through wireless and/or radio frequency cables.
In some embodiments, the communication interface includes any one or more of the following:
USB interface, SPI interface, IIC interface and UART interface.
In some embodiments, the bluetooth test device is a bluetooth base station.
The device provided by the embodiment of the present invention has the same implementation principle and technical effects as those of the foregoing method embodiment, and for the sake of brevity, reference may be made to the corresponding content in the foregoing method embodiment where the device embodiment is not mentioned.
The embodiment of the invention provides electronic equipment, which 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 embodiments described above.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device includes: 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 by the bus 503; the processor 501 is configured 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, random Access Memory), and may further include a Non-volatile Memory (Non-volatile Memory), such as at least one disk Memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 504 (which may be wired or wireless), which may use the internet, a wide area network, a local network, a metropolitan area network, etc.
Bus 503 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 5, but not only one bus or type of bus.
The memory 502 is configured to store a program, and the processor 501 executes the program after receiving an execution instruction, where the method executed by the apparatus for flow defining 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 circuitry in hardware or instructions in software in the processor 501. The processor 501 may be a general-purpose processor, including a central processing unit (Central Processing Unit, abbreviated as CPU), a network processor (Network Processor, abbreviated as NP), etc.; but may also be a digital signal processor (DIGITAL SIGNAL Processing, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks 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 embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 502, and the processor 501 reads information in the memory 502 and, in combination with its hardware, performs the steps of the method described above.
The computer program product of the readable storage medium provided by the embodiment of the present invention includes a computer readable storage medium storing a program code, where the program code includes instructions for executing the method described in the foregoing method embodiment, and the specific implementation may refer to the foregoing method embodiment and will not be described herein.
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 this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. The testing method of the Bluetooth product is characterized by being applied to an upper computer, wherein the upper computer is respectively connected with a DUT and a Bluetooth testing device; the method comprises the following steps:
Acquiring a first instruction, and controlling the DUT to transmit a first signal to the Bluetooth testing device according to target power through the first instruction;
acquiring a third instruction, and controlling the Bluetooth testing device to receive the DUT and transmit a first signal to the Bluetooth testing 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;
Receiving a first feedback signal sent by the Bluetooth testing device; wherein the first feedback signal is a Bluetooth signal of the Bluetooth testing device searching for a media access control address of the DUT;
Acquiring a second instruction, and controlling the Bluetooth testing device to transmit a second signal to the DUT according to target power through the second instruction;
acquiring a fourth instruction, and controlling the DUT to receive the Bluetooth testing device and transmit a second signal to the DUT through the fourth instruction;
controlling the DUT to send a second feedback signal based on a receiving result of the DUT for the second signal;
receiving a second feedback signal sent by the DUT; wherein the second feedback signal is a signal of the DUT searching a media access control address of a Bluetooth testing device;
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 determining bluetooth product test results from the first feedback signal and the second feedback signal comprises:
determining a test result of the Bluetooth product transmitting function 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.
3. The method of claim 1, wherein the host computer is connected to the bluetooth test device via a communication interface cable; the upper computer is connected with the DUT through a communication interface cable; the Bluetooth testing device is connected with the DUT through a wireless and/or radio frequency cable.
4. A method according to claim 3, wherein the communication interface comprises any one or more of:
USB interface, SPI interface, IIC interface and UART interface.
5. The method of claim 1, wherein the bluetooth test device is a bluetooth base station.
6. The Bluetooth product testing device is characterized by being applied to an upper computer, wherein the upper computer is respectively connected with a DUT 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 according to target power through the first instruction;
The first receiving module is used for acquiring a third instruction and controlling the Bluetooth testing device to receive the DUT and transmit a first signal to the Bluetooth testing 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; receiving a first feedback signal sent by the Bluetooth testing device; the first feedback signal is a feedback signal of the Bluetooth testing device aiming at the first signal;
the second control module is used for acquiring a second instruction and controlling the Bluetooth testing device to transmit a second signal to the DUT according to the target power through the second instruction;
the second receiving module is used for acquiring a fourth instruction and controlling the DUT to receive the Bluetooth testing device and transmit a second signal to the DUT through the fourth instruction; controlling the DUT to send a second feedback signal based on a receiving result of the DUT for the second signal; 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.
7. An electronic device comprising a memory, a processor, the memory having stored therein a computer program executable on the processor, characterized in that the processor, when executing the computer program, implements the steps of the method of any of the preceding claims 1 to 5.
8. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, computer-executable instructions, when invoked and executed by a processor, cause the processor to perform the method of any one of claims 1 to 5.
CN202111315488.3A 2021-11-08 2021-11-08 Bluetooth product testing method and device and electronic equipment Active CN113886164B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111315488.3A CN113886164B (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 CN113886164B (en) 2021-11-08 2021-11-08 Bluetooth product testing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113886164A CN113886164A (en) 2022-01-04
CN113886164B true CN113886164B (en) 2024-09-03

Family

ID=79017402

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN113886164B (en)

Families Citing this family (1)

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

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751313A (en) * 2008-10-17 2010-06-23 环旭电子股份有限公司 Measuring device of input/output end port and measuring method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI469051B (en) * 2008-08-15 2015-01-11 Chi Mei Comm Systems Inc System and method for testing bluetooth
CN101634976B (en) * 2009-08-27 2012-02-29 中兴通讯股份有限公司 Method and terminal for providing Bluetooth function 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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751313A (en) * 2008-10-17 2010-06-23 环旭电子股份有限公司 Measuring device of input/output end port and measuring method thereof

Also Published As

Publication number Publication date
CN113886164A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN105577293B (en) A kind of test method of bluetooth equipment, apparatus and system
CN107329890A (en) Test method and device based on Mock and server
CN106771972B (en) Automatic testing device, system and method for POS machine mainboard
CN108891210B (en) Identification method, device and equipment of tire pressure sensor
CN104811524B (en) A kind of terminal radio frequency performance test methods and its device
CN111579959A (en) Chip verification method, device and storage medium
CN113886164B (en) Bluetooth product testing method and device and electronic equipment
CN113419926A (en) Method, system and device for monitoring server BIOS starting process
CN111930395B (en) Program downloading method of intelligent terminal and intelligent terminal
CN107065832B (en) automobile data stream acquisition method and system and computer readable storage medium
CN110569160B (en) Test system of development board based on communication module
CN111131358B (en) Information acquisition method, device and system, readable storage medium and electronic equipment
CN118012440B (en) Processing method and device of APP watch function simulator and electronic equipment
CN113360161B (en) Resource upgrading method and related products
CN105577301A (en) Test method and detection terminal
US20210097787A1 (en) Information presentation method and apparatus
CN110289890A (en) Near field communication test method, system, mobile terminal and storage medium
CN109257247B (en) Communication module's quality detection system
CN113886302B (en) Method, device, terminal device and storage medium for obtaining serial port number of application device
US11983134B2 (en) Method for recognizing another electronic device by using plurality of interfaces, and electronic device therefor
CN112526494B (en) Distance measurement data acquisition method and device, storage medium and electronic device
KR20210030425A (en) Test method and system of the time parameter of the adapter, computer storage medium
CN113472611A (en) Method and device for acquiring WiFi signal strength and readable storage medium
CN110023770A (en) For testing method, test platform and the test macro of chip
CN115290165A (en) Detection method, system and device of ultrasonic water meter

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
GR01 Patent grant
GR01 Patent grant