Disinfection cabinet warning tone control method
By detecting the disinfection completion time and environmental brightness parameters of the disinfection cabinet, dynamically adjusting the prompt volume, solving the problem of the evening prompt sound of the disinfection cabinet interfering with users' rest, and achieving a better user experience.
Patent Information
- Application Number
- CN202411494635.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-10-24
AI Technical Summary
The prompt sound generated by the disinfection cabinet after the work is completed at night will affect the user's rest and cause noise interference.
By detecting the disinfection completion time and environmental brightness parameters of the disinfection cabinet, dynamically adjust the prompt volume. If the environmental brightness is low, the prompt information will be transmitted to the mobile terminal to avoid noise interference. If the brightness is high, the prompt information of the appropriate volume will be output.
It effectively avoids the interference of the sterilization cabinet prompt sound on users' rest and improves the user experience.
Smart Images

Figure CN119091548A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of disinfection cabinet control, and in particular to a control method, device, electronic equipment and storage medium for the prompt sound of a disinfection cabinet. Background Art
[0002] Disinfection cabinets are essential appliances in every home kitchen. According to the sterilization factor, they are mainly divided into ozone disinfection cabinets and electric disinfection cabinets. After finishing their meal, users wash and drain the dishes and put them into the disinfection cabinet for disinfection and drying. Usually, disinfection work is carried out after dinner, and the disinfection time is about 1 to 2 hours. When the disinfection is completed, there will be a work completion prompt sound. At night, the external noise is relatively small, and the disinfection cabinet work completion prompt sound is relatively loud, which will affect the user's normal rest. Summary of the invention
[0003] In view of this, an object of the present invention is to provide a method and device for controlling the prompt sound of a disinfection cabinet, and an electronic device and storage medium.
[0004] In a first aspect, an embodiment of the present invention provides a method for controlling a prompt sound of a disinfection cabinet, the method comprising:
[0005] Determine the current work scenario based on the disinfection completion time;
[0006] Determine whether the current working scene is an adjustment working scene;
[0007] If yes, get the current environment brightness parameter;
[0008] Control the disinfection cabinet to output prompt information at the prompt volume corresponding to the current environment brightness parameter.
[0009] In combination with the first aspect, the step of determining the current working scene based on the disinfection completion time includes:
[0010] Get the disinfection completion time of the disinfection cabinet;
[0011] Based on the comparison between the disinfection completion time and the preset time threshold, the current working scene is determined, and the working scenes include the initial working scene and the adjusted working scene.
[0012] In combination with the first aspect, the step of controlling the disinfection cabinet to output a prompt message at a prompt volume corresponding to the current environment brightness parameter includes:
[0013] If N≥N1, control the disinfection cabinet to output the prompt information at the first volume;
[0014] If N2<N<N1, control the disinfection cabinet to output the prompt information at the second volume;
[0015] If N≤N2, the disinfection cabinet is controlled to transmit the prompt information to the mobile terminal;
[0016] Wherein, N1 is a preset first brightness threshold, N2 is a preset second brightness threshold, N2<N1, and the second volume is less than the first volume and less than the set volume.
[0017] In combination with the first aspect, before the step of determining the current working scene based on the disinfection completion time, the method further includes:
[0018] In response to the disinfection instruction, controlling the disinfection cabinet to operate in an operation mode corresponding to the disinfection instruction;
[0019] Get the external environment brightness value when the disinfection cabinet is disinfected for the first time;
[0020] Calculating a first brightness threshold value according to the product of the external environment brightness value and the first coefficient, and calculating a second brightness threshold value according to the product of the external environment brightness value and the second coefficient;
[0021] The first brightness threshold and the second brightness threshold are stored.
[0022] In combination with the first aspect, before the step of obtaining the disinfection completion time of the disinfection cabinet, the method further includes:
[0023] Get the current location information of the disinfection cabinet;
[0024] Get the sunrise time, sunset time and next day's sunrise time corresponding to the current location information;
[0025] The sunrise time is determined as the first time threshold, the sunset time is determined as the second time threshold, and the sunrise time of the next day is determined as the third time threshold.
[0026] In combination with the first aspect, the current environment brightness parameter includes living room brightness and / or bedroom brightness;
[0027] The step of controlling the disinfection cabinet to output a prompt message at a prompt volume corresponding to the current environment brightness parameter includes:
[0028] If the brightness of the living room and the bedroom are both lower than the preset brightness threshold, the disinfection cabinet is controlled to transmit a prompt message to the mobile terminal;
[0029] If the brightness of the living room and / or the bedroom is greater than or equal to a preset brightness threshold, the disinfection cabinet is controlled to output a prompt message at a target prompt volume.
[0030] In combination with the first aspect, if the brightness of the living room and / or the brightness of the bedroom are both greater than or equal to a preset brightness threshold, controlling the disinfection cabinet to output a prompt message at a target prompt volume, the steps include:
[0031] If the brightness of the living room is greater than or equal to a preset brightness threshold, the disinfection cabinet is controlled to output a prompt message at a third prompt volume;
[0032] If the brightness of the living room is less than the preset brightness threshold, and the brightness of the bedroom is greater than or equal to the preset brightness threshold, the disinfection cabinet is controlled to output a prompt message at a fourth prompt volume;
[0033] The fourth prompt volume is smaller than the third prompt volume.
[0034] In a second aspect, the present application provides a control device for a prompt sound of a disinfection cabinet, the device comprising:
[0035] A determination module determines the current working scenario based on the disinfection completion time;
[0036] A judgment module, used to judge whether the current working scene is an adjustment working scene;
[0037] An acquisition module, used to acquire current environment brightness parameters when the current working scene is an adjustment working scene;
[0038] The second control module is used to control the disinfection cabinet to output prompt information at a prompt volume corresponding to the current environmental brightness parameter.
[0039] In a third aspect, the present application provides an electronic device, which includes a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the above method.
[0040] In a fourth aspect, the present application provides a readable storage medium, in which computer program instructions are stored. When the computer program instructions are read and executed by a processor, the above method is executed.
[0041] The embodiments of the present invention bring the following beneficial effects: the control method, device, electronic device and storage medium of the disinfection cabinet prompt sound provided in the present application, the method comprising: determining the current working scene based on the disinfection completion time; judging whether the current working scene is an adjustment working scene; if so, obtaining the current environment brightness parameter; controlling the disinfection cabinet to output prompt information at a prompt volume corresponding to the current environment brightness parameter.
[0042] This application determines the work scene based on the disinfection completion time. If it is the initial work scene, the prompt information is output normally. If it is a target adjustment work scene that requires adjustment of the prompt volume, the prompt information output volume is determined based on the current ambient brightness parameters to output prompt information of different volumes for different usage environments to avoid disturbing the user's rest and improve the user experience.
[0043] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0044] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0046] Figure 1 A schematic diagram of the external structure of a disinfection cabinet provided in an embodiment of the present invention;
[0047] Figure 2 A schematic diagram of the internal structure of a disinfection cabinet provided by an embodiment of the present invention;
[0048] Figure 3 A schematic diagram of a partial structure of a disinfection cabinet provided in an embodiment of the present invention;
[0049] Figure 4 A flow chart of a method for controlling the prompt sound of a disinfection cabinet provided in an embodiment of the present invention;
[0050] Figure 5 A specific control flow chart of the disinfection cabinet prompt sound provided in 1 is provided for the embodiment of the present invention;
[0051] Figure 6 A specific control flow chart of the disinfection cabinet prompt sound provided in 2 is provided for the embodiment of the present invention;
[0052] Figure 7 A schematic diagram of the structure of a control device for the prompt sound of a disinfection cabinet provided in an embodiment of the present invention;
[0053] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0054] Reference numerals:
[0055] 1-cabinet, 11-disinfection inner cavity, 12-upper door assembly, 13-lower door assembly, 14-handle, 2-disinfection assembly, 21-upper UV lamp, 22-lower UV lamp, 3-control panel, 31-control panel glass, 32-keyboard seat, 33-keyboard, 4-electrical installation board, 5-power board, 6-WIFI module, 7-light sensor;
[0056] 10-determination module, 20-judgment module, 30-acquisition module, 40-control module;
[0057] 130 - processor, 131 - memory, 132 - bus, 133 - communication interface. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0059] In order to facilitate the understanding of this embodiment, the application scenarios and design concepts of the embodiments of the present application are briefly introduced below.
[0060] Usually, after the disinfection work of the disinfection cabinet is completed, there will be a work completion prompt sound. At night, when the external noise is relatively small, the disinfection cabinet work completion prompt sound will appear relatively loud, which will affect the user's normal rest.
[0061] Based on this, the embodiment of the present application provides a method, device, electronic device, and storage medium for controlling the prompt sound of a disinfection cabinet, and the method is applied to the control unit of the disinfection cabinet. Figure 1 As shown, the disinfection cabinet comprises: a cabinet body 1, a disinfection inner cavity 11 is provided in the cabinet body 1, an upper door assembly 12 and a lower door assembly 13 are slidably connected to the disinfection inner cavity 11 (for example, a slide rail is provided on the inner wall of the cabinet body 1, and a slider is provided on the outer side of the upper bracket connected to the upper door in the upper door assembly 12, and the sliding connection between the upper door assembly 12 and the disinfection inner cavity 11 is realized through the movable connection between the slide rail and the slider), and a handle 14 is provided on the upper door assembly 12 and the lower door assembly 13, and the handle 14 is pulled outward to open the upper door assembly 12 and / or the lower door assembly 13. Figure 2 As shown, the disinfection inner cavity 11 of the disinfection cabinet is also provided with a disinfection component 2, such as an upper ultraviolet lamp 21 and a lower ultraviolet lamp 22, which are respectively connected to a control unit, and the control unit is also connected to a control panel 3 provided on the cabinet body 1. Figure 3 As shown, the control panel 3 includes a control panel glass 31, a keypad seat 32 for mounting the control panel glass 31, and a keypad 33 disposed between the keypad seat 32 and the control panel glass 31. The user touches or presses the control panel glass 31 to apply a pressing force to the keys on the keypad 33 to send a control signal to the control unit to control the disinfection cabinet to execute a corresponding disinfection mode. Figure 3As shown, in the present application, a WIFI module 6 is also included, and the WIFI module 6 is connected to the wireless network in the environment where the disinfection cabinet is located to communicate with the external mobile terminal and the network. In this embodiment, an electrical installation board 4 and a power board 5 are provided on the upper part of the cabinet 1. The power board 5 is installed on the electrical installation board 4. The power board 5 provides power to the key board 33 and its load through a connecting line to provide the disinfection cabinet with the energy required for operation. A light sensor 7 is also provided on the control panel 3 of the disinfection cabinet to detect the brightness parameters of the external environment of the disinfection cabinet. The light sensor 7 is connected to the control unit in the disinfection cabinet.
[0062] It is understandable that the location of the optical sensor 7 and the WIFI module 6 can also be changed according to actual use requirements, which is only an example and not limited here. A door lock, such as an electromagnetic lock, a mechanical lock, etc., can also be set in the disinfection cabinet, and a heating component can also be set to heat and dry the disinfected tableware.
[0063] Example 1
[0064] The present application provides a method for controlling the prompt sound of a disinfection cabinet. Figure 4 , the method comprising:
[0065] S110, determining the current working scene based on the disinfection completion time.
[0066] S120, determining whether the current working scene is an adjustment working scene.
[0067] If so, execute steps S130-S140.
[0068] S130: If yes, obtain the current environment brightness parameter.
[0069] S140, controlling the disinfection cabinet to output prompt information at a prompt volume corresponding to the current environment brightness parameter.
[0070] This application determines the work scene based on the disinfection completion time. If it is the initial work scene, the prompt information is output normally. If it is a target adjustment work scene that requires adjustment of the prompt volume, the prompt information output volume is determined based on the current ambient brightness parameters to output prompt information of different volumes for different usage environments to avoid disturbing the user's rest and improve the user experience.
[0071] In combination with the first aspect, step S110 includes:
[0072] S111, obtaining the disinfection completion time of the disinfection cabinet;
[0073] S112, determining the current working scene according to the comparison relationship between the disinfection completion time and the preset time threshold, where the working scene includes the initial working scene and the adjusted working scene.
[0074] There are multiple ways to determine the disinfection completion time in step S111.
[0075] As an implementable method, the disinfection completion time can be determined by the control unit based on the user starting the disinfection mode and the disinfection time corresponding to the disinfection mode. For example, the user starts the disinfection mode at 10:08, and the preset disinfection time of the disinfection mode is 55 minutes. Then the disinfection completion time should be 10:08 plus the time after 55 minutes, that is, 11:03.
[0076] As another feasible method, the disinfection completion time can be determined by the control unit based on the current time and the duration of the disinfection to be executed corresponding to the disinfection mode. For example, if the current time is 18:00 and the disinfection mode is started, and the duration of the disinfection to be executed corresponding to the disinfection mode is 25 minutes, then the disinfection completion time should be 18:00 plus the time after 25 minutes, that is, 18:25.
[0077] As another feasible method, the disinfection completion time can be obtained by obtaining the standard time a few minutes before the completion of the currently executed disinfection mode, and then summing the standard time with the remaining execution time. For example, the disinfection mode execution time is preset to be 110 minutes in total, and the standard time is obtained when 100 minutes have been executed and 10 minutes have not been executed. At this time, the standard time is 21:45, so the disinfection completion time should be 21:45 plus 10 minutes, that is, 21:55. Among them, the method of obtaining the standard time is that the control unit controls the WIFI module 6 to establish a communication connection with the external wireless network of the disinfection cabinet, obtains the local standard time through the Internet, and then calculates and determines the disinfection completion time. In this embodiment, this method is used to determine the disinfection completion time. Compared with the above two methods, it adapts to the local time and is conducive to improving the rationality and reliability of control.
[0078] The working scene in step S112 includes an initial working scene and an adjusted working scene. Specifically, in this embodiment, there are three preset time thresholds, namely 8:00 am, 18:00 pm and 8:00 am of the current date.
[0079] If the complete disinfection time t is between 8:00 am and 18:00 pm on the current date, this period is daytime and the external noise is relatively high. The disinfection cabinet can emit a prompt sound at a normal volume to output prompt information after performing disinfection or other functions, which will not affect the user's rest. Therefore, the volume of the prompt sound of the disinfection cabinet does not need to be adjusted during this period, and the current working scene is the initial working scene.
[0080] If the disinfection completion time t is between 18:00 in the afternoon and 8:00 in the morning of the next day, this period is night and early morning, and the user is eating or watching TV or doing other entertainment after eating, or has rested. Therefore, the volume of the reminder sound of the disinfection cabinet during this period needs to be adjusted according to the user's activities, and the current working scene is to adjust the working scene.
[0081] It can be understood that the above time threshold can be adjusted as needed within a set amplitude range, which is only an example and not limiting.
[0082] When the current working scene is the initial working scene, it means that there is no need to adjust the prompt volume at this time, and the disinfection cabinet can be controlled to output at the preset volume. When the current working scene is used as the target to adjust the working scene, targeted adjustments need to be made. In this application, adjustments are made based on the current ambient brightness parameters.
[0083] Step S140 includes:
[0084] S141, if N≥N1, control the disinfection cabinet to output prompt information at the first volume.
[0085] S142: If N2≤N<N1, control the disinfection cabinet to output the prompt information at the second volume.
[0086] S143, if N<N2, control the disinfection cabinet to transmit the prompt information to the mobile terminal.
[0087] Among them, N2<N1, the second volume is smaller than the first volume and smaller than the set volume.
[0088] It can be understood that when the current ambient brightness is greater than the set larger first brightness threshold (i.e., N≥N1), it means that the ambient brightness value is high, which means that the kitchen lights or the lights in the room adjacent to the kitchen are on, which means that it is very likely that the user is nearby and the user is not resting. Therefore, voice prompts can be given, and because it is night or early morning, the volume should be adaptively lowered.
[0089] When the current environment brightness is greater than the set smaller second brightness threshold and less than the larger first brightness threshold (i.e., N2<N<N1), it means that the environment brightness value is not too low, but relatively low. At this time, it means that the lights in the room far away from the kitchen are on, that is, the user is relatively far away from the kitchen, for example, the user is watching TV or doing other entertainment activities in the living room, and the volume should be further reduced.
[0090] When the current ambient brightness is less than or equal to the set smaller second brightness (i.e., N ≤ N2), it indicates that the ambient brightness value is too low. At this time, it means that the lights are dim, the lights in the kitchen and the rooms far from the kitchen are not turned on, and the user is not near the kitchen. It is very likely that the user is resting. At this time, in order to avoid disturbing the user with a prompt sound, after the disinfection work is completed, no prompt sound is emitted, but the prompt information is transmitted to the mobile terminal in the form of text or graphics through the WIFI module 6 and the wireless network.
[0091] Combined with the first aspect, before step S110, it includes:
[0092] S010, in response to the disinfection instruction, control the disinfection cabinet to operate in the operation mode corresponding to the disinfection instruction.
[0093] S020, obtain the external ambient brightness value when the disinfection cabinet disinfects for the first time.
[0094] S030, calculate the first brightness threshold according to the product of the external ambient brightness value and the first coefficient, and calculate the second brightness threshold according to the product of the external ambient brightness value and the second coefficient;
[0095] S040, store the first brightness threshold and the second brightness threshold.
[0096] Among them, N0 is the external ambient brightness value, which is the brightness value around the disinfection cabinet detected by the light sensor when the disinfection cabinet works for the first time in this embodiment. The first brightness threshold N1 = N0 × 60%; the second brightness threshold N2 = N0 × 20%.
[0097] Combined Figure 5 As shown, in this embodiment, an example of a method for controlling the prompt sound of a disinfection cabinet is provided. When the user puts in parameters and closes the upper door assembly 12 and the lower door assembly 13 of the disinfection cabinet, the disinfection control instruction is input by pressing or touching the function key. At this time, the external ambient brightness value N0 when the disinfection cabinet disinfects for the first time is recorded. Then, 1 minute before the disinfection is completed, the standard time is obtained to calculate the disinfection completion time t. If the current date is 8:00 ≤ t ≤ 18:00 in the morning, it is determined as the initial working scenario, and the disinfection cabinet is controlled to output the prompt information at the set volume; if 18:00 < t < 8:00 the next morning, the current ambient brightness parameter N is obtained. If N ≥ N1, the disinfection cabinet is controlled to output the prompt information at the set volume × 0.5; if N2 ≤ N < N1, the disinfection cabinet is controlled to Output the prompt information; if N < N2, the disinfection cabinet is muted and the prompt information is transmitted to the mobile terminal through the WIFI module 6.
[0098] Embodiment 2
[0099] Before step S111, it also includes:
[0100] S011, obtaining the current location information of the disinfection cabinet.
[0101] S011, obtaining the sunrise time, sunset time and next day's sunrise time corresponding to the current location information;
[0102] S011, determine the sunrise time as the first time threshold, determine the sunset time as the second time threshold, and determine the sunrise time of the next day as the third time threshold.
[0103] In this embodiment, the time threshold is the sunrise time, sunset time and next day sunrise time corresponding to the location information determined after the location information is queried through the network, rather than being fixed to a preset value.
[0104] It is understandable that the period between the sunrise and sunset of the current date should be daytime, and the period between sunset and the sunrise of the next day should be night and early morning. Since the sunrise and sunset times of different geographical locations are different, this method fully considers the location information, which is conducive to improving the reliability and effectiveness of the equipment.
[0105] In this embodiment, the current environment brightness parameter includes the living room brightness and / or the bedroom brightness.
[0106] Step S140 includes:
[0107] S144, if the brightness of the living room and the bedroom are both less than the preset brightness threshold, the disinfection cabinet is controlled to transmit a prompt message to the mobile terminal.
[0108] S145, if the brightness of the living room and / or the bedroom is greater than or equal to a preset brightness threshold, control the disinfection cabinet to output a prompt message at a target prompt volume.
[0109] In this embodiment, a more intuitive monitoring method is adopted compared to embodiment 1. By obtaining the brightness of the living room and the bedroom, the user's activity and activity range are determined. It can be understood that when step S144 is performed, the user's activity is not obvious, the lights in the bedroom and the living room are not on, and the user is likely to have rested. At this time, the sound is muted and the prompt information is transmitted to the mobile terminal in the form of text or graphics to avoid the impact of the prompt sound on the user and improve the user experience. When step S145 is performed, the user is active in the living room and / or bedroom, and the output volume can be further adjusted according to the specific situation.
[0110] Step S145 includes:
[0111] S1421, if the brightness of the living room is greater than or equal to the preset brightness threshold, control the disinfection cabinet to output a prompt message at a third prompt volume.
[0112] S1422, if the brightness of the living room is less than the preset brightness threshold, and the brightness of the bedroom is greater than or equal to the preset brightness threshold, control the disinfection cabinet to output a prompt message at a fourth prompt volume;
[0113] The fourth prompt volume is smaller than the third prompt volume.
[0114] In step S1421, it is detected that there is light in the living room and there is light or no light in the bedroom, which means that the user has not rested yet and is still active in the living room. After the disinfection (or other functions) work is completed, the completion prompt sound is normally issued. Because the external noise is small at night, in this embodiment, the prompt information is output at the third prompt volume, and the third prompt volume = the first prompt volume = the set volume × 0.5.
[0115] In step S1422, it is detected that there is no light in the living room but there is light in the bedroom, indicating that the user has not rested in the bedroom. In this embodiment, the prompt information is output at the fourth prompt volume.
[0116] Combination Figure 6 As shown, after the user puts the tableware into the disinfection cabinet and presses or touches the function key for disinfection, the sunrise time, sunset time and sunrise time of the next day corresponding to the current date of the current location information are obtained before the disinfection is completed. When the disinfection completion time t is between the sunrise time and the sunset time of the current date, it is determined as the initial working scene, and the disinfection cabinet is controlled to set the volume to output prompt information; when the disinfection completion time t is between the sunset time and the sunrise time of the next day, it is determined as the target adjustment working scene. At this time, the brightness parameters of the living room and bedroom are detected, and the output volume is adjusted according to the brightness parameters of the living room and bedroom.
[0117] In a second aspect, the present application provides a control device for the prompt sound of a disinfection cabinet, Figure 7 As shown, the device includes: a determination module 10, a judgment module 20, an acquisition module 30 and a control module 40.
[0118] The determination module 10 determines the current working scene based on the disinfection completion time.
[0119] The judging module 20 is used to judge whether the current working scene is an adjustment working scene.
[0120] The acquisition module 30 is used to acquire the current environment brightness parameter when the current working scene is an adjustment working scene.
[0121] The control module 40 is used to control the disinfection cabinet to output prompt information at a prompt volume corresponding to the current environment brightness parameter.
[0122] In a third aspect, the present application provides an electronic device, Figure 8As shown, the electronic device includes a memory 131 and a processor 130. The memory 131 is used to store computer programs, and the processor 130 runs the computer programs to enable the electronic device to perform the above method.
[0123] Furthermore, combined with Figure 8 The electronic device shown further includes a bus 132 and a communication interface 133 , and the processor 130 , the communication interface 133 and the memory 131 are connected via the bus 132 .
[0124] The memory 131 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 133 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 132 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0125] The processor 130 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 130. The above processor 130 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 131, and the processor 130 reads the information in the memory 131 and completes the steps of the method of the above embodiment in combination with its hardware.
[0126] In a fourth aspect, an embodiment of the present application provides a readable storage medium, in which computer program instructions are stored. When the computer program instructions are read and executed by a processor, the above method is executed.
[0127] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0128] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0129] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0130] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0131] Finally, it should be noted that the above embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for controlling the prompt sound of a disinfection cabinet, characterized in that: The method comprises: Determine the current work scenario based on the disinfection completion time; Determine whether the current working scene is an adjustment working scene; If yes, get the current environment brightness parameter; The disinfection cabinet is controlled to output prompt information at a prompt volume corresponding to the current environment brightness parameter.
2. The method according to claim 1, characterized in that The steps for determining the current working scenario based on the disinfection completion time include: Obtaining the disinfection completion time of the disinfection cabinet; According to the comparison relationship between the disinfection completion time and the preset time threshold, the current working scene is determined, and the working scene includes an initial working scene and an adjusted working scene.
3. The method according to claim 2, characterized in that The step of controlling the disinfection cabinet to output prompt information at a prompt volume corresponding to the current environment brightness parameter comprises: If N≥N1, control the disinfection cabinet to output the prompt information at the first volume; If N2<N<N1, control the disinfection cabinet to output the prompt information at the second volume; If N≤N2, the disinfection cabinet is controlled to transmit the prompt information to the mobile terminal; Among them, N1 is a preset first brightness threshold, N2 is a preset second brightness threshold, N2<N1, and the second volume is smaller than the first volume and smaller than the set volume.
4. The method according to claim 3, characterized in that Before the step of determining the current working scenario based on the disinfection completion time, it also includes: In response to the disinfection instruction, controlling the disinfection cabinet to operate in an operation mode corresponding to the disinfection instruction; Obtaining the external environment brightness value when the disinfection cabinet is disinfected for the first time; Calculating the first brightness threshold according to the product of the external environment brightness value and the first coefficient, and calculating the second brightness threshold according to the product of the external environment brightness value and the second coefficient; The first brightness threshold and the second brightness threshold are stored.
5. The method according to claim 1, characterized in that Before the step of obtaining the disinfection completion time of the disinfection cabinet, it also includes: Obtaining the current location information of the disinfection cabinet; Obtain the sunrise time, sunset time and next day sunrise time corresponding to the current location information; The sunrise time is determined as the first time threshold, the sunset time is determined as the second time threshold, and the sunrise time of the next day is determined as the third time threshold.
6. The method according to claim 5, characterized in that The current environment brightness parameter includes living room brightness and / or bedroom brightness; The step of controlling the disinfection cabinet to output prompt information at a prompt volume corresponding to the current environment brightness parameter comprises: If the brightness of the living room and the brightness of the bedroom are both less than a preset brightness threshold, the disinfection cabinet is controlled to transmit a prompt message to the mobile terminal; If the brightness of the living room and / or the brightness of the bedroom is greater than or equal to a preset brightness threshold, the disinfection cabinet is controlled to output a prompt message at a target prompt volume.
7. The method according to claim 6, characterized in that If the brightness of the living room and / or the brightness of the bedroom are both greater than or equal to a preset brightness threshold, controlling the disinfection cabinet to output a prompt message at a target prompt volume, the steps include: If the brightness of the living room is greater than or equal to a preset brightness threshold, control the disinfection cabinet to output a prompt message at a third prompt volume; If the brightness of the living room is less than a preset brightness threshold, and the brightness of the bedroom is greater than or equal to the preset brightness threshold, the disinfection cabinet is controlled to output a prompt message at a fourth prompt volume; The fourth prompt volume is smaller than the third prompt volume.
8. A control device for the prompt sound of a disinfection cabinet, characterized in that: The device comprises: A determination module determines the current working scenario based on the disinfection completion time; A judgment module, used to judge whether the current working scene is an adjustment working scene; An acquisition module, used to acquire current environment brightness parameters when the current working scene is an adjustment working scene; The control module is used to control the disinfection cabinet to output prompt information at a prompt volume corresponding to the current environmental brightness parameter.
9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to perform the method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores computer program instructions, and when the computer program instructions are read and executed by a processor, the method according to any one of claims 1 to 7 is executed.
Citation Information
Patent Citations
Buzzer volume control method and control system
CN104579247A
Volume adjusting method and apparatus, storage medium and terminal device
CN107508986A
Household electrical appliance and control device and method thereof
CN107942694A
Prompt tone control method and device, clothes processing equipment and storage medium
CN114622371A
Reminding method, intelligent terminal and storage medium
CN115022457A
