Wireless audio playing equipment state detection method and device, state detection equipment and storage medium

By receiving the connector trigger information of the wireless audio playback device and sending instructions using the wireless communication module, it is possible to accurately determine whether the audio playback function is turned off after the device enters the warehouse and whether it is turned on after the warehouse is released, solving the problems of detection difficulties and high cost in the prior art, and achieving efficient and accurate status detection.

CN119562202APending Publication Date: 2025-03-04IFLYTEK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411272265.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

The prior art is difficult to accurately determine whether the audio playback function is turned off after the wireless audio playback device is in the warehouse, whether the audio playback function is turned on after the warehouse is out, and manual judgment is difficult, resulting in high testing costs.

Method used

By receiving the connector trigger information of the wireless audio playback device, the device enters or exits the bin, and sends an audio playback function turn-off or open command through the wireless communication module, and receives feedback information to determine the function status.

Benefits of technology

It realizes the accuracy of wireless audio playback equipment status detection, reduces labor and time costs, and extends the battery life and service life of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119562202A_ABST
    Figure CN119562202A_ABST
Patent Text Reader

Abstract

The invention provides a wireless audio playing equipment state detection method and device, state detection equipment and a storage medium, and relates to the technical field of wireless audio playing equipment. The method comprises the following steps: sending audio playing function closing feedback information through wireless audio playing equipment, judging whether the audio playing function is successfully closed after the wireless audio playing equipment is put into a warehouse, and after the wireless audio playing equipment is taken out of the warehouse and an audio playing function opening instruction is sent to the wireless audio playing equipment by utilizing a wireless communication module, starting the wireless audio playing equipment; the audio playing function opening feedback information is sent through the wireless communication module of the wireless audio playing equipment, so that whether the audio playing function is opened after the wireless audio playing equipment is put in a warehouse and whether the audio playing function is closed after the wireless audio playing equipment is taken out of the warehouse can be quickly detected. Manual judgment is not needed, the accuracy of audio playing function detection is improved, and the labor cost and the time cost are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of hearing aids, and in particular to a method and apparatus for detecting the state of a wireless audio player, a state detection device and a storage medium. Background Art

[0002] Wireless audio playback devices are gradually being widely used due to their portability, such as hearing aids, Bluetooth headsets, etc. Hearing aid users are usually those with hearing loss, and the main factors for users to choose hearing aids are simple operation, good hearing aid effect, and long use time. Bluetooth headset users are usually users who pay attention to sound quality, comfort and portability.

[0003] Wireless audio playback devices are usually equipped with a charging box to achieve wireless charging. In order to improve user satisfaction with the use and after-sales satisfaction of wireless audio playback devices, it is necessary to pay attention to the rate of opening the audio playback function after taking it out of the charging box, the rate of closing the audio playback function after putting it into the charging box, and the success rate of adaptive switching in different scenarios.

[0004] Under the existing technology, testers are required to perform functional tests on wireless audio playback devices before they leave the factory to determine the status of the wireless audio playback devices under different conditions. Moreover, users also need to understand the status of wireless audio playback devices during use. In this way, it is usually necessary to manually take out the wireless audio playback device from the charging compartment, and manually determine whether the audio is played to determine whether the audio playback function is turned on, and simulate the sounds of different scenes in the laboratory to subjectively determine whether the adaptive scene switching algorithm of the wireless audio playback device is effective.

[0005] However, it is usually impossible to manually determine whether a wireless audio player device plays audio after entering the warehouse, which will result in the tester and the user being unable to determine whether the wireless audio player device will turn off the audio playback function after entering the warehouse. Moreover, due to the small number of test samples, it is impossible to prove whether low-probability problems such as whether the wireless audio player device will turn on the audio playback function after leaving the warehouse or whether it will turn off the audio playback function after entering the warehouse have been solved, and the manpower and time costs are high. Summary of the invention

[0006] The present invention provides a method, device, equipment and storage medium for detecting the state of a wireless audio player, so as to solve the defects existing in the related art.

[0007] The present invention provides a method for detecting the state of a wireless audio player, which is applied to a wireless audio player, and comprises: If trigger information of the connector of the wireless audio playback device is received, it is determined that the wireless audio playback device is in the warehouse, an audio playback function closing instruction is sent to the wireless audio playback device, and audio playback function closing feedback information sent by the wireless audio playback device is received; If the trigger information is not received, it is determined that the wireless audio playback device is out of the warehouse, and based on the wireless communication module, an audio playback function opening instruction is sent to the wireless audio playback device, and audio playback function opening feedback information sent by the wireless audio playback device is received.

[0008] According to a method for detecting the state of a wireless audio playback device provided by the present invention, the wireless audio playback device is a hearing aid, and the feedback information of turning on the audio playback function is that the hearing aid function is turned on successfully; the method further includes: Switch to play audio of different scenes; Based on the wireless communication module, scene recognition feedback information sent by the hearing aid after each switching of playback is received.

[0009] According to a method for detecting the status of a wireless audio playback device provided by the present invention, the hearing aids include multiple batches; Accordingly, the wireless communication module receives the scene recognition feedback information sent by the hearing aid after each switching of playback, and then includes: Based on the scene recognition feedback information corresponding to the hearing aids of the multiple batches, the stabilities of the adaptive scene recognition algorithms of the hearing aids of the multiple batches are compared.

