Method for Obtaining Earphone Disinfection Duration, Electronic Device, and Readable Storage Medium

The method optimizes TWS earphone sterilization timing by calculating wear duration and non-sterilization periods, addressing bacterial growth inefficiencies and battery waste in existing systems.

CN116506762BActive Publication Date: 2025-07-15JIANGXI RUISHENG ELECTRONIC CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310314997.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-20
Publication Date
2025-07-15
Estimated Expiration
2043-03-20

AI Technical Summary

Technical Problem

The disinfection time of existing TWS headphones is unreasonable, resulting in the unreasonable balance of ultraviolet disinfection time, resulting in wasting power in the headphone box.

Method used

By obtaining the wearing time of wireless headphones, the untriggered disinfection time and the headphone box status, calculate and correct the wearing time, and combine the wearing time this time, accurately determine the disinfection time to avoid waste of power.

Benefits of technology

It improves the accuracy of judging the disinfection time, avoids waste of power of the headphone box, and extends the usage time after charging the headphone box.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116506762B_ABST
    Figure CN116506762B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for obtaining the disinfection duration of an earphone, including: obtaining the duration of the current wearing of the wireless earphone; obtaining the cumulative pre-wearing duration of the wireless earphone from the previous disinfection to before the current wearing; obtaining the non-triggered disinfection duration of the wireless earphone from the first wearing after the previous disinfection to the current moment without triggering disinfection; compensating the pre-wearing duration according to the non-triggered disinfection duration to obtain the corrected wearing duration; obtaining the comprehensive duration according to the duration of the current wearing and the corrected wearing duration; when the comprehensive duration reaches the first determination duration, obtaining the first disinfection duration according to the comprehensive duration. The present invention also discloses an electronic device and a readable storage medium. The present invention takes into account both the actual wearing duration of the wireless earphone in the ear and the influence of the earphone case on the bacterial growth of the earphone, can obtain a more accurate disinfection duration of the earphone, thereby improving the accuracy of the determination of the earphone disinfection duration, avoiding waste of the earphone case power, and ensuring the disinfection effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of wireless earphones, and particularly to a method for obtaining the disinfection duration of earphones, an electronic device, and a readable storage medium. Background Art

[0002] TWS (True Wireless Stereo) earphones are developed based on Bluetooth chip technology. They connect the main earphone through an audio terminal such as a mobile phone, and then the main earphone quickly connects to the sub-earphone wirelessly to achieve true wireless separation and use of the left and right Bluetooth channels. Since there is no need for a wired connection, TWS earphones get rid of the bondage of traditional wired earphones and achieve a stereo effect for both ears. Compared with traditional Bluetooth earphones, they have been upgraded and optimized in terms of sound quality, noise reduction, call, transmission, and battery life.

[0003] With the increasing popularity of TWS earphones, users have higher and higher requirements for TWS earphones. Among them, users' attention to the hygiene problems of earphone use is also increasing. After users wear TWS earphones, a closed space will be formed between the TWS earphones and the user's ear canals. The air circulation in the closed space is poor, which will cause the inside of the ears to become stuffy and hot, and a large number of bacteria will breed and adhere to the TWS earphones. The longer the earphones are worn, the more bacteria will adhere to the earphones. Similarly, the inside of the earphone case has a closed space. After placing the worn earphones in the earphone case, more bacteria will breed between the earphones and the earphone case, which will affect the health of the user's ears. Therefore, the cleaning after earphone use is particularly important.

[0004] To solve the problem of bacteria breeding on earphones, some existing TWS earphone cases are equipped with an ultraviolet disinfection function, and an ultraviolet lamp is used to disinfect the bacteria attached to the TWS earphones. However, in the existing disinfection methods, it is usually set to automatically start disinfection for a fixed disinfection duration after the earphones are placed in the earphone case, or only the duration when the earphones are taken out of the earphone case is used to determine whether to start a fixed disinfection duration. This will lead to unreasonable setting of the ultraviolet disinfection duration, unable to reasonably balance the disinfection time and the disinfection effect, and cause waste of the battery power of the earphone case. Summary of the Invention

[0005] In view of the deficiencies of the prior art, the present invention provides a method for obtaining the disinfection duration of earphones, an electronic device, and a readable storage medium, which can solve the problem of unreasonable setting of the disinfection duration and waste of the battery power of the earphone case.

[0006] To achieve the above object, the present invention adopts the following technical solutions:

[0007] A method for obtaining the disinfection duration of earphones includes:

[0008] Obtain the duration of the current wearing of the wireless earphones;

[0009] Obtain the cumulative wearing duration of the wireless earphones from the previous disinfection to the current wearing as the previous wearing duration;

[0010] Obtain the duration from the first wearing after the previous disinfection to the current time without triggering disinfection of the wireless earphones as the non-triggered disinfection duration;

[0011] Compensate the previous wearing duration according to the non-triggered disinfection duration to obtain the corrected wearing duration;

[0012] Obtain the comprehensive duration according to the current wearing duration and the corrected wearing duration;

[0013] When the comprehensive duration reaches the preset first determination duration, obtain the first disinfection duration according to the comprehensive duration.

[0014] As one implementation manner, the step of obtaining the first disinfection duration according to the comprehensive duration includes:

[0015] Preset several duration values of the first disinfection duration;

[0016] Preset continuous duration intervals in one-to-one correspondence with the number of the duration values of the first disinfection duration;

[0017] Determine the duration interval into which the comprehensive duration falls;

[0018] Obtain the duration value of the first disinfection duration corresponding to the duration interval into which the comprehensive duration falls to obtain the first disinfection duration.

[0019] As one implementation manner, the method for obtaining the earphone disinfection duration further includes:

[0020] If disinfection is triggered, clear the current wearing duration, the previous wearing duration, and the non-triggered disinfection duration, and start timing again respectively;

[0021] If disinfection is not triggered, accumulate the current wearing duration to the previous wearing duration, clear the current wearing duration, and continue to time the non-triggered disinfection duration.

[0022] As one implementation manner, the wireless earphones include a first earphone and a second earphone, and the method for obtaining the earphone disinfection duration further includes:

[0023] Calculate the comprehensive durations of the first earphone and the second earphone respectively;

[0024] Obtain the first disinfection durations of the first earphone and the second earphone respectively according to the comprehensive durations of the first earphone and the second earphone.

[0025] As one of the implementation manners, after the step of obtaining the first disinfection duration according to the comprehensive duration, the method further includes:

[0026] Obtain the state of the earphone case;

[0027] Obtain a second disinfection duration according to the state of the earphone case and the first disinfection duration.

[0028] As one of the implementation manners, the state of the earphone case includes the remaining power of the earphone case; the step of obtaining the second disinfection duration according to the state of the earphone case and the first disinfection duration includes:

[0029] Determine the second disinfection duration according to the remaining power and the first disinfection duration.

[0030] As one of the implementation manners, the state of the earphone case further includes the charging interface state of the earphone case; before the step of determining the second disinfection duration according to the remaining power and the first disinfection duration, it includes:

[0031] If the charging interface state is high level, use the first disinfection duration as the second disinfection duration;

[0032] If the charging interface state is low level, determine the second disinfection duration according to the remaining power and the first disinfection duration.

[0033] As one of the implementation manners, the step of determining the second disinfection duration according to the remaining power and the first disinfection duration includes:

[0034] Judge whether the remaining power is greater than a preset first power;

[0035] If so, obtain a preset correction coefficient, and obtain the second disinfection duration according to the product of the correction coefficient and the first disinfection duration;

[0036] If not, the second disinfection duration is 0.

[0037] As one of the implementation manners, the step of obtaining the preset correction coefficient includes:

[0038] Preset a plurality of correction coefficients;

[0039] Preset a plurality of continuous power intervals corresponding one-to-one to the number of the correction coefficients;

[0040] Determine the power interval into which the remaining power falls;

[0041] Obtain the corresponding correction coefficient according to the power interval into which the remaining power falls.

[0042] As one of the implementation manners, the correction coefficient includes a first correction coefficient and a second correction coefficient. The step of obtaining the preset correction coefficient includes:

[0043] If the remaining power is greater than a preset first power, it is judged whether the remaining power is greater than a preset second power;

[0044] If so, obtain the first correction coefficient, and obtain a second disinfection duration according to the product of the first correction coefficient and the first disinfection duration;

[0045] If not, obtain the second correction coefficient, and obtain a second disinfection duration according to the product of the second correction coefficient and the first disinfection duration.

[0046] Another object of the present invention is to provide a computer-readable storage medium storing multiple instructions, and the instructions are suitable for being loaded and executed by a processor to perform the steps of the method for obtaining the disinfection duration of the earphone as described above.

[0047] Another object of the present invention is to provide an electronic device, including a memory, a processor, and disinfection program instructions of a wireless earphone stored on the memory and executable on the processor. When the disinfection program instructions of the wireless earphone are executed by the processor, the method for obtaining the disinfection duration of the earphone as described above is implemented.

[0048] The present invention simultaneously considers the actual wearing duration of the wireless earphone inside the ear and the influence of the earphone case on the bacterial growth of the earphone. The untriggered disinfection duration is used to compensate the previous wearing duration to obtain a corrected wearing duration, and then the corrected wearing duration and the duration of this wearing are combined to obtain a comprehensive duration. According to the comprehensive duration, a more accurate disinfection duration of the earphone can be obtained, thereby improving the accuracy of the determination of the earphone disinfection duration, avoiding waste of the power of the earphone case, and ensuring the disinfection effect. Description of the Drawings

[0049] Figure 1 It is a schematic diagram of a method for obtaining the disinfection duration of an earphone according to Embodiment 1 of the present invention;

[0050] Figure 2 It shows a schematic diagram of a method for obtaining the duration of this wearing according to Embodiment 1 of the present invention;

[0051] Figure 3 It shows a schematic diagram of a method for obtaining the untriggered disinfection duration according to Embodiment 1 of the present invention;

[0052] Figure 4 It shows a schematic diagram of another method for obtaining the untriggered disinfection duration according to Embodiment 1 of the present invention;

[0053] Figure 5Shows a schematic diagram of another method for obtaining the wearing duration of the present wearing in Embodiment 1 of the present invention;

[0054] Figure 6 Shows a schematic diagram of a method for obtaining the corrected wearing duration in Embodiment 1 of the present invention;

[0055] Figure 7 Shows a schematic diagram of a method for obtaining a correction coefficient in Embodiment 1 of the present invention;

[0056] Figure 8 Shows a schematic diagram of a specific method for obtaining the disinfection duration of the earphone in Embodiment 1 of the present invention;

[0057] Figure 9 Is a schematic diagram of a method for obtaining the disinfection duration of the earphone in Embodiment 2 of the present invention;

[0058] Figure 10 Shows a schematic diagram of another method for obtaining the disinfection duration of the earphone in Embodiment 2 of the present invention;

[0059] Figure 11 Is a schematic diagram of a method for obtaining the disinfection duration of the earphone in Embodiment 3 of the present invention;

[0060] Figure 12 Is a schematic diagram of the structure of an electronic device in an embodiment of the present invention.

[0061] The realization, functional features, and advantages of the object of the present invention will be further described in conjunction with the embodiments with reference to the accompanying drawings. Detailed implementation manners

[0062] In the present invention, the terms "arrange", "be provided with", and "connect" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or there can be internal communication between two devices, components, or parts. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

[0063] The terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" can explicitly or implicitly include at least one of the features. In the description of the present application, "a plurality of" means at least two, such as two, three, etc., unless otherwise specifically defined.

[0064] Moreover, in addition to being used to represent orientation or positional relationships, some of the above terms may also be used to represent other meanings. For example, the term "upper" may also be used to represent a certain attachment relationship or connection relationship in some cases. For those of ordinary skill in the art, the specific meanings of these terms in the present invention can be understood according to specific circumstances.

[0065] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0066] The embodiments of the present invention provide a wireless earphone and a charging case used in conjunction with the wireless earphone. The charging case has both charging and bacteria disinfection functions. For example, a disinfection device such as an ultraviolet lamp can be provided in the charging case. After the wireless earphone is placed in the charging case, the disinfection device can be turned on as needed to disinfect and sterilize the earphone worn by the user.

[0067] It can be understood that the wireless earphones of the present application include, but are not limited to, wireless earphones such as TWS earphones and Bluetooth earphones that can be conveniently stored in the charging case.

[0068] Example 1

[0069] In order to conveniently control the disinfection of the wireless earphone, the embodiments of the present invention provide a method for obtaining the disinfection duration of the earphone, as Figure 1 , which shows a schematic diagram of the method for obtaining the disinfection duration of the earphone according to an embodiment of the present invention. The method for obtaining the disinfection duration of the earphone mainly includes:

[0070] S01. Obtain the duration of the current wearing of the wireless earphone;

[0071] S02. Obtain the previous wearing duration, which is the cumulative wearing duration of the wireless earphone from after the previous disinfection to before the current wearing;

[0072] S03. Obtain the non-triggered disinfection duration, which is the duration from the first wearing after the previous disinfection to the current moment without triggering disinfection;

[0073] S04. Compensate the previous wearing duration according to the non-triggered disinfection duration to obtain the corrected wearing duration;

[0074] S05. Obtain the comprehensive duration according to the duration of the current wearing and the corrected wearing duration;

[0075] S06. When the comprehensive duration reaches a preset first determination duration, obtain the first disinfection duration according to the comprehensive duration.

[0076] It can be understood that the above steps S01 and S02 are not in a specific order and can be carried out simultaneously or sequentially. The present embodiment does not limit their order.

[0077] In this embodiment, the previous wearing duration is compensated by the non-triggered disinfection duration to obtain the corrected wearing duration. Then, the comprehensive duration is obtained by combining the corrected wearing duration with the duration of the current wearing. The comprehensive duration can be used as a basis for measuring the usage duration of the earphone to determine the earphone disinfection. Since the present invention takes into account both the actual wearing duration of the wireless earphone inside the ear and the influence of the earphone case on the bacterial growth of the earphone, more accurate earphone disinfection duration can be obtained according to the comprehensive duration, thereby improving the accuracy of the earphone disinfection duration determination, avoiding waste of the earphone case battery, and extending the usage duration after charging the earphone case.

[0078] In one embodiment, the wearing duration of the wireless earphone can be obtained by a detection sensor provided on the earphone, preferably an in-ear detection sensor. The in-ear detection sensor can be a photoelectric sensor or a capacitance sensor. For example, the photoelectric sensor can judge whether the earphone is in the ear by detecting the level signal formed by the reflected signal of the human body, and the capacitance sensor can judge whether the earphone is in the ear by sensing the capacitance value of the human body. When the user wears the wireless earphone, the in-ear detection sensor detects that the earphone has been inserted into the user's ear canal and sends an in-ear signal. After receiving the in-ear signal, the earphone case starts timing the wearing duration, and this moment is the in-ear moment. This timing action can be realized by a program or hardware on the earphone case, on the earphone, or independent of the earphone case and the earphone. When the user removes the wireless earphone from the ear, the in-ear detection sensor detects that the earphone has left the user's ear canal and sends an out-of-ear signal. After receiving the out-of-ear signal, the earphone case stops timing for calculating the wearing duration, and this moment is the out-of-ear moment.

[0079] In one embodiment, in order to conveniently detect the in-case and out-of-case actions of the earphone case, an in-case detection sensor can be set in the earphone case. When it is detected that the wireless earphone is put into or taken out of the earphone case, the level signal of the in-case detection sensor changes, thereby sending out corresponding in-case and out-of-case signals. Alternatively, contacts can be provided on the wireless earphone and the earphone case respectively. When the wireless earphone is put into the earphone case, the contacts on the wireless earphone and the earphone case form a circuit, thereby generating an in-case signal. When the wireless earphone is taken out of the earphone case, the contacts on the wireless earphone and the earphone case are disconnected, thereby generating an out-of-case signal. In this way, the in-case and out-of-case of the wireless earphone can also be judged.

[0080] It can be understood that in the actual usage process, there may be a situation where the user removes the wireless earphones and does not put them into the earphone case, but wears them again, so that the wearing duration of the wireless earphones from the single time they are taken out of the earphone case to the subsequent time they are put into the earphone case may be a continuous duration, or may be the sum of several continuous durations.

[0081] In one embodiment, as Figure 2 , the step S01 of obtaining the wearing duration of the wireless earphones this time specifically includes:

[0082] S011. Obtain and record the entry times of all entry signals and the departure times of all departure signals emitted by the wireless earphones during the process of the wireless earphones being taken out of the earphone case this time;

[0083] S012. Calculate and accumulate the durations between each entry time and the corresponding departure time of each entry time to obtain the wearing duration this time.

[0084] It can be understood that by calculating and accumulating the durations between each entry time and the corresponding departure time of each entry time, the wearing duration of the earphones this time can be accurately obtained. Of course, the wearing duration this time can also be obtained through a timing module or a timing program. Specifically, when an entry signal is detected, the timing module or the timing program is started, and when a departure signal is detected, the timing module or the timing program stops, so as to obtain the wearing duration this time.

[0085] When the user finishes wearing the wireless earphones, the user will put the wireless earphones into the earphone case. When the wireless earphones are put into the earphone case, the determination module in the earphone case will determine whether the wireless earphones meet the conditions for triggering disinfection. Before the determination module determines whether to trigger disinfection, it is necessary to obtain the previous wearing duration from the cumulative module preset in the earphone case first. The previous wearing duration is the wearing duration that has been accumulated when the earphones did not reach the conditions for triggering disinfection from the previous disinfection to before this wearing. After the determination module determines not to trigger disinfection, the wearing duration this time will be recorded in the cumulative module, that is, after the determination not to trigger disinfection, the wearing duration this time will be accumulated to the previous wearing duration. When determining whether to trigger disinfection, the sum of the previous wearing duration and the wearing duration this time is the total wearing duration

[0086] In one embodiment, as Figure 3 , the step S03 of obtaining the duration without triggering disinfection specifically includes:

[0087] S031. Obtain the moment when the wireless earphones are first worn and do not trigger disinfection after the previous disinfection as the first moment;

[0088] S032. Obtain the entry time when the wireless earphones are put into the earphone case after this wearing;

[0089] S033. Calculate the duration between the moment of putting into the case and the first moment to obtain the untriggered disinfection duration.

[0090] It can be understood that after the wireless earphones are disinfected for the previous time, if the detection sensor on the wireless earphones detects that the earphones are not in the ear, it means that the earphones are not contaminated. At this time, the untriggered disinfection duration is 0. That is, the untriggered disinfection duration refers to the duration from the first failure to trigger disinfection after the earphones are put into the ear and used after the previous disinfection to the moment when the earphones are put back into the earphone case after this wearing. The untriggered disinfection duration obtained by calculating the duration between the moment of putting into the case and the first moment can more accurately obtain the duration of the earphones not being disinfected after being contaminated during use after the previous disinfection, improving the accuracy of compensating the previous wearing duration in the subsequent step S04 according to the untriggered disinfection duration.

[0091] The untriggered disinfection duration can also be obtained by means of a timing module or a timing program. Specifically, after the previous disinfection, when the wireless earphones cannot trigger disinfection for the first time after being worn, the timing module or the timing program starts timing. When the earphone case signal is obtained, the timing is paused and it is determined again whether disinfection is triggered. If disinfection cannot be triggered, the timing continues; if disinfection is triggered, the accumulated untriggered disinfection duration is cleared. Among them, the earphone case signal can be obtained through the in-case detection sensor in the earphone case or the conduction state of the contacts between the earphones and the earphone case.

[0092] After obtaining the duration of this wearing, the previous wearing duration, and the untriggered disinfection duration, the subsequent steps S04 and S05 can be carried out, calculate the comprehensive duration, and use the comprehensive duration as the standard for measuring the earphone use duration to determine whether disinfection is triggered.

[0093] In some usage scenarios, after the user puts the wireless earphones into the earphone case, the user may take out the wireless earphones again within a short period of time (for example, 5s). If the wearing duration, the untriggered disinfection duration are statistically counted again and the comprehensive duration is calculated during this short period of time, it will increase unnecessary operations and statistics, and will also increase the power consumption to a certain extent.

[0094] Based on the above considerations, in one embodiment, the situation where the wireless earphones are taken out again within a short period of time after being put into the earphone case is regarded as not being put into the earphone case, and the duration of this wearing and the untriggered disinfection duration during this period are both normally timed. Therefore, as Figure 4 , before the step S033 of calculating the duration between the moment of putting into the case and the first moment, the process of obtaining the untriggered disinfection duration can further include:

[0095] S0321. When detecting the earphone case signal, start timing;

[0096] S0322. Before the timing duration reaches a preset first threshold, if a headphone out-of-case signal is detected, the in-case signal in step S0321 is disregarded, the next in-case moment of the wireless headphone is acquired again, and the timing restarts until the timing duration reaches the preset first threshold.

[0097] S0323. When the timing duration reaches the preset first threshold and no headphone out-of-case signal is detected, calculate the duration between the in-case moment and the first moment, and this timing duration is accumulated into the non-triggered disinfection duration.

[0098] Similarly, in one embodiment, as Figure 5 , step S01 of acquiring the duration of the current wearing of the wireless headphone may further include:

[0099] S0111. When a headphone in-case signal is detected, start timing.

[0100] S0112. Before the timing duration reaches the preset first threshold, if a headphone out-of-case signal is detected, the in-case signal in step S0111 is disregarded, continue to accumulate the duration of the current wearing, acquire the next in-case moment of the wireless headphone, and restart the timing until the timing duration reaches the preset first threshold.

[0101] S0113. When the timing duration reaches the preset first threshold and no headphone out-of-case signal is detected, the timing of the duration of the current wearing ends.

[0102] Here, the timing methods in steps S0321 and S0111 can be countdown. After the wireless headphone is placed in the headphone case, the countdown starts. When the countdown reaches 0, it means that the single detachment of the wireless headphone from the headphone case ends, and wait for the next time the wireless headphone is placed in the headphone case to start timing again. During the countdown, if the wireless headphone is detected to be detached from the headphone case again, the in-case duration of that time is disregarded, and it is still considered that the wireless headphone is outside the headphone case. The countdown stops and resets to zero, and the timing duration is included in the non-triggered disinfection duration.

[0103] Since both the headphone case and the ear canal with the wireless headphone inserted form airtight spaces with poor air fluidity where bacteria can breed, bacteria will breed in the ear canal of the wireless headphone, and bacteria will also breed in the headphone case for the wireless headphone that has not triggered disinfection after wearing. Therefore, it is inaccurate to determine whether to start disinfection based on the cumulative total wearing duration of the wireless headphone or the time when the wireless headphone is detached from the headphone case. If the headphone is disinfected after each wearing, it will cause waste of the headphone case's power.

[0104] During the use of wireless earphones, there may be multiple short-term wear and then put into the earphone box but the disinfection cannot be triggered, or the earphones may be put into the earphone box for storage for a long time after being worn and not used again. When the wireless earphones are put into the earphone box after use and the disinfection cannot be triggered, the bacteria will multiply in large numbers in the earphone box, and before the preset trigger conditions are met, the bacteria in the earphone box will increase as the disinfection time increases. Therefore, before the disinfection is triggered, the disinfection time and the previous wearing time will affect the amount of bacteria in the wireless earphones and the earphone box. The longer the previous wearing time and the disinfection time that is not triggered, the more bacteria there will be in the wireless earphones and the earphone box.

[0105] Taking this factor into consideration, after obtaining the previous wearing time and the untriggered disinfection time respectively through the above steps S02 and S03, this embodiment further uses the untriggered disinfection time to compensate for the previous wearing time in step S04 to obtain the corrected wearing time.

[0106] like Figure 6 , showing one way to obtain the corrected wearing time. In this embodiment, the previous wearing time is compensated according to the untriggered disinfecting time, and the step S04 of obtaining the corrected wearing time includes:

[0107] S041. Obtain a correction coefficient according to the duration of time when disinfection is not triggered;

[0108] S042: Obtain a corrected wearing time according to the previous wearing time and the correction coefficient, wherein the corrected wearing time may be the product of the previous wearing time and the correction coefficient.

[0109] In one embodiment, a parameter for measuring the extent of long-term use of the wireless headset without triggering disinfection may be preset, for example, a preset first duration. When the wireless headset is stored in the headset box after in-ear use for the preset first duration, it is determined that the degree of bacterial growth in the headset box is very serious.

[0110] In the above step S041, a ratio can be obtained by comparing the untriggered disinfection time with the preset first time. The larger the ratio is, the closer the untriggered disinfection time is to the preset first time. Then, according to the ratio, a corresponding coefficient is obtained and used as a correction coefficient. In this way, the situation where the wireless headset cannot be disinfected when placed in the headset box before the triggering of disinfection can be compensated by correction, so that the headset usage time finally obtained is more in line with actual needs.

[0111] like Figure 7 For example, in step S041, the process of obtaining the correction coefficient according to the duration of the untriggered disinfection may specifically include:

[0112] S0411. Obtain the ratio of the untriggered disinfection duration to the preset first duration;

[0113] S0412. Obtain a correction coefficient according to the ratio of the untriggered disinfection duration to the preset first duration.

[0114] For another example, the above step S0412 may further include:

[0115] Preset multiple correction coefficients;

[0116] Preset continuous ratio intervals corresponding one-to-one to the number of correction coefficients;

[0117] Determine the ratio interval into which the ratio of the untriggered disinfection duration to the preset first duration falls;

[0118] According to the ratio interval into which the ratio of the untriggered disinfection duration to the preset first duration falls, determine the correction coefficient corresponding to the ratio interval.

[0119] Exemplarily, the preset correction coefficient is selected from the interval [1, 2]. Compared with the previous wearing duration, the corrected wearing duration after correcting the previous wearing duration will increase or remain unchanged to a certain extent.

[0120] By presetting multiple correction coefficients, the possible range of the ratio of the untriggered disinfection duration to the preset first duration is divided into ratio intervals corresponding to the number of preset correction coefficients. When this ratio is calculated, according to the ratio interval into which this ratio falls, the correction coefficient corresponding to each ratio can be obtained.

[0121] For example, in step S0412, if there are 4 correction coefficients, the possible range of the ratio result is divided into 4 ratio intervals. When the calculated ratio result falls between the lower limit value and the upper limit value of a certain ratio interval, the correction coefficient corresponding to this ratio interval is obtained.

[0122] In one embodiment, the comprehensive duration is the sum of the duration of this wearing and the corrected wearing duration. In this way, the comprehensive duration obtained by adding the duration of this wearing and the corrected wearing duration can be used to measure the headphone usage duration and serve as a basis for judging whether to trigger disinfection. Since both the duration of this wearing and the corrected wearing duration take into account both the actual wearing duration of the wireless headphones inside the ear and the bacteria growth factor in the headphone case, using the comprehensive duration calculated from the two as the basis for whether to trigger disinfection can well solve the problems of bacteria growth and waste of headphone case power.

[0123] After obtaining the comprehensive duration in the above step S05, the determination module can determine whether to start disinfection based on the comprehensive duration. When the comprehensive duration reaches the preset first determination duration, the determination module determines that the contamination level of the wireless earphones meets the condition for triggering the disinfection of the earphone case; otherwise, it is determined that the contamination level of the wireless earphones does not yet meet the condition for triggering the disinfection of the earphone case. In one embodiment, if disinfection is triggered, the duration of this wearing, the previous wearing duration, and the duration without triggering disinfection are all cleared and re-timed respectively; if disinfection is not triggered, the duration of this wearing is accumulated to the previous wearing duration, then the duration of this wearing is cleared, and the duration without triggering disinfection continues to be timed.

[0124] For example, when the preset first determination duration is 1 hour, if the calculated comprehensive duration is 50 minutes, it is determined that the wireless earphones do not meet the disinfection condition, and the duration without triggering disinfection continues to be accumulated. After the wireless earphones are placed in the earphone case again, the determination module is triggered to determine again whether the disinfection trigger condition is met.

[0125] In one embodiment, the wireless earphones include a first earphone and a second earphone (e.g., left and right earphones). During the process of obtaining the earphone usage duration, the comprehensive durations of the first earphone and the second earphone can also be calculated respectively. Taking the comprehensive duration of each earphone as the standard for measuring the actual usage duration, it is determined whether to trigger the disinfection of the corresponding first earphone and second earphone respectively according to whether the comprehensive durations of the first earphone and the second earphone reach the corresponding preset first determination duration. Since the comprehensive durations of the two wireless earphones are calculated separately, it is possible to determine whether the two wireless earphones meet the disinfection trigger condition respectively. Thus, during the disinfection process, the earphone case can disinfect only one of the wireless earphones, further saving power and extending the usage duration after the earphone case is charged.

[0126] Therefore, the embodiments of the present invention consider both the actual wearing duration of the wireless earphones inside the ear and the breeding factor of bacteria in the earphone case, and can obtain a more practical comprehensive duration of the earphone usage duration. The timing for the earphones to trigger disinfection is more accurate, avoiding waste of the earphone case's power.

[0127] In step S06, when the comprehensive duration reaches the preset first determination duration, the first disinfection duration can be obtained according to the comprehensive duration.

[0128] Optionally, in step S06, when the comprehensive duration does not reach the preset first determination duration, the comprehensive duration can be obtained again and the determination continues, or the determination can be stopped and wait for a new determination process to start after the next reuse, or it can also continue to determine whether other disinfection determination conditions are met.

[0129] It can be understood that only when the calculated comprehensive duration is greater than or equal to the preset first determination duration, does the earphone meet the duration requirement for triggering disinfection, and then the first disinfection duration for disinfecting with ultraviolet light, etc. will be calculated using the comprehensive duration. Among them, the longer the comprehensive duration, the more serious the degree of contamination of the earphone, and the relatively longer the required first disinfection duration.

[0130] In one embodiment, a look-up table or relationship curve of the comprehensive duration and the first disinfection duration can be made to conveniently determine the first disinfection duration required for disinfection according to the obtained comprehensive duration. Exemplarily, in step S06, the steps of obtaining the first disinfection duration according to the comprehensive duration may include: pre-establishing the corresponding relationship between the comprehensive duration and the first disinfection duration; determining the first disinfection duration according to the obtained comprehensive duration and the corresponding relationship between the comprehensive duration and the first disinfection duration.

[0131] By pre-establishing the corresponding relationship between the comprehensive duration and the first disinfection duration, after calculating the comprehensive duration, the earphone case can call this corresponding relationship to quickly and conveniently calculate the first disinfection duration, which can improve the reaction efficiency of the earphone case.

[0132] As Figure 8 shown, in one embodiment, the steps of obtaining the first disinfection duration according to the comprehensive duration include:

[0133] S061. Preset several duration values of the first disinfection duration;

[0134] S062. Preset continuous duration intervals in one-to-one correspondence with the number of the duration values of the first disinfection duration;

[0135] S063. Determine the duration interval into which the comprehensive duration falls;

[0136] S064. Obtain the duration value of the first disinfection duration corresponding to the duration interval into which the comprehensive duration falls to obtain the first disinfection duration.

[0137] By presetting several duration values of the first disinfection duration and pre-dividing the range of the comprehensive duration that may be obtained into duration intervals corresponding to the number of the duration values, establishing the association relationship between the duration intervals and the first disinfection duration values, after determining the comprehensive duration, determining the duration interval where the comprehensive duration is located, and after determining which duration interval the comprehensive duration falls into, by looking up the duration value of the first disinfection duration corresponding to the duration interval where the comprehensive duration is located in the pre-established association relationship, the duration value of the first disinfection duration corresponding to the comprehensive duration can be quickly obtained. In this way, the corresponding first disinfection duration of the wireless earphone after being worn for different durations can be obtained conveniently, quickly and reasonably.

[0138] It can be understood that the correspondence between the above comprehensive duration and the first disinfection duration is not limited to this, and it can also be implemented in the form of a function curve or in the form of a look-up table, etc.

[0139] In one embodiment, after step S06, the method for obtaining the headphone disinfection duration may further include:

[0140] If disinfection is triggered, the duration of this wearing, the previous wearing duration, and the duration without triggering disinfection are cleared, and the timing is restarted respectively to start obtaining the next headphone disinfection duration;

[0141] If disinfection is not triggered, the duration of this wearing is accumulated to the previous wearing duration, the duration of this wearing is cleared, and the timing of the duration without triggering disinfection continues until the comprehensive duration reaches a preset first determination duration, and then the headphone disinfection duration for the next disinfection can be obtained according to this comprehensive duration.

[0142] In one embodiment, considering that the wireless headphones include a first headphone and a second headphone, the method for obtaining the headphone disinfection duration may further include: calculating the comprehensive durations of the first headphone and the second headphone respectively; obtaining the first disinfection durations of the first headphone and the second headphone respectively according to the comprehensive durations of the first headphone and the second headphone. Since the comprehensive durations of the two wireless headphones are calculated separately, it is determined whether the two wireless headphones meet the disinfection trigger condition according to the respective comprehensive durations of the first headphone and the second headphone, and when the corresponding headphone meets the disinfection trigger condition, the first disinfection duration corresponding to the headphone is obtained respectively. Thus, the headphone box can disinfect different wireless headphones with corresponding disinfection durations during the disinfection process, and the setting of the disinfection timing and disinfection duration is more reasonable.

[0143] Example 2

[0144] On the basis of Embodiment 1, the calculation of the disinfection duration in this embodiment further considers the state of the headphone box. The state of the headphone box will affect the disinfection duration to a certain extent. Therefore, the duration for finally disinfecting the wireless headphones is not necessarily the first disinfection duration, and it needs to be corrected according to the actual situation.

[0145] Based on this, as Figure 9 shown, in this embodiment, after step S06 of obtaining the first disinfection duration according to the comprehensive duration, the method for obtaining the headphone disinfection duration further includes:

[0146] S07. Obtain the state of the headphone box;

[0147] S08. Obtain the second disinfection duration according to the state of the headphone box and the first disinfection duration.

[0148] In one embodiment, the state of the headphone box includes the remaining power of the headphone box. Thus, combined withFigure 9 , 10 As shown in 10 , step S07 specifically includes: S071. Obtain the remaining power of the earphone case. Step S08 may specifically include: S081. Determine the second disinfection duration according to the remaining power and the first disinfection duration.

[0149] When the state of the earphone case includes the remaining power of the earphone case, for example, if the remaining power is less than or equal to a preset first power, the second disinfection duration is 0, and disinfection is not triggered. If the remaining power is greater than the preset first power, disinfection is triggered. That is to say, through the above settings, disinfection can only be triggered when the remaining power of the earphone case meets certain requirements. Otherwise, disinfection is not triggered, and a certain amount of power is reserved for the necessary power consumption of the earphone.

[0150] In this embodiment, by correcting the first disinfection duration based on the remaining power of the earphone case, a second disinfection duration that more conforms to the actual situation of the earphone case can be obtained. Finally, the earphone case can disinfect the wireless earphone with the second disinfection duration.

[0151] For example Figure 10 , the process of step S081 may specifically include:

[0152] S0811. Determine whether the remaining power is greater than a preset first power;

[0153] S0812. If so, obtain a preset correction coefficient, and obtain the second disinfection duration according to the product of the correction coefficient and the first disinfection duration;

[0154] S0813. If not, the second disinfection duration is 0, that is, disinfection is not triggered, and the earphone case does not start disinfection.

[0155] In this way, when the remaining power of the earphone case is greater than the preset first power, the first disinfection duration can be corrected according to the set correction coefficient, and the second disinfection duration is calculated. The second disinfection duration is used as the final disinfection duration, and the earphone case disinfects the wireless earphone that meets the disinfection conditions with the second disinfection duration.

[0156] For example, in step S0812, the step of obtaining a preset correction coefficient may specifically include:

[0157] Preset a number of correction coefficients;

[0158] Preset a number of consecutive power ranges that correspond one-to-one with the number of correction coefficients;

[0159] Determine the power range into which the remaining power falls;

[0160] Obtain the corresponding correction coefficient according to the power range into which the remaining power falls.

[0161] By presetting a number of alternative correction coefficients and their corresponding power intervals one by one in the system, and by determining the power interval into which the remaining power falls, the correction coefficient corresponding to the remaining power can be quickly obtained. In this way, the corresponding correction coefficient can be quickly and reasonably obtained, and the first disinfection duration can be corrected with this correction coefficient to obtain the second disinfection duration that meets the actual requirements.

[0162] Further, in some embodiments, the correction coefficient includes a first correction coefficient and a second correction coefficient. The above steps for obtaining the preset correction coefficient may further include:

[0163] If the remaining power is greater than the preset first power, then determine whether the remaining power is greater than the preset second power;

[0164] If so, obtain the first correction coefficient, and obtain the second disinfection duration according to the product of the first correction coefficient and the first disinfection duration;

[0165] If not, obtain the second correction coefficient, and obtain the second disinfection duration according to the product of the second correction coefficient and the first disinfection duration.

[0166] By further setting the second power on the basis of the first power, and the second power is greater than the first power, the remaining power can be accurately re-determined, so as to meet the stepped requirements according to the determination result. For example, in some scenarios, the user needs to ensure that there is more power reserved on the basis of the wireless earphones being fully charged once, so as to relieve the power consumption anxiety.

[0167] In this embodiment, by presetting multiple correction coefficients and reasonably selecting the corresponding correction coefficients according to the remaining power of the earphone case, the requirements for reserving power to different degrees can be met, the disinfection duration can be controlled more precisely, and the charging function and disinfection function of the earphone case can be taken into account, and the basic charging requirements are preferentially met. For example, the first power can be the power for the wireless earphones to be fully charged once, which can ensure that the disinfection is triggered on the premise that the comprehensive duration meets the trigger condition and the remaining power of the earphone case is sufficient for the wireless earphones to be fully charged once, and the disinfection duration needs to be calculated by correcting the first disinfection duration according to the corresponding first correction coefficient; for another example, the second power can be half of the power of the earphone case, which can ensure that the disinfection is triggered on the premise that the comprehensive duration meets the trigger condition and the remaining power of the earphone case is greater than half of the power, and the disinfection duration needs to be calculated by correcting the first disinfection duration according to the corresponding second correction coefficient.

[0168] Example 3

[0169] As Figure 11 shown, the state of the earphone case in this embodiment includes both the charging interface state and the remaining power of the earphone case.

[0170] After step S06 of obtaining the first disinfection duration according to the comprehensive duration, the method for obtaining the earphone disinfection duration in this embodiment further includes:

[0171] S07. Obtain the status of the earphone case. This step S07 specifically includes: obtaining the charging interface status and the remaining power of the earphone case.

[0172] In step S08, the second disinfection duration is obtained according to the charging interface status, the remaining power of the earphone case, and the first disinfection duration.

[0173] When the status of the earphone case includes both the charging interface status and the remaining power of the earphone case, before step S08, it may specifically include:

[0174] S0801. If the charging interface status is high level, use the first disinfection duration as the second disinfection duration, that is, start disinfection as the final disinfection duration;

[0175] S0802. If the charging interface status is low level, determine the second disinfection duration according to the remaining power and the first disinfection duration.

[0176] Through the above settings, when calculating the disinfection duration in this embodiment, the status of the earphone case is considered, and the wireless earphone can be disinfected on the premise of ensuring the normal charging function of the earphone case. When the charging interface status is high level, it indicates that the earphone case is connected to an external power supply, and this charging interface status is the supply voltage. In this state, the disinfection function of the earphone case can be powered by the external power supply. Therefore, there is no need to consider the power problem of the battery case itself, and the battery case can be controlled to disinfect the wireless earphone according to the first disinfection duration calculated according to the comprehensive duration; when the charging interface status is low level, it indicates that the earphone case is not connected to an external power supply. In order to balance the disinfection time and the disinfection effect, while ensuring the basic disinfection effect, the power consumption of the earphone case should be minimized as much as possible, and the basic charging function of the earphone case should be given priority. For this reason, this embodiment will further obtain the remaining power of the earphone case and further determine the disinfection duration according to the remaining power, that is, the second disinfection duration.

[0177] In the above step S0802, the step of determining the second disinfection duration according to the remaining power and the first disinfection duration may be similar to step S081 in Embodiment 2, including:

[0178] S0811. Determine whether the remaining power is greater than a preset first power;

[0179] S0812. If so, obtain a preset correction coefficient, and obtain the second disinfection duration according to the product of the correction coefficient and the first disinfection duration;

[0180] S0813. If not, the second disinfection duration is 0.

[0181] Among them, the correction coefficient can be obtained according to the degree to which the remaining power is higher than the first power. For example, the more the remaining power, the larger the correction coefficient, and the longer the second disinfection duration. Conversely, the less the remaining power, the smaller the correction coefficient, and the shorter the second disinfection duration. By determining whether to correct the first disinfection duration according to the remaining power of the earphone case, rather than always using the first disinfection duration to disinfect the wireless earphone, the disinfection duration of the earphone case is more in line with the actual situation.

[0182] Similarly, in step S0812, the step of obtaining the preset correction coefficient may include:

[0183] Preset a number of correction coefficients;

[0184] Preset a number of consecutive power intervals corresponding one-to-one to the number of correction coefficients;

[0185] Determine the power interval into which the remaining power falls;

[0186] According to the power interval into which the remaining power falls, obtain the corresponding correction coefficient.

[0187] In this embodiment, the correction coefficient can also be further set to include a first correction coefficient and a second correction coefficient. The above step of obtaining the preset correction coefficient can further include:

[0188] If the remaining power is greater than the preset first power, determine whether the remaining power is greater than the preset second power;

[0189] If so, obtain the first correction coefficient, and obtain the second disinfection duration according to the product of the first correction coefficient and the first disinfection duration;

[0190] If not, obtain the second correction coefficient, and obtain the second disinfection duration according to the product of the second correction coefficient and the first disinfection duration.

[0191] In this way, this embodiment can further obtain a more accurate disinfection duration according to different states of the earphone case and the user's usage requirements, and balance the disinfection state and the disinfection effect.

[0192] It can be understood that the above-described correction coefficients are two. In other embodiments, the number of correction coefficients is not limited to two and can be more.

[0193] The present invention simultaneously considers the actual wearing duration of the wireless earphones inside the ear and the breeding factor of bacteria in the earphone case. The corrected wearing duration is obtained by using the untriggered disinfection duration and the cumulative pre-wearing duration. The pre-wearing duration is compensated by the corrected wearing duration, and then combined with the duration of the current wearing to obtain the duration judgment basis for determining whether to start disinfection. The comprehensive duration suitable for determining the disinfection timing and disinfection duration of the earphone can be obtained, and the disinfection timing and disinfection duration are calculated based on this, avoiding waste of the earphone case battery. In addition, the present invention further comprehensively considers the factor of the earphone case state to accurately calculate the disinfection duration, which can ensure that the basic charging function of the earphone case is preferentially satisfied, balance the earphone disinfection duration and disinfection effect, and reduce unnecessary power consumption.

