CN114640941A - Bluetooth headset hardware testing method and device, electronic equipment and storage medium - Google Patents

Bluetooth headset hardware testing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114640941A
CN114640941A CN202210293119.7A CN202210293119A CN114640941A CN 114640941 A CN114640941 A CN 114640941A CN 202210293119 A CN202210293119 A CN 202210293119A CN 114640941 A CN114640941 A CN 114640941A
Authority
CN
China
Prior art keywords
hardware
target
test result
information
target hardware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210293119.7A
Other languages
Chinese (zh)
Inventor
郭世文
吴海全
曹娜
杨卉
谢光河
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhaoqing Deqing Guanxu Electronics Co ltd
Original Assignee
Zhaoqing Deqing Guanxu 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 Zhaoqing Deqing Guanxu Electronics Co ltd filed Critical Zhaoqing Deqing Guanxu Electronics Co ltd
Priority to CN202210293119.7A priority Critical patent/CN114640941A/en
Publication of CN114640941A publication Critical patent/CN114640941A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the disclosure provides a Bluetooth headset hardware testing method and device, electronic equipment and a storage medium, and relates to the technical field of Bluetooth headset testing. The Bluetooth headset hardware testing method comprises the following steps: acquiring hardware type information of target hardware in the Bluetooth headset; the hardware type information comprises an independent chip type and a non-communication function peripheral type; carrying out production test on the target hardware according to the hardware type information to obtain test result information; according to the technical scheme, the target indicator lamp control signal is generated according to the test result information, and the test efficiency of the Bluetooth headset hardware test can be improved.

Description