[0010] According to a method for detecting the state of a wireless audio player device provided by the present invention, after determining that the wireless audio player device is in a warehouse and before sending an audio player function shut down instruction to the wireless audio player device, the method comprises: Turning on the power supply function, sending a power-on instruction to the wireless audio playback device, and receiving power-on feedback information sent by the wireless audio playback device; After determining that the wireless audio playback device is out of the warehouse and before sending an audio playback function opening instruction to the wireless audio playback device based on the wireless communication module, the method includes: The power-off function is turned on, a power-off instruction is sent to the wireless audio playback device based on the wireless communication module, and power-off feedback information sent by the wireless audio playback device is received based on the wireless communication module.

[0011] According to a method for detecting the state of a wireless audio player device provided by the present invention, after determining that the wireless audio player device is out of the warehouse, the method further includes: Performing real-time ear insertion detection on the wireless audio playback device, and if the wireless audio playback device is not inserted into the ear within a preset time, sending the audio playback function closing instruction to the wireless audio playback device, and receiving feedback information on the audio playback function closing; If it is detected that the wireless audio playback device is inserted into the ear, based on the wireless communication module, the audio playback function activation instruction is sent to the wireless audio playback device, and feedback information of the audio playback function activation is received.

[0012] According to a method for detecting the state of a wireless audio player device provided by the present invention, the step of determining that the wireless audio player device enters a warehouse or the step of determining that the wireless audio player device exits a warehouse comprises: The trigger information is received based on a universal asynchronous receiver / transmitter protocol.

[0013] According to a wireless audio playback device status detection method provided by the present invention, the step of sending an audio playback function shutdown instruction to the wireless audio playback device and receiving audio playback function shutdown feedback information sent by the wireless audio playback device includes: Based on the connector or the wireless communication module, an audio playback function closing instruction is sent to the wireless audio playback device, and feedback information of the audio playback function closing is received.

[0014] The present invention also provides a wireless audio player state detection device, which is applied to a wireless audio player, and includes: A function closing detection module is used to determine that the wireless audio playback device is in the warehouse if trigger information of the connector of the wireless audio playback device is received, send an audio playback function closing instruction to the wireless audio playback device, and receive audio playback function closing feedback information sent by the wireless audio playback device; The function activation detection module is used to determine that the wireless audio playback device is out of the warehouse if the trigger information is not received, send an audio playback function activation instruction to the wireless audio playback device based on the wireless communication module, and receive audio playback function activation feedback information sent by the wireless audio playback device.

[0015] The present invention also provides a state detection device for a wireless audio player device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a state detection method for a wireless audio player device as described above is implemented.

[0016] A state detection device for a wireless audio player according to the present invention further includes: a charging compartment and a player, wherein a spring ejector is disposed in the charging compartment; The spring ejector pin is used to contact the connector of the wireless audio playback device to receive the reported information; The playback device is used to play audio of different scenes.

[0017] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for detecting the state of a wireless audio playback device as described in any one of the above is implemented.

[0018] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for detecting the state of a wireless audio playback device as described above is implemented.

[0019] The present invention provides a method, device, equipment and storage medium for detecting the state of a wireless audio player device. After the wireless audio player device enters the warehouse and sends an audio playback function closing instruction to the wireless audio player device, the method sends an audio playback function closing feedback information through the wireless audio player device to determine whether the audio playback function of the wireless audio player device is successfully closed after entering the warehouse. After the wireless audio player device leaves the warehouse and uses the wireless communication module to send an audio playback function opening instruction to the wireless audio player device, the wireless communication module of the wireless audio player device sends an audio playback function opening feedback information, which can quickly detect whether the audio playback function of the wireless audio player device is turned on after entering the warehouse and whether the audio playback function of the wireless audio player device is turned off after leaving the warehouse. The method does not require manual judgment, which can not only improve the accuracy of audio playback function detection, but also reduce the labor cost and time cost generated in the process of audio playback function detection. Moreover, in the method, by judging whether the reporting information of the connector of the wireless audio player device is received, it is determined whether the wireless audio player device enters or leaves the warehouse. Compared with the solution of judging whether the wireless audio player device enters and leaves the warehouse by the NFC coil in the prior art, the power consumption can be greatly reduced, and the battery life and service life can be extended. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the present invention or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 It is a flow chart of the method for detecting the state of a wireless audio player provided by the present invention.

[0022] Figure 2It is a schematic diagram of information interaction that the audio playback function of the wireless audio playback device has been turned on in the wireless audio playback device status detection method provided by the present invention.

[0023] Figure 3 The present invention is a schematic diagram of information interaction of wireless audio player entering a warehouse in the wireless audio player status detection method provided by the present invention.

[0024] Figure 4 The present invention is a schematic diagram of information interaction when a wireless audio player is out of a warehouse in the method for detecting the state of a wireless audio player provided by the present invention.

[0025] Figure 5 It is a structural schematic diagram of a wireless audio playback device status detection device provided by the present invention.

[0026] Figure 6 This is one of the structural schematic diagrams of the state detection device of the wireless audio playback device provided by the present invention.

[0027] Figure 7 This is the second structural schematic diagram of the state detection device of the wireless audio playback device provided by the present invention. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] In the prior art, it is impossible to manually determine whether the wireless audio player device plays audio normally after entering the warehouse, and it is also impossible to prove whether the low-probability problems such as the wireless audio player device leaving the warehouse without unplayed audio and playing audio when entering the warehouse have been solved, and the manpower and time costs are relatively large. Based on this, an embodiment of the present invention provides a method for detecting the status of a wireless audio player device.

[0030] In the prior art, a method for detecting the entry and exit of wireless headphones in a charging bin is to configure the charging bin with a first near field communication (NFC) coil, a charging module and a micro control unit, wherein the first NFC coil is used to couple with the second NFC coil of the wireless headphones paired with the charging bin, the charging module is used to charge the wireless headphones, and the micro control unit is connected to the first NFC coil and the charging module respectively. The method for detecting the entry and exit of headphones in the bin obtains a first coupling signal; and generates a first electrical signal based on the first coupling signal; and controls the charging module to supply power to the wireless headphones based on the first electrical signal, and controls the wireless headphones to be in a shutdown state.

