Disinfection device control method and device
By setting a partition and multiple sub -cavity in the disinfection cabinet, combined with UV sterilization and infrared heating technology, according to the opening time and the operation of the dynamic control of the sterilization institution, the family kitchen disinfection cabinet has low efficiency of bacteria entry and single strategy when opening doors. The problem has achieved efficient sterilization disinfection and energy optimization.
Patent Information
- Application Number
- CN202411326196.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2025-01-21
AI Technical Summary
Home kitchen disinfection cabinets are prone to bacteria entering when opening the door, and a single disinfection strategy is difficult to effectively sterilize the door at different opening hours and distances, which are prone to incomplete disinfection or excessive disinfection leading to energy waste.
Set a partition in the disinfection device to divide the space into multiple sub -cavity. Each sub -cavity is equipped with UV sterilization mechanism and infrared heating mechanism. By obtaining the current status, opening length and opening distance of the door control switch Time to meet the sterilization needs of different bacteria.
Actified sterilization disinfection under different door opening conditions, ensuring the improvement of the sterilization effect and the effective use of energy, and avoiding incomplete or excessive disinfecting.
Smart Images

Figure CN119326921A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electrical appliance control, and in particular to a disinfection device control method and device. Background Art
[0002] A disinfection cabinet is a tool that uses ultraviolet rays, far infrared rays, high temperature, ozone, etc. to dry, sterilize, and keep warm and dehumidify items such as tableware, cutlery, towels, clothing, beauty and hairdressing supplies, and medical equipment. It is generally cabinet-shaped, with most of the cabinet body made of stainless steel, and the panels are made of tempered glass or stainless steel.
[0003] At present, when disinfection cabinets are used in home kitchens, bacteria in the air will enter the disinfection cabinet cavity when the door is opened. The door is opened many times a day to get tableware from the disinfection cabinet, which will cause environmental pollution in the cavity. The total amount of bacteria entering the disinfection cabinet cavity varies with the cabinet door opened, the door opening time, and the door opening distance. If a single disinfection strategy is used, it is easy to cause incomplete bacterial disinfection or excessive disinfection, resulting in energy waste. Summary of the invention
[0004] In view of this, an object of the present invention is to provide a disinfection device control method, device, electronic device, and storage medium.
[0005] In a first aspect, an embodiment of the present invention provides a method for controlling a disinfection device, which is applied to a control unit of the disinfection device; a partition is provided in the disinfection device, and the partition is used to divide the space in the disinfection device into at least two sub-cavities along the height direction, and each sub-cavity is provided with an ultraviolet sterilization mechanism and an infrared heating mechanism; the method comprises:
[0006] For each sub-cavity, obtain the current state of the gate switch in the sub-cavity;
[0007] If the current state is disconnected, obtain the corresponding door opening time of the sub-cavity;
[0008] Determine whether the door opening time is greater than the set threshold;
[0009] If yes, obtain the door opening distance corresponding to the sub-cavity;
[0010] After the current state of the door control switch is switched to the open state for a set time, the operation of the ultraviolet disinfection mechanism is controlled according to the comparison relationship between the door opening distance and the preset distance threshold.
[0011] In combination with the first aspect, the step of controlling the operation of the ultraviolet sterilization mechanism according to the comparison relationship between the door opening distance and the preset distance threshold includes:
[0012] If S≤S0, control the operation time of the ultraviolet disinfection mechanism t1;
[0013] If S>S0, the ultraviolet disinfection mechanism is controlled to operate for t2 time;
[0014] Among them, S is the door opening distance, S0 is the preset distance threshold, t1 is the first time length, t2 is the first time length, t1 <t2。
[0015] In combination with the first aspect, after the step of controlling the operation of the ultraviolet disinfection mechanism according to the comparison relationship between the door opening distance and the preset distance threshold, the method further includes:
[0016] In response to the user's pulling operation on the sub-cabinet door corresponding to the sub-cavity, the ultraviolet sterilization mechanism is controlled to stop running immediately.
[0017] In combination with the first aspect, after the step of controlling the operation of the ultraviolet disinfection mechanism according to the comparison relationship between the door opening distance and the preset distance threshold, the method further includes:
[0018] In response to a user pressing or touching a target disinfection function key corresponding to the sub-cavity, the ultraviolet sterilization mechanism is controlled to stop running, and a disinfection mode corresponding to the target disinfection function key is executed.
[0019] In combination with the first aspect, the method further includes:
[0020] Get the current working status of the disinfection device;
[0021] If the current working state indicates that the disinfection is completed, the ultraviolet sterilization mechanism in each sub-cavity in the disinfection device is controlled to operate;
[0022] If the current working state indicates that the disinfection is not completed, the ultraviolet sterilization mechanism in each sub-cavity in the disinfection device is controlled to stop operating.
[0023] In combination with the first aspect, the method further includes:
[0024] Get the current status of the gate switches in all sub-cavities;
[0025] Determine that the current states of the gate-controlled switches in all sub-cavities are disconnected;
[0026] If yes, obtain the door opening duration and door opening distance of multiple sub-cabinet doors corresponding to all sub-cavities;
[0027] If all door opening durations are greater than the door opening time threshold, and the door opening distances are greater than the preset distance threshold;
[0028] After the gate switches in all sub-cavities are switched to the open circuit state for a set time, the ultraviolet sterilization mechanism and the infrared heating mechanism in each sub-cavity are controlled to operate for a time of t3, and the electromagnetic lock in each sub-cavity is controlled to be closed;
[0029] Among them, t3 is the third duration, and t3>t2.
[0030] In combination with the first aspect, after the steps of controlling the ultraviolet sterilization mechanism and the infrared heating mechanism in each sub-cavity to operate for a duration of t3 and controlling the electromagnetic lock in each sub-cavity to close, the method further includes:
[0031] In response to a user's long-time pressing operation on the power button, the ultraviolet sterilization mechanism and the infrared heating mechanism in each sub-cavity are controlled to stop running, and the electromagnetic lock is disconnected.
[0032] In a second aspect, the present application provides a disinfection device control device, which is applied to a control unit of a disinfection device; a partition is arranged in the disinfection device, and the partition is used to divide the space in the disinfection device into at least two sub-cavities along the height direction, and each sub-cavity is provided with an ultraviolet sterilization mechanism and an infrared heating mechanism; the device comprises:
[0033] A first acquisition module is used to acquire the current state of the gate switch in each sub-cavity;
[0034] The second acquisition module is used to obtain the door opening time corresponding to the sub-cavity if the current state is the disconnected state;
[0035] A judgment module is used to judge whether the door opening time is greater than a preset door opening time threshold;
[0036] A third acquisition module is used to acquire the door opening distance corresponding to the sub-cavity when the door opening time is greater than a preset door opening time threshold;
[0037] The control module is used to control the operation of the ultraviolet disinfection mechanism according to the comparison relationship between the door opening distance and the preset distance threshold after the current state of the door control switch is switched to the open circuit state for a set time.
[0038] 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.
[0039] 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.
[0040] The embodiments of the present invention bring the following beneficial effects: the disinfection device control method and device provided in the present application are applied to the control unit of the disinfection device; the method is applied to the control unit of the disinfection device; a partition is arranged in the disinfection device, and the partition is used to divide the space in the disinfection device into at least two sub-cavities along the height direction, and each sub-cavity is provided with an ultraviolet sterilization mechanism; the method includes: for each sub-cavity, obtaining the current state of the door-controlled switch in the sub-cavity; if the current state is a disconnected state, obtaining the door opening time corresponding to the sub-cavity; judging whether the door opening time is greater than a set threshold; if so, obtaining the door opening distance corresponding to the sub-cavity; after the current state of the door-controlled switch is switched to the open circuit state for a set time, controlling the operation of the ultraviolet sterilization mechanism according to the comparison relationship between the door opening distance and the preset distance threshold.
[0041] The disinfection device control method provided in the present application controls each sub-cavity separately. When the door opening time is longer than the set threshold, the ultraviolet disinfection mechanism is controlled to operate for a corresponding time based on the comparison relationship between the door opening distance and the preset distance threshold. Sterilization and disinfection are carried out in a targeted manner under different bacterial input amounts. Thus, the sterilization and disinfection requirements under various conditions are met.
[0042] 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.
[0043] 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
[0044] 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.
[0045] Figure 1 A flow chart of a control method for a disinfection device provided in Example 1 of the present invention;
[0046] Figure 2 A schematic diagram of the structure of the disinfection device provided by an embodiment of the present invention in a closed state;
[0047] Figure 3 A schematic diagram of the structure of the disinfection device provided by an embodiment of the present invention when the lower cabinet door is open;
[0048] Figure 4 A flow chart of a control method for a disinfection device provided in Example 2 of the present invention;
[0049] Figure 5 A schematic diagram of a control method for a disinfection device provided in Example 1 of the present invention;
[0050] Figure 6 A schematic diagram of a control device of a disinfection device provided in an embodiment of the present invention;
[0051] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0052] Reference numerals:
[0053] 11-upper cavity, 12-lower cavity, 2-partition, 31-upper ultraviolet sterilization mechanism, 32-lower ultraviolet sterilization mechanism, 41-upper infrared heating mechanism, 42-lower infrared heating mechanism, 51-upper door control switch, 52-lower door control switch, 61-upper electromagnetic lock, 62-lower electromagnetic lock, 71-upper cabinet door, 72-lower cabinet door, 8-control panel;
[0054] 10-first acquisition module, 20-second acquisition module, 30-judgment module, 40-third acquisition module, 50-control module;
[0055] 130 - processor, 131 - memory, 132 - bus, 133 - communication interface. DETAILED DESCRIPTION
[0056] 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.
[0057] To facilitate understanding of this embodiment, the application scenarios and design concepts of the embodiments of the present application are briefly introduced below.
[0058] The total amount of bacteria entering the disinfection cabinet cavity varies with the door opening time and distance. If a single disinfection strategy is used, incomplete bacterial disinfection or excessive disinfection may result in energy waste.
[0059] Based on this, the embodiment of the present application provides a disinfection device control method, device, electronic device, and storage medium. The disinfection device control method provided in the present application is applied to the control unit of the disinfection device; a partition 2 is arranged in the disinfection device, and the partition 2 is used to divide the space in the disinfection device into at least two sub-cavities along the height direction, and each sub-cavity is provided with an ultraviolet sterilization mechanism and a door-controlled switch. When the door-controlled switch is in an open state, it indicates that the sub-cabinet door corresponding to the sub-cavity is in a closed state, and when the door-controlled switch is in a disconnected state, it indicates that the sub-cabinet door corresponding to the sub-cavity is in an open state, that is, the sub-cabinet door is pulled out.
[0060] Example 1
[0061] The present application provides a disinfection device control method, combined with Figure 1 As shown, the method includes:
[0062] S110, for each sub-cavity, obtaining a current state of a gate-controlled switch in the sub-cavity.
[0063] S120: If the current state is the disconnected state, obtain the door opening time length corresponding to the sub-cavity.
[0064] S130, determining whether the door opening time is greater than a set threshold.
[0065] If yes, execute steps S140-S150. If no, execute step S141. Determine that it is an accidental touch operation.
[0066] S140, obtaining the door opening distance corresponding to the sub-cavity.
[0067] S150, after the current state of the door control switch is switched to the open state for a set time, the ultraviolet sterilization mechanism is controlled to operate according to a comparison relationship between the door opening distance and a preset distance threshold.
[0068] S141, determining that it is an accidental touch operation.
[0069] In this embodiment, each sub-cavity is controlled separately. When the door opening time is longer than the set threshold, the door control switch is switched to the open state for a set time, and then the ultraviolet disinfection mechanism is controlled to operate for a corresponding time based on the comparison relationship between the door opening distance and the preset distance threshold. Sterilization and disinfection can be carried out in a targeted manner under different bacterial inflow conditions, thereby meeting the sterilization and disinfection requirements under various conditions.
[0070] In this embodiment, the threshold is set to 3s and the duration is set to 10s. That is, for any sub-cavity, when the corresponding sub-cabinet door is opened for more than 3s, after the sub-cabinet door is restored to the closed state and reaches 10s, the operating time of the ultraviolet disinfection mechanism in the sub-cavity is determined based on the opening distance of the sub-cabinet door.
[0071] Combination Figure 2 , Figure 3 As shown, in the present application, the number of partitions 2 is one, dividing the internal space of the disinfection device into an upper cavity 11 and a lower cavity 12, wherein an upper ultraviolet sterilization mechanism 31, an upper infrared heating mechanism 41, an upper door control switch 51 and an upper electromagnetic lock 61 are arranged in the upper cavity 11; an upper cabinet door 71 is corresponding to the upper cavity 11; a lower ultraviolet sterilization mechanism 32, a lower infrared heating mechanism 42, a lower door control switch 52 and a lower electromagnetic lock 62 are arranged in the lower cavity 12, and a lower cabinet door 72 is corresponding to the lower cavity. A control panel 8 is also arranged on the disinfection device.
[0072] In combination with the first aspect, step S150 includes:
[0073] If S≤S0, control the operation time of the ultraviolet disinfection mechanism t1;
[0074] If S>S0, the ultraviolet disinfection mechanism is controlled to operate for t2 time;
[0075] Among them, S is the door opening distance, S0 is the preset distance threshold, t1 is the first time length, t2 is the first time length, t1 <t2。
[0076] In this embodiment, S0=200 mm. As the door opening distance S increases, the amount of air entering the sub-cavity increases, and bacteria carried in the air enter the sub-cavity, causing increased pollution to the environment in the sub-cavity.
[0077] In an embodiment of the present application, after a set time (i.e., 10 seconds) from the moment the sub-cabinet door of the sub-cavity is closed (i.e., the door control switch is in an open circuit state), the corresponding operation time of the ultraviolet sterilization mechanism is adjusted based on the door opening distance, so as to perform different degrees of sterilization for different situations, thereby ensuring the sterilization effect and avoiding energy waste.
[0078] Among them, if the sub-cabinet door of the sub-cavity is closed (that is, the door-controlled switch is in the open circuit state) and then opened again within the set time (that is, within 10s), the timely disinfection function will not be turned on at this time, and the process returns to step S120 to judge the comparison relationship between the opening time of the sub-cabinet door and the set threshold.
[0079] This application takes a disinfection device in which the number of partitions is 1 and the divided cavities are respectively an upper cavity 11 and a lower cavity 12 as an example to explain the working principle of the disinfection device provided by this application. It can be understood that the inner walls of the upper cavity 11 and the lower cavity 12 are respectively provided with slide rails, and an upper drawer is provided in the upper cavity 11, which slides with the slide rails in the upper cavity 11. The inner wall of the upper cavity 11 is also provided with an upper door-controlled switch 51, an upper ultraviolet sterilization mechanism 31, and an upper infrared heating mechanism 41. An upper cabinet door 71 is fixedly connected to one end of the upper drawer, and an upper door-controlled block is fixed to the other end; when the upper cabinet door (i.e., the sub-cabinet door corresponding to the sub-cavity) is pulled outward, the upper door-controlled block is separated from the upper door-controlled switch 51, and the upper door-controlled switch 51 is in an off state. If the upper cabinet door 71 is pushed inward to be closed, the upper door-controlled block contacts the upper door-controlled switch 51, so that the upper door-controlled switch 51 is in an open circuit state.
[0080] Similarly, a lower drawer, a lower door control switch 52, a lower ultraviolet sterilization mechanism 32, and a lower infrared heating mechanism 42 are provided in the lower cavity 12. A lower cabinet door 72 is fixedly connected to one side of the lower drawer, and a lower door control block is fixed to one end of the lower cabinet door 72. The switch state of the lower cabinet door 72 can be determined by the state of the lower door control switch 52.
[0081] In this application, an upper position sensor and a lower position sensor are respectively arranged between the upper drawer, the lower drawer cabinet and the disinfection device. When the upper cabinet door 71 is pulled to the upper position sensor, the opening distance of the upper cabinet door 71 is 200mm. At this time, the cabinet door is in a half-open state. In this embodiment, 200mm is assigned a value of S0. If S>S0, it means that the cabinet door is opened beyond the half-open state; if S≤S0, it means that the cabinet door is opened but does not reach the half-open state. It can be understood that the distance threshold S0 can be adjusted according to the control requirements and is not limited here.
[0082] like Figure 5 As shown, after the timely disinfection is turned on, when the user opens the sub-cabinet door corresponding to any sub-cavity (such as the upper cavity 11 or the lower cavity 12), the door opening time t is first judged: if t≤3s, it means that the door is opened due to an accidental touch, resulting in the corresponding door-controlled switch failing to completely close and being in an open circuit state, and the timely disinfection mode is not turned on at this time; if t>3s, it means that the sub-cabinet door corresponding to the sub-cavity is opened normally, and the state of the door-controlled switch of the sub-cavity (such as the upper cavity 11 or the lower cavity 12) is detected in real time. If the door-controlled switch is closed, it is in an open circuit state, and the closing time of the door-controlled switch is judged. If it is greater than or equal to the timing length, that is, 10s, the timely disinfection mode is started.
[0083] Specifically, if the upper cabinet door of the upper cavity 11 is opened, the state of the upper door control switch 51 is in the disconnected state, and the opening time t of the upper cabinet door 71 is obtained. If t>3s, it means that the upper cabinet door is opened normally. 10s after the upper door control switch 51 returns to the open state, the timely disinfection mode is turned on, and the door opening distance S is used as the basis. If S≤S0, it means that the upper cabinet door has not reached the half-open state, the amount of air entering is relatively small, and the bacterial content is also relatively small. At this time, the upper ultraviolet sterilization mechanism 31 is started for sterilization, and the sterilization time is t1=1min; if S>S0, it means that the upper cabinet door 71 has reached the half-open state, the amount of air entering is relatively large, and the bacterial content is also relatively large. At this time, the upper ultraviolet sterilization mechanism 31 is started for sterilization, and the sterilization time is t2=5min.
[0084] Similarly, specifically, if the lower cabinet door 72 of the lower cavity 12 is opened, the state of the lower door-controlled switch 52 is in the disconnected state, and the opening time t of the lower cabinet door 72 is obtained. If t>3s, it means that the lower cabinet door 72 is opened. 10s after the lower door-controlled switch 52 returns to the open state, the timely disinfection mode is turned on, and the door opening distance S is used as the basis. If S≤S0, it means that the lower cabinet door 72 is in a semi-open state, the amount of air introduced is relatively small, and the bacterial content is also relatively small. At this time, the lower ultraviolet sterilization mechanism 32 is started for sterilization, and the sterilization time is t1=1min; if S>S0, it means that the lower cabinet door 72 is in a semi-open state, the amount of air introduced is relatively large, and the bacterial content is also relatively large. At this time, the lower ultraviolet sterilization mechanism 32 is started for sterilization, and the sterilization time is t2=5min.
[0085] In combination with the first aspect, step S150 further includes:
[0086] S160, in response to the user pulling the sub-cabinet door corresponding to the sub-cavity, the ultraviolet sterilization mechanism is controlled to stop running immediately.
[0087] Combination Figure 5 As shown, during the process of starting the timely disinfection in step S150, if the user pulls the sub-cabinet door outwards again, the timely disinfection is stopped immediately.
[0088] In combination with the first aspect, step S150 further includes:
[0089] S170, in response to the user's pressing or touching operation on the target disinfection function key corresponding to the sub-cavity, the ultraviolet sterilization mechanism is controlled to stop running, and a disinfection mode corresponding to the target disinfection function key is executed.
[0090] In the present application, the disinfection device further comprises a control panel 8, on which one or more disinfection function keys corresponding to each sub-cavity are arranged. Figure 5As shown, when the user presses or touches one of the disinfection function keys corresponding to the sub-cavity (i.e., the target disinfection function key), the timely disinfection function is immediately stopped and the corresponding disinfection mode is executed.
[0091] In combination with the first aspect, before step S110, the method further includes:
[0092] S010, in response to a disinfection instruction input by a user, controlling the disinfection device to execute a disinfection mode corresponding to the disinfection instruction.
[0093] S020, determining whether the current working state of the disinfection device indicates that the disinfection has been completed.
[0094] If yes, go to step S030; if no, go to step S050.
[0095] S030, control the disinfection device to start the timely disinfection mode.
[0096] S040, in response to the user's pressing or touching operation on the set combination button, controlling the disinfection device to turn off the timely disinfection mode.
[0097] S050, control the disinfection device to shut down the immediate disinfection mode.
[0098] In the present application, the disinfection device executes the disinfection mode in response to the disinfection instruction, combined with Figure 5 As shown, if the disinfection is completed, the timely disinfection function is turned on; if the disinfection is not completed, the timely disinfection is stopped. In addition, during the process of turning on the timely disinfection function, if the user presses or touches the set combination key (such as pressing the disinfection key and the drying key at the same time), the timely disinfection function is turned off. After step S030, the above-mentioned control operation for any sub-cavity is performed again.
[0099] Example 2
[0100] The control method of the disinfection device provided in the embodiment of the present application is combined with Figure 4 As shown, the method also includes:
[0101] S210, obtaining the current states of the gate-controlled switches in all the sub-cavities.
[0102] S220, determining that the current states of the gate-controlled switches in all sub-cavities are disconnected.
[0103] If so, execute steps S230-S250.
[0104] S230, obtaining the door opening durations and door opening distances of multiple sub-cabinet doors corresponding to all sub-cavities.
[0105] S240: If all door opening durations are greater than the door opening time threshold, and all door opening distances are greater than the preset distance threshold.
[0106] S250, controlling the ultraviolet sterilization mechanism and the infrared heating mechanism in each sub-cavity to operate for a duration of t3, and controlling the electromagnetic lock in each sub-cavity to close.
[0107] Among them, t3 is the third time length, t3=10min, and t3>t2.
[0108] Combined with the above example, if both the upper cabinet door 71 and the lower cabinet door 72 in the disinfection device are open, it is determined whether the door opening time of the upper cabinet door 71 and the lower cabinet door 72 is greater than the set threshold (3s). If so, it means that the upper cabinet door 71 and the lower cabinet door 72 are not opened due to accidental touch. In this case, the door distance of the upper cabinet door 71 and the door distance of the lower cabinet door 72 are obtained; after the upper cabinet door 71 and the lower cabinet door 72 are closed for 10s, the upper ultraviolet sterilization mechanism 31, the upper infrared heating mechanism 41 in the upper cavity 11, and the lower ultraviolet sterilization mechanism 32 and the lower infrared heating mechanism 42 in the lower cavity 12 are opened. At the same time, the upper electromagnetic lock 61 in the upper cavity 11 is closed to lock the upper cabinet door 71, and the lower electromagnetic lock 62 in the lower cavity 12 is closed to lock the lower cabinet door 72. In this case, the opening states of the upper cabinet door 71 and the lower cabinet door 72 are both beyond the half-open state. Compared with the case where only one sub-cavity exceeds the half-open state, the amount of air and bacteria introduced is greater. In order to improve the disinfection effect, the ultraviolet sterilization mechanism and the infrared heating mechanism in each sub-cavity are turned on at the same time t3=10min, that is, the upper ultraviolet sterilization mechanism 31 and the upper infrared heating mechanism 41 in the upper cavity 11 are turned on, and the lower ultraviolet sterilization mechanism 32 and the lower infrared heating mechanism 42 in the lower cavity 12 are turned on.
[0109] At the same time, in this process, in order to prevent the user from being burned by the heat generated by the operation of the infrared heating mechanism when opening the sub-cabinet door corresponding to any sub-cavity, the electromagnetic lock in each sub-cavity is used to close it.
[0110] In combination with the first aspect, after step S250, the method further includes:
[0111] S260, in response to the user's long-time pressing operation on the power button, the ultraviolet sterilization mechanism and the infrared heating mechanism are controlled to stop running, and the electromagnetic lock is disconnected.
[0112] In combination with the above example, after step S250, if the user presses the power button for a long time, the timely disinfection mode is turned off, and the electromagnetic locks in each sub-cavity are disconnected, so that the user can open the sub-cabinet door corresponding to the target sub-cavity, so that the sub-cabinet door can be opened in an emergency.
[0113] In a second aspect, the present application provides a through-cavity disinfection cabinet control device, which is applied to a control unit of a disinfection device; a partition is arranged in the disinfection device, and the partition is used to divide the space in the disinfection device into at least two sub-cavities along the height direction, and each sub-cavity is provided with an ultraviolet sterilization mechanism and an infrared heating mechanism; Figure 6 As shown, the device includes: a first acquisition module 10, a second acquisition module 20, a judgment module 30, a third acquisition module 40 and a control module 50.
[0114] The first acquisition module 10 is used to acquire the current state of the gate switch in each sub-cavity;
[0115] The second acquisition module 20 is used to obtain the door opening time length corresponding to the sub-cavity if the current state is the disconnected state;
[0116] The judging module 30 is used to judge whether the door opening time is greater than a set threshold;
[0117] The third acquisition module 40 is used to acquire the door opening distance corresponding to the sub-cavity when the door opening time is greater than the preset door opening time threshold;
[0118] The control module 50 is used to control the operation of the ultraviolet sterilization mechanism according to the comparison relationship between the door opening distance and the preset distance threshold after the current state of the door control switch is switched to the open circuit state for a set time.
[0119] In a third aspect, the present application provides an electronic device, Figure 7 As 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.
[0120] Furthermore, combined with Figure 7 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 .
[0121] 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 7Only 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.
[0122] 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 conjunction with the embodiments 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.
[0123] 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.
[0124] 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.
[0125] 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.
[0126] 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.
[0127] 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.
[0128] 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 disinfection device control method, characterized in that: The method is applied to a control unit of a disinfection device; a partition is arranged in the disinfection device, and the partition is used to divide the space in the disinfection device into at least two sub-cavities along the height direction, and each of the sub-cavities is provided with an ultraviolet sterilization mechanism and an infrared heating mechanism; the method comprises: For each of the sub-cavities, obtaining a current state of a gate-controlled switch in the sub-cavity; If the current state is a disconnected state, obtaining the door opening time length corresponding to the sub-cavity; Determine whether the door opening time is greater than a set threshold; If so, obtaining the door opening distance corresponding to the sub-cavity; After the current state of the door-controlled switch is switched to the open state for a set time, the ultraviolet sterilization mechanism is controlled to operate according to a comparison relationship between the door opening distance and a preset distance threshold.
2. The method according to claim 1, characterized in that The step of controlling the operation of the ultraviolet sterilization mechanism according to the comparison relationship between the door opening distance and the preset distance threshold comprises: If S≤S0, the ultraviolet disinfection mechanism is controlled to operate for a duration of t1; If S>S0, the ultraviolet disinfection mechanism is controlled to operate for a duration of t2; Among them, S is the door opening distance, S0 is the preset distance threshold, t1 is the first time length, t2 is the first time length, t1 <t2。 3. The method according to claim 1, characterized in that After the step of controlling the operation of the ultraviolet disinfection mechanism according to the comparison relationship between the door opening distance and the preset distance threshold, the method further includes: In response to a user pulling operation on a sub-cabinet door corresponding to the sub-cavity, the ultraviolet sterilization mechanism is controlled to stop running immediately.
4. The method according to claim 2, characterized in that: After the step of controlling the operation of the ultraviolet disinfection mechanism according to the comparison relationship between the door opening distance and the preset distance threshold, the method further includes: In response to a user pressing or touching operation on a target disinfection function key corresponding to the sub-cavity, the ultraviolet sterilization mechanism is controlled to stop running, and a disinfection mode corresponding to the target disinfection function key is executed.
5. The method according to claim 1, characterized in that The method further comprises: Obtaining the current working status of the disinfection device; If the current working state indicates that the disinfection is completed, controlling the ultraviolet sterilization mechanism in each of the sub-cavities in the disinfection device to operate; If the current working state indicates that the disinfection is not completed, the ultraviolet sterilization mechanism in each of the sub-cavities in the disinfection device is controlled to stop operating.
6. The method according to claim 1, characterized in that The method further comprises: Obtaining the current status of all gate-controlled switches in the sub-cavities; Determining that the current states of the gate-controlled switches in all of the sub-cavities are disconnected; If yes, obtain the door opening duration and door opening distance of multiple sub-cabinet doors corresponding to all the sub-cavities; If all door opening durations are greater than the door opening time threshold, and the door opening distances are greater than the preset distance threshold; After all the gate switches in the sub-cavities are switched to the open circuit state for a set time, the ultraviolet sterilization mechanism and the infrared heating mechanism in each sub-cavity are controlled to operate for a time of t3, and the electromagnetic lock in each sub-cavity is controlled to be closed; Among them, t3 is the third duration, and t3>t2.
7. The method according to claim 2, characterized in that After the steps of controlling the ultraviolet sterilization mechanism and the infrared heating mechanism in each of the sub-cavities to operate for a duration of t3 and controlling the electromagnetic lock in each of the sub-cavities to close, the method further includes: In response to a user's long-time pressing operation on the power button, the ultraviolet sterilization mechanism and the infrared heating mechanism in each of the sub-cavities are controlled to stop running, and the electromagnetic lock is disconnected.
8. A disinfection device control device, characterized in that: The device is applied to the control unit of a disinfection device; a partition is arranged in the disinfection device, and the partition is used to divide the space in the disinfection device into at least two sub-cavities along the height direction, and each of the sub-cavities is provided with an ultraviolet sterilization mechanism and an infrared heating mechanism; the device comprises: A first acquisition module, configured to acquire, for each of the sub-cavities, a current state of a gate-controlled switch in the sub-cavity; A second acquisition module is used to obtain the door opening time length corresponding to the sub-cavity if the current state is a disconnected state; A judging module, used to judge whether the door opening time is greater than a preset door opening time threshold; A third acquisition module, configured to acquire a door opening distance corresponding to the sub-cavity when the door opening time is greater than a preset door opening time threshold; The control module is used to control the operation of the ultraviolet disinfection mechanism according to the comparison relationship between the door opening distance and a preset distance threshold after the current state of the door control switch is switched to the open circuit state for a set time.
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.