CN118611786A - Bluetooth device testing method and device, computer device and storage medium - Google Patents
Bluetooth device testing method and device, computer device and storage medium Download PDFInfo
- Publication number
- CN118611786A CN118611786A CN202310234807.0A CN202310234807A CN118611786A CN 118611786 A CN118611786 A CN 118611786A CN 202310234807 A CN202310234807 A CN 202310234807A CN 118611786 A CN118611786 A CN 118611786A
- Authority
- CN
- China
- Prior art keywords
- test
- bluetooth device
- comprehensive tester
- bluetooth
- test data
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 349
- 238000004891 communication Methods 0.000 claims abstract description 28
- 230000005540 biological transmission Effects 0.000 claims description 34
- 238000000034 method Methods 0.000 claims description 18
- 230000011664 signaling Effects 0.000 claims description 9
- 238000005259 measurement Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000013102 re-test Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application belongs to the technical field of testing, and relates to a Bluetooth equipment testing method, which comprises the following steps: establishing communication connection with a comprehensive tester through a network cable, wherein the comprehensive tester is also connected with at least one Bluetooth device through a radio frequency line; transmitting a test instruction aiming at the at least one Bluetooth device to the comprehensive tester so as to test the at least one Bluetooth device through the comprehensive tester to obtain device test data; and generating a Bluetooth device test result based on the device test data. The application also provides a Bluetooth device testing device, a computer device and a storage medium. The application improves the efficiency of testing the Bluetooth equipment.
Description
Technical Field
The present application relates to the field of testing technologies, and in particular, to a method and apparatus for testing bluetooth devices, a computer device, and a storage medium.
Background
The CMW500 (broadband radio communication tester, also called integrated tester) is a universal test platform suitable for radio frequency integration and protocol development, and two GP ib (generic l-Purpose I NTERFACE Bus, GP ib, a Bus connecting devices and computers) ports are provided on the CMW500, each GP ib port being capable of controlling two RF COM ports (radio frequency interfaces) of the integrated tester. Currently, bluetooth device testing is performed in the industry through CMW500, for example, when testing a bluetooth headset, USB (universal serial Bus, un I VER SA L SER I A L Bus, USB) is used to convert the bluetooth device into GP ib communication, and the bluetooth device needs to be connected with a comprehensive tester first. Therefore, the testing efficiency is lower, for example, when one-to-two parallel testing is performed, the computer needs to occupy two USB ports, connect two GPIB lines and respectively control two RF COM ports, so that one-to-two testing can be performed, and besides the testing efficiency is low, more resources can be occupied.
Disclosure of Invention
The embodiment of the application aims to provide a Bluetooth device testing method, a Bluetooth device testing device, computer equipment and a storage medium, so as to solve the problem that a comprehensive tester has low testing efficiency on Bluetooth devices.
In order to solve the above technical problems, the embodiment of the present application provides a method for testing bluetooth devices, which adopts the following technical schemes:
establishing communication connection with a comprehensive tester through a network cable, wherein the comprehensive tester is also connected with at least one Bluetooth device through a radio frequency line;
Transmitting a test instruction aiming at the at least one Bluetooth device to the comprehensive tester so as to test the at least one Bluetooth device through the comprehensive tester to obtain device test data;
And generating a Bluetooth device test result based on the device test data.
In order to solve the technical problems, the embodiment of the application also provides a bluetooth device testing device, which adopts the following technical scheme:
The connection establishment module is used for establishing communication connection with the comprehensive tester through a network cable, and the comprehensive tester is also connected with at least one Bluetooth device through a radio frequency line;
The device testing module is used for sending a testing instruction aiming at the at least one Bluetooth device to the comprehensive tester so as to test the at least one Bluetooth device through the comprehensive tester to obtain device testing data;
and the result generation module is used for generating Bluetooth equipment test results based on the equipment test data.
In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical schemes:
establishing communication connection with a comprehensive tester through a network cable, wherein the comprehensive tester is also connected with at least one Bluetooth device through a radio frequency line;
Transmitting a test instruction aiming at the at least one Bluetooth device to the comprehensive tester so as to test the at least one Bluetooth device through the comprehensive tester to obtain device test data;
And generating a Bluetooth device test result based on the device test data.
In order to solve the above technical problems, an embodiment of the present application further provides a computer readable storage medium, which adopts the following technical schemes:
establishing communication connection with a comprehensive tester through a network cable, wherein the comprehensive tester is also connected with at least one Bluetooth device through a radio frequency line;
Transmitting a test instruction aiming at the at least one Bluetooth device to the comprehensive tester so as to test the at least one Bluetooth device through the comprehensive tester to obtain device test data;
And generating a Bluetooth device test result based on the device test data.
Compared with the prior art, the embodiment of the application has the following main beneficial effects: the computer establishes communication connection with the comprehensive tester through network cables, and the number of the network cables is only one, so that the resource investment of equipment is reduced; the comprehensive tester is connected with at least one Bluetooth device through a radio frequency line; the computer sends a test instruction for each Bluetooth device to the comprehensive tester, so that each Bluetooth device is tested in parallel through the comprehensive tester to obtain device test data, and the device test data are evaluated to generate a Bluetooth device test result; the comprehensive tester can realize one-to-many test on the Bluetooth equipment, improves the equipment utilization rate and the testing efficiency, and reduces the testing workload.
Drawings
In order to more clearly illustrate the solution of the present application, a brief description will be given below of the drawings required for the description of the embodiments of the present application, it being apparent that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained from these drawings without the exercise of inventive effort for a person of ordinary skill in the art.
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a Bluetooth device testing method in accordance with the present application;
fig. 3 is a schematic diagram of the structure of an embodiment of a bluetooth device testing apparatus according to the present application;
FIG. 4 is a schematic structural diagram of one embodiment of a computer device in accordance with the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the applications herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description of the application and the claims and the description of the drawings above are intended to cover a non-exclusive inclusion. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In order to make the person skilled in the art better understand the solution of the present application, the technical solution of the embodiment of the present application will be clearly and completely described below with reference to the accompanying drawings.
As shown in fig. 1, the system architecture 100 may include a computer 101, a comprehensive tester 102, bluetooth devices 103, 104. The computer 101 has an operating system installed therein, and may be, but not limited to, various industrial computers, personal computers, and notebook computers. The model of the integrated tester 102 may be the CMW500. The bluetooth devices 103, 104 may be bluetooth enabled devices such as bluetooth headsets, bluetooth speakers, etc.
It should be noted that, the method for testing bluetooth equipment provided by the embodiment of the application is generally executed by a computer, and correspondingly, the bluetooth equipment testing device is generally arranged in the computer.
With continued reference to fig. 2, a flow chart of one embodiment of a bluetooth device testing method according to the present application is shown. The Bluetooth equipment testing method comprises the following steps:
Step S201, establishing communication connection with the comprehensive tester through a network cable, wherein the comprehensive tester is also connected with at least one Bluetooth device through a radio frequency cable.
Specifically, an interface (Loca l Ar ea Networ k, used for implementing a network port of the local area network) of the computer is connected with the comprehensive tester CMW500 through a network cable, and the computer can also establish N I network equipment. The comprehensive tester is connected with at least one Bluetooth device, and can be connected with the Bluetooth device through a radio frequency line.
The integrated tester of the present application employs a CMW500 having two modules, each having two ports. When signaling test is adopted, the comprehensive tester can realize one-to-four test at most.
Step S202, a test instruction for at least one Bluetooth device is sent to the comprehensive tester, so that the comprehensive tester can test the at least one Bluetooth device to obtain device test data.
Specifically, the computer sends a test instruction for each Bluetooth device to the comprehensive tester, and after receiving the test instruction, the comprehensive tester tests each connected Bluetooth device to obtain device test data; wherein the device test data is multi-index dimension data.
In the application, a computer is used for controlling a comprehensive tester, and the comprehensive tester is used for controlling Bluetooth equipment; the computer is provided with test software to support GPIB and network port test, and meanwhile, network port communication is more stable compared with GPIB communication; the test software can realize one-to-many test, can carry out parallel test on each Bluetooth device connected with the comprehensive tester, does not need to frequently connect and disconnect, and improves the test efficiency; the utilization rate of the comprehensive tester is improved by one-to-many parallel test, and the network cable replaces two USB to GPIB wires, so that the resource investment of equipment is reduced; the one-to-many test software reduces the workload of the testers.
Step S203, a bluetooth device test result is generated based on the device test data.
Specifically, evaluating the device test data may generate a bluetooth device test result. The bluetooth device test results may indicate whether the bluetooth device passes the test.
In the embodiment, the computer establishes communication connection with the comprehensive tester through the network cables, and the number of the network cables is only one, so that the resource investment of equipment is reduced; the comprehensive tester is connected with at least one Bluetooth device through a radio frequency line; the computer sends a test instruction for each Bluetooth device to the comprehensive tester, so that each Bluetooth device is tested in parallel through the comprehensive tester to obtain device test data, and the device test data are evaluated to generate a Bluetooth device test result; the comprehensive tester can realize one-to-many test on the Bluetooth equipment, improves the equipment utilization rate and the testing efficiency, and reduces the testing workload.
Further, the step of establishing communication connection with the integrated tester through the network cable may include: establishing communication connection with the comprehensive tester through a network cable, and registering the comprehensive tester to control the comprehensive tester, wherein the model of the comprehensive tester is CMW500; acquiring a network address of the comprehensive tester and a network address of current equipment; when the network address of the comprehensive tester and the network address of the current device are in the same subnet, a test instruction aiming at least one Bluetooth device is sent to the comprehensive tester, so that the comprehensive tester can test the at least one Bluetooth device to obtain device test data.
Specifically, the computer establishes communication connection with the comprehensive tester through a network cable, and registers the comprehensive tester into test software to control the comprehensive tester.
After the communication connection is established with the comprehensive tester, the computer can set the initialization parameters of the comprehensive tester.
In the application, the network address in the same subnet needs to be set for the computer and the comprehensive tester; the network address may be set by a tester. The computer acquires the network address of the comprehensive tester and the network address of the comprehensive tester; if the network address of the comprehensive tester and the network address of the comprehensive tester are in the same subnet, a test instruction aiming at least one Bluetooth device can be sent to the comprehensive tester so as to test the at least one Bluetooth device through the comprehensive tester and obtain device test data.
In the embodiment, communication connection is established between the comprehensive tester and the network cable, and the comprehensive tester is registered to control the comprehensive tester; and acquiring the network address of the comprehensive tester and the network address of the comprehensive tester, and when the network address is in the same subnet, indicating that the test preparation is finished, thereby ensuring the smooth proceeding of the test.
Further, before the step S202, the method may further include: and searching the Bluetooth equipment through the comprehensive tester, and establishing signaling connection with the searched at least one Bluetooth equipment through the comprehensive tester.
Specifically, in the present application, when the bluetooth device performs the signaling test, the bluetooth device needs to be adjusted to the signaling mode in advance. The bluetooth device is then placed in the closed box and closed by the tester to prevent interference. After the frequency closed box is closed, test software in the computer starts to work, instructs the comprehensive tester to search the Bluetooth equipment (the comprehensive tester can search according to the mac address, namely the physical address, of the Bluetooth equipment), and instructs the comprehensive tester to establish signaling connection with at least one searched Bluetooth equipment.
In this embodiment, the comprehensive tester searches the bluetooth devices to obtain at least one bluetooth device and establishes signaling connection, so as to ensure the successful proceeding of subsequent tests.
Further, the step S202 may include: transmitting a test instruction for at least one Bluetooth device to the comprehensive tester; based on the test instruction, transmitting test is carried out on at least one Bluetooth device through the comprehensive tester to obtain transmitting test data, and receiving test is carried out on at least one Bluetooth device through the comprehensive tester to obtain receiving test data; device test data is generated from the transmit test data and the receive test data.
Specifically, the computer sends a test instruction for each Bluetooth device to the comprehensive tester, the test instruction is sent to the comprehensive tester through the network cable, and the comprehensive tester tests each Bluetooth device according to the test instruction.
The test of the Bluetooth device comprises a transmitting test TX and a receiving test RX; the emission test is used for testing the emission capability of the Bluetooth equipment, and emission test data are obtained after the emission test; the receiving test is used for testing the receiving capability of the Bluetooth equipment, and receiving test data are obtained after the receiving test. The transmit test data and the receive test data constitute device test data.
In this embodiment, after the computer sends a test instruction to the comprehensive tester, the comprehensive tester performs transmission test on each bluetooth device to obtain transmission test data, and performs reception test on each bluetooth device to obtain reception test data, thereby realizing the test on the transmission capability and the reception capability of the bluetooth device.
Further, the step of performing the transmitting test on the at least one bluetooth device by using the comprehensive tester to obtain transmitting test data, and performing the receiving test on the at least one bluetooth device by using the comprehensive tester to obtain receiving test data may include: the method comprises the steps of indicating at least one Bluetooth device to respectively transmit first test signals on preset channels through a comprehensive tester, and receiving the first test signals transmitted by the at least one Bluetooth device on the preset channels through the comprehensive tester to obtain transmission test data; and respectively transmitting a second test signal to at least one Bluetooth device on each preset channel through the comprehensive tester, and receiving the second test signal on each preset channel through at least one Bluetooth device to obtain received test data.
Specifically, the transmission of data requires a channel, and the application presets a plurality of channels, and the transmission capability and the receiving capability of each Bluetooth device on each preset channel need to be tested.
When the emission test is carried out, the comprehensive tester controls each Bluetooth device to emit first test signals on each preset channel respectively, receives the first test signals, and generates emission test data of each Bluetooth device according to the receiving condition of the first test signals. And the comprehensive tester sends the emission test data to the computer.
And when the receiving test is carried out, the comprehensive tester respectively transmits second test signals to each Bluetooth device on each preset channel, each Bluetooth device receives the second test signals, and receiving test data of each Bluetooth device is generated according to the receiving condition of the second test signals. Each Bluetooth device sends the received test data generated by the Bluetooth device to the comprehensive tester, and then the comprehensive tester sends the received test data to the computer.
Before the emission test and the receiving test are carried out, the computer can carry out the emission test and the receiving test according to the requirements, and the parameters of the comprehensive tester are adjusted in a targeted mode, so that the follow-up emission test and the follow-up receiving test can meet the requirements. In the emission test, test software in the computer controls the switching of channels and the setting of related instrument parameters by calling B l uetooth Measu rementm instructions of the comprehensive tester. In the receiving test, the test software can control the switching of channels and the setting of related instrument parameters by calling B l uetooth S I GNA L I NG RX Measur ement module instructions of the comprehensive tester.
In the embodiment, the comprehensive tester controls each Bluetooth device to respectively transmit a first test signal on each preset channel, and the comprehensive tester receives the first test signal transmitted by each Bluetooth device on each preset channel to obtain transmission test data; and the comprehensive tester transmits a second test signal to each Bluetooth device on each preset channel, and receives the second test signal on each preset channel through each device to obtain received test data, so that the comprehensive test of each Bluetooth device is realized, and the rationality and accuracy of the test are ensured.
Further, the step S203 may include: acquiring a plurality of preset emission index values and a plurality of preset receiving index values; and correspondingly comparing the multiple emission index values with each emission measured value in the emission test data, correspondingly comparing the multiple receiving index values with each receiving measured value in the receiving test data, and generating a Bluetooth equipment test result according to the comparison result.
Specifically, for each bluetooth device, the transmission test data and the reception test data of each bluetooth device on each preset channel may be multi-index dimension data, that is, the capability of the bluetooth device is described and characterized by multiple indexes on each preset channel, for example, the transmission test data may include indexes such as power, frequency offset and the like, and the reception test data may include bit error rate BER and the like.
The method comprises the steps of obtaining a plurality of preset emission index values and a plurality of preset receiving index values, wherein the emission index values are standard values of a certain emission index dimension of the Bluetooth equipment on each preset channel, and the receiving index values are standard values of a certain receiving index dimension of the Bluetooth equipment on each preset channel. Matching the transmission index value with the transmission measurement value in the transmission test data according to the channel dimension and the index dimension (for example, comparing the frequency offset on the A channel in the transmission index value with the frequency offset on the A channel in the transmission measurement value); and matching the received index value with the received measured value in the received test data according to the channel dimension and the index dimension, and then comparing.
According to the comparison result, a Bluetooth device test result can be generated, and the Bluetooth device test result can reflect whether the emission index meets the requirements and the receiving index meets the requirements of the Bluetooth device on each preset channel.
In this embodiment, a plurality of preset transmission index values and a plurality of preset reception index values are obtained; and correspondingly comparing a plurality of emission index values with each emission measured value in the emission test data, correspondingly comparing a plurality of receiving index values with each receiving measured value in the receiving test data, so as to judge whether the emission index and the receiving index of the Bluetooth equipment meet the requirements on each preset channel and generate a Bluetooth equipment test result.
Further, after the step of generating the bluetooth device test result according to the comparison result, the method may further include: and when the Bluetooth equipment with the test failure is determined according to the test result of the Bluetooth equipment, retesting the Bluetooth equipment.
Specifically, if on a certain channel, the measured value of the transmission of the bluetooth device is not matched with the corresponding transmission index value (for example, the measured value of the transmission is larger than or smaller than the transmission index value, or the difference between the measured value of the transmission and the index value of the transmission is larger than or equal to a preset difference threshold), or the measured value of the reception is not matched with the corresponding reception index value (for example, the measured value of the reception is larger than or smaller than the reception index value, or the difference between the measured value of the reception and the index value of the reception is larger than or equal to the preset difference threshold), the test result of the bluetooth device will show that a certain transmission index/reception index of the bluetooth device on the channel is not in accordance with the requirement, and the test fails.
To avoid test failure caused by inaccurate measurement during testing, the bluetooth device needs to be retested. Specifically, if the bluetooth device fails the transmission test on a certain channel, only the transmission test needs to be performed again on the channel; if the Bluetooth device fails the reception test on a certain channel, the reception test only needs to be conducted again on the channel.
The application sets the failure times threshold, if the failure times of the Bluetooth equipment reach the failure times threshold according to the test result of the Bluetooth equipment, the defect of the Bluetooth equipment is judged, and the test is terminated.
In this embodiment, when it is determined that a bluetooth device with a test failure exists according to a test result of the bluetooth device, retests the bluetooth device to avoid the test failure caused by inaccurate measurement, thereby ensuring the accuracy of the test.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by computer readable instructions stored in a computer readable storage medium that, when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-On-y Memory (ROM), or a random access Memory (Random Access Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
With further reference to fig. 3, as an implementation of the method shown in fig. 2, the present application provides an embodiment of a bluetooth device testing apparatus, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 3, the bluetooth device testing apparatus 300 according to the present embodiment includes: a connection establishment module 301, a device test module 302, and a result generation module 303, wherein:
The connection establishment module 301 is configured to establish a communication connection with a comprehensive tester through a network cable, where the comprehensive tester is further connected to at least one bluetooth device through a radio frequency cable.
The device testing module 302 is configured to send a test instruction for at least one bluetooth device to the integrated tester, so as to test the at least one bluetooth device by the integrated tester, and obtain device test data.
The result generating module 303 is configured to generate a bluetooth device test result based on the device test data.
In the embodiment, the computer establishes communication connection with the comprehensive tester through the network cables, and the number of the network cables is only one, so that the resource investment of equipment is reduced; the comprehensive tester is connected with at least one Bluetooth device through a radio frequency line; the computer sends a test instruction for each Bluetooth device to the comprehensive tester, so that each Bluetooth device is tested in parallel through the comprehensive tester to obtain device test data, and the device test data are evaluated to generate a Bluetooth device test result; the comprehensive tester can realize one-to-many test on the Bluetooth equipment, improves the equipment utilization rate and the testing efficiency, and reduces the testing workload.
In some alternative implementations of the present embodiment, the connection establishment module 301 may include: the device comprises a connection establishment sub-module and an address acquisition sub-module, wherein:
the connection establishment sub-module is used for establishing communication connection with the comprehensive tester through a network cable, registering the comprehensive tester to control the comprehensive tester, and the model of the comprehensive tester is CMW500.
And the address acquisition sub-module is used for acquiring the network address of the comprehensive tester and the network address of the current equipment.
The device testing module 302 is further configured to send a test instruction for at least one bluetooth device to the integrated tester when the network address of the integrated tester and the network address of the current device are in the same subnet, so as to test the at least one bluetooth device by the integrated tester, and obtain device test data.
In the embodiment, communication connection is established between the comprehensive tester and the network cable, and the comprehensive tester is registered to control the comprehensive tester; and acquiring the network address of the comprehensive tester and the network address of the comprehensive tester, and when the network address is in the same subnet, indicating that the test preparation is finished, thereby ensuring the smooth proceeding of the test.
In some optional implementations of this embodiment, the bluetooth device testing apparatus 300 may further include a device searching module configured to search for bluetooth devices through the integrated tester, and establish signaling connection with the searched at least one bluetooth device through the integrated tester.
In this embodiment, the comprehensive tester searches the bluetooth devices to obtain at least one bluetooth device and establishes signaling connection, so as to ensure the successful proceeding of subsequent tests.
In some alternative implementations of the present embodiment, the device testing module 302 may include: the device comprises an instruction sending sub-module, a device testing sub-module and a data generating sub-module, wherein:
and the instruction sending sub-module is used for sending a test instruction aiming at the at least one Bluetooth device to the comprehensive tester.
And the equipment testing sub-module is used for carrying out emission test on at least one Bluetooth equipment through the comprehensive tester based on the test instruction to obtain emission test data, and carrying out receiving test on at least one Bluetooth equipment through the comprehensive tester to obtain receiving test data.
And the data generation sub-module is used for generating equipment test data according to the transmission test data and the receiving test data.
In this embodiment, after the computer sends a test instruction to the comprehensive tester, the comprehensive tester performs transmission test on each bluetooth device to obtain transmission test data, and performs reception test on each bluetooth device to obtain reception test data, thereby realizing the test on the transmission capability and the reception capability of the bluetooth device.
In some optional implementations of the present embodiment, the device testing sub-module may include: emission test unit and receiving test unit, wherein:
And the emission test unit is used for indicating at least one Bluetooth device to emit first test signals on each preset channel through the comprehensive tester, and receiving the first test signals sent by the at least one Bluetooth device on each preset channel through the comprehensive tester to obtain emission test data.
And the receiving test unit is used for transmitting second test signals to at least one Bluetooth device on each preset channel through the comprehensive tester respectively, and receiving the second test signals on each preset channel through the at least one Bluetooth device to obtain receiving test data.
In the embodiment, the comprehensive tester controls each Bluetooth device to respectively transmit a first test signal on each preset channel, and the comprehensive tester receives the first test signal transmitted by each Bluetooth device on each preset channel to obtain transmission test data; and the comprehensive tester transmits a second test signal to each Bluetooth device on each preset channel, and receives the second test signal on each preset channel through each device to obtain received test data, so that the comprehensive test of each Bluetooth device is realized, and the rationality and accuracy of the test are ensured.
In some alternative implementations of the present embodiment, the result generation module 303 may include: an index value receiving sub-module and a comparing sub-module, wherein:
The index value receiving sub-module is used for acquiring a plurality of preset transmission index values and a plurality of preset reception index values.
And the comparison sub-module is used for correspondingly comparing a plurality of emission index values with each emission measured value in the emission test data, correspondingly comparing a plurality of receiving index values with each receiving measured value in the receiving test data, and generating a Bluetooth device test result according to the comparison result.
In this embodiment, a plurality of preset transmission index values and a plurality of preset reception index values are obtained; and correspondingly comparing a plurality of emission index values with each emission measured value in the emission test data, correspondingly comparing a plurality of receiving index values with each receiving measured value in the receiving test data, so as to judge whether the emission index and the receiving index of the Bluetooth equipment meet the requirements on each preset channel and generate a Bluetooth equipment test result.
In some optional implementations of this embodiment, the bluetooth device testing apparatus 300 may further include a retest module for retesting a bluetooth device when it is determined that there is a bluetooth device that fails the test according to the bluetooth device test result.
In this embodiment, when it is determined that a bluetooth device with a test failure exists according to a test result of the bluetooth device, retests the bluetooth device to avoid the test failure caused by inaccurate measurement, thereby ensuring the accuracy of the test.
In order to solve the technical problems, the embodiment of the application also provides computer equipment. Referring specifically to fig. 4, fig. 4 is a basic structural block diagram of a computer device according to the present embodiment.
The computer device 4 comprises a memory 41, a processor 42, a network interface 43 communicatively connected to each other via a system bus. It should be noted that only computer device 4 having components 41-43 is shown in the figures, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead. It will be appreciated by those skilled in the art that the computer device herein is a device capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and the hardware thereof includes, but is not limited to, a microprocessor, an application specific integrated circuit (APP L I CAT I on SPEC I F I C I NTEGRATED C I rcu I t, AS IC), a programmable gate array (Fie l d-Programmab L E GATE AR RAY, FPGA), a digital Processor (D I G I TA L S I GNA L Processor, DSP), an embedded device, and the like.
The computer equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The computer equipment can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad or voice control equipment and the like.
The memory 41 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 41 may be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the computer device 4. Of course, the memory 41 may also comprise both an internal memory unit of the computer device 4 and an external memory device. In this embodiment, the memory 41 is typically used for storing an operating system and various application software installed on the computer device 4, such as computer readable instructions of a bluetooth device testing method. Further, the memory 41 may be used to temporarily store various types of data that have been output or are to be output.
The processor 42 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is configured to execute computer readable instructions stored in the memory 41 or process data, such as computer readable instructions for executing the bluetooth device testing method.
The network interface 43 may comprise a wireless network interface or a wired network interface, which network interface 43 is typically used for establishing a communication connection between the computer device 4 and other electronic devices.
The computer device provided in this embodiment may execute the above-described bluetooth device testing method. The bluetooth device testing method may be the bluetooth device testing method of each of the above embodiments.
In the embodiment, the computer establishes communication connection with the comprehensive tester through the network cables, and the number of the network cables is only one, so that the resource investment of equipment is reduced; the comprehensive tester is connected with at least one Bluetooth device through a radio frequency line; the computer sends test instructions for each Bluetooth device to the comprehensive tester, so that each Bluetooth device is tested in parallel through the comprehensive tester to obtain
The device test data is evaluated to generate a Bluetooth device test result; the comprehensive tester can realize one-to-many test on the Bluetooth equipment, improves the equipment utilization rate and the testing efficiency, and reduces the testing workload.
The present application also provides another embodiment, namely, a computer readable storage medium, where computer readable instructions are stored, where the computer readable instructions are executable by at least one processor to cause the at least one processor to perform the steps of the bluetooth device testing method as described above.
In the embodiment, the computer establishes communication connection with the comprehensive tester through the network cables, and the number of the network cables is only one, so that the resource investment of equipment is reduced; the comprehensive tester is connected with at least one Bluetooth device through a radio frequency line; the computer sends a test instruction for each Bluetooth device to the comprehensive tester, so that each Bluetooth device is tested in parallel through the comprehensive tester to obtain device test data, and the device test data are evaluated to generate a Bluetooth device test result; the comprehensive tester can realize one-to-many test on the Bluetooth equipment, improves the equipment utilization rate and the testing efficiency, and reduces the testing workload.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
It is apparent that the above-described embodiments are only some embodiments of the present application, but not all embodiments, and the preferred embodiments of the present application are shown in the drawings, which do not limit the scope of the patent claims. This application may be embodied in many different forms, but rather, embodiments are provided in order to provide a thorough and complete understanding of the present disclosure. Although the application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing description, or equivalents may be substituted for elements thereof. All equivalent structures made by the content of the specification and the drawings of the application are directly or indirectly applied to other related technical fields, and are also within the scope of the application.
Claims (10)
1. The Bluetooth equipment testing method is characterized by comprising the following steps of:
establishing communication connection with a comprehensive tester through a network cable, wherein the comprehensive tester is also connected with at least one Bluetooth device through a radio frequency line;
Transmitting a test instruction aiming at the at least one Bluetooth device to the comprehensive tester so as to test the at least one Bluetooth device through the comprehensive tester to obtain device test data;
And generating a Bluetooth device test result based on the device test data.
2. The method for testing bluetooth device according to claim 1, wherein the step of establishing a communication connection with the integrated tester through a network cable comprises:
establishing communication connection with a comprehensive tester through a network cable, and registering the comprehensive tester to control the comprehensive tester, wherein the model of the comprehensive tester is CMW500;
Acquiring a network address of the comprehensive tester and a network address of current equipment;
And executing the step of sending a test instruction for the at least one Bluetooth device to the comprehensive tester when the network address of the comprehensive tester and the network address of the current device are in the same subnet so as to test the at least one Bluetooth device through the comprehensive tester and obtain device test data.
3. The method according to claim 1, further comprising, before the step of sending a test instruction for the at least one bluetooth device to the integrated tester to test the at least one bluetooth device by the integrated tester to obtain device test data:
And searching Bluetooth equipment through the comprehensive tester, and establishing signaling connection with the searched at least one Bluetooth equipment through the comprehensive tester.
4. The method for testing bluetooth devices according to claim 1, wherein the step of transmitting the test instruction for the at least one bluetooth device to the integrated tester to test the at least one bluetooth device by the integrated tester, and obtaining the device test data comprises:
Transmitting a test instruction for the at least one Bluetooth device to the comprehensive tester;
Based on the test instruction, transmitting test is carried out on the at least one Bluetooth device through the comprehensive tester to obtain transmitting test data, and receiving test is carried out on the at least one Bluetooth device through the comprehensive tester to obtain receiving test data;
And generating equipment test data according to the emission test data and the receiving test data.
5. The method according to claim 4, wherein the step of performing the transmission test on the at least one bluetooth device by the comprehensive tester to obtain transmission test data, and performing the reception test on the at least one bluetooth device by the comprehensive tester to obtain reception test data includes:
The comprehensive tester is used for indicating the at least one Bluetooth device to respectively transmit first test signals on each preset channel, and receiving the first test signals transmitted by the at least one Bluetooth device on each preset channel to obtain transmission test data;
and respectively transmitting a second test signal to the at least one Bluetooth device on each preset channel through the comprehensive tester, and receiving the second test signal on each preset channel through the at least one Bluetooth device to obtain receiving test data.
6. The bluetooth device testing method according to claim 5, wherein the step of generating a bluetooth device test result based on the device test data comprises:
acquiring a plurality of preset emission index values and a plurality of preset receiving index values;
and correspondingly comparing the multiple emission index values with each emission measured value in the emission test data, correspondingly comparing the multiple receiving index values with each receiving measured value in the receiving test data, and generating a Bluetooth device test result according to the comparison result.
7. The bluetooth device testing method according to claim 1, further comprising, after the step of generating a bluetooth device test result based on the device test data:
And retesting the Bluetooth equipment when the Bluetooth equipment with test failure is determined according to the Bluetooth equipment test result.
8. A bluetooth device testing apparatus, comprising:
The connection establishment module is used for establishing communication connection with the comprehensive tester through a network cable, and the comprehensive tester is also connected with at least one Bluetooth device through a radio frequency line;
The device testing module is used for sending a testing instruction aiming at the at least one Bluetooth device to the comprehensive tester so as to test the at least one Bluetooth device through the comprehensive tester to obtain device testing data;
and the result generation module is used for generating Bluetooth equipment test results based on the equipment test data.
9. A computer device comprising a memory having stored therein computer readable instructions which when executed by a processor implement the steps of the bluetooth device testing method of any of claims 1 to 7.
10. A computer readable storage medium having stored thereon computer readable instructions which when executed by a processor perform the steps of the bluetooth device testing method according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310234807.0A CN118611786A (en) | 2023-03-03 | 2023-03-03 | Bluetooth device testing method and device, computer device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310234807.0A CN118611786A (en) | 2023-03-03 | 2023-03-03 | Bluetooth device testing method and device, computer device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118611786A true CN118611786A (en) | 2024-09-06 |
Family
ID=92557787
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310234807.0A Pending CN118611786A (en) | 2023-03-03 | 2023-03-03 | Bluetooth device testing method and device, computer device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118611786A (en) |
-
2023
- 2023-03-03 CN CN202310234807.0A patent/CN118611786A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105577293B (en) | A kind of test method of bluetooth equipment, apparatus and system | |
CN111314945B (en) | Test method, system and terminal equipment | |
CN103344863B (en) | The method of testing of mobile terminal and test system | |
JP2015520976A (en) | Efficient parallel test method for time division duplex (TDD) communication systems | |
CN102348225A (en) | Mobile terminal test method and test system as well as mobile terminal | |
KR20130135732A (en) | System and method for using multiple network addresses to establish synchronization of a device under test and test equipment controlling the test | |
CN104811524B (en) | A kind of terminal radio frequency performance test methods and its device | |
EP4191905A1 (en) | Test method and device | |
CN107018223A (en) | One kind is used for mobile phone radio frequency signal testing method and system | |
JP6574781B2 (en) | System and method for testing a radio frequency transceiver by controlling a test flow via an induced interrupt | |
CN112782567A (en) | Chip testing system, method, device, medium and equipment | |
US20150192639A1 (en) | System and method for testing data packet transceivers having varied performance characteristics and requirements using standard test equipment | |
CN112988489A (en) | Method, device, equipment and storage medium for testing radio frequency chip | |
CN118611786A (en) | Bluetooth device testing method and device, computer device and storage medium | |
CN115237094A (en) | Testing device and testing equipment | |
CN111651157A (en) | Python-based PoE instrument packaging method | |
CN105738738A (en) | Radio frequency test device and system | |
CN101459919B (en) | Network selecting method and apparatus | |
KR20150113937A (en) | Method for testing device under test | |
CN114665990B (en) | Wireless repeater testing method and device, electronic equipment and medium | |
CN112834964B (en) | Detection method, device and equipment for wiring line sequence of self-adaptive combiner | |
CN219802595U (en) | Locomotive comprehensive wireless communication equipment detection system | |
CN210609142U (en) | Intercom interface board and intercom detecting system | |
CN218888532U (en) | Base station testing device | |
CN217546067U (en) | Port selection equipment and radio frequency antenna port detection system |
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 |