Bluetooth headset hardware testing method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of Bluetooth headset testing, in particular to a Bluetooth headset hardware testing method and device, electronic equipment and a storage medium.
Background
In the production process of the bluetooth headset, in order to ensure stable operation of each functional module in the bluetooth headset, each functional module needs to be tested. The current testing method for the bluetooth headset is as follows: the bluetooth headset is comprehensively tested in the semi-finished product stage, and after the bluetooth headset is assembled into a finished product, whether the hardware of the bluetooth headset fails or not is judged only by a simple function test. The current testing method for the bluetooth headset specifically comprises the following steps: microphone, loudspeaker, infrared sensing are tested through equipment or word, then whether bluetooth chip, button, etc. work is tested after connecting bluetooth equipment.
In the process of assembly of a production line, small devices such as glass chips are easily damaged, so that the testing of finished earphones is particularly important, but the current testing method for the Bluetooth earphones cannot test hardware which is installed inside the finished Bluetooth earphones or around the Bluetooth chips, so that the problem of low hardware testing efficiency of the current testing method for the Bluetooth earphones is caused.
Disclosure of Invention
The disclosed embodiments of the present disclosure mainly aim to provide a method and an apparatus for testing bluetooth headset hardware, an electronic device, and a storage medium, which can improve the testing efficiency of the bluetooth headset hardware testing.
In order to achieve the above object, a first aspect of the embodiments of the present disclosure provides a method for testing hardware of a bluetooth headset, including:
acquiring hardware type information of target hardware in the Bluetooth headset; the hardware type information comprises an independent chip type and a non-communication function peripheral type;
performing production test on the target hardware according to the hardware type information to obtain test result information;
and generating a target indicator lamp control signal according to the test result information.
In some embodiments, the performing a production test on the target hardware according to the hardware type information to obtain test result information includes:
if the hardware type information is the independent chip type, acquiring a response signal of the target hardware, and obtaining the test result information according to the response signal; the target hardware of the independent chip type includes: the device comprises a target manufacturer authentication chip, a flash memory module and an earphone amplifier;
if the hardware type information is a communication function-free peripheral type, acquiring a universal interface level value of the target hardware, and acquiring the test result information according to the universal interface level value; the target hardware of the no communication function peripheral type includes: hall sensors, touch sensors.
In some embodiments, the obtaining a response signal of the target hardware and obtaining the test result information according to the response signal includes:
controlling a main control chip of the Bluetooth headset to send a test instruction to the target hardware;
receiving response information fed back by the target hardware according to the test instruction;
and obtaining the test result information according to the response information.
In some embodiments, the obtaining the test result information according to the response information includes:
obtaining response time according to the response information;
if the response time of the target hardware is longer than the preset response threshold time, controlling the main control chip to send the test instruction to the target hardware again;
and if the target hardware does not receive the response information within a preset response time threshold value, the test result is a hardware fault.
In some embodiments, the obtaining a universal interface level value of the target hardware and obtaining the test result information according to the universal interface level value includes:
collecting the universal interface level value of the target hardware;
acquiring level value default data;
and obtaining the test result information according to the universal interface level value and the level value default data.
In some embodiments, the acquiring hardware type information of the target hardware in the bluetooth headset includes:
carrying out communication function detection on the target hardware to obtain a detection result;
if the detection result indicates that the target hardware has a communication function, the hardware type information is the independent chip type;
and if the detection result indicates that the target hardware does not have the communication function, the hardware type information is the peripheral type without the communication function.
In some embodiments, the generating a target indicator light control signal according to the test result information includes:
if the test result of the target hardware is a hardware fault, the target indicator light control signal is an indicator light flashing instruction;
and controlling the indicator light corresponding to the target hardware to enter a flashing mode according to the indicator light flashing instruction.
In order to achieve the above object, a second aspect of the present disclosure provides a bluetooth headset hardware testing apparatus, including:
the hardware type information acquisition module is used for acquiring the hardware type information of target hardware in the Bluetooth headset; the hardware type information comprises an independent chip type and a non-communication function peripheral type;
the production test module is used for carrying out production test on the target hardware according to the hardware type information to obtain test result information;
and the control signal generation module is used for generating a target indicator lamp control signal according to the test result information.
To achieve the above object, a third aspect of the present disclosure provides an electronic device, including:
at least one memory;
at least one processor;
at least one program;
the program is stored in a memory and a processor executes the at least one program to implement the method of the present disclosure as described in the above first aspect.
To achieve the above object, a fourth aspect of the present disclosure proposes a storage medium that is a computer-readable storage medium storing computer-executable instructions for causing a computer to perform:
the method of the first aspect as described above.
According to the Bluetooth headset hardware testing method and device, the electronic equipment and the storage medium, the hardware type information of the target hardware in the Bluetooth headset is obtained firstly, the hardware type information comprises the independent chip type and the non-communication function peripheral type, then the target hardware is subjected to production testing according to the hardware type information to obtain the testing result information, and finally the target indicator lamp control signal is generated according to the testing result information.
Drawings
Fig. 1 is a flowchart of a method for testing hardware of a bluetooth headset according to an embodiment of the present disclosure.
Fig. 2 is a flowchart of step S120 in fig. 1.
Fig. 3 is a flowchart of step S210 in fig. 2.
Fig. 4 is a flowchart of step S330 in fig. 3.
Fig. 5 is a flowchart of step S220 in fig. 2.
Fig. 6 is a flowchart of step S110 in fig. 1.
Fig. 7 is a flowchart of step S130 in fig. 1.
Fig. 8 is a block diagram of a bluetooth headset hardware testing apparatus according to an embodiment of the present disclosure.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device provided in an embodiment of the present disclosure.
Reference numerals: a hardware type information acquisition module 810, a production test module 820, a control signal generation module 830, a processor 901, a memory 902, an input/output interface 903, a communication interface 904, and a bus 905.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
It should be noted that although functional blocks are partitioned in a schematic diagram of an apparatus and a logical order is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the partitioning of blocks in the apparatus or the order in the flowchart. The terms first, second and the like in the description and in the claims, and the drawings described above, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
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 invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
In the production process of the bluetooth headset, in order to ensure stable operation of each functional module in the bluetooth headset, each functional module needs to be tested. The current testing method for the bluetooth headset is as follows: the bluetooth headset is comprehensively tested in the semi-finished product stage, and after the bluetooth headset is assembled into a finished product, whether the hardware of the bluetooth headset fails or not is judged only by a simple function test. The current testing method for the bluetooth headset specifically comprises the following steps: through equipment or word test microphone, loudspeaker, infrared sensing, then test bluetooth chip, button after connecting bluetooth equipment whether work.
In the process of assembly of a production line, small devices such as glass chips are easily damaged, so that testing of finished earphones is particularly important, but the current testing method for the bluetooth earphones cannot test hardware which is installed inside or around the finished bluetooth earphones such as target manufacturer certification chips, flash memory modules, earphone amplifiers, hall sensors, touch sensors and the like, so that the problem of low hardware testing efficiency of the current testing method for the bluetooth earphones is caused.
Based on this, the disclosed embodiments provide a bluetooth headset hardware testing method and apparatus, an electronic device, and a storage medium, the hardware type information of target hardware in a bluetooth headset is first obtained, the hardware type information includes an independent chip type and a no communication function peripheral type, then a production test is performed on the target hardware according to the hardware type information to obtain test result information, and finally a target indicator lamp control signal is generated according to the test result information.
The embodiments of the present disclosure provide a method and an apparatus for testing hardware of a bluetooth headset, an electronic device, and a storage medium, which are specifically described with reference to the following embodiments, first, a method for testing hardware of a bluetooth headset in an embodiment of the present disclosure is described.
The embodiment of the disclosure provides a method for testing hardware of a bluetooth headset, which comprises the following steps: acquiring hardware type information of target hardware in the Bluetooth headset; the hardware type information comprises an independent chip type and a non-communication function peripheral type; carrying out production test on the target hardware according to the hardware type information to obtain test result information; and generating a target indicator lamp control signal according to the test result information.
Fig. 1 is an optional flowchart of a method for testing hardware of a bluetooth headset according to an embodiment of the present disclosure, where the method in fig. 1 may include, but is not limited to, step S110 to step S130, and specifically includes:
s110, acquiring hardware type information of target hardware in the Bluetooth headset;
s120, performing production test on the target hardware according to the hardware type information to obtain test result information;
and S130, generating a target indicator light control signal according to the test result information.
In step S110, the hardware type information includes an independent chip type and a no-communication function peripheral type, and the hardware type information is used to classify target hardware to be tested, so as to adopt different hardware testing modes for different types of target hardware, thereby improving hardware testing efficiency.
In step S120, a production test is performed on the target hardware according to different hardware test modes, which specifically includes: (1) the method comprises the steps that a main control chip of the Bluetooth headset is controlled to send a test instruction to target hardware, response information fed back by the target hardware according to the test instruction is received, and finally test result information is obtained according to the response information; (2) and collecting a universal interface level value of the target hardware, and obtaining test result information by depending on level value default data of the target hardware. Wherein, the test result information comprises: hardware is normal and hardware fails.
In step S130, the target indicator light control signal is used to control an indicator light corresponding to the target hardware to enter a flashing mode, where the indicator light includes, but is not limited to, an LED light, and specifically, the LED light corresponding to the target hardware is controlled to display different light effects according to different test result information.
The method for testing the Bluetooth headset hardware provided by the embodiment of the disclosure firstly obtains the hardware type information of target hardware in the Bluetooth headset, wherein the hardware type information comprises an independent chip type and a non-communication function peripheral type, then carries out production test on the target hardware according to the hardware type information to obtain test result information, and finally generates a target indicator lamp control signal according to the test result information.
In some embodiments, performing a production test on the target hardware according to the hardware type information to obtain test result information includes: if the hardware type information is the independent chip type, acquiring a response signal of the target hardware, and obtaining test result information according to the response signal; target hardware for the independent chip types includes: the device comprises a target manufacturer authentication chip, a flash memory module and an earphone amplifier; if the hardware type information is the peripheral type without the communication function, acquiring a universal interface level value of the target hardware, and acquiring test result information according to the universal interface level value; the target hardware of the no communication function peripheral type comprises: hall sensors, touch sensors.
Fig. 2 is a flow chart of step S120 in some embodiments, and step S120 illustrated in fig. 2 includes, but is not limited to, steps S210 to S220:
s210, if the hardware type information is of an independent chip type, acquiring a response signal of the target hardware, and obtaining test result information according to the response signal;
and S220, if the hardware type information is the peripheral type without the communication function, acquiring a universal interface level value of the target hardware, and obtaining test result information according to the universal interface level value.
In step S210, the target hardware of the independent chip type includes, but is not limited to: the target hardware of the independent chip type has the independent communication function, so that the main control chip of the Bluetooth headset can be controlled to send a test instruction to the target hardware to receive response information fed back by the target hardware, and test result information can be obtained according to response conditions.
It should be noted that the target manufacturer certification chip is an identification use permission chip for an external accessory produced by an accessory manufacturer authorized by a manufacturer.
In step S220, the target hardware of the no communication function peripheral type includes, but is not limited to: hall Sensor (HALL Sensor), TOUCH Sensor (TOUCH Sensor), the characteristics of no communication function peripheral hardware type do not have independent communication function, can obtain test result information through the general interface level value of collection target hardware.
In some embodiments, obtaining a response signal of the target hardware and obtaining test result information according to the response signal includes: controlling a main control chip of the Bluetooth headset to send a test instruction to target hardware; receiving response information fed back by the target hardware according to the test instruction; and obtaining test result information according to the response information.
Fig. 3 is a flowchart of step S210 in some embodiments, and step S210 illustrated in fig. 3 includes, but is not limited to, step S310 to step S330:
s310, controlling a main control chip of the Bluetooth headset to send a test instruction to target hardware;
s320, receiving response information fed back by the target hardware according to the test instruction;
and S330, obtaining test result information according to the response information.
In step S310, taking the target hardware as the target manufacturer certification chip as an example, a test mode is added to the production line, the target manufacturer certification chip communicates with the bluetooth headset through the I2C cable, and in the test mode, the bluetooth main control chip sends a test instruction to the target manufacturer certification chip each time the bluetooth headset is turned on.
In step S320, the target manufacturer certification chip feeds back response information to the main control chip according to the test instruction.
In step S330, after the main control chip receives the response information of the target manufacturer authentication chip, the bluetooth main control chip generates test result information, and if the test result information is a hardware fault, the LED lamp with a preset color is controlled to flash to prompt the tester that the target manufacturer authentication chip fails.
In some embodiments, obtaining the test result information from the response information includes: obtaining response time according to the response information; if the response time of the target hardware is longer than the preset response threshold time, controlling the main control chip to send the test instruction to the target hardware again; and if the target hardware does not receive the response information within the preset response time threshold value, the test result is a hardware fault.
Fig. 4 is a flowchart of step S330 in some embodiments, and step S330 illustrated in fig. 4 includes, but is not limited to, step S410 to step S430:
s410, obtaining response time according to the response information;
s420, if the response time of the target hardware is longer than the preset response threshold time, controlling the main control chip to send the test instruction to the target hardware again;
s430, if the target hardware does not receive the response information within the preset response time threshold, the test result is a hardware fault.
In step S410, the main control chip analyzes the response message to obtain a response time, where the response time is a time interval from the sending of the test instruction to the receiving of the response message.
In step S420, if the response time is greater than the response threshold time, the test instruction is sent again to ensure the validity of the test instruction, so as to ensure the validity of the hardware test, specifically, the response threshold time includes, but is not limited to, 5 seconds.
In step S430, if the reply message is not received within the reply number, the system determines that the target hardware is faulty, wherein the preset reply number includes, but is not limited to, 3.
In some embodiments, obtaining a universal interface level value of the target hardware, and obtaining test result information according to the universal interface level value includes: collecting a universal interface level value of target hardware; acquiring level value default data; and obtaining test result information according to the level value of the universal interface and the level value default data.
Fig. 5 is a flow chart of step S220 in some embodiments, and step S220 illustrated in fig. 2 includes, but is not limited to, step S510 to step S530:
s510, collecting a universal interface level value of target hardware;
s520, acquiring level value default data;
and S530, obtaining test result information according to the universal interface level value and the level value default data.
In step S510, taking the target hardware as a hall sensor as an example, the main control chip reads a General interface level value, where the General interface level value includes, but is not limited to, a level value of a GPIO (General purpose input/output) interface.
In step S520, the level value default data is a level value of the interface default stored in the system, and represents a level value of the port under a normal working condition of the target hardware.
In step S530, if the default level value of the hall sensor under the normal working condition is not consistent with the actually acquired general interface level value of the GPIO, the test result information is a hardware fault, and then the LED lamp with the preset color is controlled to flash to prompt the tester that the hall sensor fails.
In some embodiments, obtaining hardware type information of target hardware in a bluetooth headset comprises: carrying out communication function detection on target hardware to obtain a detection result; if the detection result is that the target hardware has the communication function, the hardware type information is the independent chip type; and if the detection result is that the target hardware does not have the communication function, the hardware type information is the peripheral type without the communication function.
Fig. 6 is a flowchart of step S110 in some embodiments, and step S110 illustrated in fig. 6 includes, but is not limited to, steps S210 to S230:
s610, carrying out communication function detection on target hardware to obtain a detection result;
s620, if the detection result shows that the target hardware has the communication function, the hardware type information is the independent chip type;
and S630, if the detection result shows that the target hardware does not have the communication function, the hardware type information is the peripheral type without the communication function.
In steps S610 to S620, the communication function is detected to detect whether the target hardware has the communication function, the detection result includes that the target hardware has the communication function and does not have the communication function, and the target hardware having the communication function is an independent chip type, such as a target manufacturer authentication chip, a flash memory module, an earphone amplifier, and the like; the hardware without the communication function is a peripheral type without the communication function, such as a hall sensor, a touch sensor and the like.
In some embodiments, generating the target indicator light control signal according to the test result information includes: if the test result of the target hardware is a hardware fault, the target indicator light control signal is an indicator light flashing instruction; and controlling the indicator light corresponding to the target hardware to enter a flashing mode according to the indicator light flashing instruction.
Fig. 7 is a flowchart of step S130 in some embodiments, and step S130 illustrated in fig. 7 includes, but is not limited to, steps S710 to S720:
s710, if the test result of the target hardware is a hardware fault, the control signal of the target indicator light is an indicator light flashing instruction;
and S720, controlling the indicator light corresponding to the target hardware to enter a flashing mode according to the indicator light flashing instruction.
In steps S710 to S720, the target indicator light control signal is used to control an indicator light corresponding to the target hardware to enter a flashing mode, where the indicator light includes but is not limited to an LED light, and specifically, the LED light corresponding to the target hardware is controlled to enter the flashing mode according to different test result information.
The embodiment of the present disclosure provides a bluetooth headset hardware testing device, including: the hardware type information acquisition module is used for acquiring the hardware type information of target hardware in the Bluetooth headset; the hardware type information comprises an independent chip type and a non-communication function peripheral type; the production test module is used for carrying out production test on the target hardware according to the hardware type information to obtain test result information; and the control signal generation module is used for generating a target indicator lamp control signal according to the test result information.
Referring to fig. 8, fig. 8 illustrates a bluetooth headset hardware testing apparatus according to an embodiment, where the bluetooth headset hardware testing apparatus includes: the system comprises a hardware type information acquisition module 810, a production test module 820 and a control signal generation module 830, wherein the hardware type information acquisition module 810 is connected with the production test module 820, and the production test module 820 is connected with the control signal generation module 830.
Specifically, the hardware type information acquisition module acquires hardware type information of target hardware in the Bluetooth headset, the production test module performs production test on the target hardware according to the hardware type information to obtain test result information, and the control signal generation module generates a target indicator lamp control signal according to the test result information.
The specific implementation of the bluetooth headset hardware testing apparatus of this embodiment is substantially the same as the specific implementation of the bluetooth headset hardware testing method described above, and belongs to the same inventive concept, and details are not described herein again.
An embodiment of the present disclosure further provides an electronic device, including:
at least one memory;
at least one processor;
at least one program;
the programs are stored in the memory, and the processor executes the at least one program to implement the disclosed bluetooth headset hardware testing method.
Referring to fig. 9, fig. 9 illustrates a hardware structure of an electronic device according to another embodiment, where the electronic device includes:
the processor 901 may be implemented by a general-purpose CPU (central processing unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits, and is configured to execute a relevant program to implement the technical solution provided by the embodiment of the present disclosure;
the memory 902 may be implemented in a form of a ROM (read only memory), a static storage device, a dynamic storage device, or a RAM (random access memory). The memory 902 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present disclosure is implemented by software or firmware, the relevant program codes are stored in the memory 902 and the processor 901 calls the bluetooth headset hardware testing method for executing the embodiments of the present disclosure;
an input/output interface 903 for inputting and outputting information;
a communication interface 904, configured to implement communication interaction between the device and another device, where communication may be implemented in a wired manner (e.g., USB, network cable, etc.), or in a wireless manner (e.g., mobile network, WIFI, bluetooth, etc.); and
a bus 905 that transfers information between various components of the device (e.g., the processor 901, the memory 902, the input/output interface 903, and the communication interface 904);
wherein the processor 901, the memory 902, the input/output interface 903 and the communication interface 904 enable a communication connection within the device with each other through a bus 905.
The embodiment of the disclosure also provides a storage medium, which is a computer-readable storage medium, and the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used for causing a computer to execute the above bluetooth headset hardware testing method.
According to the technical scheme provided by the embodiment of the disclosure, the testing of hardware installed in a finished Bluetooth headset is realized, particularly the testing of hardware installed around a Bluetooth chip is realized, and the testing efficiency of the Bluetooth headset hardware testing is improved.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The embodiments described in the embodiments of the present disclosure are for more clearly illustrating the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation to the technical solutions provided in the embodiments of the present disclosure, and it is obvious to those skilled in the art that the technical solutions provided in the embodiments of the present disclosure are also applicable to similar technical problems with the evolution of technology and the emergence of new application scenarios.
It will be appreciated by those skilled in the art that the solutions shown in fig. 1-7 are not intended to limit the embodiments of the present disclosure, and may include more or fewer steps than those shown, or some of the steps may be combined, or different steps.
The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
The terms "first," "second," "third," "fourth," and the like in the description of the application and the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b and c may be single or plural.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes multiple instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing programs, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The preferred embodiments of the present disclosure have been described above with reference to the accompanying drawings, and therefore do not limit the scope of the claims of the embodiments of the present disclosure. Any modifications, equivalents and improvements within the scope and spirit of the embodiments of the present disclosure should be considered within the scope of the claims of the embodiments of the present disclosure by those skilled in the art.

Claims (10)

1. A Bluetooth headset hardware testing method is characterized by comprising the following steps:
acquiring hardware type information of target hardware in the Bluetooth headset; the hardware type information comprises an independent chip type and a non-communication function peripheral type;
performing production test on the target hardware according to the hardware type information to obtain test result information;
and generating a target indicator lamp control signal according to the test result information.
2. The method of claim 1, wherein performing the production test on the target hardware according to the hardware type information to obtain test result information comprises:
if the hardware type information is the independent chip type, acquiring a response signal of the target hardware, and obtaining the test result information according to the response signal; the target hardware of the independent chip type includes: the device comprises a target manufacturer authentication chip, a flash memory module and an earphone amplifier;
if the hardware type information is a communication function-free peripheral type, acquiring a universal interface level value of the target hardware, and acquiring the test result information according to the universal interface level value; the target hardware of the no communication function peripheral type includes: hall sensors, touch sensors.
3. The method of claim 2, wherein the obtaining a response signal of the target hardware and obtaining the test result information according to the response signal comprises:
controlling a main control chip of the Bluetooth headset to send a test instruction to the target hardware;
receiving response information fed back by the target hardware according to the test instruction;
and obtaining the test result information according to the response information.
4. The method of claim 3, wherein obtaining the test result information according to the response information comprises:
obtaining response time according to the response information;
if the response time of the target hardware is longer than the preset response threshold time, controlling the main control chip to send the test instruction to the target hardware again;
and if the target hardware does not receive the response information within a preset response time threshold value, the test result is a hardware fault.
5. The method of claim 2, wherein obtaining the generic interface level value of the target hardware and obtaining the test result information according to the generic interface level value comprises:
collecting the universal interface level value of the target hardware;
acquiring level value default data;
and obtaining the test result information according to the universal interface level value and the level value default data.
6. The method of claim 1, wherein the obtaining the hardware type information of the target hardware in the bluetooth headset comprises:
carrying out communication function detection on the target hardware to obtain a detection result;
if the detection result indicates that the target hardware has a communication function, the hardware type information is the independent chip type;
and if the detection result indicates that the target hardware does not have the communication function, the hardware type information is the peripheral type without the communication function.
7. The method according to any one of claims 1 to 6, wherein the generating a target indicator light control signal according to the test result information comprises:
if the test result of the target hardware is a hardware fault, the target indicator light control signal is an indicator light flashing instruction;
and controlling the indicator light corresponding to the target hardware to enter a flashing mode according to the indicator light flashing instruction.
8. A Bluetooth headset hardware testing arrangement, its characterized in that includes:
the hardware type information acquisition module is used for acquiring the hardware type information of target hardware in the Bluetooth headset; the hardware type information comprises an independent chip type and a non-communication function peripheral type;
the production test module is used for carrying out production test on the target hardware according to the hardware type information to obtain test result information;
and the control signal generation module is used for generating a target indicator lamp control signal according to the test result information.
9. An electronic device, comprising:
at least one memory;
at least one processor;
at least one program;
the programs are stored in a memory, and a processor executes the at least one program to implement:
the method of any one of claims 1 to 7.
10. A storage medium that is a computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform:
the method of any one of claims 1 to 7.
CN202210293119.7A 2022-03-24 2022-03-24 Bluetooth headset hardware testing method and device, electronic equipment and storage medium Pending CN114640941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210293119.7A CN114640941A (en) 2022-03-24 2022-03-24 Bluetooth headset hardware testing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210293119.7A CN114640941A (en) 2022-03-24 2022-03-24 Bluetooth headset hardware testing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114640941A true CN114640941A (en) 2022-06-17

Family

ID=81950730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210293119.7A Pending CN114640941A (en) 2022-03-24 2022-03-24 Bluetooth headset hardware testing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114640941A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116261091A (en) * 2023-05-16 2023-06-13 深圳市百泰实业股份有限公司 Bluetooth testing system and method capable of customizing testing flow

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190037324A1 (en) * 2016-01-26 2019-01-31 Paul Darlington Method and Apparatus for Testing Earphone Apparatus
TW201911117A (en) * 2017-08-08 2019-03-16 阿拉伯聯合大公國商環保永續杜拜多種商品交易中心公司 A Method of Reconditioning an Electronic Processing Device
CN112367602A (en) * 2020-11-06 2021-02-12 歌尔科技有限公司 Bluetooth headset testing method, system, testing terminal and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190037324A1 (en) * 2016-01-26 2019-01-31 Paul Darlington Method and Apparatus for Testing Earphone Apparatus
TW201911117A (en) * 2017-08-08 2019-03-16 阿拉伯聯合大公國商環保永續杜拜多種商品交易中心公司 A Method of Reconditioning an Electronic Processing Device
CN112367602A (en) * 2020-11-06 2021-02-12 歌尔科技有限公司 Bluetooth headset testing method, system, testing terminal and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘璐: "Android智能终端功能测试方法设计与系统实现", 软件, vol. 35, no. 12, 31 December 2014 (2014-12-31) *
陈伟: "蓝牙音频产品的测试方案", 信息通信技术与政策, no. 9, 30 September 2018 (2018-09-30), pages 3 - 6 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116261091A (en) * 2023-05-16 2023-06-13 深圳市百泰实业股份有限公司 Bluetooth testing system and method capable of customizing testing flow
CN116261091B (en) * 2023-05-16 2023-08-04 深圳市百泰实业股份有限公司 Bluetooth testing system and method capable of customizing testing flow

Similar Documents

Publication Publication Date Title
CN110602671B (en) Bluetooth search result display method and device, terminal equipment and storage medium
CN105577293B (en) A kind of test method of bluetooth equipment, apparatus and system
US10863562B2 (en) Peripheral device pairing
CN103577658A (en) Method and system for evaluating intelligent terminal hardware
CN106294108B (en) Application program testing method and device
CN110895509B (en) Test processing method and device, electronic equipment and storage medium
CN112087354A (en) Communication protocol testing method and device, electronic equipment and storage medium
CN114640941A (en) Bluetooth headset hardware testing method and device, electronic equipment and storage medium
CN104346410B (en) Monitoring method and device for terminal device
KR20200141702A (en) Electronic device for displaying inquiry list of external electronic device in bluetooth network environment and method thereof
CN108260065B (en) Television loudspeaker playing function online detection method and device
JPWO2014181485A1 (en) Management device
KR20210014992A (en) Electronic device for predicting faulty and method for controlling electronic device thereof
CN107451067B (en) Processing method for downloading test and related product
CN112583617A (en) Fault determination method, server, control terminal and storage medium
CN111866644B (en) Bluetooth headset, detection method and device of Bluetooth headset and storage medium
CN115480974A (en) Method and device for testing device interface, electronic device and storage medium
CN106341436B (en) Method and device for detecting acceleration effect
CN113766406A (en) Method, system and device for testing earphone
CN107612634B (en) Antenna fault detection method and system
CN111124841A (en) Abnormal page alarming method and device and computer system
TWI778428B (en) Method, device and system for detecting memory installation state
CN115086822A (en) Earphone charging box software updating method and device, electronic equipment and storage medium
CN115102634B (en) Method and device for testing Bluetooth function of electric energy meter, equipment and storage medium
CN114816479A (en) Noise reduction earphone parameter upgrading method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination