Sterilization and disinfection method of earphone box, electronic equipment and readable storage medium
By setting the humidity and acceleration sensor in the headset box, the disinfection device is automatically judged and activated, and the problem of bacterial breeding after use of wireless headsets is solved, automatic sterilization disinfection in the headset box is achieved, and the degree of intelligence and disinfection effect is improved.
Patent Information
- Application Number
- CN202411271320.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2025-01-24
AI Technical Summary
Existing wireless headphones are prone to bacterial growth after use, especially when the headphone box is not regularly disinfected, which may cause users to get infected with diseases. The existing disinfection method is low in intelligence, which can easily lead to bacterial reproduction because the user forgets to start the disinfection device. .
By setting the humidity sensor and acceleration sensor in the headset box, the humidity and headset departure time in the headset box are judged. If the preset conditions are met, the disinfection device is automatically activated for sterilization and disinfection.
It realizes automatic sterilization and disinfection in the headphone box, improves the intelligence of the headphone box, ensures ideal disinfection effect, and improves the user experience.
Smart Images

Figure CN119345410A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of earphone disinfection technology, and in particular to an earphone box sterilization method, electronic equipment and readable storage medium. Background Art
[0002] With the development of wireless communication technology, wireless earphones are used more and more widely. In wireless earphone devices, wireless earphones are usually equipped with a charging box with storage and charging functions.
[0003] At present, wireless earphones are prone to breeding bacteria after being worn for a long time, especially after the user's ear skin sweats and comes into contact with the wireless earphones, which makes the wireless earphones with sweat and put into the earphone box, which is more likely to accelerate the reproduction and growth of bacteria. Therefore, wireless earphones (especially in-ear earphones) will adhere to many bacteria after being used for a period of time. People with weak resistance are prone to infection by these bacteria and become sick. Moreover, if there are wounds on the ears, it is more likely to be infected with bacteria, thereby causing diseases such as otitis externa, otitis media and even hearing loss. At the same time, it is also considered that some people have otitis media. If the earphones are not disinfected for a long time, it may cause recurrence of otitis media, etc., which may cause users with otitis media or other users with sensitive and fragile ears to easily cause bacterial infection of the ears, which causes great trouble to users. It can be seen that it is particularly important to sterilize and disinfect wireless earphones regularly.
[0004] In the prior art, a disinfection device, such as a UV lamp or an ultraviolet lamp, is placed inside the earphone box to sterilize and disinfect the earphone box and the earphones. However, most of the current disinfection methods require users to operate the disinfection device manually, that is, the earphones in the earphone box are disinfected by manually controlling the disinfection device. Therefore, the degree of intelligence is low. Moreover, in special circumstances, when the user places the earphone in the earphone box and forgets to start the disinfection device, it is easy to cause the bacteria on the earphone to multiply rapidly, which is not conducive to the user's subsequent usage experience. Summary of the invention
[0005] In view of this, the present invention aims to address the deficiencies in the prior art, and its main purpose is to provide a sterilization and disinfection method for an earphone box, an electronic device and a readable storage medium. Through the design of each step, it determines whether the conditions for sterilization and disinfection are met based on the obtained data, so as to realize the automatic sterilization and disinfection operation of the earphone in the earphone box, thereby improving the intelligence level of the earphone box and ensuring the ideal disinfection effect, which is conducive to improving the user experience.
[0006] To achieve the above purpose, the present invention adopts the following technical solutions:
[0007] A method for sterilizing and disinfecting an earphone box comprises the following steps:
[0008] S100, when the earphone is in the earphone box and is in a charging state, determining whether the earphone box meets the disinfection conditions;
[0009] The determining whether the earphone box meets the disinfection conditions includes:
[0010] The humidity value in the earphone box is obtained through the humidity sensor in the earphone box, and the earphone out-of-box time is obtained according to the time period from the last time the earphone is taken out of the earphone box to the time when it is put back;
[0011] The humidity value is compared with a preset humidity threshold, and the time when the earphone is out of the warehouse is compared with a preset threshold. When the humidity value is greater than the preset humidity threshold and / or when the earphone is out of the warehouse time is greater than the preset threshold, it is determined that the earphone box meets the disinfection condition;
[0012] S200: If the earphone box meets the disinfection conditions, start the disinfection device in the earphone box to sterilize and disinfect the earphone box.
[0013] In one embodiment, the determining whether the earphone box meets the disinfection condition further includes:
[0014] Get the last time the earphone was outside the earphone box;
[0015] When the headset is in use, determine whether the user is in a state of exercise;
[0016] If the user is in motion, the earphone box is determined to meet the disinfection conditions.
[0017] In one embodiment, determining whether the user is in a state of motion includes:
[0018] Get the acceleration of the headset within a preset time;
[0019] When the acceleration is greater than a preset acceleration threshold, it is determined that the user is in motion.
[0020] In one embodiment, the determining whether the earphone box meets the disinfection condition further includes:
[0021] Obtain the number of times the user touches the earphone when the earphone is outside the earphone box;
[0022] The number of touches is compared with a preset number threshold. When the number of touches is greater than the preset number threshold, it is determined that the earphone box meets the disinfection conditions.
[0023] In one embodiment, the earphone is an ear clip earphone, and a touch FPC is provided on the ear clip earphone. The touch FPC is used to control the ear clip earphone and can count the number of touches.
[0024] In one embodiment, it also includes: setting the duration and intensity of sterilization and disinfection of the earphone box according to the humidity value and / or the time when the earphone is out of the warehouse.
[0025] In one embodiment, after step 200, the method further includes:
[0026] When the earphone leaves the earphone box, the humidity value in the earphone box is acquired again by the humidity sensor to obtain a second humidity value;
[0027] The second humidity value is compared with a preset humidity threshold value, and when the second humidity value is greater than the preset humidity threshold value, the disinfection device is started again to sterilize and disinfect the inside of the earphone box.
[0028] In one embodiment, before executing step S200, it is pre-determined whether the power of the earphone box meets the working conditions of the disinfection device. If the power meets the working conditions, the disinfection device is started; if the power does not meet the starting conditions, the disinfection device is not started, and the determination result in step S100 is stored.
[0029] In one embodiment, it further comprises:
[0030] When executing step S200, the sterilization and disinfection time of the earphone box is calculated, and the first sterilization and disinfection time is obtained accordingly;
[0031] When the earphone leaves the earphone box, the first disinfection time is compared with a preset disinfection time threshold, and if the first disinfection time is less than the preset disinfection time threshold, a continuing disinfection signal is obtained;
[0032] When the earphone is put back into the earphone box and is in a charging state, the continuing disinfection signal will be triggered to sterilize the earphone box again, and the sterilization time will continue to be counted to obtain the second disinfection time;
[0033] When the sum of the first disinfection time length and the second disinfection time length is greater than the preset disinfection time threshold, the disinfection device is stopped.
[0034] A computer-readable storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps of the above-mentioned method for sterilizing and disinfecting an earphone box.
[0035] An electronic device includes a memory, a processor, and earphone box disinfection program instructions stored in the memory and executable on the processor, wherein the earphone box disinfection program instructions, when executed by the processor, implement the above-mentioned earphone box disinfection method.
[0036] Compared with the prior art, the present invention has obvious advantages and beneficial effects. Specifically, it can be seen from the above technical solution that it mainly uses the design of each step to obtain the time when the earphone is taken out of the box by placing the earphone in the earphone box, cooperates with the humidity sensor to detect the humidity threshold in the earphone box, and judges whether the sterilization and disinfection conditions are met based on the obtained data to realize the automatic disinfection operation of the earphone in the earphone box, thereby improving the intelligence of the earphone box and ensuring the ideal disinfection effect, which is conducive to improving the user experience;
[0037] Secondly, when the earphones are taken out of the earphone box, the humidity sensor can detect again to trigger the disinfection of the earphone box, thereby ensuring the disinfection effect inside the earphone box;
[0038] Furthermore, when the power in the earphone box is insufficient for disinfection, the disinfection device will not start, and the information will be stored, so that when the earphone box has sufficient power, the information of the last disinfection can be provided and the time of this disinfection can be judged to determine the time of this disinfection, and the light intensity and disinfection time of the disinfection device can be adjusted according to different data to further ensure the disinfection effect of the earphone;
[0039] Also, when the earphones are taken out of the earphone box during the disinfection process, the disinfection time after the last time the earphones were taken out is subtracted from the preset disinfection time to obtain the disinfection compensation time, and the disinfection compensation time is added to the current disinfection time to improve the disinfection effect of the earphones in the earphone box. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a flowchart of the method for sterilizing and disinfecting the earphone box of the present invention;
[0041] Figure 2 It is a schematic structural diagram of the ear clip type earphone and the touch FPC of the present invention.
[0042] Description of the accompanying drawings:
[0043] 10. Ear clip earphones; 20. Touch FPC. DETAILED DESCRIPTION
[0044] The specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the description of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] like Figure 1 As shown, this embodiment provides a method for sterilizing and disinfecting an earphone box, comprising the following steps:
[0046] S100, when the earphone is in the earphone box and is in a charging state, determining whether the earphone box meets the disinfection conditions;
[0047] The determining whether the earphone box meets the disinfection conditions includes:
[0048] The humidity value in the earphone box is obtained through the humidity sensor in the earphone box, and the earphone out-of-box time is obtained according to the time period from the last time the earphone is taken out of the earphone box to the time when it is put back;
[0049] The humidity value is compared with a preset humidity threshold, and the time when the earphone is out of the warehouse is compared with a preset threshold. When the humidity value is greater than the preset humidity threshold and / or when the earphone is out of the warehouse time is greater than the preset threshold, it is determined that the earphone box meets the disinfection condition;
[0050] S200: If the earphone box meets the disinfection conditions, start the disinfection device in the earphone box to sterilize and disinfect the earphone box.
[0051] Specifically, when the earphones leave the earphone box and are in the external environment, they are exposed to the outside and are prone to breeding bacteria or attaching bacteria to the earphones. At the same time, when the humidity on the earphones or the earphone box is greater than a certain range, bacteria are also prone to breeding. In particular, the earphone box forms a closed space when it is closed. When the humidity is high, it is a very suitable breeding environment for bacteria. When the earphones are placed in the earphone box, bacteria are easily attached. Therefore, in this embodiment, sterilization and disinfection conditions are set according to the time the earphones leave the box and the humidity of the earphone box. Specifically, when the earphones leave the box, if the time the earphones leave the box is greater than a predetermined threshold, They should be sterilized and disinfected. Therefore, when the earphones are placed in the earphone box and are in a charging state, the earphone box and the earphones are sterilized and disinfected through a disinfection device. At the same time, when it is detected that the humidity value in the earphone box is greater than the preset humidity threshold, it means that the humidity in the earphone box is high and it needs to be sterilized and disinfected. Especially when the user wears the earphones for exercise and the earphones are stuck with sweat, the humidity increases when the earphones are placed in the earphone box. In this case, sterilization and disinfection are even more necessary. Therefore, after it is detected that the humidity value in the earphone box is greater than the preset humidity threshold, the earphone box and the earphones inside are sterilized and disinfected through a disinfection device.
[0052] Therefore, in this embodiment, whether the sterilization and disinfection conditions are met is mainly judged by the time the earphones are out of the box and / or the humidity value in the earphone box, and after the conditions are met, the sterilization and disinfection operation in the earphone box is autonomously started, thereby improving the intelligence level of sterilization and disinfection of the earphone box, and automatically performing sterilization and disinfection operations according to the conditions to ensure the disinfection effect, which is conducive to improving the user experience.
[0053] It is worth mentioning that, in the present embodiment, when the earphones are placed in the earphone box, the charging contacts on the earphones will directly contact the charging contacts on the earphone box, and thereby enter the charging state. When the earphones are charging, the indicator light on the earphones or the earphone box will light up. Therefore, it is possible to determine whether the earphones are in the charging state by detecting the indicator light. Moreover, in the present embodiment, whether the earphones are out of the compartment and the time when the earphones are out of the compartment can be determined based on the turning off and on of the indicator light. For example, when the earphones are put back into the earphone box, when the indicator light lights up, it proves that the earphones start to charge in the earphone box, and then it is determined that the earphones are placed in the earphone box. When the indicator light is off during the process of taking out the earphones, it is determined that the earphones have left the earphone box.
[0054] It is worth noting that the sterilization and disinfection method of this embodiment is basically performed after the earphone box is closed.
[0055] In one embodiment, the determining whether the earphone box meets the disinfection condition further includes:
[0056] Get the last time the earphone was outside the earphone box;
[0057] When the headset is in use, determine whether the user is in a state of exercise;
[0058] If the user is in motion, the earphone box is determined to meet the disinfection conditions.
[0059] Specifically, since the user is prone to sweating when in motion, it is easy for the earphone to be stained with sweat when wearing it at this time. When the earphone is put back into the earphone box, it will affect the cleanliness of the internal environment of the earphone box and increase the humidity in the earphone box. Therefore, in this embodiment, after it is detected that the user is wearing the earphone for exercise, no matter whether the earphone is stained with sweat, the earphone will be sterilized after it is put back into the earphone box, so as to further ensure the cleanliness of the internal environment of the earphone box, specifically as follows: when it is detected that the earphone is outside the earphone box and is in use, and at this time it is detected that the user is in motion, it is judged that at this time, the user is wearing the earphone for exercise. After obtaining the signal, it is determined that the sterilization and disinfection conditions (disinfection conditions) are met, so when the earphone is put back into the earphone box, the earphone and the earphone box will be sterilized.
[0060] How to determine whether the user is in motion includes:
[0061] Get the acceleration of the headset within a preset time;
[0062] When the acceleration is greater than a preset acceleration threshold, it is determined that the user is in motion.
[0063] Specifically, when it is detected that the user is in motion and the earphones are in use, it is determined that the disinfection conditions are met. The current speed of the earphones can be detected by a measuring device inside the earphones, such as an accelerometer or acceleration sensor. If the speed exceeds a certain speed and is within a certain speed range, that is, the acceleration of the earphones is greater than a preset acceleration threshold, it is determined that the user is in motion.
[0064] It is worth mentioning that in the present embodiment, the main purpose is to detect whether the user is in a state of exercise with varying speeds, such as running or cycling, because such exercises make it easy to detect the speed state of the earphones, and thus to easily determine whether the user is in exercise.
[0065] Of course, in other embodiments, GPS positioning can also be used to obtain the user's location in a specific position, such as in a gym, to determine whether the user is in a state of exercise; or when the smart terminal detects that the user is using sports software, such as keep, it is determined that the user is in a state of exercise, etc.
[0066] In one embodiment, the determining whether the earphone box meets the disinfection condition further includes:
[0067] Obtain the number of times the user touches the earphone when the earphone is outside the earphone box;
[0068] The number of touches is compared with a preset number threshold. When the number of touches is greater than the preset number threshold, it is determined that the earphone box meets the disinfection conditions.
[0069] Specifically, when the user uses the earphone, touching and operating the earphone for a long time can easily affect the cleanliness and hygiene of the earphone, and thus cause bacteria to grow on the earphone; therefore, in this embodiment, when the earphone detects the response of the user to the control operation of the touch gesture on the earphone, the number of touches will be counted each time, and when the number of touches detected exceeds the preset number threshold, it is determined that the earphone meets the disinfection conditions, and then the earphone will be sterilized after being placed in the earphone box. Moreover, after disinfection, the previous number of touches will be reset, and then the number of touches will be counted again after the earphone is disinfected.
[0070] Among them, see Figure 2 The earphone of this embodiment is an ear clip earphone 10, and a touch FPC 20 is arranged outside the middle curved structure of the ear clip earphone 10. The ear clip earphone 10 can be operated by touching the FPC 20, such as switching songs, increasing or decreasing the volume, etc., and the number of touches can be counted. Further, the touch FPC 20 can be integrated with a counter to calculate the number of touches. Of course, in other embodiments, the number of touches can also be counted by other methods. For details, please refer to the prior art, which will not be described here.
[0071] In one embodiment, after step 200, the method further includes:
[0072] When the earphone leaves the earphone box, the humidity value in the earphone box is acquired again by the humidity sensor to obtain a second humidity value;
[0073] The second humidity value is compared with a preset humidity threshold value, and when the second humidity value is greater than the preset humidity threshold value, the disinfection device is started again to sterilize and disinfect the inside of the earphone box.
[0074] Specifically, when the earphones are placed in the earphone box, the bottom of the earphones is close to the earphone box. Therefore, during sterilization and disinfection, there may be a part of the earphone structure and the earphone box structure that has not completed sterilization and disinfection. Moreover, after the earphones are taken out, bacteria are likely to remain at the position where the earphones and the earphone box are fitted, affecting the environment of the earphone box, especially when the earphones are stuck with sweat. In addition, even if the earphones are not in the earphone box, the earphone box should be sterilized and disinfected to keep the internal environment clean. In particular, when the user frequently puts the earphones into the earphone box to re-pair (or connect) after a short period of exercise or after exercise due to abnormal connection, the sweat on the earphones can easily get into the earphone box. In this case, when the user takes out the earphones, the charging box may not be disinfected, and the sweat remaining in the charging box is likely to breed bacteria. Therefore, in this embodiment, when the earphone leaves the earphone box, the humidity value inside the earphone box is obtained again through the humidity sensor to obtain a second humidity value; then the second humidity value is compared with the preset humidity threshold, and when the second humidity value is greater than the preset humidity threshold, the disinfection device is started again to sterilize and disinfect the inside of the earphone box; in this way, when the earphone is taken out of the earphone box, the sterilization and disinfection of the earphone box can be triggered again according to the humidity conditions, thereby ensuring that the internal environment of the earphone box is clean.
[0075] In one embodiment, it further includes: setting the duration and intensity of sterilization and disinfection of the earphone box according to the humidity value and / or the time when the earphone is out of the warehouse. In this embodiment, the disinfection device is a UV lamp, which sterilizes and disinfects by emitting ultraviolet rays, but due to different humidity values and different times when the earphone is out of the warehouse, the impact on the bacterial environment will also be different. If the same sterilization intensity and duration are used, it is possible that the same sterilization and disinfection effect cannot be achieved. Therefore, different sterilization modes should be set for different situations. In this embodiment, the illumination intensity and illumination time of the UV lamp are set to several gears, such as three gears, namely the first gear, the second gear, and the third gear. In these three gears, the illumination intensity is enhanced successively, and the working time is enhanced successively, so as to provide different sterilization and disinfection intensities and sterilization and disinfection durations. In the specific application process, each gear corresponds to a range of humidity values and earphone out-of-warehouse time, or the time when the earphone is in motion, and the number of times the earphone is touched. When the humidity value, the earphone out-of-warehouse time, the time when the earphone is in motion, and the number of touches are obtained, check which range the obtained data corresponds to, and then enable the illumination time and illumination intensity of the corresponding gear. In this way, the illumination intensity and disinfection duration of the disinfection device can be started and adjusted according to different data, so as to further ensure the sterilization and disinfection effect of the earphone. Moreover, different gears are set to achieve sterilization and disinfection states of different intensities. In this way, high-intensity disinfection can be avoided when the earphone is not so dirty, thereby generating unnecessary energy consumption.
[0076] Specifically, the light intensity or duration of the first level can be set to a lower level, which is suitable for slight dirt or bacterial contamination in daily use. This level of disinfection can effectively remove most bacteria and viruses while maintaining low energy consumption.
[0077] The second level of light intensity or light duration can be set to a medium level, which is suitable for some dirt or bacterial contamination. This level of disinfection can remove bacteria and viruses more thoroughly, but still maintain moderate energy consumption.
[0078] The third level of light intensity or light duration can be set to a higher level, suitable for severe dirt or bacterial contamination in extreme cases. This level of disinfection can remove bacteria and viruses to the greatest extent, but it will also consume more energy.
[0079] Therefore, by setting different sterilization and disinfection levels, users can choose the appropriate disinfection intensity according to actual needs, which can not only ensure the cleanliness and hygiene of the headphones, but also avoid unnecessary energy waste. This flexible disinfection method provides users with more choices and also improves the efficiency and energy saving of disinfection.
[0080] It is worth noting that the above-mentioned humidity value, the time when the earphone is out of the warehouse, the time when the earphone is in motion, and the number of touches are all separate judgment conditions. When one of the values meets the disinfection condition, the corresponding gear can be activated. When two or more local values meet the disinfection conditions at the same time, such as when one value meets the second gear and the other value meets the third gear, the high-intensity or high-duration gear is preferentially selected to perform the sterilization task. Of course, in other embodiments, there may also be other execution modes.
[0081] In one embodiment, before executing step S200, it is pre-determined whether the power of the earphone box meets the working conditions of the disinfection device. If the power meets the working conditions, the disinfection device is started; if the power does not meet the starting conditions, the disinfection device is not started, and the determination result in step S100 is stored.
[0082] Specifically, when the power in the earphone box is insufficient for disinfection, the disinfection device will not start, and the information will be stored or the user will be reminded. In this way, the disinfection work will be performed after the earphone box has sufficient power, so as to prevent the subsequent work from being affected by insufficient power in the earphone box. In particular, whether the power in the earphone box is sufficient for disinfection can be judged based on the previously recorded data, such as how much power the earphone box needs to complete a disinfection work in the previous work. Based on this power and the comparison with the current remaining power of the earphone box, it can be judged whether the current power of the earphone box is sufficient to perform the next disinfection operation.
[0083] In one embodiment, it further comprises:
[0084] When executing step S200, the sterilization and disinfection time of the earphone box is calculated, and the first sterilization and disinfection time is obtained accordingly;
[0085] When the earphone leaves the earphone box, the first disinfection time is compared with a preset disinfection time threshold, and if the first disinfection time is less than the preset disinfection time threshold, a continuing disinfection signal is obtained;
[0086] When the earphone is put back into the earphone box and is in a charging state, the continuing disinfection signal will be triggered to sterilize the earphone box again, and the sterilization time will continue to be counted to obtain the second disinfection time;
[0087] When the sum of the first disinfection time length and the second disinfection time length is greater than the preset disinfection time threshold, the disinfection device is stopped.
[0088] Specifically, when the earphone is taken out of the earphone box during the disinfection process, the sterilization and disinfection work is interrupted at this time. Therefore, after the earphone is put back into the earphone box, the sterilization and disinfection work should be continued. Therefore, when the earphone is taken out of the earphone box during the disinfection process, the disinfection time of the earphone in the earphone box is obtained, that is, the first disinfection time. If the first disinfection time is less than the preset disinfection time threshold, a continue disinfection signal is obtained, which means that the sterilization and disinfection work needs to be continued later, otherwise it does not need to be continued; after obtaining the continue disinfection signal, when the earphone is put back into the earphone box and is in a charging state, the continue disinfection signal will be triggered to sterilize and disinfect the earphone box again, and the sterilization and disinfection time will continue to be counted, and the second disinfection time will be obtained; when the sum of the first disinfection time and the second disinfection time is greater than the preset disinfection time threshold, it means that the earphone box has completed a sterilization and disinfection operation, and the disinfection device can be stopped. Therefore, in this embodiment, when the earphones are taken out of the earphone box during the disinfection process, the disinfection time after the last time the earphones were taken out (the first disinfection time) is subtracted from the preset disinfection time threshold to obtain the disinfection compensation time (the second disinfection time). Based on the first disinfection time and the second disinfection time, it is ensured that the disinfection time of the earphones and the earphone box meets a complete sterilization work, thereby ensuring the sterilization effect.
[0089] In one embodiment, after the sterilization and disinfection work is completed, a prompt message will be issued to remind the user that the work is completed, such as a prompt sound or a prompt light is set on the earphone box to remind the user that the sterilization and disinfection work has been completed. In addition, a disinfection reminder message can also be set. When the earphone box has not been disinfected for a period of time and the time is greater than a preset time threshold, a signal is issued to remind the user how long the earphone has not been sterilized.
[0090] In one embodiment, after the sterilization operation is performed, the sterilization work information will be stored, such as in the internal memory of the earphone box or in an external electronic device.
[0091] In one embodiment, the sterilization and disinfection of the earphone box can be operated through a control panel on the earphone box or an external electronic device. At the same time, the user can view data such as the time when the earphone is taken out of the box and the humidity value of the earphone box through the control panel on the earphone box or the panel on the electronic device, and control the operation of the disinfection device. In this way, the user can view the working information inside the earphone box, and according to the specific data, the user can control or set the corresponding disinfection time and understand the disinfection status of the earphone box, thereby ensuring the sterilization and disinfection effect of the earphone in the earphone box.
[0092] The present application also provides a computer-readable storage medium storing a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps of the above-mentioned method for sterilizing and disinfecting an earphone box.
[0093] The present application also provides an electronic device, including a memory, a processor, and earphone box disinfection program instructions stored in the memory and executable on the processor, wherein the earphone box disinfection program instructions implement the above-mentioned earphone box sterilization method when executed by the processor.
[0094] In one embodiment, the processor may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor is generally used to control the overall operation of the electronic device. In this embodiment, the processor is used to run the program code stored in the readable storage medium or process data.
[0095] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a readable storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
Claims
1. A method for sterilizing and disinfecting an earphone box, characterized in that: The following steps are involved: S100, when the earphone is in the earphone box and is in a charging state, determining whether the earphone box meets the disinfection conditions; The determining whether the earphone box meets the disinfection conditions includes: The humidity value in the earphone box is obtained through the humidity sensor in the earphone box, and the earphone out-of-box time is obtained according to the time period from the last time the earphone is taken out of the earphone box to the time when it is put back; The humidity value is compared with a preset humidity threshold, and the time when the earphone is out of the warehouse is compared with a preset threshold. When the humidity value is greater than the preset humidity threshold and / or when the earphone is out of the warehouse time is greater than the preset threshold, it is determined that the earphone box meets the disinfection condition; S200: If the earphone box meets the disinfection conditions, start the disinfection device in the earphone box to sterilize and disinfect the earphone box.
2. The method for sterilizing and disinfecting an earphone box according to claim 1, characterized in that: The step of determining whether the earphone box meets the disinfection conditions also includes: Get the last time the earphone was outside the earphone box; When the headset is in use, determine whether the user is in a state of exercise; If the user is in motion, the earphone box is determined to meet the disinfection conditions.
3. The method for sterilizing and disinfecting an earphone box according to claim 2, characterized in that: The step of determining whether the user is in a state of motion comprises: Get the acceleration of the headset within a preset time; When the acceleration is greater than a preset acceleration threshold, it is determined that the user is in motion.
4. The method for sterilizing and disinfecting an earphone box according to claim 1, characterized in that: The step of determining whether the earphone box meets the disinfection conditions also includes: Obtain the number of times the user touches the earphone when the earphone is outside the earphone box; The number of touches is compared with a preset number threshold. When the number of touches is greater than the preset number threshold, it is determined that the earphone box meets the disinfection conditions.
5. The method for sterilizing and disinfecting an earphone box according to claim 4, characterized in that: The earphone is an ear clip earphone, and a touch FPC is arranged on the ear clip earphone. The touch FPC is used to control the ear clip earphone and can count the number of touches.
6. A method for sterilizing and disinfecting an earphone box according to any one of claims 1 to 4, characterized in that: Also includes: The duration and intensity of sterilization and disinfection of the earphone box are set according to the humidity value and / or the time when the earphone is out of the warehouse.
7. The method for sterilizing and disinfecting an earphone box according to claim 1, characterized in that: After step 200, the method further includes: When the earphone leaves the earphone box, the humidity value in the earphone box is acquired again by the humidity sensor to obtain a second humidity value; The second humidity value is compared with a preset humidity threshold value, and when the second humidity value is greater than the preset humidity threshold value, the disinfection device is started again to sterilize and disinfect the inside of the earphone box.
8. The method for sterilizing and disinfecting an earphone box according to claim 1, characterized in that: Also includes: When executing step S200, the sterilization and disinfection time of the earphone box is calculated, and the first sterilization and disinfection time is obtained accordingly; When the earphone leaves the earphone box, the first disinfection time is compared with a preset disinfection time threshold, and if the first disinfection time is less than the preset disinfection time threshold, a continuing disinfection signal is obtained; When the earphone is put back into the earphone box and is in a charging state, the continuing disinfection signal will be triggered to sterilize the earphone box again, and the sterilization time will continue to be counted to obtain the second disinfection time; When the sum of the first disinfection time length and the second disinfection time length is greater than the preset disinfection time threshold, the disinfection device is stopped.
9. A computer-readable storage medium, characterized in that: A plurality of instructions are stored, and the instructions are suitable for being loaded by a processor and executing the steps of the method for sterilizing and disinfecting an earphone box according to any one of claims 1 to 8.
10. An electronic device, characterized in that: The invention comprises a memory, a processor and a disinfection program instruction of an earphone box which is stored in the memory and can be run on the processor. When the disinfection program instruction of the earphone box is executed by the processor, the sterilization method of the earphone box as claimed in any one of claims 1 to 8 is implemented.