[0194] Another embodiment of the present invention provides a computer-readable storage medium, in which multiple instructions are stored, and the instructions are suitable for being loaded and executed by a processor to perform the steps of the method for obtaining the earphone disinfection duration described above.

[0195] Another embodiment of the present invention provides an electronic device, such as Figure 12 , the electronic device includes a memory 10, a processor 20, and program instructions 30 for obtaining the earphone disinfection duration stored on the memory 10 and executable on the processor 20. When the program instructions 30 for obtaining the earphone disinfection duration are executed by the processor 20, the method for obtaining the earphone disinfection duration described above is implemented.

[0196] In some embodiments, the processor may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor is generally used to control the overall operation of the electronic device. In this embodiment, the processor is used to run the program code stored in the readable storage medium or process data.

[0197] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases, the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a readable storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present invention.

[0198] The above are only specific embodiments of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.

Claims

1. A method for obtaining the disinfection duration of an earphone, characterized in that, Including: Obtain the duration of the current wearing of the wireless earphones; Obtain the cumulative wearing duration of the wireless earphones from the previous disinfection to before the current wearing as the previous wearing duration; Obtain the duration from the first wearing after the previous disinfection to the current moment without triggering disinfection as the non-triggered disinfection duration; Compensate the previous wearing duration according to the non-triggered disinfection duration to obtain the corrected wearing duration; Obtain the comprehensive duration according to the current wearing duration and the corrected wearing duration; When the comprehensive duration reaches a preset first determination duration, obtain the first disinfection duration according to the comprehensive duration.

2. The method for obtaining the disinfection duration of the earphone according to claim 1, wherein The step of obtaining the first disinfection duration according to the comprehensive duration includes: Preset several duration values of the first disinfection duration; Preset continuous duration intervals corresponding one-to-one to the number of the duration values of the first disinfection duration; Determine the duration interval into which the comprehensive duration falls; Obtain the duration value of the first disinfection duration corresponding to the duration interval into which the comprehensive duration falls to obtain the first disinfection duration.

3. The method for obtaining the disinfection duration of the earphone according to claim 1, wherein, Also including: If disinfection is triggered, clear the current wearing duration, the previous wearing duration, and the non-triggered disinfection duration, and start timing again respectively; If disinfection is not triggered, accumulate the current wearing duration to the previous wearing duration, clear the current wearing duration, and continue timing the non-triggered disinfection duration.

4. The method for obtaining the headphone disinfection duration according to claim 1, wherein The wireless earphones include a first earphone and a second earphone. The method for obtaining the earphone disinfection duration further includes: Calculate the comprehensive durations of the first earphone and the second earphone respectively; Obtain the first disinfection durations of the first earphone and the second earphone respectively according to the comprehensive durations of the first earphone and the second earphone.

5. The method for obtaining the disinfection duration of the earphone according to any one of claims 1 to 4, characterized in that, After the step of obtaining the first disinfection duration according to the comprehensive duration, further including: Obtain the state of the earphone case; Obtain the second disinfection duration according to the state of the earphone case and the first disinfection duration.

6. The method for obtaining the disinfection duration of the earphone according to claim 5, wherein The state of the earphone case includes the remaining battery power of the earphone case; The step of obtaining the second disinfection duration according to the state of the earphone case and the first disinfection duration includes: Determine the second disinfection duration according to the remaining battery power and the first disinfection duration.

7. The method for obtaining the disinfection duration of the earphone according to claim 6, wherein, The state of the earphone case further includes the charging interface state of the earphone case; before the step of determining the second disinfection duration according to the remaining battery power and the first disinfection duration, including: If the charging interface state is high level, use the first disinfection duration as the second disinfection duration; If the charging interface state is low level, determine the second disinfection duration according to the remaining battery power and the first disinfection duration.

8. The method for obtaining the disinfection duration of the earphone according to claim 6, wherein, The step of determining the second disinfection duration according to the remaining battery power and the first disinfection duration includes: Judge whether the remaining battery power is greater than a preset first battery power; If so, obtain a preset correction coefficient, and obtain the second disinfection duration according to the product of the correction coefficient and the first disinfection duration; If not, the second disinfection duration is 0.

9. The method for obtaining the disinfection duration of the earphone according to claim 8, wherein The step of obtaining the preset correction coefficient includes: Preset several correction coefficients; Preset several continuous battery power intervals corresponding one-to-one to the number of the correction coefficients; Determine the battery power interval into which the remaining battery power falls; Obtain a corresponding correction coefficient according to the power range in which the remaining power falls.

10. The method for obtaining the disinfection duration of the earphone according to claim 8, characterized in that, The correction coefficient includes a first correction coefficient and a second correction coefficient. The step of obtaining the preset correction coefficient includes: If the remaining power is greater than a preset first power, determine whether the remaining power is greater than a preset second power; If so, obtain the first correction coefficient, and obtain the second disinfection duration according to the product of the first correction coefficient and the first disinfection duration; If not, obtain the second correction coefficient, and obtain the second disinfection duration according to the product of the second correction coefficient and the first disinfection duration.

11. A computer-readable storage medium, characterized in that, A plurality of instructions are stored, and the instructions are adapted to be loaded and executed by a processor to perform the steps of the method for obtaining the disinfection duration of the earphone according to any one of claims 1 to 10.

12. An electronic device, characterized in that, It includes a memory, a processor, and program instructions for obtaining the disinfection duration of the earphone stored on the memory and executable on the processor. When the program instructions for obtaining the disinfection duration of the earphone are executed by the processor, the method for obtaining the disinfection duration of the earphone according to any one of claims 1 to 10 is implemented.

Citation Information

Patent Citations

  • Sterilization and disinfection method of wireless earphone, charging box and wireless earphone equipment

    CN110602586A

  • Wireless earphone disinfection method and device, wireless earphone and storage medium

    CN112995836A