[0031] However, the NFC coils in the charging case and earphones consume a certain amount of power when working. Although this usually does not have a significant impact on the overall battery life of the device, frequent use of the NFC function when testing the stability of the earphones in and out of the case may increase the power consumption of the device. Moreover, whether the audio playback function of the earphones is turned on after entering and leaving the case, they cannot communicate through the NFC coil.

[0032] Figure 1 FIG. 1 is a flow chart of a method for detecting the state of a wireless audio player provided in an embodiment of the present invention. Figure 1 As shown, the method includes: S1, if the reporting information of the connector of the wireless audio playback device is received, it is determined that the wireless audio playback device is in the warehouse, an audio playback function closing instruction is sent to the wireless audio playback device, and audio playback function closing feedback information sent by the wireless audio playback device is received; S2: If the reporting information is not received, it is determined that the wireless audio playback device is out of the warehouse, based on the wireless communication module, an audio playback function opening instruction is sent to the wireless audio playback device, and audio playback function opening feedback information sent by the wireless audio playback device is received.

[0033] Specifically, the wireless audio player device status detection method provided in the embodiment of the present invention is implemented by a status detection device for a wireless audio player device. The status detection device may be configured with a charging compartment, and a spring ejector may be configured in the charging compartment. The spring ejector in the charging compartment may match the connector of the wireless audio player device. The charging compartment is electrically connected to the connector of the wireless audio player device in the compartment through the spring ejector to charge the wireless audio player device in the compartment. The status detection device may be controlled by a controller. The controller may be a computer, a host computer, etc.

[0034] The wireless audio playback device can be a wireless Bluetooth headset, a hearing aid, etc., which is not specifically limited here.

[0035] When the status detection device executes step S1, it continuously detects whether the reporting information of the connector of the wireless audio playback device is received. If the reporting information of the connector of the wireless audio playback device is received, it can be determined that the wireless audio playback device is in the warehouse. It is understandable that when the user uses it, after the wireless audio playback device is in the warehouse, the wireless audio playback device needs to turn off the audio playback function.

[0036] After the wireless audio player device is placed in the compartment, the connector of the wireless audio player device contacts the spring pin of the charging compartment, and the spring pin of the charging compartment can receive the reporting information of the connector of the wireless audio player device. The connector of the wireless audio player device can be a pogo pin.

[0037] The reported information may include identification information of the wireless audio player, and may also include one or more of the battery level of the wireless audio player, the connection status between the wireless audio player and the electronic device, a charging request, security authentication information, and other control information. The electronic device may include a smart phone, a tablet computer, a laptop computer, etc.

[0038] The wireless audio playback device can encapsulate the reported information into a first data packet and send the first data packet to the status detection device through a connector. Thereafter, the status detection device can parse the first data packet, determine the reported information, and send an audio playback function shutdown instruction to the wireless audio playback device, and the audio playback function shutdown instruction is used to detect whether the wireless audio playback device turns off the audio playback function. Here, if the wireless audio playback device is a Bluetooth headset, the audio playback function can be playing voice, music, etc.; if the wireless audio playback device is a hearing aid, the audio playback function can be a hearing aid function.

[0039] The state detection device can encapsulate the audio playback function closing instruction into a second data packet and send the second data packet to the wireless audio playback device. After receiving the second data packet, the wireless audio playback device will parse the second data packet, determine the audio playback function closing instruction, and feed back the result of closing the audio playback function to the state detection device according to the audio playback function closing instruction. The result of closing the audio playback function, i.e., the audio playback function closing feedback information sent by the wireless audio playback device, can include the audio playback function closing success and the audio playback function closing failure.

[0040] The wireless audio playback device can encapsulate the audio playback function shutdown feedback information into a third data packet and send the third data packet to the state detection device. After receiving the third data packet, the state detection device will parse the third data packet to determine the audio playback function shutdown feedback information.

[0041] Here, the state detection device sends an audio playback function shutdown instruction to the wireless audio playback device, and the wireless audio playback device sends audio playback function shutdown feedback information to the state detection device, which can be achieved by the contact between the spring pin of the state detection device and the connector of the wireless audio playback device, or by a wireless communication module, which is not specifically limited here. Among them, the wireless communication module can be a Bluetooth module, for example, it can be a low-power Bluetooth (BluetoothLow Energy, BLE), and the wireless communication module can be deployed in the state detection device and the wireless audio playback device respectively.

[0042] When the state detection device performs step S2, that is, the state detection device does not receive the reporting information of the connector of the wireless audio player device, it can be determined that the wireless audio player device is out of the warehouse. It is understandable that when the user uses the wireless audio player device, after the wireless audio player device is out of the warehouse, the wireless audio player device needs to turn on the audio playback function.

[0043] After the wireless audio player device is removed from the compartment, the connector of the wireless audio player device loses contact with the spring ejector pin of the charging compartment, and the status detection device cannot receive the reporting information of the connector of the wireless audio player device through the spring ejector pin of the charging compartment.

[0044] After that, the state detection device can use the wireless communication module to send an audio playback function turn-on instruction to the wireless audio playback device. The state detection device is connected to the wireless communication module in the wireless audio playback device through the wireless communication module, and sends the audio playback function turn-on instruction to the wireless audio playback device. The audio playback function turn-on instruction is used to detect whether the wireless audio playback device turns on the audio playback function.

[0045] The state detection device can encapsulate the audio playback function opening instruction into a fourth data packet, and send the fourth data packet to the wireless audio playback device through the wireless communication module. After receiving the fourth data packet, the wireless audio playback device will parse the fourth data packet, determine the audio playback function opening instruction, and according to the audio playback function opening instruction, feedback the result of opening the audio playback function to the state detection device. The result of opening the audio playback function, that is, the audio playback function opening feedback information sent by the wireless audio playback device, can include the audio playback function opening success and the audio playback function opening failure.

[0046] The wireless audio playback device can encapsulate the audio playback function opening feedback information into a fifth data packet and send the fifth data packet to the state detection device. After receiving the fifth data packet, the state detection device will parse the fifth data packet to determine the audio playback function opening feedback information.

[0047] It should be noted that steps S1 and S2 are respectively operations in which the status detection device can receive the reporting information and cannot receive the reporting information, and one of the two is performed according to the actual situation.

[0048] In an embodiment of the present invention, the wireless audio playback device involved may include multiple devices. By receiving feedback information on closing the audio playback function and opening the audio playback function of multiple wireless audio playback devices, the defective rate of the wireless audio playback devices on the production line can be checked, and the low-probability problems of turning on the audio playback function of the wireless audio playback device when entering the warehouse and turning off the audio playback function when leaving the warehouse can be tested, thereby improving the quality of the wireless audio playback device, reducing the after-sales defective rate, and improving user satisfaction.

[0049] A method for detecting the state of a wireless audio player device provided in an embodiment of the present invention first determines that the wireless audio player device is in a warehouse when receiving the reporting information of the connector of the wireless audio player device, sends an audio playback function closing instruction to the wireless audio player device, and receives the audio playback function closing feedback information sent by the wireless audio player device; if the reporting information is not received, it is determined that the wireless audio player device is out of the warehouse, and based on the wireless communication module, sends an audio playback function opening instruction to the wireless audio player device, and receives the audio playback function opening feedback information sent by the wireless audio player device. After the wireless audio player device enters the warehouse and sends the audio playback function closing instruction to the wireless audio player device, the method sends the audio playback function closing feedback information through the wireless audio player device to determine whether the audio playback function of the wireless audio player device is successfully closed after entering the warehouse. After the wireless audio player device leaves the warehouse and uses the wireless communication module to send the audio playback function opening instruction to the wireless audio player device, the method sends the audio playback function opening feedback information through the wireless communication module of the wireless audio player device, which can quickly detect whether the audio playback function of the wireless audio player device is turned on after entering the warehouse and whether the audio playback function of the wireless audio player device is turned off after leaving the warehouse. This method does not require manual judgment, which can not only improve the accuracy of audio playback function detection, but also reduce the labor cost and time cost incurred in the audio playback function detection process. Moreover, in this method, by judging whether the reporting information of the connector of the wireless audio playback device is received, it is determined whether the wireless audio playback device enters or leaves the warehouse. Compared with the solution of judging whether the wireless audio playback device enters or leaves the warehouse through the NFC coil in the prior art, it can greatly reduce power consumption and extend the battery life and service life.

[0050] On the basis of the above embodiment, the wireless audio playback device is a hearing aid, the audio playback function activation feedback information is that the hearing aid function is activated successfully, and the method further includes: Switch to play audio of different scenes; Based on the wireless communication module, scene recognition feedback information sent by the hearing aid after each switching of playback is received.

[0051] Specifically, in the embodiment of the present invention, the wireless audio playback device can be a hearing aid, and the state detection device can also be configured with a playback device. After determining that the hearing aid is out of the warehouse, the controller can also control the playback device to switch to play audio of different scenes. The content of the audio can correspond to the scene, and the role of the audio can be set as needed, which is not specifically limited here.

[0052] After that, the hearing aid can continuously receive audio from different scenes, and through the adaptive scene recognition algorithm, it can adaptively recognize the audio from different scenes and switch scenes to provide corresponding hearing aid effects. After each switching of the hearing aid scene, the hearing aid will send each scene recognition feedback information to the status detection device through the wireless communication module. The scene recognition feedback information is the scene recognition result, which can include scene recognition success and scene recognition failure.

[0053] The hearing aid may encapsulate the scene recognition feedback information into a sixth data packet and send the sixth data packet to the state detection device. The state detection device may receive the sixth data packet using a wireless communication module and parse the sixth data packet to determine the scene recognition feedback information.

[0054] like Figure 2 As shown, the hearing aid function of the hearing aid has been turned on, and a data packet 11 is sent to the state detection device. The data packet 11 includes feedback information that the audio playback function is turned on successfully.

[0055] The state detection device parses data packet 11 and starts playing the audio of scene 1.

[0056] At this time, the state detection device sends a data packet 12 to the hearing aid, and the data packet 12 may include the audio of scene 1.

[0057] After receiving data packet 12, the hearing aid parses data packet 12, identifies the audio of scene 1, generates the hearing aid effect of scene 1, and sends data packet 13 to the state detection device. Data packet 13 may include the recognition result of scene 1 by the hearing aid, and the recognition result may include successful recognition of scene 1 and failed recognition of scene 1. Successful recognition of scene 1 means that the hearing aid successfully generates the hearing aid effect of scene 1, and failed recognition of scene 1 means that the hearing aid cannot successfully generate the hearing aid effect of scene 1.

[0058] After receiving data packet 13, the state detection device can parse data packet 13 to obtain the recognition result of scene 1 by the hearing aid, and start playing the audio of scene 2 when scene 1 is recognized successfully.

[0059] At this time, the state detection device sends a data packet 14 to the hearing aid, and the data packet 14 may include the audio of scene 2.

[0060] After receiving data packet 14, the hearing aid parses data packet 14, identifies the audio of scene 2, generates the hearing aid effect of scene 2, and sends data packet 15 to the state detection device. Data packet 15 may include the recognition result of scene 2 by the hearing aid, and the recognition result may include successful recognition of scene 2 and failed recognition of scene 2. Successful recognition of scene 2 means that the hearing aid successfully switches the hearing aid effect of scene 1 to the hearing aid effect of scene 2, and failed recognition of scene 2 means that the hearing aid cannot successfully switch the hearing aid effect of scene 1 to the hearing aid effect of scene 2.

[0061] After receiving the data packet 15 , the state detection device may parse the data packet 15 to obtain the recognition result of the hearing aid for the scene 2 .

[0062] In the embodiment of the present invention, the performance of the adaptive scene recognition algorithm of the hearing aid can be quickly tested by receiving the scene recognition feedback information sent by the hearing aid after each switching of playback through the wireless communication module.

[0063] Based on the above embodiment, the method further includes: continuously switching and playing audio of different scenes in a loop, so as to test the stability of the hearing aid's adaptive scene recognition algorithm.

[0064] Based on the above embodiment, the hearing aid includes multiple batches; Accordingly, the wireless communication module receives the scene recognition feedback information sent by the hearing aid after each switching of playback, and then includes: Based on the scene recognition feedback information corresponding to the hearing aids of the multiple batches, the stabilities of the adaptive scene recognition algorithms of the hearing aids of the multiple batches are compared.

[0065] Specifically, the hearing aids may include multiple batches. Due to differences in multiple production processes such as assembly and shell, there will be certain differences in the stability of the adaptive scene recognition algorithm of each batch of hearing aids. This difference can be obtained by comparing the stability of the adaptive scene recognition algorithms of multiple batches of hearing aids through the scene recognition feedback information corresponding to the hearing aids of the multiple batches.

[0066] It is understandable that the stability of the adaptive scene recognition algorithm of each batch of hearing aids can be represented by the ratio of the number of hearing aids with successful scene switching to the total number of hearing aids in the batch in the scene recognition feedback information corresponding to each batch of hearing aids. The scene recognition feedback information corresponding to each batch of hearing aids can be sent to the controller for aggregation.

[0067] On the basis of the above embodiment, after determining that the wireless audio playback device is in the warehouse and before sending an audio playback function closing instruction to the wireless audio playback device, the method includes: Turning on the power supply function, sending a power-on instruction to the wireless audio playback device, and receiving power-on feedback information sent by the wireless audio playback device; After determining that the wireless audio playback device is out of the warehouse and before sending an audio playback function opening instruction to the wireless audio playback device based on the wireless communication module, the method includes: The power-off function is turned on, a power-off instruction is sent to the wireless audio playback device based on the wireless communication module, and power-off feedback information sent by the wireless audio playback device is received based on the wireless communication module.

[0068] Specifically, when the user uses it, after the wireless audio player device is placed in the warehouse, the wireless audio player device needs to be powered on through the charging warehouse.

[0069] After determining that the wireless audio playback device is in the warehouse and before sending an audio playback function shut down instruction to the wireless audio playback device, that is, after the status detection device receives the first data packet, it can turn on the charging function of the charging warehouse for the wireless audio playback device and send a power-on instruction to the wireless audio playback device, which is used to detect whether the wireless audio playback device is powered on.

[0070] The state detection device can encapsulate the power-on instruction into a seventh data packet and send the seventh data packet to the wireless audio playback device. Thereafter, the wireless audio playback device can parse the seventh data packet to determine the power-on instruction. The wireless audio playback device can send power-on feedback information to the state detection device according to the power-on signal, and the power-on feedback information may include power-on success and power-on failure.

[0071] The wireless audio playback device can encapsulate the power-on feedback information into an eighth data packet and send the eighth data packet to the state detection device. Thereafter, the state detection device can parse the eighth data packet to determine the power-on feedback information. If the power-on feedback information is that the power-on is successful, the wireless audio playback device can continue to power on. Thereafter, the state detection device can send an audio playback function shutdown instruction to the wireless audio playback device, and the state detection device can encapsulate the audio playback function shutdown instruction into a second data packet and send the second data packet to the wireless audio playback device. After the wireless audio playback device receives the second data packet, the second data packet will be parsed to determine the audio playback function shutdown instruction, and according to the audio playback function shutdown instruction, the audio playback function shutdown feedback information is sent to the state detection device. The wireless audio playback device can encapsulate the audio playback function shutdown feedback information into a third data packet and send the third data packet to the state detection device. After the state detection device receives the third data packet, the third data packet will be parsed to determine the state function shutdown feedback information.

[0072] like Figure 3 As shown, after the wireless audio player enters the warehouse, a data packet 21 is sent to the status detection device, and the data packet 21 includes reporting information of the connector of the wireless audio player device.

[0073] The status detection device analyzes the data packet 21 and turns on the power supply function.

[0074] At this time, the status detection device sends a data packet 22 to the hearing aid, and the data packet 22 may include a power-on instruction.

[0075] After receiving the data packet 22 , the wireless audio playback device parses the data packet 22 , starts powering on, and sends a data packet 23 to the status detection device. The data packet 23 may include power-on feedback information.

[0076] After receiving the data packet 23, the state detection device can parse the data packet 23 to obtain the power-on feedback information. If the power-on feedback information indicates that the power-on is successful, the wireless audio playback device can continue to be powered on. Thereafter, the state detection device sends a data packet 24 to the wireless audio playback device, and the data packet 24 may include a state function shutdown instruction.

