Mode switching method of earphone device, earphone charging box, storage medium and product
The earphone charging box collects the wearer's physiological parameters and automatically switches the working mode of the earphone device, which solves the problem of poor convenience of the earphone device and improves the wearer's listening experience.
Patent Information
- Application Number
- CN202410896953.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-05
AI Technical Summary
When the earphone device is used by the wearer, the listening experience is reduced due to interference from surrounding noise signals. In the existing technology, the wearer is required to manually switch the working mode, which has the problem of poor convenience.
The headset charging box calls the headset device and the ring device to collect the wearer's physiological parameters, determines the target working mode based on the physiological parameters, and generates a switching instruction to automatically switch the working mode of the headset device.
It enables the headset device to automatically switch to a working mode that matches the wearer, improving convenience and enhancing the listening experience.
Smart Images

Figure CN118433604B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of earphone devices, and in particular to a mode switching method for earphone devices, an earphone charging box, a storage medium, and a computer program product. Background Art
[0002] With the continuous development of the headphone industry, headphone devices have become an indispensable and important device in the daily lives of more and more people. However, when the wearer uses the headphone device, the noise signals generated in the wearer's surrounding environment often interfere with the sound signals played in the headphone device, thereby greatly reducing the wearer's auditory experience.
[0003] In the related art, the wearer mainly switches the working mode of the headphone device to the noise reduction mode manually by touching the hardware switch configured on the headphone device, so as to reduce the interference of the noise signal on the sound signal played in the headphone device. However, this method requires the wearer to operate without looking at the headphone device, resulting in a technical problem of poor convenience in the working mode switching process of the headphone device. Summary of the invention
[0004] The main purpose of the present application is to provide a mode switching method for an earphone device, an earphone charging box, a storage medium and a computer program product, aiming to solve the technical problem of poor convenience in the working mode switching process of the earphone device in the related art.
[0005] To achieve the above object, the present application proposes a mode switching method of an earphone device, the method comprising:
[0006] Determining a target detection device, wherein the target detection device is an earphone device and / or a finger ring device;
[0007] Acquire physiological parameters of the wearer through the target detection device, and determine the target working mode corresponding to the headphone device according to the physiological parameters;
[0008] A first mode switching instruction is generated according to the target working mode, and the first mode switching instruction is output to the headphone device to switch the headphone device to the target working mode.
[0009] In one embodiment, the step of determining the target detection device includes:
[0010] Detecting the earphone device to obtain a first wearing state parameter, and detecting the ring device to obtain a second wearing state parameter;
[0011] A target detection device is determined according to the first wearing state parameter and the second wearing state parameter.
[0012] In one embodiment, the step of determining a target detection device according to the first wearing state parameter and the second wearing state parameter includes:
[0013] Comparing the first wearing state parameter with a preset first parameter threshold to obtain a first comparison result, and comparing the second wearing state parameter with a preset second parameter threshold to obtain a second comparison result;
[0014] When the first comparison result is that the first wearing state parameter reaches the first parameter threshold, and the second comparison result is that the second wearing state parameter reaches the second parameter threshold, determining that the target detection device is the headphone device and / or the ring device;
[0015] When the first comparison result is that the first wearing state parameter reaches the first parameter threshold, and the second comparison result is that the second wearing state parameter does not reach the second parameter threshold, it is determined that the target detection device is the headphone device.
[0016] In one embodiment, the step of acquiring the physiological parameters of the wearer through the target detection device includes:
[0017] Detecting the wearer through the earphone device to obtain an ear canal air pressure signal corresponding to the wearer;
[0018] Extract an air pressure signal feature corresponding to the ear canal air pressure signal, and determine a first physiological parameter corresponding to the wearer according to the air pressure signal feature.
[0019] In one embodiment, the step of acquiring the physiological parameters of the wearer through the target detection device further includes:
[0020] Controlling the finger ring device to emit a first detection light to the wearer, and receiving a second detection light corresponding to the first detection light through the finger ring device;
[0021] A second physiological parameter corresponding to the wearer is determined based on the second detection light.
[0022] In one embodiment, after the step of acquiring the physiological parameters of the wearer by the target detection device, the method further includes:
[0023] Determining a physiological parameter difference between the first physiological parameter and the second physiological parameter, and judging whether the physiological parameter difference reaches a preset difference threshold;
[0024] If it is determined that the physiological parameter difference reaches the difference threshold, generating a verification prompt audio based on the physiological parameter difference;
[0025] The verification prompt audio is output to the headphone device so as to play the verification prompt audio through the headphone device.
[0026] In one embodiment, the step of determining the target operating mode corresponding to the headphone device according to the physiological parameter includes:
[0027] Obtaining a preset physiological parameter threshold, and comparing the physiological parameter with the physiological parameter threshold to obtain a third comparison result;
[0028] When the third comparison result is that the physiological parameter is greater than or equal to the physiological parameter threshold, determining the preset first mode as the target working mode corresponding to the headphone device, wherein the first mode is a working mode that enables the headphone device to generate a noise reduction sound signal;
[0029] When the third comparison result is that the physiological parameter is less than the physiological parameter threshold, the preset second mode is determined as the target working mode corresponding to the headphone device, wherein the second mode is a working mode that can enable the headphone device to maintain a constant playback volume.
[0030] In one embodiment, after the step of determining that the preset first mode is the target operating mode corresponding to the headphone device, the method further includes:
[0031] Acquiring an ambient sound signal through the earphone device, and determining whether the ambient sound signal is greater than or equal to a preset sound signal threshold;
[0032] If it is determined that the ambient sound signal is greater than or equal to a preset sound signal threshold, a volume increase instruction is generated;
[0033] A second mode switching instruction is generated according to the first mode and the volume increase instruction, and the second mode switching instruction is output to the headphone device.
[0034] In one embodiment, after the step of outputting the first mode switching instruction to the headphone device, the method further includes:
[0035] Determine whether there is a traffic noise signal in the environmental sound signal;
[0036] If it is determined that the traffic noise signal exists in the ambient sound signal, determining the preset third mode as the target working mode corresponding to the headphone device, wherein the third mode is a working mode that enables the headphone device to play the ambient sound signal;
[0037] A third mode switching instruction is generated based on the third mode, and the third mode switching instruction is output to the headphone device.
[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes an earphone charging box, which includes: an earphone charging interface, a ring charging interface, a memory, a processor, and a computer program stored on the memory and runnable on the processor, and the computer program is configured to implement the steps of the mode switching method of the earphone device as described above.
[0039] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the mode switching method of the headphone device as described above are implemented.
[0040] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the mode switching method of the headphone device as described above are implemented.
[0041] The mode switching method of the earphone device, the earphone charging box, the storage medium and the computer program product provided in the embodiments of the present application are configured by determining a target detection device, wherein the target detection device is an earphone device and / or a ring device; obtaining physiological parameters of the wearer through the target detection device, and determining a target working mode corresponding to the earphone device according to the physiological parameters; generating a first mode switching instruction according to the target working mode, and outputting the first mode switching instruction to the earphone device to switch the earphone device to the target working mode.
[0042] In this embodiment, during operation, the earphone charging box first detects the earphone device and the ring device that are communicated with itself, so as to determine the target detection device that can be used to obtain the physiological parameters of the wearer in the earphone device and the ring device. After that, the earphone charging box calls the earphone device and / or the ring device to detect the wearer, so as to obtain the physiological parameters of the wearer, and determines the target working mode that the earphone device needs to adopt according to the physiological parameters. Finally, the earphone charging box generates a first mode switching instruction according to the target working mode, and outputs the first mode switching instruction to the earphone device, so as to enable the earphone device to switch to the target working mode according to the first mode switching instruction.
[0043] In this way, the present application solves the technical problem of poor convenience in the working mode switching process of the headphone device in the related art. That is, the present application achieves the technical effect of enabling the headphone device to automatically switch to a working mode matching the wearer by calling the headphone device and / or the ring device through the headphone charging box to collect the wearer's physiological parameters, and determining a target mode matching the wearer based on the physiological parameters, and then controlling the headphone device to switch to the target working mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0046] Figure 1 A schematic diagram of a flow chart provided for a mode switching method of a headset device according to a first embodiment of the present application;
[0047] Figure 2 This is a schematic diagram of the structure of an earphone charging box involved in an embodiment of a mode switching method for an earphone device of the present application;
[0048] Figure 3 A flowchart of a second embodiment of a method for switching a mode of a headset device according to the present application;
[0049] Figure 4 A schematic diagram of a brief flow chart of a mode switching method of a headset device of the present application;
[0050] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the mode switching method of the headphone device in the embodiment of the present application.
[0051] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0052] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0053] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0054] In this embodiment, for the sake of convenience, the following description is based on the earphone charging box which is internally equipped with an earphone charging interface, a ring charging interface, a communication module and a storage module. Figure 2 , Figure 2 This is a schematic diagram of the structure of the earphone charging box involved in an embodiment of the mode switching method of the earphone device of the present application, such as Figure 2As shown, when the earphone device and / or the ring device is placed in the earphone charging box, the earphone charging box can charge the earphone device through the earphone charging interface, and charge the ring device through the ring charging interface. When the earphone device and / or the ring device is taken out of the earphone charging box, the earphone charging box does not need to charge the earphone device and the ring device, and communicates with the earphone device and the ring device respectively through the communication module, thereby realizing data interaction with the earphone device and the ring device.
[0055] Based on the above-mentioned earphone charging box, the overall concept of the mode switching method of the earphone device of the present application is proposed here.
[0056] With the continuous development of the headphone industry, headphone devices have become an indispensable and important device in the daily lives of more and more people. However, when the wearer uses the headphone device, the noise signals generated in the wearer's surrounding environment often interfere with the sound signals played in the headphone device, thereby causing the wearer's heart rate, blood pressure, pulse and other physiological parameters to increase, greatly reducing the wearer's auditory experience. In the related art, the wearer mainly manually switches the working mode of the headphone device to the noise reduction mode by touching the hardware switch configured on the headphone device to reduce the interference of the noise signal on the sound signal played in the headphone device. However, this method requires the wearer to operate without looking at the headphone device, resulting in a technical problem of poor convenience in the working mode switching process of the headphone device.
[0057] In view of the above phenomenon, the present application provides a mode switching method for an earphone device, the method comprising: determining a target detection device, wherein the target detection device is an earphone device and / or a ring device; obtaining physiological parameters of a wearer through the target detection device, and determining a target working mode corresponding to the earphone device according to the physiological parameters; generating a first mode switching instruction according to the target working mode, and outputting the first mode switching instruction to the earphone device to switch the earphone device to the target working mode.
[0058] In this way, the present application solves the technical problem of poor convenience in the working mode switching process of the headphone device in the related art. That is, the present application achieves the technical effect of enabling the headphone device to automatically switch to a working mode matching the wearer by calling the headphone device and / or the ring device through the headphone charging box to collect the wearer's physiological parameters, and determining a target mode matching the wearer based on the physiological parameters, and then controlling the headphone device to switch to the target working mode.
[0059] Based on the overall concept of the mode switching method of the headphone device of the present application, the embodiment of the present application provides a mode switching method of the headphone device, referring to Figure 1 , Figure 1This is a flow chart of a first embodiment of a mode switching method for a headset device of the present application.
[0060] In this embodiment, the mode switching method of the earphone device is applied to an earphone charging box, the earphone charging box is communicatively connected with the earphone device and the ring device respectively, and the mode switching method of the earphone device includes steps S10 to S30:
[0061] Step S10: determining a target detection device, wherein the target detection device is an earphone device and / or a finger ring device;
[0062] It should be noted that the target detection device is a detection device used to detect the wearer to obtain the wearer's heart rate, blood pressure, pulse and other physiological parameters, and specifically can be an earphone device and / or a ring device worn by the wearer.
[0063] In this embodiment, during the operation of the earphone charging box, the earphone device and the ring device connected to the earphone charging box for communication are first detected respectively, so as to determine the device status corresponding to the earphone device and the ring device respectively, and determine the target detection device for obtaining the physiological parameters of the wearer in the earphone device and the ring device according to the status of each device.
[0064] Exemplarily, for example, during the operation of the earphone charging box, if it is detected that the wearer takes out the wireless earphones and the smart ring from the earphone charging box respectively, then a communication connection is established with the wireless earphones and the smart ring respectively through the communication module configured by itself, and the wireless earphones and the smart ring are accessed respectively through the communication module to obtain the corresponding wearing status of the wireless earphones and the smart ring respectively. The earphone charging box then determines whether the wireless earphones and the smart ring are worn by the wearer according to the status of each device, and then determines that the target detection device for obtaining the wearer's physiological parameters such as blood pressure, heart rate, and pulse is the wireless earphone and / or the smart ring.
[0065] In this way, the earphone charging box can detect the earphone device and the ring device respectively, so as to judge whether the wearer is wearing the earphone device and / or the ring device according to the device status corresponding to the earphone device and the ring device respectively, and then determine the earphone device and / or the ring device as the target detection device for obtaining the wearer's physiological parameters.
[0066] It should be noted that before determining the target detection device, the headphone charging box first detects the headphone charging interface configured by itself to determine whether the interface state of the headphone charging interface is an interface connected state or an interface disconnected state. After that, when the headphone charging box determines that the interface state is an interface disconnected state, it determines that the headphone device is not in a charging state, and determines that the wearer has taken the headphone device out of the headphone charging box at this time, and then detects the headphone device and ring device that are communicated with itself to determine the target detection device among the headphone device and the ring device.
[0067] In a feasible implementation manner, the above step S10 may specifically include steps S101-S102:
[0068] Step S101: detecting the earphone device to obtain a first wearing state parameter, and detecting the ring device to obtain a second wearing state parameter;
[0069] Step S102: determining a target detection device according to the first wearing state parameter and the second wearing state parameter.
[0070] It should be noted that the first wearing state parameter is a state parameter reflecting whether the earphone device is worn on the ear by the wearer, which can be a pressure parameter, a temperature parameter, a voltage parameter, etc. It can be understood that the present application does not limit the specific parameter type of the first wearing state parameter. Similarly, the second wearing state parameter is a state parameter reflecting whether the ring device is worn on the hand by the wearer, which can be a pressure parameter, a temperature parameter, a voltage parameter, etc. It can be understood that the present application also does not limit the specific parameter type of the second wearing state parameter.
[0071] In this embodiment, when the earphone charging box is in operation, it first establishes a communication connection with the earphone device and the ring device, and detects the earphone device, thereby reading the first detection unit configured on the earphone device, so as to obtain the first wearing state parameter generated on the earphone device through the first detection unit. At the same time, the earphone charging box detects the ring device, thereby reading the second detection unit configured on the ring device, so as to obtain the second wearing state parameter generated on the ring device through the second detection unit. Thereafter, the earphone charging box processes the obtained first wearing state parameter and second wearing state parameter, so as to determine the device states corresponding to the earphone device and the ring device respectively according to the first wearing state parameter and the second wearing state parameter, and then determines whether the target detection device that can be used to obtain the physiological parameters of the wearer is the earphone device or the ring device according to the states of each device.
[0072] Exemplarily, for example, during operation, the earphone charging box first establishes a communication connection between the wireless earphone and the smart ring through the communication module configured by itself, and accesses the wireless earphone through the communication module to obtain the first pressure parameter generated on the wireless earphone through the first pressure sensor configured on the wireless earphone. At the same time, the earphone charging box accesses the smart ring through the communication module to obtain the second pressure parameter generated on the smart ring through the second pressure sensor configured on the smart ring. After that, the earphone charging box processes the first pressure parameter and the second pressure parameter, so as to determine whether the wireless earphone is worn on the wearer's ear according to the first pressure parameter, and then determine the device status of the wireless earphone. At the same time, the earphone charging box determines whether the smart ring is worn on the wearer's hand through the second pressure parameter, and then determines the device status of the smart ring. The earphone charging box determines whether the target detection device that can be used to obtain the wearer's physiological parameters such as blood pressure, heart rate, and pulse is the wireless earphone or the smart ring through the device states corresponding to the wireless earphone and the smart ring.
[0073] It should be noted that, in addition to being a pressure sensor, each of the above-mentioned detection units can also be a temperature sensor. It is understandable that the present application does not limit the specific type of the detection unit. In addition, in this embodiment and another embodiment, the first detection unit and the second detection unit can also be detection units of different types. For example, when the first detection unit is a pressure sensor and the second detection unit is a temperature sensor, the earphone charging box can obtain the first pressure parameter generated on the wireless earphone through the first detection unit, and judge whether the wireless earphone is worn on the wearer's ear according to the first pressure parameter. At the same time, the earphone charging box can obtain the temperature parameter generated on the smart ring through the second detection unit, and judge whether the smart ring is worn on the wearer's hand according to the temperature parameter, thereby determining whether the target detection device that can be used to obtain the wearer's physiological parameters is a wireless earphone or a smart ring.
[0074] In this way, the earphone charging box can detect the earphone device and the ring device respectively, so as to judge whether the wearer is wearing the earphone device and / or the ring device according to the device status corresponding to the earphone device and the ring device respectively, and then determine the earphone device and / or the ring device as the target detection device for obtaining the wearer's physiological parameters.
[0075] In a feasible implementation manner, the above step S102 may specifically include steps S1021 to S1023:
[0076] Step S1021: comparing the first wearing state parameter with a preset first parameter threshold to obtain a first comparison result, and comparing the second wearing state parameter with a preset second parameter threshold to obtain a second comparison result;
[0077] Step S1022: when the first comparison result is that the first wearing state parameter reaches the first parameter threshold, and the second comparison result is that the second wearing state parameter reaches the second parameter threshold, determining that the target detection device is the headphone device and / or the ring device;
[0078] Step S1023: when the first comparison result is that the first wearing state parameter reaches the first parameter threshold, and the second comparison result is that the second wearing state parameter does not reach the second parameter threshold, determining that the target detection device is the headphone device.
[0079] It should be noted that the first parameter threshold is a wearing state parameter for determining whether the earphone device is worn on the ear of the wearer. It can be understood that when the first wearing state parameter is a pressure parameter, the first parameter threshold can be a pressure parameter threshold, that is, when the pressure parameter reaches the first parameter threshold, it can be determined that the earphone device is fixed on the ear of the wearer. Similarly, when the first wearing state parameter is a temperature parameter, the first parameter threshold can be a temperature threshold. In addition, the second parameter threshold is a wearing state parameter for determining whether the ring device is worn on the hand of the wearer. It can be understood that when the second wearing state parameter is a pressure parameter, the second parameter threshold can be a pressure parameter threshold, that is, when the pressure parameter reaches the second parameter threshold, it can be determined that the ring device is worn on the hand of the wearer. Similarly, when the second wearing state parameter is a temperature parameter, the second parameter threshold can be a temperature threshold.
[0080] In this embodiment, after obtaining the first wearing state parameter and the second wearing state parameter, the earphone charging box first reads the storage module configured by itself to obtain the first parameter threshold corresponding to the earphone device, and compares the first wearing state parameter with the first parameter threshold to obtain a first comparison result. At the same time, the earphone charging box reads the storage module to obtain the second parameter threshold corresponding to the ring device, and compares the second wearing state parameter with the second parameter threshold to obtain a second comparison result. After that, when the earphone charging box determines that the first comparison result is that the first wearing state parameter reaches the first parameter threshold, and the second comparison result is that the second wearing state parameter reaches the second parameter threshold, it is determined that the device states corresponding to the earphone device and the ring device are both wearing states, and then it is determined that the target detection device that can be used to obtain the physiological parameters of the wearer is the earphone device and / or the ring device; and when the earphone charging box determines that the first comparison result is that the first wearing state parameter reaches the first parameter threshold, and the second comparison result is that the second wearing state parameter does not reach the second parameter threshold, it is determined that the device state of the earphone device is the wearing state, and the wearing state of the ring device is the not-wearing state, and then it is determined that the target detection device that can be used to obtain the physiological parameters of the wearer is only the earphone device.
[0081] Exemplarily, for example, after obtaining the first pressure parameter and the second pressure parameter, the earphone charging box first reads the storage module configured by itself to obtain the first pressure threshold corresponding to the wireless earphone and the second pressure threshold corresponding to the smart ring. The earphone charging box then compares the first pressure parameter with the first pressure threshold to obtain a first comparison result, and compares the second pressure parameter with the second pressure threshold to obtain a second comparison result. Afterwards, when the earphone charging box determines that the first comparison result is that the first pressure parameter reaches the first pressure threshold, and the second comparison result is that the second pressure parameter reaches the second pressure threshold, it determines that the wireless earphone is fixed on the wearer's ear and the smart ring is worn on the wearer's hand. At this time, the earphone charging box confirms that It is determined that the wearer's physiological parameters such as blood pressure, heart rate, pulse, etc. can be collected simultaneously through the smart ring and the wireless earphones, and the earphone charging box thus sets the wireless earphones and the smart ring as target detection devices for detecting the wearer; similarly, when the earphone charging box determines that the first comparison result is that the first pressure parameter reaches the first pressure threshold, and the second comparison result is that the second pressure parameter does not reach the second pressure threshold, it determines that the wireless earphones are fixed on the wearer's ears, but the smart ring is not worn on the wearer's hands. At this time, the earphone charging box determines that only the wearer's physiological parameters such as blood pressure, heart rate, pulse, etc. can be collected through the wireless earphones, and the earphone charging box thus determines the wireless earphones as the target detection device for obtaining the wearer's physiological parameters.
[0082] Similarly, in another embodiment, when the headphone charging box determines that the wearer's physiological parameters such as blood pressure, heart rate, and pulse can be collected simultaneously through the smart ring and the wireless headphones, the headphone charging box can also set any one of the smart ring and the wireless headphones as a target detection device for obtaining the wearer's physiological parameters, that is, the headphone charging box can only set the wireless headphones as the target detection device, or only set the smart ring as the target detection device.
[0083] Similarly, in another embodiment, if the earphone charging box obtains the first temperature parameter and the second temperature parameter, the storage module can be read to obtain the first temperature threshold corresponding to the wireless earphone and the second temperature threshold corresponding to the smart ring. The earphone charging box then compares the first temperature parameter with the first temperature threshold to obtain a first comparison result, and compares the second temperature parameter with the second temperature threshold to obtain a second comparison result. When it is determined according to the first comparison result and the second comparison result that the wireless earphone is worn on the ear of the wearer and the smart ring is worn on the hand of the wearer, it is determined that the above-mentioned wireless earphone and the smart ring are both target detection devices, and when it is determined according to the first comparison result and the second comparison result that the wireless earphone is worn on the ear of the wearer and the smart ring is not worn on the hand of the wearer, it is determined that only the earphone device is set as the target detection device. It can be understood that if the wearing state parameter obtained by the earphone charging box is a voltage parameter, the comparison results corresponding to the wireless earphone and the smart ring can also be determined by the voltage threshold corresponding to the voltage parameter, and the target detection device can be determined according to each comparison result.
[0084] In this way, the earphone charging box can detect the earphone device and the ring device respectively, so as to judge whether the wearer is wearing the earphone device and / or the ring device according to the device status corresponding to the earphone device and the ring device respectively, and then determine the earphone device and / or the ring device as the target detection device for obtaining the wearer's physiological parameters.
[0085] Step S20: Acquire physiological parameters of the wearer through the target detection device, and determine the target working mode corresponding to the headphone device according to the physiological parameters;
[0086] It should be noted that physiological parameters are signal parameters that can reflect the wearer's physical condition, and may specifically be heart rate, blood pressure, pulse, etc.
[0087] In this embodiment, after determining the target detection device, the earphone charging box controls the earphone device and / or the ring device to detect the wearer, so as to obtain the physiological parameters of the wearer. The earphone charging box then processes the physiological parameters to determine the working mode that matches the physiological parameters among multiple preset working modes, and determines the working mode as the target working mode that the earphone device needs to operate.
[0088] Exemplarily, for example, after determining that the target detection device is the earphone device and / or the ring device, the earphone charging box controls the earphone device and / or the ring device to detect the wearer, thereby obtaining the wearer's heart rate value. The earphone charging box then determines the working mode that matches the heart rate value among multiple working modes such as the preset noise reduction mode, normal mode, and transparency mode according to the heart rate value, and determines the working mode that matches the heart rate value as the target working mode that the wireless headset needs to operate.
[0089] In this way, the earphone charging box can control the earphone device and / or ring device to collect the wearer's heart rate, pulse, blood pressure and other physiological parameters, and determine the target working mode that the earphone device needs to run next based on the physiological parameters.
[0090] In a feasible implementation manner, the step of “obtaining the physiological parameters of the wearer through the target detection device” in the above step S20 may specifically include steps S201-S202:
[0091] Step S201: detecting the wearer through the earphone device to obtain an ear canal air pressure signal corresponding to the wearer;
[0092] Step S202: extracting the air pressure signal feature corresponding to the ear canal air pressure signal, and determining the first physiological parameter corresponding to the wearer according to the air pressure signal feature.
[0093] It should be noted that the ear canal air pressure signal is a low-frequency air pressure signal caused inside the ear canal when the artery near the ear canal of the wearer changes, resulting in a change in the volume of the ear canal cavity. In addition, the first physiological parameter is a physiological parameter collected when the wearer is tested by the earphone device.
[0094] In this embodiment, when the earphone charging box determines that the earphone device is a target detection device, it controls the earphone device to detect the ear canal of the wearer, thereby obtaining the ear canal air pressure signal generated in the ear canal of the wearer. After that, the earphone charging box extracts the air pressure signal characteristics contained in the ear canal air pressure signal, and converts the air pressure signal characteristics to obtain the first physiological parameter corresponding to the wearer.
[0095] Exemplarily, for example, when the earphone charging box determines that the wireless earphone is a target detection device for collecting the wearer's heart rate value, it first accesses the wireless earphone through the above-mentioned communication module to control the air pressure detection module configured on the wireless earphone, so as to detect the wearer's ear canal through the air pressure detection module to collect the ear canal air pressure signal generated in the wearer's ear canal. After that, the earphone charging box extracts the peak value, time interval and other air pressure signal characteristics contained in the ear canal air pressure signal, and determines the number of peaks contained in the ear canal air pressure signal according to each air pressure signal characteristic, so as to determine the first heart rate value corresponding to the wearer according to the number of peaks.
[0096] It should be noted that there are many specific processes for the headphone charging box to calculate the wearer's heart rate value based on the characteristics of the air pressure signal. This application does not limit the specific process for the headphone charging box to calculate the wearer's heart rate value.
[0097] In this way, the earphone charging box can control the earphone device to detect the wearer's ear canal, thereby collecting the ear canal air pressure signal generated in the ear canal, and calculating the wearer's heart rate, pulse, blood pressure and other physiological parameters based on the ear canal air pressure signal.
[0098] In a feasible implementation manner, the step of "obtaining the physiological parameters of the wearer through the target detection device" in the above step S20 may further include steps S203-S204:
[0099] Step S203: controlling the finger ring device to emit a first detection light to the wearer, and receiving a second detection light corresponding to the first detection light through the finger ring device;
[0100] Step S204: determining a second physiological parameter corresponding to the wearer based on the second detection light.
[0101] It should be noted that the second physiological parameter is a physiological parameter collected when the wearer is tested by the ring device.
[0102] In this embodiment, when the earphone charging box determines that the ring device is the target detection device, the earphone charging box controls the ring device to emit a first detection light to the wearer's hand. At the same time, the earphone charging box controls the ring device to receive a second detection light formed by reflection of the first detection light after irradiating the wearer's hand. Thereafter, the earphone charging box processes the acquired second detection light, thereby obtaining a second physiological parameter corresponding to the wearer according to the second detection light.
[0103] Exemplarily, for example, when the earphone charging box determines that the smart ring is a target detection device for collecting the wearer's heart rate value, it first accesses the smart ring through the above-mentioned communication module to control the light emitting module configured on the smart ring, so that the light emitting module emits a first detection light of a specific wavelength to the wearer's finger with the smart ring. The first light is absorbed when passing through the skin and blood of the finger, and generates a corresponding second detection light. At this time, the earphone charging box controls the photoelectric sensor configured on the smart ring to collect the second detection light, and the digital-to-analog conversion unit configured in the photoelectric sensor converts the received second detection light from an optical signal into a digital signal. After that, the earphone charging box extracts the digital signal features contained in the digital signal, thereby determining the corresponding second heart rate value of the wearer according to the digital signal features.
[0104] It should be noted that the specific process of the earphone charging box calculating the wearer's heart rate value based on the digital signal characteristics contained in the digital signal is an existing technology, so it will not be repeated here.
[0105] In this way, the earphone charging box can control the ring device to detect the wearer, thereby collecting the wearer's heart rate, pulse, blood pressure and other physiological parameters.
[0106] In a feasible implementation manner, the step of “determining the target working mode corresponding to the headphone device according to the physiological parameters” in the above step S20 may specifically include steps S205 to S207:
[0107] Step S205: obtaining a preset physiological parameter threshold, and comparing the physiological parameter with the physiological parameter threshold to obtain a third comparison result;
[0108] Step S206: when the third comparison result is that the physiological parameter is greater than or equal to the physiological parameter threshold, determining a preset first mode as a target working mode corresponding to the headphone device, wherein the first mode is a working mode that enables the headphone device to generate a noise reduction sound signal;
[0109] Step S207: When the third comparison result is that the physiological parameter is less than the physiological parameter threshold, determine that the preset second mode is the target working mode corresponding to the headphone device, wherein the second mode is a working mode that can enable the headphone device to maintain a constant playback volume.
[0110] It should be noted that the first mode is a working mode that allows the headphone device to generate a noise reduction audio signal that is opposite to the ambient noise signal, that is, the first mode can be specifically a noise reduction mode. It can be understood that when the headphone device is in the noise reduction mode, the ambient noise signal can be offset by the noise reduction audio signal, thereby reducing the impact of the ambient noise signal and reducing the wearer's heart rate. Similarly, the second mode is a working mode that allows the headphone device to keep the playback volume unchanged, that is, the second mode can be specifically a normal mode. It can be understood that when the headphone device is in the normal mode, the headphone device can keep its own playback volume unchanged, thereby ensuring that the wearer's heart rate is in a stable state.
[0111] In this embodiment, after obtaining the physiological parameters of the wearer, the earphone charging box first reads the storage module configured by itself to obtain a preset physiological parameter threshold. The earphone charging box compares the obtained physiological parameters with the physiological parameter threshold to obtain a third comparison result. Thereafter, when the earphone charging box determines that the third comparison result is that the physiological parameters of the wearer are greater than or equal to the physiological parameter threshold, it determines that the preset first mode that enables the earphone device to generate a noise reduction sound signal is a working mode that matches the physiological parameters, and determines the working mode as the target working mode that the earphone device needs to run; similarly, when the earphone charging box determines that the third comparison result is that the physiological parameters of the wearer are less than the physiological parameter threshold, it determines that the preset second mode that enables the earphone device to keep the playback volume unchanged is the working mode that matches the physiological parameters, and determines the working mode as the target working mode that the earphone device needs to run.
[0112] Exemplarily, for example, after obtaining the first heart rate value and / or the second heart rate value of the wearer, the earphone charging box first reads the storage module configured by itself to obtain a preset heart rate value threshold for determining whether the wearer's heart rate is too fast, and compares the first heart rate value or the second heart rate value with the heart rate value threshold to obtain a third comparison result. Thereafter, when the earphone charging box determines that the third comparison result is that the first heart rate value is greater than or equal to the heart rate value threshold, or the third comparison result is that the second heart rate value is greater than or equal to the heart rate value threshold, it determines that the wearer's heart rate is high at this time, that is, the wearer is affected by the ambient noise signal when using the wireless headphones. At this time, the earphone charging box is in the preset noise reduction mode, normal Among the multiple working modes such as the scale mode, the transparency mode, etc., the noise reduction mode that can control the wireless headset to generate a noise reduction sound signal is determined to be the target working mode that the wireless headset needs to adopt. Similarly, when the earphone charging box determines that the third comparison result is that the first heart rate value is less than the heart rate value threshold, or the third comparison result is that the second heart rate value is less than the heart rate value threshold, it is determined that the wearer's heart rate is relatively stable at this time, and then it is determined that the wearer is not affected by the ambient noise signal when using the wireless headset. At this time, the earphone charging box determines that the normal mode that can control the wireless headset to keep the playback volume unchanged is the target working mode that the wireless headset needs to adopt among the preset noise reduction mode, normal mode, the transparency mode, and other multiple working modes.
[0113] In this way, the earphone charging box can determine the working mode that matches the physiological parameters based on the wearer's heart rate, pulse, blood pressure and other physiological parameters, and then determine the working mode that matches the physiological parameters as the target working mode that the wireless headset needs to operate.
[0114] Step S30: generating a first mode switching instruction according to the target working mode, and outputting the first mode switching instruction to the headphone device to switch the headphone device to the target working mode;
[0115] In this embodiment, after determining the target working mode, the earphone charging box generates a first mode switching instruction according to the target working mode, and sends the first mode switching instruction to the earphone device. The earphone device performs the mode switching operation according to the first mode switching instruction, thereby switching its own working mode to the target working mode.
[0116] Exemplarily, for example, after the earphone charging box determines that the above-mentioned noise reduction mode is the target working mode, the earphone charging box generates a first mode switching instruction based on the noise reduction mode, and sends the first mode switching instruction to the wireless headset through the communication module, so that the wireless headset performs the mode switching operation according to the first mode switching instruction, thereby switching its own working mode to the noise reduction mode. Similarly, after the earphone charging box determines that the above-mentioned normal mode is the target working mode, the earphone charging box generates another mode switching instruction based on the noise reduction mode, and sends the newly generated mode switching instruction to the wireless headset through the communication module, so that the wireless headset switches its own working mode to the normal mode.
[0117] In this embodiment, during operation, the earphone charging box first detects the earphone device and the ring device that are connected to itself for communication, so as to determine the device status corresponding to the earphone device and the ring device respectively, and determines the target detection device for obtaining the physiological parameters of the wearer in the earphone device and the ring device according to the device status. After that, the earphone charging box controls the earphone device and / or the ring device to detect the wearer, so as to obtain the physiological parameters of the wearer. The earphone charging box then processes the physiological parameters to determine the working mode that matches the physiological parameters in multiple preset working modes, and determines the working mode as the target working mode that the earphone device needs to run. Finally, the earphone charging box generates a first mode switching instruction according to the target working mode, and sends the first mode switching instruction to the earphone device, and the earphone device performs the mode switching operation according to the first mode switching instruction, so as to switch its own working mode to the target working mode.
[0118] In this way, the present application solves the technical problem of poor convenience in the working mode switching process of the headphone device in the related art. That is, the present application achieves the technical effect of enabling the headphone device to automatically switch to a working mode matching the wearer by calling the headphone device and / or the ring device through the headphone charging box to collect the wearer's physiological parameters, and determining a target mode matching the wearer based on the physiological parameters, and then controlling the headphone device to switch to the target working mode.
[0119] Based on the first embodiment of the present application, the second embodiment of the present application is proposed here. In the second embodiment of the present application, the same or similar contents as those of the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later. Figure 3 , Figure 3 A flow chart of the mode switching method for the headset device of the present application is provided in Embodiment 2, as shown in FIG. Figure 3 As shown, after the above step S204, the mode switching method of the headphone device of the present application further includes steps A10 to A30:
[0120] Step A10: determining a physiological parameter difference between the first physiological parameter and the second physiological parameter, and judging whether the physiological parameter difference reaches a preset difference threshold;
[0121] Step A20: if it is determined that the physiological parameter difference reaches the difference threshold, generating a verification prompt audio based on the physiological parameter difference;
[0122] Step A30: Output the verification prompt audio to the headphone device so as to play the verification prompt audio through the headphone device.
[0123] In this embodiment, after the earphone charging box collects the first physiological parameter of the wearer through the earphone device and the second physiological parameter of the wearer through the ring device, the earphone charging box further calculates the physiological parameter difference between the first physiological parameter and the second physiological parameter. At the same time, the earphone charging box obtains a preset difference threshold, and compares the physiological parameter difference with the difference threshold to determine whether the physiological parameter difference reaches the difference threshold. Afterwards, if the earphone charging box determines that the physiological parameter difference reaches the difference threshold, a verification prompt audio is generated based on the physiological parameter difference. Finally, the earphone charging box inputs the verification prompt audio to the earphone device through the communication module, so as to play the verification prompt audio externally through the earphone device.
[0124] Exemplarily, for example, after the earphone charging box collects the first heart rate value of the wearer through the wireless earphone and the second heart rate value of the wearer through the smart ring, the earphone charging box further calculates the heart rate value difference between the first heart rate value and the second heart rate value. At the same time, the earphone charging box reads the above-mentioned storage module to obtain a difference threshold for determining whether the wireless earphone can accurately detect the wearer's heart rate value. The earphone charging box then compares the heart rate value difference with the difference threshold to determine whether the heart rate value difference reaches the difference threshold. Afterwards, if the earphone charging box determines that the heart rate value difference reaches the difference threshold, it is determined that there is a large difference between the first heart rate value collected by the wireless earphone and the second heart rate value collected by the smart ring at this time, and then it is determined that there is an abnormality in the collection accuracy of the wireless earphone at this time. The earphone charging box generates a verification prompt audio according to the heart rate value difference. Finally, the earphone charging box sends the verification prompt audio to the wireless earphone through the wireless transmission module, and the wireless earphone plays the verification prompt audio externally through the speaker configured by itself to prompt the user to adjust the wearing position of the wireless earphone, thereby ensuring that the wireless earphone is in the correct wearing position.
[0125] In this way, the earphone charging box can determine whether the physiological parameters collected by the earphone device are accurate based on the physiological parameters collected by the ring device, thereby generating a calibration prompt audio when it is determined that the physiological parameters collected by the earphone device are inaccurate, and playing the calibration prompt audio through the earphone device to prompt the user to adjust the wearing position of the earphone device, thereby ensuring that the earphone device can collect accurate physiological parameters.
[0126] Based on the first embodiment and / or the second embodiment of the present application, a third embodiment of the present application is proposed here. In the third embodiment of the present application, the same or similar contents as those of the above embodiments can be referred to the above introduction and will not be described in detail later. On this basis, after the above step S206, the mode switching method of the headphone device of the present application further includes steps B10 to B30:
[0127] Step B10: obtaining an ambient sound signal through the earphone device, and determining whether the ambient sound signal is greater than or equal to a preset sound signal threshold;
[0128] Step B20: if it is determined that the ambient sound signal is greater than or equal to a preset sound signal threshold, a volume increase instruction is generated;
[0129] Step B30: generating a second mode switching instruction according to the first mode and the volume increase instruction, and outputting the second mode switching instruction to the headphone device.
[0130] It should be noted that the ambient sound signal is all the sound signals contained in the wearer's surrounding environment. In addition, the sound signal threshold is a sound signal parameter used to determine whether the ambient sound signal exceeds the above-mentioned noise reduction sound signal. It can be understood that when the ambient sound signal is greater than or equal to the sound signal threshold, it indicates that the noise reduction sound signal generated by the headphone device cannot completely offset the impact caused by the ambient sound signal. It can be understood that this application does not limit the specific value of the sound signal threshold.
[0131] In this embodiment, after the earphone charging box determines that the preset first mode is the target working mode, it can also access the earphone device through the communication module to control the signal acquisition module configured on the earphone device to detect the surrounding environment and obtain the ambient sound signal contained in the surrounding environment. The earphone charging box then processes the ambient sound signal to determine whether the ambient sound signal is greater than or equal to the preset sound signal threshold. Afterwards, if the earphone charging box determines that the ambient sound signal is greater than or equal to the sound signal threshold, it generates a volume increase instruction. Finally, the earphone charging box generates a second mode switching instruction based on the first mode and the volume increase instruction, and sends the second mode switching instruction to the earphone device, so that the earphone device performs the mode switching operation according to the second mode switching instruction, thereby switching its own working mode to the first working mode that can generate a noise reduction sound signal and increase its own playback volume.
[0132] Exemplarily, for example, after the earphone charging box determines that the preset noise reduction mode is the target working mode, it can also access the wireless earphone through the communication module, and control the microphone configured on the wireless earphone to detect the environment in which the wearer is located, thereby obtaining the ambient sound signal contained in the surrounding environment. The earphone charging box then compares the ambient sound signal with the preset sound signal threshold to determine whether the ambient sound signal is greater than or equal to the preset sound signal threshold. Afterwards, if the earphone charging box determines that the ambient sound signal is greater than or equal to the sound signal threshold, it is determined that the ambient sound signal has a greater impact on the audio signal played in the wireless earphone at this time, thereby generating a volume increase instruction. Finally, the earphone charging box combines the volume increase instruction with the above-mentioned first mode switching instruction to obtain a second mode switching instruction, and sends the second mode switching instruction to the wireless earphone, so that the wireless earphone performs a mode switching operation according to the second mode switching instruction, thereby switching its own working mode to the noise reduction mode and increasing its own playback volume.
[0133] In this way, when the earphone charging box detects that the ambient sound signal in the wearer's surrounding environment is high, it can control the earphone device to increase its own playback volume, thereby more effectively offsetting the impact of the ambient sound signal by increasing the volume and generating a noise reduction audio signal.
[0134] Based on the various embodiments of the present application, a fourth embodiment of the present application is proposed here. In the fourth embodiment of the present application, the same or similar contents as the above embodiments can be referred to the above introduction, and will not be repeated later. On this basis, after the above step S30, the mode switching method of the headphone device of the present application further includes steps C10~C30:
[0135] Step C10: determining whether there is a traffic noise signal in the ambient sound signal;
[0136] Step C20: if it is determined that the traffic noise signal exists in the ambient sound signal, determining the preset third mode as the target working mode corresponding to the headphone device, wherein the third mode is a working mode that enables the headphone device to play the ambient sound signal;
[0137] Step C30: generating a third mode switching instruction based on the third mode, and outputting the third mode switching instruction to the headphone device.
[0138] It should be noted that the traffic noise signal is a noise signal emitted by vehicles in the wearer's surrounding environment, specifically including: vehicle engine sound, collision sound or horn sound and other noise signals. It can be understood that the present application does not limit the specific type of traffic noise signal.
[0139] In this embodiment, after controlling the headphone device to switch to the noise reduction mode / normal mode, the headphone charging box further accesses the headphone device through the communication module to control the signal acquisition module configured on the headphone device to detect the surrounding environment, thereby obtaining the ambient sound signal contained in the surrounding environment. The headphone charging box then processes the ambient sound signal to determine whether there is a traffic noise signal emitted by a vehicle in the ambient sound signal. Afterwards, if the headphone charging box determines that there is a traffic noise signal in the ambient sound signal, it determines based on the traffic noise signal that the third mode that can control the headphone device to play the ambient sound signal is the target working mode that the headphone device needs to operate. Finally, the headphone charging box generates a third mode switching instruction based on the third mode, and sends the third mode switching instruction to the headphone device, so that the headphone device performs the mode switching operation according to the third mode switching instruction, thereby switching its own working mode from the noise reduction mode / normal mode to the transparency mode.
[0140] Exemplarily, for example, after controlling the wireless headset to enter the noise reduction mode / normal mode, the earphone charging box further accesses the earphone device through the communication module, and controls the microphone configured on the earphone device to detect the environment in which the wearer is located, thereby obtaining the ambient sound signal contained in the surrounding environment. The earphone charging box then extracts the sound signal characteristics contained in the ambient sound signal, and determines whether there are traffic noise signals such as car horns in the ambient sound signal based on the sound signal characteristics. Afterwards, if the earphone charging box determines that there are traffic noise signals in the ambient noise signal, it determines that there are moving vehicles in the wearer's surrounding environment at this time, and then determines that the user needs to judge the road conditions of the surrounding environment, and determines that the transparent mode that can control the wireless headset to play traffic noise signals is the target working mode that the wireless headset needs to adopt in the preset noise reduction mode, normal mode, transparent mode and other multiple working modes. The earphone charging box then generates a third mode switching instruction based on the transparent mode, and sends the third mode switching instruction to the wireless headset, so that the wireless headset performs the mode switching operation according to the third mode switching instruction, thereby switching its own working mode to the transparent mode.
[0141] In this way, when the earphone charging box detects the presence of traffic noise signals in the wearer's surrounding environment, it can control the earphone device to switch to transparency mode, so that the wearer can still perceive the surrounding traffic noise signals when wearing the earphone device, thereby ensuring the wearer's safety while walking.
[0142] For example, in order to help understand the implementation process of the mode switching method of the headphone device obtained by combining the present embodiment with the above embodiments, please refer to Figure 4 , Figure 4 This is a brief flowchart of the mode switching method of the headset device of this application, specifically:
[0143] In this embodiment, when the earphone charging box is in operation, it first detects the earphone charging interface configured by itself to determine the interface status of the earphone charging interface, and when it is determined that the interface status is the interface disconnected state, it is determined that the wearer has taken the wireless earphone out of the earphone charging box. At this time, the earphone charging box establishes a communication connection with the wireless earphone and the smart ring through the communication module configured by itself, and accesses the wireless earphone to obtain the first pressure parameter generated on the wireless earphone through the first pressure sensor configured on the wireless earphone. At the same time, the earphone charging box accesses the smart ring to obtain the second pressure parameter generated on the smart ring through the second pressure sensor configured on the smart ring. After that, the earphone charging box reads the storage module configured by itself to obtain the pressure parameter generated by the wireless earphone. The first pressure threshold corresponding to the smart ring and the second pressure threshold corresponding to the smart ring are compared with each other to obtain a first comparison result, and the second pressure parameter is compared with the second pressure threshold to obtain a second comparison result. When the earphone charging box determines that the first comparison result is that the first pressure parameter reaches the first pressure threshold and the second comparison result is that the second pressure parameter reaches the second pressure threshold, it is determined that the wireless earphone is worn on the ear of the wearer and the smart ring is worn on the hand of the wearer. At this time, the earphone charging box determines that the wearer's blood pressure, heart rate, pulse and other physiological parameters can be collected simultaneously through the smart ring and the wireless earphone, and the earphone charging box thus sets the wireless earphone and the smart ring as target detection devices for detecting the wearer at the same time.
[0144] Afterwards, the earphone charging box accesses the wireless earphone to control the air pressure detection module configured on the wireless earphone, so as to detect the ear canal of the wearer through the air pressure detection module to collect the ear canal air pressure signal generated in the ear canal of the wearer, and then determine the first heart rate value of the wearer according to the air pressure signal characteristics such as the peak value and time interval contained in the ear canal air pressure signal. At the same time, the earphone charging box accesses the smart ring to control the light emitting module configured on the smart ring to emit a first detection light of a specific wavelength to the finger of the wearer with the smart ring, and controls the photoelectric sensor configured on the smart ring to collect the second detection light formed after the first detection light is reflected. The photoelectric sensor then converts the received second detection light from an optical signal to a digital signal, and the earphone charging box extracts the digital signal characteristics contained in the digital signal, and determines the second heart rate value corresponding to the wearer according to the digital signal characteristics. Then, after obtaining the first heart rate value and the second heart rate value, the earphone charging box reads the storage module to obtain a preset heart rate value threshold, and compares the first heart rate value or the second heart rate value with the heart rate value threshold to obtain a third comparison result;
[0145] Finally, when the earphone charging box determines that the third comparison result is that the first heart rate value is greater than or equal to the heart rate value threshold, or when it determines that the third comparison result is that the second heart rate value is greater than or equal to the heart rate value threshold, it determines that the noise reduction mode is the target working mode that the wireless headset needs to execute next among the preset noise reduction mode, normal mode, transparency mode and other multiple working modes. The earphone charging box then generates a mode switching instruction based on the noise reduction mode, and sends the mode switching instruction to the wireless headset, so that the wireless headset performs the mode switching operation according to the first mode switching instruction, thereby switching its own working mode to the noise reduction mode.
[0146] Similarly, when the earphone charging box determines that the first comparison result is that the first pressure parameter reaches the first pressure threshold, and the second comparison result is that the second pressure parameter does not reach the second pressure threshold, it is determined that the wireless earphone is worn on the wearer's ear, but the smart ring is not worn on the wearer's hand, and then the earphone device is determined to be a target detection device for detecting the wearer. After that, the earphone charging box accesses the earphone device to determine the wearer's first heart rate value through the earphone device, and when it is detected that the first heart rate value is greater than the above-mentioned heart rate value threshold, the noise reduction mode is determined as the target working mode among the preset noise reduction mode, normal mode, transparency mode and other multiple working modes, and then a mode switching instruction is generated based on the noise reduction mode, and the mode switching instruction is sent to the wireless earphone, so that the wireless earphone performs the mode switching operation according to the first mode switching instruction, thereby switching its own working mode to the noise reduction mode.
[0147] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the mode switching method of the headphone device of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.
[0148] The present application provides an earphone charging box, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the mode switching method of the earphone device in the above-mentioned embodiment 1.
[0149] Reference below Figure 5 , which shows a schematic diagram of the structure of an earphone charging box suitable for implementing the embodiment of the present application. The earphone charging box in the embodiment of the present application may include but is not limited to an earphone charging box with an earphone charging interface, a ring charging interface, a communication module and a storage module configured therein. Figure 5 The earphone charging box shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0150] like Figure 5As shown, the earphone charging box may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the earphone charging box are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the earphone charging box to communicate with other devices wirelessly or wired to exchange data. Although the figure shows an earphone charging box with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided alternatively.
[0151] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0152] The earphone charging box provided by the present application adopts the mode switching method of the earphone device in the above embodiment, which can solve the technical problem of poor convenience in the working mode switching process of the earphone device in the related art. Compared with the prior art, the beneficial effects of the earphone charging box provided by the present application are the same as the beneficial effects of the mode switching method of the earphone device provided by the above embodiment, and the other technical features of the earphone charging box are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0153] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0154] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0155] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the mode switching method of the headphone device in the above-mentioned embodiment.
[0156] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0157] The above-mentioned computer-readable storage medium may be included in the earphone charging box; or it may exist independently without being assembled in the earphone charging box.
[0158] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the earphone charging box, the earphone charging box: determines a target detection device, wherein the target detection device is the earphone device and / or the ring device; obtains the physiological parameters of the wearer through the target detection device, and determines the target working mode corresponding to the earphone device according to the physiological parameters; generates a first mode switching instruction according to the target working mode, and outputs the first mode switching instruction to the earphone device to switch the earphone device to the target working mode.
[0159] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0160] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0161] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0162] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned mode switching method of the headphone device, and can solve the technical problem of poor convenience in the working mode switching process of the headphone device in the related art. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the mode switching method of the headphone device provided by the above-mentioned embodiment, and will not be repeated here.
[0163] The present application also provides a computer program product, including a computer program, which implements the steps of the mode switching method of the headphone device as described above when the computer program is executed by a processor.
[0164] The computer program product provided by the present application can solve the technical problem of poor convenience in the working mode switching process of the headphone device in the related art. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the mode switching method of the headphone device provided by the above embodiment, which will not be repeated here.
[0165] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A mode switching method for an earphone device, characterized in that: The method comprises: Detecting the earphone device to obtain a first wearing state parameter, and detecting the ring device to obtain a second wearing state parameter; determining a target detection device according to the first wearing state parameter and the second wearing state parameter, wherein the target detection device is a headphone device and a finger ring device; Acquire physiological parameters of the wearer through the target detection device, and determine the target working mode corresponding to the headphone device according to the physiological parameters, wherein the physiological parameters include a first physiological parameter and a second physiological parameter, the first physiological parameter is a physiological parameter obtained by detecting the wearer through the headphone device, and the second physiological parameter is a physiological parameter obtained by detecting the wearer through the ring device; Determining a physiological parameter difference between the first physiological parameter and the second physiological parameter, and judging whether the physiological parameter difference reaches a preset difference threshold; If it is determined that the physiological parameter difference reaches the difference threshold, generating a verification prompt audio based on the physiological parameter difference; Outputting the verification prompt audio to the headphone device so as to play the verification prompt audio through the headphone device; A first mode switching instruction is generated according to the target working mode, and the first mode switching instruction is output to the headphone device to switch the headphone device to the target working mode.
2. The method according to claim 1, characterized in that The step of acquiring the physiological parameters of the wearer through the target detection device includes: Detecting the wearer through the earphone device to obtain an ear canal air pressure signal corresponding to the wearer; Extract an air pressure signal feature corresponding to the ear canal air pressure signal, and determine a first physiological parameter corresponding to the wearer according to the air pressure signal feature.
3. The method according to claim 2, characterized in that The step of obtaining the physiological parameters of the wearer through the target detection device also includes: Controlling the finger ring device to emit a first detection light to the wearer, and receiving a second detection light corresponding to the first detection light through the finger ring device; A second physiological parameter corresponding to the wearer is determined based on the second detection light.
4. The method according to claim 1, characterized in that The step of determining the target working mode corresponding to the headphone device according to the physiological parameters includes: Obtaining a preset physiological parameter threshold, and comparing the physiological parameter with the physiological parameter threshold to obtain a third comparison result; When the third comparison result is that the physiological parameter is greater than or equal to the physiological parameter threshold, determining the preset first mode as the target working mode corresponding to the headphone device, wherein the first mode is a working mode that enables the headphone device to generate a noise reduction sound signal; When the third comparison result is that the physiological parameter is less than the physiological parameter threshold, the preset second mode is determined as the target working mode corresponding to the headphone device, wherein the second mode is a working mode that can enable the headphone device to maintain a constant playback volume.
5. The method according to claim 4, characterized in that After the step of determining the preset first mode as the target operating mode corresponding to the headphone device, the method further includes: Acquiring an ambient sound signal through the earphone device, and determining whether the ambient sound signal is greater than or equal to a preset sound signal threshold; If it is determined that the ambient sound signal is greater than or equal to a preset sound signal threshold, a volume increase instruction is generated; A second mode switching instruction is generated according to the first mode and the volume increase instruction, and the second mode switching instruction is output to the headphone device.
6. The method according to any one of claims 1 to 5, characterized in that After the step of outputting the first mode switching instruction to the headphone device, the method further includes: Determine whether there is a traffic noise signal in the environmental sound signal; If it is determined that the traffic noise signal exists in the ambient sound signal, determining the preset third mode as the target working mode corresponding to the headphone device, wherein the third mode is a working mode that enables the headphone device to play the ambient sound signal; A third mode switching instruction is generated based on the third mode, and the third mode switching instruction is output to the headphone device.
7. An earphone charging box, characterized in that: The earphone charging box comprises: an earphone charging interface, a ring charging interface, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the mode switching method of the earphone device as described in any one of claims 1 to 6.
8. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the mode switching method of the headphone device according to any one of claims 1 to 6 are implemented.
9. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the mode switching method of the headphone device according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Wearable device, wearing quality detection method and device
CN107106044A
Music real-time adjustment method and device based on Bluetooth bracelet and earphone, electronic equipment and storage medium
CN113440119A
Method and device for splitting and using earphone equipment, earphone equipment and storage medium
CN115052224A
Physiological signal measuring method, earphone device, storage medium and computer product
CN118158606A
Health information prompting method and device, equipment and storage medium
CN118230501A
