Disinfection method of wireless earphone, electronic device and readable storage medium
By combining the duration of disinfection with the status of the earphone case, the timing of disinfection is determined, which solves the problem of unreasonable disinfection timing and duration settings for wireless earphones. This achieves precise disinfection control, avoids bacterial growth and power waste, and protects user health.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- JIANGXI RUISHENG ELECTRONIC CO LTD
- Filing Date
- 2023-03-20
- Publication Date
- 2026-04-28
AI Technical Summary
In existing wireless earphone disinfection methods, the timing and duration of disinfection are not set reasonably, resulting in earphones not being disinfected after use and remaining in the earphone case for a long time, where bacteria grow and affect users' health.
By obtaining the total duration of the wireless earbuds and the status of the earbud case, it is determined whether to start disinfection. If disinfection is not triggered, it is determined whether the backup disinfection conditions are met, and the corresponding backup disinfection duration is obtained. The disinfection duration is then adjusted based on the charging port status and remaining battery power of the earbud case.
Accurately determine the timing of disinfection to prevent bacterial growth from earphones stored in the earphone case for extended periods, protect user health, save earphone case power, and extend usage time.
Smart Images

Figure CN116647787B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless earphone technology, and in particular to a method for eliminating wireless earphones, an electronic device, and a readable storage medium. Background Technology
[0002] TWS (True Wireless Stereo) earbuds are based on Bluetooth chip technology. They connect to the main earbud via a mobile phone or other audio terminal, and then the main earbud wirelessly connects to the secondary earbud, achieving true wireless separation of the left and right channels. Because they eliminate the need for wired connections, TWS earbuds break free from the constraints of traditional wired headphones, achieving a stereo effect in both ears. Compared to traditional Bluetooth earbuds, they offer upgrades and optimizations in sound quality, noise cancellation, call quality, data transmission, and battery life.
[0003] As TWS earbuds become increasingly popular, users are also raising their expectations, with a growing concern for earbud hygiene. When users wear TWS earbuds, a sealed space forms between the earbud and the ear canal. This poor air circulation can cause the ear to become stuffy and hot, leading to the growth of bacteria on the earbuds. The longer the earbuds are worn, the more bacteria will accumulate. Similarly, the earbud charging case is also a sealed space. Placing the earbuds inside after use will further promote bacterial growth, potentially affecting the user's ear health. Therefore, cleaning the earbuds after each use is crucial.
[0004] To address the issue of bacterial growth on earbuds, some existing TWS earbuds have added a UV disinfection function to their charging cases, using ultraviolet light to disinfect bacteria attached to the earbuds. Current disinfection methods typically only trigger a fixed disinfection duration based on whether the earbuds have been removed from the charging case for a preset time. This leads to unreasonable settings for the timing and duration of UV disinfection. Furthermore, in actual use, there are instances where earbuds are left in the charging case for extended periods without triggering disinfection. This can result in a large increase in bacteria on the earbuds inside the case, which can also affect the user's ear health. Summary of the Invention
[0005] In view of the shortcomings of the existing technology, the present invention provides a disinfection method, electronic device and readable storage medium for wireless earphones, which can solve the problems of unreasonable disinfection timing and duration settings, as well as bacterial growth caused by earphones not being disinfected after use and being stored in the earphone case for a long time.
[0006] To achieve the above objectives, the present invention adopts the following technical solution:
[0007] A method for disinfecting wireless earphones includes:
[0008] When the wireless earbuds are placed in the earbud case, obtain the total duration of the wireless earbuds and the status of the earbud case;
[0009] Based on the overall duration and the status of the earphone case, determine whether to initiate disinfection;
[0010] If the earphone case does not trigger disinfection, then it is determined whether the wireless earphone meets the backup disinfection conditions;
[0011] If the wireless earphone meets the backup disinfection conditions, then the disinfection duration of the backup disinfection is obtained.
[0012] As one implementation method, the step of obtaining the overall duration includes:
[0013] Get the duration of this wireless earphone wear;
[0014] The cumulative wearing time of the wireless earphones from the previous disinfection to the current wearing time is used as the previous wearing time.
[0015] The duration from the first time the wireless earphones were worn without triggering disinfection until the current moment is obtained as the duration without triggering disinfection.
[0016] Based on the duration of non-triggered disinfection, the previous wearing time is compensated to obtain the corrected wearing time;
[0017] The combined duration is obtained based on the duration of the current wearing session and the adjusted wearing duration.
[0018] As one implementation method, the step of determining whether to initiate disinfection based on the overall duration and the state of the earphone case includes:
[0019] If the overall duration does not reach the preset first determination duration, the disinfection process will not be initiated.
[0020] If the overall duration reaches the preset first determination duration, then the disinfection duration is obtained based on the overall duration and the state of the earphone box.
[0021] In one implementation, the state of the earphone case includes the state of the charging port; the step of obtaining the disinfection time based on the overall duration and the state of the earphone case includes:
[0022] Based on the overall duration, the first disinfection duration is obtained;
[0023] Get the charging port status of the earphone case;
[0024] If the charging interface is in a high-level state, the disinfection process will begin after the first disinfection duration.
[0025] In one implementation, the state of the earphone case includes the remaining battery power of the earphone case; the step of obtaining the disinfection duration based on the overall duration and the state of the earphone case includes:
[0026] If the charging port is in a low state, then obtain the remaining battery level of the earphone case;
[0027] The second disinfection duration is determined based on the remaining battery power and the first disinfection duration.
[0028] In one implementation, the state of the earphone case includes the remaining battery power of the earphone case; the step of obtaining the disinfection time based on the overall duration and the state of the earphone case includes:
[0029] Based on the overall duration, the first disinfection duration is obtained;
[0030] Get the remaining battery level of the earphone case;
[0031] The second disinfection duration is determined based on the remaining battery power and the first disinfection duration.
[0032] As one implementation method, the step of determining the second disinfection duration based on the remaining battery power and the first disinfection duration includes:
[0033] Determine whether the remaining battery power is greater than a preset first battery power level;
[0034] If so, then obtain the preset correction coefficient, and obtain the second disinfection duration based on the product of the correction coefficient and the first disinfection duration;
[0035] If not, the disinfection process will not be initiated.
[0036] As one implementation method, the step of determining whether to initiate disinfection further includes:
[0037] If disinfection is triggered, the duration of this wear, the previous wear duration, and the duration of no disinfection will be reset to zero, and the timer will be restarted for each of them.
[0038] If the disinfection is not triggered, the duration of this wear will be accumulated to the previous wear duration, the duration of this wear will be reset to zero, and the timer will continue to run for the duration of the untriggered disinfection.
[0039] As one implementation method, the step of determining whether the wireless earphone meets the backup disinfection conditions includes:
[0040] The duration of non-disinfection time for the wireless earphone from the first time it was worn until the current moment is obtained after the previous disinfection.
[0041] If the duration of the non-triggered disinfection is greater than or equal to the preset first duration, then the wireless earphone meets the backup disinfection conditions.
[0042] As one implementation method, the step of determining whether the wireless earphone meets the backup disinfection conditions includes:
[0043] Obtain the charging port status of the earphone case;
[0044] If the charging interface is in a high-level state, the wireless earphone meets the backup disinfection conditions.
[0045] As one implementation method, the step of obtaining the disinfection duration for backup disinfection includes:
[0046] Obtain the total wearing time of the wireless earphones after the previous disinfection;
[0047] Obtain the first ratio of the total wearing time to the preset first determination time;
[0048] Based on the first ratio, the first backup disinfection duration is obtained.
[0049] As one implementation method, the step of obtaining the first backup disinfection time based on the first ratio further includes:
[0050] Obtain the charging port status of the earphone case;
[0051] The duration of non-disinfection time for the wireless earphone from the first time it was worn until the current moment is obtained after the previous disinfection.
[0052] If the charging interface is in a high-level state, the disinfection time is obtained based on the total wearing time and the non-triggered disinfection time.
[0053] If the charging interface is in a low-level state, the first backup disinfection duration is obtained based on the first ratio.
[0054] As one implementation method, the step of obtaining the disinfection time based on the total wearing time and the non-triggered disinfection time includes:
[0055] Based on the total wearing time and the time during which disinfection was not triggered, obtain the corrected wearing time;
[0056] Determine whether the corrected wearing time is less than a preset first determination time;
[0057] If not, then obtain the second backup disinfection duration based on the modified wearing time;
[0058] If so, then the first backup disinfection duration is obtained based on the first ratio.
[0059] As one implementation method, after determining that the charging interface is at a low level, the wireless earphone disinfection method further includes:
[0060] Get the remaining battery level of the earphone case;
[0061] Determine whether the remaining battery power of the earphone case is less than the preset startup battery power;
[0062] If so, then the backup disinfection process will not be activated;
[0063] If not, then obtain the first backup disinfection duration based on the first ratio.
[0064] Another object of the present invention is to provide a computer-readable storage medium storing a plurality of instructions adapted for loading by a processor and executing the steps of the above-described method for eliminating wireless earphones.
[0065] Another object of the present invention is to provide an electronic device, including a memory, a processor, and a wireless earphone disinfection program instruction stored in the memory and executable on the processor, wherein the wireless earphone disinfection program instruction implements the above-described wireless earphone disinfection method when executed by the processor.
[0066] This invention determines whether to initiate disinfection based on the overall duration and the state of the earphone case, and sets trigger conditions for the earphone case to initiate backup disinfection. After the wireless earphones are placed in the case, if the earphones are stored in the earphone case for a long time without triggering disinfection, the earphone case will decide whether to initiate backup disinfection for the wireless earphones based on its own state, and obtain the corresponding backup disinfection duration. This solves the problem of unreasonable disinfection timing and duration settings, and can avoid the phenomenon of bacteria growing in the earphone case caused by the wireless earphones being stored in the earphone case for a long time, thus protecting the health of the user's ears. Attached Figure Description
[0067] Figure 1 This is a schematic diagram of a disinfection method for wireless earphones according to the present invention;
[0068] Figure 2A This is a schematic diagram of a method for obtaining the earphone disinfection time according to Embodiment 1 of the present invention;
[0069] Figure 2B A schematic diagram of a method for obtaining the duration of wear in this instance according to Embodiment 1 of the present invention is shown;
[0070] Figure 3 A schematic diagram of a method for obtaining the duration of non-triggered disinfection according to Embodiment 1 of the present invention is shown;
[0071] Figure 4 A schematic diagram of another method for obtaining the duration of non-triggered elimination is shown in Embodiment 1 of the present invention;
[0072] Figure 5 A schematic diagram of another method for obtaining the duration of wearing the garment in this instance, according to Embodiment 1 of the present invention, is shown.
[0073] Figure 6 A schematic diagram of a method for obtaining corrected wearing time according to Embodiment 1 of the present invention is shown;
[0074] Figure 7 A schematic diagram of a method for obtaining a correction coefficient according to Embodiment 1 of the present invention is shown;
[0075] Figures 8-11 The diagram illustrates several different methods for obtaining the earphone disinfection duration according to Embodiment 2 of the present invention.
[0076] Figure 12 This is a schematic diagram of a disinfection method for a wireless earphone according to Embodiment 3 of the present invention;
[0077] Figure 13A This is a schematic diagram of a method for obtaining the standby disinfection time of an earphone case according to Embodiment 3 of the present invention;
[0078] Figure 13B A schematic diagram of a method for obtaining the duration of non-triggered elimination according to Embodiment 3 of the present invention is shown;
[0079] Figure 14 This is a schematic diagram of a method for obtaining the standby disinfection time of an earphone case according to Embodiment 3 of the present invention;
[0080] Figures 15-18 This invention illustrates schematic diagrams of several different methods for obtaining the standby disinfection time of earphone boxes according to Embodiment 4 of the present invention;
[0081] Figure 19 A schematic diagram of a method for obtaining the standby disinfection time of an earphone case according to Embodiment 5 of the present invention is shown;
[0082] Figure 20 This is a schematic diagram of the structure of an electronic device according to the present invention.
[0083] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0084] In this invention, the terms "set up," "equipped with," and "connected" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral structure; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium, or an internal connection between two devices, elements, or components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0085] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0086] Furthermore, in addition to indicating direction or positional relationship, some of the aforementioned terms may also have other meanings. For example, the term "above" may also be used in certain situations to indicate a dependency or connection. Those skilled in the art can understand the specific meaning of these terms in this invention based on the specific circumstances.
[0087] To make the objectives, technical solutions, and advantages of this invention clearer, the 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 merely illustrative and not intended to limit the invention.
[0088] This invention provides a wireless earphone and a charging case for use with the wireless earphone. The charging case has both charging and sterilization functions. For example, a disinfection device such as an ultraviolet lamp can be installed inside 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 that the user has worn.
[0089] It is understood that the wireless earphones in this application include, but are not limited to, TWS earphones, Bluetooth earphones, and other wireless earphones that can be easily stored in a charging case.
[0090] like Figure 1 This invention provides a method for disinfecting wireless earphones, including:
[0091] S1. When the wireless earbuds are placed in the earbud case, obtain the total duration of the wireless earbuds and the status of the earbud case;
[0092] S2. Determine whether to initiate disinfection based on the overall duration and the status of the earphone case;
[0093] S3. If the earphone case does not trigger disinfection, determine whether the wireless earphones meet the backup disinfection conditions.
[0094] S4. If the wireless earphone meets the backup disinfection conditions, obtain the disinfection duration of the backup disinfection.
[0095] The embodiments of the present invention mainly include two parts. One part includes the above-mentioned steps S1 and S2, which mainly involve determining whether to start disinfection based on the usage of the wireless earphone and the status of the earphone case, and determining the disinfection duration after determining that disinfection has been started. The other part includes the above-mentioned steps S3 and S4, which mainly involve further determining whether to start backup disinfection when the earphone case has not triggered disinfection, and determining the backup disinfection duration before starting backup disinfection.
[0096] For ease of understanding, the following embodiments 1-2 mainly involve steps S1 and S2, while embodiments 3-5 mainly involve steps S3 and S4.
[0097] Example 1
[0098] To facilitate the control of disinfection of wireless earphones, this embodiment provides a method for obtaining the disinfection duration of the earphones, such as... Figure 2A The diagram illustrates a method for obtaining the duration of earphone disinfection according to an embodiment of the present invention. In step S1, the method for obtaining the overall duration mainly includes:
[0099] S01. Obtain the duration of this wireless earphone wear;
[0100] S02. Obtain the previous wearing time, which is the cumulative wearing time of the wireless earphone from the previous disinfection to the current wearing time.
[0101] S03. Obtain the duration of non-triggered disinfection. This duration is the time elapsed since the wireless earphone was first worn and no disinfection was triggered until the current moment.
[0102] S04. Based on the duration of non-triggered disinfection, the previous wearing time is compensated to obtain the corrected wearing time;
[0103] S05. Based on the current wearing time and the corrected wearing time, the total wearing time is obtained.
[0104] Once the overall duration is obtained, if the overall duration does not reach the preset first judgment duration, the disinfection will not be initiated; if the overall duration reaches the preset first judgment duration, the first disinfection duration can be obtained based on the overall duration.
[0105] The preset first determination time can be a preset time used to measure the usage of wireless headphones. The determination module can determine whether the pollution level of the wireless headphones meets the conditions for triggering the disinfection of the headphone box based on whether the calculated headphone usage time reaches the preset first determination time.
[0106] It is understood that the above steps S01 and S02 are not sequential and can be performed simultaneously or sequentially. This embodiment does not limit their order.
[0107] This embodiment compensates for the previous wearing time by measuring the duration of non-triggered disinfection, thus obtaining a corrected wearing time. This corrected wearing time is then combined with the current wearing time to obtain a comprehensive time. The comprehensive time can be used as a basis for measuring the usage time of the earphones to determine whether earphone disinfection is necessary. Since this embodiment considers both the actual wearing time of the wireless earphones inside the ear and the impact of the earphone case on bacterial growth in the earphones, a more accurate earphone disinfection time can be obtained based on the comprehensive time. This improves the accuracy of earphone disinfection time determination, avoids wasting earphone case power, and extends the usage time after the earphone case is charged.
[0108] In one embodiment, the wearing time of the wireless earphones can be obtained by a detection sensor installed on the earphones, preferably an in-ear detection sensor. This in-ear detection sensor can be a photoelectric sensor or a capacitive sensor. For example, a photoelectric sensor can determine whether the earphone is in the ear by detecting the level signal formed by the reflected signal from the human body; a capacitive sensor can determine whether the earphone is in the ear by sensing the capacitance value of the human body. When a user wears the wireless earphones, the in-ear detection sensor detects that the earphones are inserted into the user's ear canal and sends an in-ear signal. Upon receiving this in-ear signal, the earphone case starts timing the wearing time; this moment is the in-ear moment. This timing action can be implemented by a program or hardware on the earphone case, the earphones, or independently of the earphone case and earphones. When the user removes the wireless earphones from their ears, the in-ear detection sensor detects that the earphones have left the user's ear canal and sends a removal signal. Upon receiving the removal signal, the earphone case stops timing the wearing time; this moment is the removal moment.
[0109] In one embodiment, to facilitate the detection of earphone insertion and removal actions from the earphone case, an insertion detection sensor can be installed in the earphone case. When the sensor detects that the wireless earphones are being placed in or removed from the case, the sensor's signal level changes, thereby emitting corresponding insertion and removal signals. Alternatively, contacts can be provided on both the wireless earphones and the earphone case. When the earphones are placed in the case, the contacts on the earphones and the earphone case form a circuit, generating an insertion signal. When the earphones are removed from the case, the contacts on the earphones and the earphone case disconnect, generating a removal signal. This method can also determine whether the earphones are inserted or removed from the case.
[0110] It is understandable that in actual use, there may be situations where users take off the wireless earbuds but do not put them back into the charging case, and then put them back on. This means that the wearing time between the time the wireless earbuds are removed from the charging case and the time they are put back into the charging case may be a continuous period of time or the sum of several continuous periods of time.
[0111] In one embodiment, such as Figure 2B The step S01, which involves obtaining the duration of wear of the wireless earphones, specifically includes:
[0112] S011. Acquire and record the entry time of all in-ear signals emitted by the wireless earphones and the exit time of all out-of-ear signals emitted by the wireless earphones during the process of the wireless earphones being removed from the earphone case.
[0113] S012. Calculate and sum the duration between each ear insertion moment and the corresponding ear removal moment to obtain the duration of this wearing session.
[0114] Understandably, by calculating and summing the duration between each earbud insertion moment and the corresponding earbud removal moment, the duration of the current earbud wear can be accurately obtained. Alternatively, the wear duration can also be obtained through a timing module or timing program. Specifically, when an earbud insertion signal is detected, the timing module or timing program starts; when an earbud removal signal is detected, the timing module or timing program stops, thus obtaining the wear duration.
[0115] After wearing the wireless earbuds, the user places them in the charging case. When the earbuds are placed in the case, a detection module within the case determines whether the earbuds meet the conditions for triggering disinfection. Before determining whether disinfection is triggered, the module retrieves the previous wearing time from a pre-installed accumulation module in the case. This previous wearing time is the accumulated wearing time from the last disinfection to the current wearing time, before the earbuds met the conditions for triggering disinfection. If the detection module determines that disinfection is not triggered, the current wearing time is added to the accumulation module; that is, even after a determination that disinfection is not triggered, the current wearing time is added to the previous wearing time. When determining whether disinfection is triggered, the sum of the previous wearing time and the current wearing time is the total wearing time.
[0116] In one embodiment, such as Figure 3 The above-mentioned step S03, which obtains the duration of the disinfection that has not been triggered, specifically includes:
[0117] S031. The moment when the wireless earphone is worn for the first time after the previous disinfection and before disinfection is triggered is taken as the first moment.
[0118] S032. Obtain the time when the wireless earphones are placed back into the earphone case after this use;
[0119] S033. Calculate the time between the time of entry into the box and the first time to obtain the time during which the elimination was not triggered.
[0120] Understandably, if the detection sensor on the wireless earbuds detects that the earbuds are not inserted into the ear after the previous disinfection, it means that the earbuds are not contaminated. In this case, the non-disinfection trigger duration is 0. That is, the non-disinfection trigger duration refers to the time from the first time the earbuds were used after being inserted into the earbuds without triggering disinfection until they are put back into the earbud case after this wear. By calculating the non-disinfection trigger duration obtained by calculating the time between the moment of insertion into the case and the first moment, the duration of non-disinfection after the earbuds were used and contaminated can be obtained more accurately, thereby improving the accuracy of subsequent step S04 in compensating for the previous wearing time based on the non-disinfection trigger duration.
[0121] The duration of non-triggered disinfection can also be obtained through a timing module or timing program. Specifically, if disinfection cannot be triggered upon first use of the wireless earbuds after the previous disinfection, the timing module or timing program starts timing. Upon receiving the earbuds' return-to-the-case signal, timing pauses and a second check is performed to determine if disinfection has been triggered. If disinfection cannot be triggered, timing resumes; if disinfection is triggered, the accumulated non-triggered disinfection duration is reset to zero. The return-to-the-case signal can be obtained through the return-to-the-case detection sensor in the earbuds case or the continuity status of the contacts between the earbuds and the earbuds on the earbuds case.
[0122] After obtaining the current wearing time, previous wearing time, and non-triggered disinfection time, the subsequent steps S04 and S05 can be performed to calculate the overall time. The overall time is then used as the standard for measuring the earphone usage time to determine whether disinfection has been triggered.
[0123] In certain usage scenarios, after placing the wireless earbuds into the earbud case, users may take them out again within a short period of time (e.g., 5 seconds). If the wearing time, the time without triggering disinfection, and the total time are counted again within this short period of time, it will increase unnecessary calculations and statistics, and will also increase power consumption to some extent.
[0124] Based on the above considerations, in one embodiment, placing the wireless earphones into the earphone case and then removing them shortly afterward is considered as not placing them into the earphone case. During this period, the duration of wear and the time without triggering disinfection are both counted normally. Therefore, as... Figure 4 Before step S033, which calculates the duration between the box entry time and the first time, the process of obtaining the duration of non-triggered disinfection may further include:
[0125] S0321. When the earphone insertion signal is detected, the timer starts;
[0126] S0322. If an earphone removal signal is detected before the timing duration reaches the preset first threshold, the insertion signal in step S0321 is ignored, the insertion time of the next wireless earphone is obtained again, and the timing is restarted until the timing duration reaches the preset first threshold.
[0127] S0323. When the timing duration reaches the preset first threshold, if no earphone removal signal is detected, the duration between the earphone insertion time and the first time is calculated, and this timing duration is accumulated until the non-triggered elimination duration.
[0128] Similarly, in one embodiment, such as Figure 5 Step S01, which involves obtaining the duration of wear of the wireless earphones, may further include:
[0129] S0111. When the earphone insertion signal is detected, the timer starts;
[0130] S0112. If an earphone removal signal is detected before the timing duration reaches the preset first threshold, the earphone removal signal in step S0111 is ignored, the wearing time continues to accumulate, the next earphone removal time is obtained, and the timing restarts until the timing duration reaches the preset first threshold.
[0131] S0113. If no earphone removal signal is detected when the timing duration reaches the preset first threshold, the timing of this wearing time ends.
[0132] Here, the timing method in steps S0321 and S0111 can be a countdown. When the wireless earbuds are placed in the earbud case, the countdown begins. When the countdown reaches 0, it indicates that the single time the wireless earbuds are removed from the earbud case has ended, and the timing will restart after the next time the wireless earbuds are placed in the earbud case. During the countdown, if it is detected that the wireless earbuds are removed from the earbud case again, the duration of the previous removal is ignored, and the wireless earbuds are still considered to be outside the earbud case. The countdown stops and resets to zero, and the time is included in the non-triggered disinfection time.
[0133] Because both the earphone case and the ear canal containing the wireless earphones form a poorly ventilated, enclosed space where bacteria can thrive, bacteria can grow in the earphones themselves. Similarly, wireless earphones that haven't undergone disinfection after use will also breed bacteria in the earphone case. Therefore, determining whether to activate disinfection based on the total accumulated wearing time of the wireless earphones or the time the earphones are removed from the case is inaccurate. Disinfecting the earphones after each use would waste the earphone case's battery power.
[0134] During the use of wireless earbuds, there may be instances where they are worn for short periods and then placed in the charging case without triggering disinfection, or they may be stored in the charging case for extended periods without being used again. When wireless earbuds are placed in the charging case after use without triggering disinfection, bacteria will multiply rapidly inside the charging case. Moreover, before the preset trigger conditions are met, the number of bacteria inside the charging case will increase as the time without triggering disinfection increases. Therefore, both the duration without triggering disinfection and the previous wearing time affect the amount of bacteria growing inside the wireless earbuds and charging case. The longer the previous wearing time and the longer the time without triggering disinfection, the more bacteria will be present in the wireless earbuds and charging case.
[0135] Taking this factor into consideration, in this embodiment, after obtaining the previous wearing time and the non-triggered disinfection time through the above steps S02 and S03 respectively, the previous wearing time is further compensated by the non-triggered disinfection time in step S04 to obtain the corrected wearing time.
[0136] like Figure 6 This illustrates one method for obtaining the corrected wearing time. In this embodiment, step S04, which compensates for the previous wearing time based on the untriggered disinfection time to obtain the corrected wearing time, includes:
[0137] S041. Obtain the correction coefficient based on the duration of non-triggered disinfection;
[0138] S042. Obtain the corrected wearing time based on the initial wearing time and the correction coefficient. The corrected wearing time can be the product of the initial wearing time and the correction coefficient.
[0139] In one embodiment, a parameter can be preset to measure the extent to which wireless earphones are used for an extended period without triggering disinfection, for example, a preset first duration. If the wireless earphones, after being used in the earphones, are stored in the earphone case for the preset first duration, it is determined that the bacterial growth level in the earphone case is already very serious.
[0140] In step S041 above, a ratio can be obtained by comparing the duration of the non-triggered disinfection with a preset first duration. The larger the ratio, the closer the non-triggered disinfection duration is to the preset first duration. Based on this ratio, a corresponding coefficient is obtained and used as a correction coefficient. In this way, the situation where the wireless earphones cannot be disinfected before being placed in the earphone case before disinfection is triggered can be compensated for through correction, so that the final earphone usage time obtained is more in line with actual needs.
[0141] like Figure 7 For example, in step S041, the process of obtaining the correction coefficient based on the duration of non-triggered disinfection may specifically include:
[0142] S0411. Obtain the ratio of the duration of non-triggered disinfection to the preset first duration;
[0143] S0412. Obtain the correction coefficient based on the ratio of the non-triggered disinfection time to the preset first time.
[0144] For example, step S0412 above may further include:
[0145] Multiple correction factors are preset;
[0146] A continuous range of ratios with a one-to-one correspondence between the number of preset and correction coefficients;
[0147] Determine the range within which the ratio of the time without triggering disinfection to the preset first time falls;
[0148] The correction coefficient corresponding to the ratio interval is determined based on the ratio interval into which the ratio of the non-triggered disinfection time to the preset first time interval falls.
[0149] For example, the preset correction coefficient is selected from the interval [1,2]. Compared with the previous wearing time, the corrected wearing time after correcting the previous wearing time will increase to a certain extent or remain unchanged.
[0150] By presetting multiple correction coefficients, the possible range of the ratio of the non-triggered disinfection time to the preset first time is divided into ratio intervals corresponding to the number of preset correction coefficients. After the ratio is calculated, the correction coefficient corresponding to each ratio can be obtained according to the ratio interval into which the ratio falls.
[0151] 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 and the upper limit of a certain ratio interval, the correction coefficient corresponding to that ratio interval is obtained.
[0152] In one embodiment, the overall duration is the sum of the current wearing time and the corrected wearing time. Thus, the overall duration, obtained by adding the current wearing time and the corrected wearing time, can be used to measure the total usage time of the earphones and serve as a basis for determining whether to trigger disinfection. Since both the current wearing time and the corrected wearing time take into account the actual wearing time of the wireless earphones inside the ear and the factor of bacterial growth in the earphone case, using the overall duration calculated from these two factors as the basis for triggering disinfection can effectively solve the problems of bacterial growth and wasted battery power in the earphone case.
[0153] In one embodiment, the wireless earphones include a first earphone and a second earphone (e.g., left and right earphones). During the acquisition of earphone usage time, the combined usage time of the first and second earphones can be calculated separately. The combined usage time of each earphone is used as a standard to measure the actual usage time. Whether the disinfection of the corresponding first and second earphones is triggered is determined based on whether the combined usage time of the first and second earphones reaches the corresponding preset first determination time. Since the combined usage time of the two wireless earphones is calculated separately, it can be determined whether the two wireless earphones meet the disinfection triggering conditions separately. Therefore, the earphone case can disinfect only one wireless earphone during the disinfection process, further saving power and extending the usage time of the earphone case after charging.
[0154] Therefore, this embodiment takes into account both the actual wearing time of the wireless earphones inside the ear and the growth of bacteria in the earphone case, which can yield a more realistic overall earphone usage time. The timing of earphone disinfection is more accurate, avoiding waste of earphone case power.
[0155] Example 2
[0156] After obtaining the overall duration, the determination module can determine whether to start the disinfection process based on the overall duration. Considering that the state of the earphone case can affect whether the disinfection process can be started normally, this embodiment also obtains the state of the earphone case while obtaining the overall duration of the wireless earphone in step S1. In step S2, the determination is made whether to start the disinfection process based on the overall duration and the state of the earphone case.
[0157] In this embodiment, the step S2, which determines whether to initiate disinfection based on the overall duration and the state of the earphone case, may specifically include:
[0158] If the overall duration does not reach the preset first judgment duration, the disinfection process will not be initiated.
[0159] If the overall duration reaches the preset first judgment duration, the disinfection duration is obtained based on the overall duration and the state of the earphone box.
[0160] like Figure 8 As shown, in this embodiment, if the overall duration reaches a preset first determination duration, the step of obtaining the disinfection duration based on the overall duration and the state of the earphone box includes:
[0161] S06. Obtain the first disinfection duration based on the overall duration;
[0162] S07. Obtain the status of the earphone case;
[0163] S08. Based on the status of the earphone case and the first disinfection duration, obtain the second disinfection duration.
[0164] When the status of the earphone case includes the status of its charging port, if the overall duration reaches a preset first determination duration, the step of obtaining the disinfection duration based on the overall duration and the status of the earphone case may further include:
[0165] The first disinfection duration is obtained based on the overall duration.
[0166] Get the charging port status of the earphone case;
[0167] If the charging interface is in a high-level state, the disinfection process will begin after the first disinfection duration.
[0168] When the charging port is at a high level, it indicates that the earphone case is connected to an external power source. This charging port status represents the power supply voltage. In this state, the earphone case's disinfection function can be powered by the external power source. Therefore, there is no need to consider the battery case's own power level. The battery case can be controlled to disinfect the wireless earphones based on the first disinfection duration calculated from the overall duration. When the charging port is at a low level, it indicates that the earphone case is not connected to an external power source. In order to balance the disinfection time and disinfection effect, it is necessary to minimize the earphone case's power consumption while ensuring the basic disinfection effect and prioritizing the earphone case's basic charging function. In this case, in some embodiments, disinfection may not be activated, or it may be decided whether to activate disinfection based on the actual situation.
[0169] In one embodiment, after step S06, the method for obtaining the earphone disinfection duration may further include:
[0170] If the disinfection is triggered, the current wearing time, previous wearing time, and time without disinfection will be reset to zero, and the timer will be reset to start the next time the headphone disinfection time is collected.
[0171] If the disinfection is not triggered, the duration of this wear will be accumulated to the previous wear duration, and the duration of this wear will be reset to zero. The timer will continue to run for the duration of the untriggered disinfection until the total duration reaches the preset first judgment duration. Only then can the disinfection duration of the headphones be obtained based on the total duration.
[0172] For example, if the preset first determination time is 1 hour, and the calculated total time is 50 minutes, then the wireless earphones are determined not to meet the disinfection conditions, and the non-disinfection time continues to accumulate. When the wireless earphones are put into the earphone case again, the determination module will determine whether the conditions for triggering disinfection are met.
[0173] Optionally, in step S06, when the overall duration has not reached the preset first determination duration, the overall duration can be reacquired and determination can continue, or the determination can be stopped and a new determination process can be started after the next reuse, or the determination can continue to determine whether other disinfection determination conditions are met.
[0174] Understandably, the headphones only meet the time requirement to trigger disinfection when the calculated overall duration is greater than or equal to the preset first determination duration. Only then will the overall duration be used to calculate the first disinfection duration for disinfection using ultraviolet light, etc. The longer the overall duration, the more serious the degree of contamination of the headphones, and the longer the required first disinfection duration will be.
[0175] In one embodiment, a lookup table or relationship curve between the overall duration and the first disinfection duration can be created to facilitate determining the first disinfection duration to be performed based on the acquired overall duration. For example, in step S06, the step of obtaining the first disinfection duration based on the overall duration may include: pre-establishing a correspondence between the overall duration and the first disinfection duration; and determining the first disinfection duration based on the acquired overall duration and the correspondence between the overall duration and the first disinfection duration.
[0176] By establishing a pre-defined relationship between the overall duration and the first disinfection duration, once the overall duration is calculated, the headphone box can quickly and easily calculate the first disinfection duration by calling this relationship, which can improve the headphone box's response efficiency.
[0177] like Figure 9 As shown, in one embodiment, step S06, which obtains the first disinfection duration based on the overall duration, includes:
[0178] S061, Preset several duration values for the first disinfection period;
[0179] S062. A continuous time interval that corresponds one-to-one with the number of time values of the first disinfection time;
[0180] S063, Determine the duration range into which the overall duration falls;
[0181] S064. Obtain the duration value of the first disinfection duration corresponding to the duration interval into which the comprehensive duration falls, and obtain the first disinfection duration.
[0182] By pre-setting several first disinfection duration values and pre-dividing the range of possible comprehensive durations into duration intervals corresponding to these values, a correlation is established between these duration intervals and the first disinfection duration values. After determining the comprehensive duration, the duration interval in which it falls is identified. Once the duration interval is determined, the first disinfection duration value corresponding to the comprehensive duration can be quickly obtained by searching for it within the pre-established correlation. This allows for a convenient, quick, and reasonable determination of the corresponding first disinfection duration for wireless headphones worn for different durations.
[0183] It is understandable that the correspondence between the above-mentioned comprehensive duration and the first disinfection duration is not limited to this; it can also be implemented in the form of a function curve or in the form of a lookup table.
[0184] In one embodiment, considering that the wireless earphones include a first earphone and a second earphone, the method for obtaining the earphone disinfection duration may further include: calculating the combined duration of the first earphone and the second earphone respectively; and obtaining the first disinfection duration of the first earphone and the second earphone respectively based on the combined duration of the first earphone and the second earphone. Since the combined duration of the two wireless earphones is calculated separately, and whether the two wireless earphones meet the disinfection trigger condition is determined based on their respective combined durations, and the first disinfection duration corresponding to the earphone is obtained when the corresponding earphone meets the disinfection trigger condition, the earphone box can disinfect different wireless earphones with corresponding disinfection durations during the disinfection process, making the setting of disinfection timing and disinfection duration more reasonable.
[0185] In one embodiment, the status of the earphone case further includes the remaining battery power of the earphone case, thus, combined with Figure 8 , 10 As shown, if the overall duration reaches the preset first determination duration, then in the step of obtaining the disinfection duration based on the overall duration and the state of the earphone case, after step S07 of obtaining the charging port status of the earphone case, the process may further include:
[0186] S071. If the charging port is in a low state, obtain the remaining battery level of the earphone case.
[0187] S081. Determine the second disinfection duration based on the remaining battery power and the first disinfection duration.
[0188] When the status of the earphone case includes its remaining battery level, for example, if the remaining battery level is less than or equal to a preset first battery level, the second elimination duration is 0, and elimination is not triggered. If the remaining battery level is greater than the preset first battery level, elimination is triggered. In other words, through the above settings, elimination is only triggered when the remaining battery level of the earphone case meets certain requirements; otherwise, elimination is not triggered, and a certain amount of battery power is reserved for the necessary power consumption of the earphones.
[0189] It is understood that in other embodiments, the state of the earphone case may only include the remaining battery level of the earphone case. In embodiments where the state of the earphone case only includes the remaining battery level of the earphone case, if the overall duration reaches a preset first determination duration, the step of obtaining the disinfection duration based on the overall duration and the state of the earphone case may include:
[0190] The first disinfection duration is obtained based on the overall duration.
[0191] Get the remaining battery level of the earphone case;
[0192] The second disinfection duration is determined based on the remaining battery power and the first disinfection duration.
[0193] This embodiment modifies the first disinfection duration based on the remaining battery power of the earphone case to obtain a second disinfection duration that better reflects the actual situation of the earphone case. Ultimately, the earphone case can disinfect the wireless earphones using the second disinfection duration.
[0194] like Figure 10 The process of step S081 may specifically include:
[0195] S0811. Determine whether the remaining battery power is greater than the preset first battery power.
[0196] S0812. If so, obtain the preset correction coefficient and the second disinfection duration based on the product of the correction coefficient and the first disinfection duration.
[0197] S0813. If not, the second disinfection duration is 0, meaning disinfection is not triggered and the earphone box does not start disinfection.
[0198] Thus, when the remaining battery power of the earphone case is greater than the preset first battery power, the first disinfection time can be corrected according to the set correction coefficient, and the second disinfection time can be calculated. The second disinfection time is used as the final disinfection time, and the earphone case disinfects the wireless earphones that meet the disinfection conditions using the second disinfection time.
[0199] For example, step S0812, the step of obtaining the preset correction coefficient, may specifically include:
[0200] Several correction coefficients are preset;
[0201] Pre-set several continuous power ranges that correspond one-to-one with the number of correction coefficients;
[0202] Determine the remaining battery level range;
[0203] Based on the remaining battery level range, obtain the corresponding correction coefficient.
[0204] By pre-setting several alternative correction coefficients and corresponding power ranges within the system, the correction coefficient corresponding to the remaining power can be quickly obtained by determining the power range into which the remaining power falls. In this way, the corresponding correction coefficient can be obtained quickly and reasonably. The second disinfection time that meets the actual needs can be obtained by correcting the first disinfection time with the correction coefficient.
[0205] Furthermore, in some embodiments, the correction coefficient includes a first correction coefficient and a second correction coefficient, and the step of obtaining the preset correction coefficient may further include:
[0206] If the remaining battery power is greater than the preset first battery power, then determine whether the remaining battery power is greater than the preset second battery power.
[0207] If so, obtain the first correction coefficient, and obtain the second disinfection duration based on the product of the first correction coefficient and the first disinfection duration;
[0208] If not, obtain the second correction coefficient, and obtain the second disinfection duration based on the product of the second correction coefficient and the first disinfection duration.
[0209] By setting a second power level based on the first power level, which is greater than the first power level, the remaining power level can be accurately reassessed. This allows for tiered power requirements to be met based on the assessment results. For example, in some scenarios, users need to ensure that the power level is sufficient to fully charge the wireless headphones once, while reserving more power to alleviate battery anxiety.
[0210] This embodiment, by pre-setting multiple correction coefficients and rationally selecting the appropriate correction coefficient based on the remaining battery power of the earphone case, satisfies different levels of reserved battery power requirements. This allows for more precise control of the disinfection duration, balancing the charging and disinfection functions of the earphone case while prioritizing basic charging needs. For example, the first battery power could be the amount of power required to fully charge the wireless earphones. This ensures that disinfection is triggered only when the overall duration meets the triggering conditions and the remaining battery power of the earphone case is sufficient to fully charge the wireless earphones. The disinfection duration is calculated by correcting the first disinfection duration based on the corresponding first correction coefficient. Alternatively, the second battery power could be half the battery power of the earphone case. This ensures that disinfection is triggered only when the overall duration meets the triggering conditions and the remaining battery power of the earphone case is greater than half the battery power. The disinfection duration is calculated by correcting the first disinfection duration based on the corresponding second correction coefficient.
[0211] In yet another embodiment, such as Figure 11 As shown, the status of the earphone case in this embodiment includes both the charging port status and the remaining battery power.
[0212] After step S06, which involves obtaining the first disinfection duration based on the overall duration, the method for obtaining the earphone disinfection duration in this embodiment further includes:
[0213] S07. Obtain the status of the earphone case. This step S07 specifically includes: obtaining the status of the charging port and the remaining battery power of the earphone case.
[0214] In step S08, the second disinfection duration is obtained based on the charging port status of the earphone case, the remaining battery power, and the first disinfection duration.
[0215] When the status of the earphone case includes both the charging port status and the remaining battery level, before step S08, the following may be included:
[0216] S0801. If the charging interface is at a high level, the first elimination duration is used as the second elimination duration, that is, the elimination is started as the final elimination duration.
[0217] S0802. If the charging interface is in a low-level state, the second disinfection duration shall be determined based on the remaining power and the first disinfection duration.
[0218] Through the above settings, this embodiment takes into account the state of the earphone case when calculating the disinfection duration, ensuring that the wireless earphones are disinfected while the earphone case is charging normally. When the charging port is high, it indicates that the earphone case is connected to an external power source. This charging port state represents the power supply voltage. In this state, the earphone case's disinfection function can be powered by an external power source. Therefore, there is no need to consider the battery case's own power level, and the battery case can be controlled to disinfect the wireless earphones based on the first disinfection duration calculated from the overall duration. When the charging port is low, it indicates that the earphone case is not connected to an external power source. To balance the disinfection time and effect, it is necessary to minimize the earphone case's power consumption while ensuring basic disinfection effectiveness and prioritizing the earphone case's basic charging function. Therefore, this embodiment further obtains the remaining power of the earphone case and further determines the disinfection duration, i.e., the second disinfection duration, based on the remaining power.
[0219] In step S0802 above, the step of determining the second disinfection duration based on the remaining battery power and the first disinfection duration can be similar to step S081 above, including:
[0220] S0811. Determine whether the remaining battery power is greater than the preset first battery power.
[0221] S0812. If so, obtain the preset correction coefficient and the second disinfection duration based on the product of the correction coefficient and the first disinfection duration.
[0222] S0813. If not, the second disinfection time is 0.
[0223] The correction coefficient can be determined based on the degree to which the remaining battery level exceeds the first correction value. For example, the higher the remaining battery level, the larger the correction coefficient and the longer the second disinfection time; conversely, the lower the remaining battery level, the smaller the correction coefficient and the shorter the second disinfection time. By determining whether to adjust the first disinfection time based on the remaining battery level of the earphone case, rather than always using the first disinfection time for the wireless earphones, the disinfection time of the earphone case becomes more realistic.
[0224] Similarly, step S0812, the step of obtaining the preset correction coefficient, may include:
[0225] Several correction coefficients are preset;
[0226] Pre-set several continuous power ranges that correspond one-to-one with the number of correction coefficients;
[0227] Determine the remaining battery level range;
[0228] Based on the remaining battery level range, obtain the corresponding correction coefficient.
[0229] This embodiment can also be further configured to include a first correction coefficient and a second correction coefficient, and the step of obtaining the preset correction coefficient can be further included as follows:
[0230] If the remaining battery power is greater than the preset first battery power, determine whether the remaining battery power is greater than the preset second battery power.
[0231] If so, obtain the first correction coefficient, and obtain the second disinfection duration based on the product of the first correction coefficient and the first disinfection duration;
[0232] If not, obtain the second correction coefficient, and obtain the second disinfection duration based on the product of the second correction coefficient and the first disinfection duration.
[0233] Thus, this embodiment can obtain a more accurate disinfection duration based on the different states of the earphone case and the user's usage needs, balancing the disinfection status and disinfection effect.
[0234] It is understood that the above embodiments describe two correction coefficients. In other embodiments, the number of correction coefficients is not limited to two, and may be more.
[0235] This invention considers both the actual wearing time of the wireless earbuds inside the ear and the growth of bacteria in the earphone case. It uses the untriggered disinfection time and the accumulated previous wearing time to obtain a corrected wearing time. This corrected wearing time compensates for the previous wearing time, and combined with the current wearing time, it provides a criterion for determining whether to initiate disinfection. This comprehensive time is suitable for determining the timing and duration of earphone disinfection, and is used to calculate the timing and duration of disinfection, avoiding wasted battery power in the earphone case. Furthermore, this invention further considers the earphone case's state to accurately calculate the disinfection time, ensuring that the basic charging function of the earphone case is prioritized, balancing the earphone disinfection time and effectiveness, and reducing unnecessary power consumption.
[0236] Example 3
[0237] like Figure 12The diagram illustrates a disinfection method for a wireless earphone according to this embodiment. This disinfection method includes determining the disinfection trigger state, determining a backup disinfection method after no disinfection is triggered, and obtaining the backup disinfection duration. Specifically, it may include:
[0238] S10. Determine whether the wireless earphones are placed inside the earphone case;
[0239] S11. When the wireless earphones are placed in the earphone case, obtain the disinfection trigger status of the earphone case;
[0240] S12. If the earphone case does not trigger disinfection, determine whether the wireless earphones meet the backup disinfection conditions.
[0241] S13. If the wireless earphone meets the backup disinfection conditions, obtain the disinfection duration for backup disinfection.
[0242] Since both the earphone case and the ear canal containing the wireless earphones can form a poorly ventilated, enclosed space conducive to bacterial growth, bacteria can grow in the earphones themselves. Similarly, wireless earphones that haven't undergone disinfection after use can also breed bacteria in the earphone case. In this embodiment, when the wireless earphones are in the earphone case and disinfection hasn't been triggered, this method further determines whether the wireless earphones meet the backup disinfection conditions. This addresses the issue in the prior art where wireless earphones are stored in the earphone case for extended periods due to not meeting disinfection conditions, thus preventing ear health problems caused by prolonged bacterial growth within the earphone case. Steps S12-S13 are part of steps S3-S4.
[0243] In step S10, detecting whether the wireless earbuds are placed in the earbud case can be achieved through an insertion detection sensor on the earbud case or the continuity status of the contact points on the earbuds and the earbud case. When the earbud case has an insertion detection sensor, if the sensor emits an insertion signal, it indicates that the wireless earbuds are inside the earbud case; conversely, if the sensor emits an removal signal, it indicates that the wireless earbuds are no longer inside the earbud case. When the earbuds and the earbud case each have contact points that cooperate with each other, if the contact points on the earbuds and the earbud case are in a continuous state, it indicates that the wireless earbuds are inside the earbud case; conversely, if the contact points on the earbuds and the earbud case are in a disconnected state, it indicates that the wireless earbuds are not inside the earbud case.
[0244] For example, in step S11, the disinfection trigger status of the headphone box can be determined by the determination module inside the headphone box. When the determination module determines that disinfection cannot be triggered, the headphone box will not perform disinfection. Next, it will determine whether the wireless headphones meet the backup disinfection conditions. Otherwise, the headphone box can then perform disinfection on the wireless headphones inside.
[0245] like Figure 13AAs shown, in one embodiment, step S12, the process of determining whether the wireless earphone meets the backup disinfection conditions, includes:
[0246] S121. Obtain the duration of non-triggered disinfection. This duration of non-triggered disinfection is the time elapsed since the wireless earphone was first worn without triggering disinfection until the current moment.
[0247] S122. Determine whether the duration of the non-triggered disinfection is greater than or equal to the preset first duration.
[0248] If so, the wireless earphone meets the backup disinfection conditions, and step S13 can be executed to obtain the disinfection duration of the backup disinfection.
[0249] If not, the wireless earphone does not meet the backup disinfection conditions, so step S13 is not executed. Instead, step S121 is executed to obtain the duration of the untriggered disinfection.
[0250] In other words, in this embodiment, if the earphone case does not trigger disinfection, it is further determined whether the duration of the non-triggered disinfection meets the backup disinfection conditions. The timer starts from the moment the wireless earphones are first worn and placed in the earphone case but disinfection cannot be triggered. After the determination module in step S11 determines that disinfection cannot be triggered, if the time between the start of the non-triggered disinfection timer and the current time reaches a preset first duration, it can be considered that at the current time, the contamination level of the wireless earphones has met the backup disinfection conditions, and the next step S13 can be performed to obtain the backup disinfection time, i.e., the first backup disinfection time.
[0251] In one embodiment, such as Figure 13B The above-mentioned step S121 for obtaining the duration of non-triggered disinfection specifically includes:
[0252] S1211. Obtain the moment when the wireless earphone is worn for the first time after the previous disinfection and the disinfection is not triggered, as the first moment; the first moment is the moment when the wireless earphone is put back into the earphone case after the previous disinfection and the determination module determines that the disinfection cannot be triggered.
[0253] S1212. Obtain the current time; This current time is the moment when the wireless earphones are stored in the earphone case after being worn, and when it is determined whether the wireless earphones meet the backup disinfection conditions.
[0254] S1213. Calculate the duration between the current moment and the first moment to obtain the duration during which the elimination was not triggered.
[0255] The non-triggered disinfection duration obtained by calculating the time between the current moment and the first moment can more accurately obtain the time since the last disinfection when the earphone was used and became contaminated without being disinfected, thus improving the accuracy of determining whether the wireless earphone meets the backup disinfection conditions based on the non-triggered disinfection duration in the subsequent step S122.
[0256] like Figure 14 In one embodiment, if the wireless earphone meets the backup disinfection conditions, step S13 of obtaining the disinfection duration includes:
[0257] S131. Obtain the total wearing time of the wireless earphones after the previous disinfection;
[0258] S132. Obtain the first ratio of the total wearing time to the preset first determination time;
[0259] S133. Obtain the first backup disinfection duration based on the first ratio.
[0260] The longer the total wearing time, the more bacteria will accumulate in the wireless earphones and charging case, and the longer the disinfection time required for the wireless earphones. In steps S131 to S133 above, the total wearing time is compared with a preset first determination time. The larger the ratio, the more severe the contamination of the wireless earphones. The first ratio is then used to measure the closeness of the two values, thereby calculating a first backup disinfection time to achieve the ideal disinfection effect. The calculation of the backup disinfection time is more accurate and reasonable.
[0261] For example, step S133, which obtains the first backup disinfection duration based on the first ratio, may specifically include:
[0262] Pre-set several duration values for the first backup disinfection period;
[0263] A continuous first ratio interval that corresponds one-to-one with the number of preset duration values of the first backup disinfection duration;
[0264] Determine if the first ratio falls within the first ratio interval;
[0265] Obtain the duration value of the first backup disinfection time corresponding to the first ratio interval into which it falls, and thus obtain the first backup disinfection time.
[0266] By pre-setting several first backup disinfection duration values, the possible range of the first ratio is divided into first ratio intervals that correspond one-to-one with the number of pre-set first backup disinfection duration values. After the first ratio is calculated, the duration value of the first backup disinfection duration corresponding to each first ratio interval can be obtained according to the first ratio interval into which the first ratio falls.
[0267] In this embodiment, when the wireless earbuds are inside the earbud case and disinfection is not triggered, the total wearing time of the wireless earbuds after the previous disinfection is obtained, and the backup disinfection time corresponding to different total wearing times is calculated. The longer the total wearing time, the longer the backup disinfection time. Thus, differentiated backup disinfection time can be provided for the wireless earbuds according to their different levels of contamination, so as to protect the health of the user's ears and save the power of the earbud case.
[0268] Example 4
[0269] Based on Example 3, this example further considers the influence of the earphone case's state on the disinfection duration determination, and further modifies the calculation method of the disinfection duration in conjunction with the earphone case's state.
[0270] This embodiment provides a different triggering condition for backup disinfection. The determination of whether the wireless earphones meet the backup disinfection conditions is not solely based on the duration of non-triggered disinfection, but also includes the state of the earphone case. In step S12 above, the process of determining whether the wireless earphones meet the backup disinfection conditions further includes: obtaining the state of the earphone case before step S122; and determining whether the wireless earphones meet the backup disinfection conditions based on the state of the earphone case.
[0271] The status of the earphone case can include the status of its charging port, which includes a high level and a low level. A high level indicates that the earphone case is connected to an external power source and is therefore charging, while a low level indicates that the earphone case is not connected to an external power source.
[0272] In other words, this embodiment takes into account the state of the earphone case when calculating the backup disinfection duration, ensuring that the wireless earphones are disinfected while the earphone case is charging normally. When the charging port is high, it indicates that the earphone case is connected to an external power source. This charging port state represents the supply voltage. In this state, the earphone case's disinfection function can be powered by an external power source. Therefore, there is no need to consider the battery level of the earphone case itself, and the backup disinfection duration can be directly obtained. When the charging port is low, it indicates that the earphone case is not connected to an external power source. The supply voltage is 0. In this case, the decision to activate backup disinfection and calculate its duration is made based on the actual situation.
[0273] like Figure 15 In this embodiment, the backup disinfection conditions include the charging port status of the earphone case. Steps S12-S13, which determine whether the wireless earphones meet the backup disinfection conditions and obtain the backup disinfection duration, may specifically include:
[0274] S1201. Obtain the charging port status of the earphone case;
[0275] S1301. If the charging interface is at a high level, obtain the total wearing time and obtain the disinfection time based on the total wearing time and the time without triggering the disinfection.
[0276] S1302. If the charging interface is in a low-level state, then obtain the first backup disinfection duration based on the first ratio.
[0277] In step S1302, the step of obtaining the first backup disinfection duration based on the first ratio can be the same as in embodiment 1. That is, if the charging interface is in a low-level state, the above steps S121 to S122 are executed first to determine whether the wireless earphone meets the backup disinfection conditions based on the non-triggered disinfection duration. If the non-triggered disinfection duration is greater than or equal to the preset first duration, steps S131 to S133 are executed to obtain the first backup disinfection duration based on the first ratio and start the backup disinfection. Otherwise, step S13 is not executed, but the non-triggered disinfection duration is obtained.
[0278] In this embodiment, when the wireless earphone is inside the earphone case and disinfection is not triggered, the method for obtaining the disinfection duration is first determined based on the charging port status of the earphone case. Then, when the earphone case is charging, the disinfection duration is obtained based on the total wearing time and the time without triggering disinfection. When the earphone case is not charging, the first backup disinfection duration is obtained only if the time without triggering disinfection is greater than or equal to a preset first duration. Otherwise, the backup disinfection is not activated, and there is no need to calculate the backup disinfection duration.
[0279] During the use of wireless earbuds, there may be instances where they are worn for short periods and then placed in the charging case without triggering disinfection, or they may be stored in the charging case for extended periods without being used again. When wireless earbuds are placed in the charging case after use without triggering disinfection, bacteria will multiply rapidly inside the charging case. Moreover, before the preset disinfection time condition is met, the number of bacteria inside the charging case will increase as the time without triggering disinfection increases. Therefore, before disinfection is triggered, both the duration without triggering disinfection and the total wearing time affect the amount of bacteria growing inside the wireless earbuds and the charging case. The longer the total wearing time and the longer the time without triggering disinfection, the more bacteria will be present in the wireless earbuds and the charging case.
[0280] Considering this factor, this embodiment uses the non-triggered disinfection time to correct the total wearing time, ultimately obtaining a corrected wearing time. The corrected wearing time can serve as a benchmark for judging the degree of bacterial growth on the wireless earphones. The longer the corrected wearing time, the more severe the bacterial growth. When the corrected wearing time is greater than or equal to a preset first judgment time, a backup disinfection can be initiated. Figure 16 As shown, in one embodiment, step S1301 of obtaining the disinfection time based on the total wearing time and the non-triggered disinfection time may include:
[0281] S13011. Obtain the corrected wearing time based on the total wearing time and the time during which disinfection was not triggered;
[0282] S13012. Determine whether the corrected wearing time is less than the preset first determination time;
[0283] S13013. If not, then based on the corrected wearing time, obtain the second backup disinfection time, and then use the second backup disinfection time as the backup disinfection time.
[0284] S13014. If so, then execute step S133 to obtain the first backup disinfection duration based on the first ratio, and then use the first backup disinfection duration as the backup disinfection duration.
[0285] Furthermore, the backup disinfection conditions include a disinfection duration not triggered. Following step S13014 above, after determining that the corrected wearing time is less than a preset first determination duration, the following may be included:
[0286] Step S122: Determine whether the duration of non-triggered elimination is greater than or equal to the preset first duration;
[0287] If so, proceed to step S133: Obtain the first backup disinfection duration based on the first ratio;
[0288] If not, then the backup disinfection process will not be activated.
[0289] In other words, after determining in step S13012 that the corrected wearing time is less than the preset first determination time, it is not necessary to directly determine that the wireless earphone does not meet the backup disinfection conditions and not start the backup disinfection. Instead, it is necessary to further determine whether the non-triggered disinfection time is greater than or equal to the preset first time, and then decide whether to obtain the first backup disinfection time and perform disinfection with the first backup disinfection time. Since this embodiment obtains different backup disinfection times according to different conditions, it can well meet the differentiated disinfection needs of different scenarios and improve the calculation accuracy of the disinfection time.
[0290] For example, in step S13011, the process of obtaining the corrected wearing time based on the total wearing time and the time without triggering disinfection includes:
[0291] Get the second ratio of the duration of non-triggered disinfection to the preset first duration;
[0292] Based on the second ratio, obtain the corresponding correction coefficient;
[0293] Calculate the product of the total wearing time and the correction factor to obtain the corrected wearing time.
[0294] In step S13011 above, a second ratio is obtained by comparing the non-triggered disinfection time with a preset first time. The larger the second ratio, the closer the non-triggered time is to the preset first time. Then, a corresponding coefficient is obtained based on the second ratio, and this coefficient is used as a correction coefficient. In this way, the situation where the wireless earphone cannot be disinfected when placed in the earphone case before the disinfection is triggered can be compensated for by correction, so that the final obtained backup disinfection time is more in line with the actual needs.
[0295] Optionally, the step of obtaining the corresponding correction coefficient based on the second ratio may specifically include:
[0296] Several correction coefficients are preset;
[0297] A continuous second ratio interval with a one-to-one correspondence between the preset and correction coefficients;
[0298] Determine if the second ratio falls within the second ratio interval;
[0299] Based on the second ratio interval it falls into, obtain the corresponding correction coefficient.
[0300] For example, if there are 4 correction coefficients, the possible range of the second ratio is divided into 4 second ratio intervals. When the calculated second ratio falls between the lower limit and the upper limit of a certain second ratio interval, the correction coefficient corresponding to that second ratio interval is obtained. For example, the preset correction coefficient is selected from the interval [1, 2]. The corrected wearing time after the total wearing time is corrected will increase to a certain extent or remain unchanged.
[0301] Similarly, in step S13013 above, the process of obtaining the second backup disinfection duration based on the corrected wearing time can specifically include:
[0302] Pre-set several second backup disinfection duration values;
[0303] A continuous time interval that corresponds one-to-one with the number of preset and second backup disinfection time duration values;
[0304] Determine the duration range into which the corrected wearing time falls;
[0305] Obtain the duration value of the second backup disinfection duration within the time interval to obtain the second backup disinfection duration.
[0306] The above embodiments describe a scenario where the charging port status of the earphone case and the duration of non-triggered disinfection are used simultaneously as necessary conditions for determining whether the wireless earphones meet the backup disinfection conditions. It is understood that in other embodiments, based on embodiment 3, the status of the earphone case can be used instead of the duration of non-triggered disinfection, and the status of the earphone case can be used as the sole basis for determining whether the wireless earphones meet the backup disinfection conditions; or, the charging port status of the earphone case and the duration of non-triggered disinfection can be used as parallel backup disinfection determination conditions. As long as the status of the earphone case or the duration of non-triggered disinfection meets the requirements, the wireless earphones are considered to meet the backup disinfection conditions, and step S13 can be executed.
[0307] For example, in another embodiment, this application provides a different triggering condition for backup disinfection. In step S12 above, determining whether the wireless earphones meet the backup disinfection condition is not based on the duration of non-triggered disinfection, but rather on the charging port status of the earphone case. Accordingly, as... Figure 17 As shown, step S12, the process of determining whether the wireless earphone meets the backup disinfection conditions, includes:
[0308] S1201. Obtain the charging port status of the earphone case;
[0309] S1202. If the charging interface is at a high level, the wireless earphone meets the backup disinfection conditions and can proceed to the next step S13.
[0310] In this embodiment, once an external power supply to the earphone case is detected, a backup disinfection duration is obtained. For example, this backup disinfection duration can be derived according to step S1301 described above.
[0311] For example, in another embodiment, the state of the earphone case and the duration of the non-triggered disinfection are both used as criteria to determine whether the wireless earphones meet the backup disinfection conditions. If either the state of the earphone case or the duration of the non-triggered disinfection meets the requirement, the wireless earphones are considered to meet the backup disinfection conditions. Accordingly, as... Figure 18 As shown, step S12, the process of determining whether the wireless earphone meets the backup disinfection conditions, includes:
[0312] S121. Obtain the duration of the disinfection process that has not been triggered.
[0313] S1201. Obtain the charging port status of the earphone case;
[0314] S123. If either the charging interface is at a high level or the duration of the non-triggered disinfection is greater than or equal to the preset first duration, the wireless earphone is considered to meet the backup disinfection conditions, and the next step S13 can be performed to obtain the backup disinfection duration.
[0315] Since this embodiment uses the state of the earphone case and the duration of non-triggered disinfection as parallel criteria for judging whether the wireless earphone meets the backup disinfection conditions, it can determine whether to start backup disinfection and calculate the disinfection duration according to the actual situation, which is more in line with actual needs than the backup disinfection process in Embodiment 3.
[0316] Example 5
[0317] Considering that in actual use, the remaining battery power of the earphone case may be insufficient to complete the backup disinfection, or it may not be able to meet the user's charging needs after the backup disinfection is completed, based on Embodiment 4, the status of the earphone case in this embodiment includes not only the status of the charging port of the earphone case, but also the remaining battery power of the earphone case.
[0318] like Figure 19 Taking the factors affecting the backup disinfection time, including the charging port status of the earphone case, the non-triggered disinfection time, and the corrected wearing time, as an example, after determining that the charging port status is low, the step of obtaining the backup disinfection time can further include:
[0319] S141. Get the remaining battery level of the earphone case;
[0320] S142. Determine whether the remaining battery power of the earphone case is less than the preset startup battery power;
[0321] If so, then the backup disinfection process will not be activated;
[0322] If not, proceed to step S133: Obtain the first backup disinfection duration based on the first ratio.
[0323] With the above settings, when the remaining battery power of the earphone case is less than the preset startup battery power, the backup disinfection will not be activated, thus ensuring the normal startup function of the earphone case.
[0324] It is understood that each of the above embodiments in Examples 3 and 4 may further include the aforementioned steps S141 and S142. For example, in an embodiment that does not consider the charging port status of the earphone case, such as Figure 13A , Figure 14 In the scenario shown, step S142 above can be performed... Figure 14 This can be performed before step S131 in the process. Figure 13A Before step S121, which determines the duration of disinfection that has not yet been triggered, the process is executed. If the result of step S142 is yes, then the backup disinfection is not started; if the result is no, the process is executed normally. Figure 13A , Figure 14The first step and the subsequent step of obtaining the first backup disinfection duration; for example, in an embodiment where the backup disinfection conditions include the charging interface status of the headphone case, the above step S142 can be performed first after the step of determining that the charging interface status is low level. If the remaining power is less than the preset start-up power, the backup disinfection will not be started; otherwise, the subsequent steps can be executed normally.
[0325] Another embodiment of the present invention provides a computer-readable storage medium storing a plurality of instructions adapted for loading by a processor and executing the steps of the above-described method for eliminating wireless earphones.
[0326] Another embodiment of the present invention provides an electronic device, such as... Figure 20 The electronic device includes a memory 10, a processor 20, and a wireless earphone disinfection program instruction 30 stored in the memory 10 and executable on the processor 20. When the wireless earphone disinfection program instruction 30 is executed by the processor 20, the wireless earphone disinfection method described above is implemented.
[0327] In some embodiments, the processor may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor is typically used to control the overall operation of an electronic device. In this embodiment, the processor is used to run program code stored in a readable storage medium or to process data.
[0328] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this 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. This computer software product is stored in a readable storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0329] The above description is only a specific embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for disinfecting wireless earphones, characterized in that, include: When the wireless earbuds are placed in the earbud case, obtain the total duration of the wireless earbuds and the status of the earbud case; Based on the overall duration and the status of the earphone case, determine whether to initiate disinfection; If the earphone case does not trigger disinfection, then it is determined whether the wireless earphone meets the backup disinfection conditions; If the wireless earphone meets the backup disinfection conditions, then obtain the disinfection duration of the backup disinfection. The step of determining whether the wireless earphone meets the backup disinfection conditions includes: The duration of non-disinfection time for the wireless earphones from the first time they were worn until the current moment is obtained, after the previous disinfection. If the duration of the non-triggered disinfection is greater than or equal to the preset first duration, then the wireless earphone meets the backup disinfection conditions.
2. The disinfection method for wireless earphones according to claim 1, characterized in that, The steps for obtaining the overall duration include: Get the duration of this wireless earphone wear; The cumulative wearing time of the wireless earphones from the previous disinfection to the current wearing time is used as the previous wearing time. The duration from the first time the wireless earphones were worn without triggering disinfection until the current moment is obtained as the duration without triggering disinfection. Based on the duration of non-triggered disinfection, the previous wearing time is compensated to obtain the corrected wearing time; The combined duration is obtained based on the duration of the current wearing session and the adjusted wearing duration.
3. The disinfection method for wireless earphones according to claim 1, characterized in that, The step of determining whether to initiate disinfection based on the overall duration and the state of the earphone case includes: If the overall duration does not reach the preset first determination duration, the disinfection process will not be initiated. If the overall duration reaches the preset first determination duration, then the disinfection duration is obtained based on the overall duration and the state of the earphone box.
4. The disinfection method for wireless earphones according to claim 3, characterized in that, The status of the earphone case includes the status of the charging port; the step of obtaining the disinfection duration based on the overall duration and the status of the earphone case includes: Based on the overall duration, the first disinfection duration is obtained; Get the charging port status of the earphone case; If the charging interface is in a high-level state, the disinfection process will begin after the first disinfection duration.
5. The disinfection method for wireless earphones according to claim 4, characterized in that, The status of the earphone case includes the remaining battery power; the step of obtaining the disinfection duration based on the overall duration and the status of the earphone case includes: If the charging port is in a low state, then obtain the remaining battery level of the earphone case; The second disinfection duration is determined based on the remaining battery power and the first disinfection duration.
6. The disinfection method for wireless earphones according to claim 3, characterized in that, The status of the earphone case includes the remaining battery power of the earphone case; The step of obtaining the disinfection duration based on the overall duration and the state of the earphone case includes: Based on the overall duration, the first disinfection duration is obtained; Get the remaining battery level of the earphone case; The second disinfection duration is determined based on the remaining battery power and the first disinfection duration.
7. The disinfection method for wireless earphones according to claim 5 or 6, characterized in that, The step of determining the second disinfection duration based on the remaining battery power and the first disinfection duration includes: Determine whether the remaining battery power is greater than a preset first battery power. If so, then obtain the preset correction coefficient, and obtain the second disinfection duration based on the product of the correction coefficient and the first disinfection duration; If not, the disinfection process will not be initiated.
8. The disinfection method for wireless earphones according to claim 2, characterized in that, The step of determining whether to initiate disinfection also includes: If disinfection is triggered, the duration of this wear, the previous wear duration, and the duration of no disinfection will be reset to zero, and the timer will be restarted for each of them. If the disinfection is not triggered, the duration of this wear will be accumulated to the previous wear duration, the duration of this wear will be reset to zero, and the timer will continue to run for the duration of the untriggered disinfection.
9. The disinfection method for wireless earphones according to claim 1, characterized in that, The step of determining whether the wireless earphone meets the backup disinfection conditions includes: Obtain the charging port status of the earphone case; If the charging interface is in a high-level state, the wireless earphone meets the backup disinfection conditions.
10. The disinfection method for wireless earphones according to claim 1, characterized in that, The step of obtaining the backup disinfection duration includes: Obtain the total wearing time of the wireless earphones after the previous disinfection; Obtain the first ratio of the total wearing time to the preset first determination time; Based on the first ratio, obtain the first backup disinfection duration.
11. The disinfection method for wireless earphones according to claim 10, characterized in that, Before the step of obtaining the first backup disinfection time based on the first ratio, the method further includes: Obtain the charging port status of the earphone case; The duration of non-disinfection time for the wireless earphones from the first time they were worn until the current moment is obtained, after the previous disinfection. If the charging interface is in a high-level state, the disinfection time is obtained based on the total wearing time and the non-triggered disinfection time. If the charging interface is in a low-level state, the first backup disinfection duration is obtained based on the first ratio.
12. The disinfection method for wireless earphones according to claim 11, characterized in that, The step of obtaining the disinfection time based on the total wearing time and the non-triggered disinfection time includes: Based on the total wearing time and the time during which disinfection was not triggered, obtain the corrected wearing time; Determine whether the corrected wearing time is less than a preset first determination time; If not, then obtain the second backup disinfection duration based on the modified wearing time; If so, then the first backup disinfection duration is obtained based on the first ratio.
13. The disinfection method for wireless earphones according to claim 11, characterized in that, After determining that the charging interface is at a low level, the following steps are also included: Get the remaining battery level of the earphone case; Determine whether the remaining battery power of the earphone case is less than the preset startup battery power; If so, then the backup disinfection process will not be activated; If not, then the first backup disinfection duration is obtained based on the first ratio.
14. A computer-readable storage medium, characterized in that, The device stores multiple instructions adapted for loading by a processor and executing the steps of the disinfection method for the wireless earphones according to any one of claims 1 to 13.
15. An electronic device, characterized in that, The device includes a memory, a processor, and a disinfection program instruction for a wireless earphone stored in the memory and executable on the processor. When the disinfection program instruction for the wireless earphone is executed by the processor, it implements the disinfection method for the wireless earphone as described in any one of claims 1 to 13.
Citation Information
Patent Citations
Working method of disinfection cabinet, and disinfection cabinet capable of applying working method
CN111569097A
TWS earphone disinfection method, device, equipment, medium and program product
CN114363764A