[0077] The wireless audio playback device receives data packet 24, parses data packet 24, obtains an audio playback function shutdown instruction, and sends data packet 25 to the status detection device according to the audio playback function shutdown instruction. Data packet 25 may include audio playback function shutdown feedback information.

[0078] The status detection device receives the data packet 25, and parses the data packet 25 to obtain feedback information indicating that the audio playback function is closed.

[0079] When the user is using the wireless audio player device, after it leaves the charging compartment, the wireless audio player device needs to be disconnected from the charging compartment.

[0080] After determining that the wireless audio playback device is out of the warehouse, and before sending an audio playback function opening instruction to the wireless audio playback device based on the wireless communication module, that is, when the first data packet is not received, the wireless audio playback device can send the out-of-warehouse information to the status detection device through the wireless communication module. The wireless audio playback device can encapsulate the out-of-warehouse information into a ninth data packet and send the ninth data packet to the status detection device.

[0081] After receiving the ninth data packet, the status detection device can parse the ninth data packet, turn on the power-off function, and use the wireless communication module to send a power-off instruction to the wireless audio playback device. The power-off instruction is used to detect whether the wireless audio playback device is powered off.

[0082] The status detection device may encapsulate the power-off instruction into a tenth data packet, and send the tenth data packet to the wireless audio playback device.

[0083] After receiving the tenth data packet, the wireless audio playback device can parse the tenth data packet to obtain a power-off instruction, and can send power-off feedback information to the state detection device through the wireless communication module. The power-off feedback information may include power-off success and power-off failure.

[0084] The wireless audio playback device can encapsulate the power-off feedback information into the eleventh data packet and send the eleventh data packet to the status detection device. After the status detection device receives the eleventh data packet, it can parse the eleventh data packet to obtain the power-off feedback information. If the power-off feedback information is that the power is off successfully, the status detection device sends an audio playback function opening instruction to the headset, and the status detection device can encapsulate the audio playback function opening instruction into a fourth data packet and send the fourth data packet to the wireless audio playback device. After the wireless audio playback device receives the fourth data packet, it will parse the fourth data packet to determine the audio playback function opening instruction, and according to the audio playback function opening instruction, send the audio playback function opening feedback information to the status detection device. The wireless audio playback device can encapsulate the audio playback function opening feedback information into a fifth data packet and send the fifth data packet to the status detection device. After the status detection device receives the fifth data packet, it will parse the fifth data packet to determine the audio playback function opening feedback information.

[0085] like Figure 4 As shown, after the wireless audio player device leaves the warehouse, it sends a data packet 31 to the state detection device, and the data packet 31 includes the exit information of the connector of the wireless audio player device.

[0086] The status detection device parses the data packet 31 and activates the power-off function.

[0087] At this time, the status detection device sends a data packet 32 ​​to the hearing aid, and the data packet 32 ​​may include a power-off instruction.

[0088] After receiving the data packet 32, the wireless audio playback device parses the data packet 32 ​​to obtain a power-off instruction, and sends a data packet 33 to the status detection device. The data packet 33 may include power-off feedback information.

[0089] After receiving the data packet 33, the status detection device may parse the data packet 33 to obtain power-off feedback information.

[0090] If the power-off feedback information indicates that the power-off is successful, the status detection device sends a data packet 34 to the hearing aid, and the data packet 34 may include an instruction to turn on the audio playback function.

[0091] The wireless audio playback device receives data packet 34, parses data packet 34, obtains a hearing aid audio playback start instruction, and sends data packet 35 to the status detection device. Data packet 35 may include feedback information on the audio playback function start.

[0092] The status detection device receives the data packet 35, and parses the data packet 35 to obtain feedback information indicating that the audio playback function is turned on.

[0093] In the embodiment of the present invention, an uncharged wireless audio playback device entering the warehouse can be intercepted, and the power supply function and the power-off function can be turned on and off in a multiple-cycle manner to test the stability of the wireless audio playback device turning on the audio playback function when leaving the warehouse and turning off the audio playback function when entering the warehouse, thereby improving the quality of the wireless audio playback device, reducing the after-sales defective rate, and improving user satisfaction.

[0094] Based on the above embodiment, after determining that the wireless audio playback device is out of the warehouse, the method further includes: receiving an in-ear detection signal from the wireless audio playback device, and if the in-ear detection signal is empty within a preset time period, sending an audio playback function closing instruction to the wireless audio playback device, and receiving feedback information on the audio playback function closing; If the in-ear detection signal is not empty, based on the wireless communication module, the audio playback function opening instruction is sent to the wireless audio playback device, and the audio playback function opening feedback information is received.

[0095] Specifically, when the user uses the wireless audio player device, after it leaves the warehouse, the wireless audio player device needs to perform an in-ear detection, and if it detects that the wireless audio player device is not in the ear within a preset time, the audio playback function needs to be turned off. If it is detected that the wireless audio player device is in the ear, the audio playback function needs to be turned on.

[0096] Therefore, after determining that the wireless audio playback device is out of the warehouse, the wireless audio playback device can also use the built-in in-ear detection module to detect whether the wireless audio playback device is in the ear, and obtain an in-ear detection signal, which can include in-ear or not in-ear.

[0097] Thereafter, the wireless audio playback device may send the in-ear detection signal to the status detection device, and the status detection device may receive the in-ear detection signal from the wireless audio playback device.

[0098] If the wireless audio player does not receive the in-ear detection signal within the preset time, that is, the in-ear detection signal is empty, then an audio player function shutdown instruction is sent to the wireless audio player device, and feedback information about the audio player function shutdown is received. In other words, the status detection device can send an audio player function shutdown instruction to the wireless audio player device if the wireless audio player device is not in the ear within the preset time after leaving the warehouse, and receive feedback information about the audio player function shutdown, so as to determine whether the wireless audio player device can shut down the audio player function under this circumstance. Among them, the preset time can be set as needed and is not specifically limited here.

[0099] If the wireless audio player receives the in-ear detection signal, that is, the in-ear detection signal is not empty, the state detection device can use the wireless communication module to send an audio playback function turn-on instruction to the wireless audio player and receive feedback information on the audio playback function turn-on. In other words, the state detection device can send an audio playback function turn-on instruction to the wireless audio player and receive feedback information on the audio playback function turn-on when the wireless audio player is not put into the ear within a preset time after leaving the warehouse and then put into the ear again, so as to determine whether the wireless audio player can turn on the audio playback function in this case.

[0100] In the embodiment of the present invention, the wireless audio player device can be combined with the out-of-box startup and the in-ear detection to ensure the long battery life and user experience of the wireless audio player device.

[0101] Based on the above embodiment, the step of determining that the wireless audio playback device enters the warehouse, or the step of determining that the wireless audio playback device exits the warehouse, includes: The reporting information is received based on the Universal Asynchronous Receiver / Transmitter Protocol.

[0102] Specifically, in the embodiment of the present invention, the reporting information of the connector of the wireless audio playback device can be transmitted through the Universal Asynchronous Receiver / Transmitter (UART) protocol, which can improve the transmission efficiency and does not waste the power of the wireless audio playback device.

[0103] Based on the above embodiment, the sending of the audio playback function closing instruction to the wireless audio playback device and receiving the audio playback function closing feedback information sent by the wireless audio playback device include: Based on the connector or the wireless communication module, an audio playback function closing instruction is sent to the wireless audio playback device, and feedback information of the audio playback function closing is received.

[0104] Specifically, when the wireless audio playback device is put into the warehouse, the interaction between the wireless audio playback device and the status detection device, including the status detection device sending an audio playback function shutdown instruction to the wireless audio playback device, and the wireless audio playback device sending audio playback function shutdown feedback information to the status detection device, can be achieved through the contact between the connector of the wireless audio playback device and the spring ejector of the status detection device, and can also be achieved through the communication between the wireless communication module of the wireless audio playback device and the non-communication module of the status detection device.

[0105] like Figure 5 As shown, based on the above embodiment, an embodiment of the present invention provides a wireless audio playback device status detection device, including: The function closing test module 51 is used to determine that the wireless audio playback device is in the warehouse if trigger information of the connector of the wireless audio playback device is received, send an audio playback function closing instruction to the wireless audio playback device, and receive audio playback function closing feedback information sent by the wireless audio playback device; The function opening test module 52 is used to determine that the wireless audio playback device is out of the warehouse if the trigger information is not received, send an audio playback function opening instruction to the wireless audio playback device based on the wireless communication module, and receive the audio playback function opening feedback information sent by the wireless audio playback device.

[0106] On the basis of the above embodiments, in the wireless audio playback device state detection device provided in the embodiments of the present invention, the wireless audio playback device is a hearing aid, and the audio playback function activation feedback information is that the hearing aid function is activated successfully; The device also includes a scene recognition detection module, which is used to: Switch to play audio of different scenes; Based on the wireless communication module, scene recognition feedback information sent by the hearing aid after each switching of playback is received.

[0107] On the basis of the above-mentioned embodiment, in the wireless audio playback device state detection device provided in the embodiment of the present invention, the hearing aids include multiple batches; Accordingly, the scene recognition and detection module is specifically used to: Based on the scene recognition feedback information corresponding to the hearing aids of the multiple batches, the stabilities of the adaptive scene recognition algorithms of the hearing aids of the multiple batches are compared.

[0108] On the basis of the above embodiment, the wireless audio playback device state detection device provided in the embodiment of the present invention further includes a power-on detection module, which is used to: Turning on the power supply function, sending a power-on instruction to the wireless audio playback device, and receiving power-on feedback information sent by the wireless audio playback device; Also includes a power failure detection module for: The power-off function is turned on, a power-off instruction is sent to the wireless audio playback device based on the wireless communication module, and power-off feedback information sent by the wireless audio playback device is received based on the wireless communication module.

[0109] On the basis of the above-mentioned embodiment, in the wireless audio playback device state detection device provided in the embodiment of the present invention, the function shutdown detection module is further used for: receiving an in-ear detection signal from the wireless audio playback device, and if the in-ear detection signal is empty within a preset time period, sending an audio playback function closing instruction to the wireless audio playback device, and receiving feedback information on the audio playback function closing; If the in-ear detection signal is not empty, based on the wireless communication module, the audio playback function opening instruction is sent to the wireless audio playback device, and the audio playback function opening feedback information is received.

[0110] On the basis of the above-mentioned embodiment, the wireless audio playback device state detection device provided in the embodiment of the present invention further includes a receiving module, which is used to: The reporting information is received based on the Universal Asynchronous Receiver / Transmitter Protocol.

[0111] On the basis of the above-mentioned embodiment, in the wireless audio playback device state detection device provided in the embodiment of the present invention, the function shutdown detection module is specifically used for: Based on the connector or the wireless communication module, an audio playback function closing instruction is sent to the wireless audio playback device, and feedback information of the audio playback function closing is received.

[0112] Specifically, the functions of each module in the wireless audio playback device status detection device provided in the embodiment of the present invention correspond one-to-one to the operation flow of each step in the above method embodiment, and the effects achieved are also consistent. Please refer to the above embodiment for details, which will not be described in detail in the embodiment of the present invention.

[0113] Figure 6 The following is a schematic diagram of the physical structure of a state detection device for a wireless audio player. Figure 6 As shown, the state detection device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the wireless audio playback device state detection method provided in the above embodiments.

[0114] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the relevant technology or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0115] On the basis of the above-mentioned embodiment, the state detection device 70 of the wireless audio playback device provided in the embodiment of the present invention further includes: a charging compartment 71 and a playback device 72, wherein a spring ejector pin 73 is disposed in the charging compartment 71; The spring ejector pin 73 is used to contact the connector 75 of the wireless audio playback device 74 to receive the reporting information; The playback device 72 is used to play audio of different scenes.

[0116] Specifically, the playback device 72 may be a stereo, and the audio playback device 72 may include multiple, for example, 4. The wireless audio playback device status detection device 70 may control the charging, power off, data transmission, data reception and other operations of the wireless audio playback device 74 through the electronic device 75.

[0117] The charging compartment may include two pairs, i.e., four spring pins 73. The wireless audio player 74 may have two left and right structures, the two structures forming the wireless audio player 74, and every two spring pins 73 are connected to one structure of the wireless audio player 74.

[0118] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the wireless audio playback device status detection method provided in the above embodiments.

[0119] In yet another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the wireless audio playback device status detection method provided in the above embodiments.

[0120] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0121] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.

[0122] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for detecting the status of a wireless audio player, characterized in that: include: If the reporting information of the connector of the wireless audio playback device is received, it is determined that the wireless audio playback device is in the warehouse, an audio playback function closing instruction is sent to the wireless audio playback device, and audio playback function closing feedback information sent by the wireless audio playback device is received; If the reporting information is not received, it is determined that the wireless audio playback device is out of the warehouse, and based on the wireless communication module, an audio playback function opening instruction is sent to the wireless audio playback device, and audio playback function opening feedback information sent by the wireless audio playback device is received.

2. The method for detecting the state of a wireless audio player according to claim 1, characterized in that: The wireless audio playback device is a hearing aid, and the audio playback function activation feedback information indicates that the hearing aid function is activated successfully; The method further comprises: Switch to play audio of different scenes; Based on the wireless communication module, scene recognition feedback information sent by the hearing aid after each switching of playback is received.

3. The method for detecting the state of a wireless audio player according to claim 2, characterized in that: The hearing aids include a plurality of batches; Accordingly, the wireless communication module receives the scene recognition feedback information sent by the hearing aid after each switching of playback, and then includes: Based on the scene recognition feedback information corresponding to the hearing aids of the multiple batches, the stabilities of the adaptive scene recognition algorithms of the hearing aids of the multiple batches are compared.

4. The method for detecting the state of a wireless audio player according to any one of claims 1 to 3, characterized in that: After determining that the wireless audio playback device is in the warehouse and before sending an audio playback function closing instruction to the wireless audio playback device, the method includes: Turning on the power supply function, sending a power-on instruction to the wireless audio playback device, and receiving power-on feedback information sent by the wireless audio playback device; After determining that the wireless audio playback device is out of the warehouse and before sending an audio playback function opening instruction to the wireless audio playback device based on the wireless communication module, the method includes: The power-off function is turned on, a power-off instruction is sent to the wireless audio playback device based on the wireless communication module, and power-off feedback information sent by the wireless audio playback device is received based on the wireless communication module.

5. The method for detecting the state of a wireless audio player according to any one of claims 1 to 3, characterized in that: After determining that the wireless audio playback device is out of the warehouse, the method further includes: receiving an in-ear detection signal from the wireless audio playback device, and if the in-ear detection signal is empty within a preset time period, sending an audio playback function closing instruction to the wireless audio playback device, and receiving feedback information on the audio playback function closing; If the in-ear detection signal is not empty, based on the wireless communication module, the audio playback function opening instruction is sent to the wireless audio playback device, and the audio playback function opening feedback information is received.

6. The method for detecting the state of a wireless audio player according to any one of claims 1 to 3, characterized in that: The step of determining that the wireless audio playback device enters a warehouse, or the step of determining that the wireless audio playback device exits a warehouse, includes: The reporting information is received based on the Universal Asynchronous Receiver / Transmitter Protocol.

7. The method for detecting the state of a wireless audio player according to any one of claims 1 to 3, characterized in that: The sending of the audio playback function closing instruction to the wireless audio playback device and receiving the audio playback function closing feedback information sent by the wireless audio playback device includes: Based on the connector or the wireless communication module, an audio playback function closing instruction is sent to the wireless audio playback device, and feedback information of the audio playback function closing is received.

8. A wireless audio playback device status detection device, characterized in that: include: A function closing detection module is used to determine that the wireless audio playback device is in the warehouse if trigger information of the connector of the wireless audio playback device is received, send an audio playback function closing instruction to the wireless audio playback device, and receive audio playback function closing feedback information sent by the wireless audio playback device; The function activation detection module is used to determine that the wireless audio playback device is out of the warehouse if the trigger information is not received, send an audio playback function activation instruction to the wireless audio playback device based on the wireless communication module, and receive audio playback function activation feedback information sent by the wireless audio playback device.

9. A state detection device for a wireless audio playback device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for detecting the status of a wireless audio playback device according to any one of claims 1 to 7 is implemented.

10. The state detection device of the wireless audio playback device according to claim 9, characterized in that: Also includes: A charging compartment and a playback device, wherein the charging compartment is provided with a spring ejector; The spring ejector pin is used to contact the connector of the wireless audio playback device to receive the reported information; The playback device is used to play audio of different scenes.

11. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for detecting the state of a wireless audio playback device according to any one of claims 1 to 7 is implemented.