A control method and device of a range hood, an electronic device, and a storage medium
By installing non-overlapping sensors on the range hood to detect user gestures and combining them with the current action pattern, the operation of the lift-type range hood is simplified, the problem of complex gesture control is solved, and the user experience and operational accuracy are improved.
Patent Information
- Application Number
- CN202411208587.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2044-08-30
AI Technical Summary
The existing lifting range hoods have complicated control methods, requiring users to remember multiple gesture operations, which increases the learning cost and difficulty of use, especially for the elderly or people with limited finger dexterity.
A first and a second sensor are installed on the range hood along the direction of movement, with their detection ranges not intersecting. The target sensor is determined by detecting the user's gesture signal, and the target action is determined and executed in combination with the current operating mode of the range hood.
It simplifies user operations, reduces learning costs, improves user experience, enables intuitive and convenient gesture control, and enhances the flexibility and accuracy of operation.
Smart Images

Figure CN119289400B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of kitchen equipment, and in particular to a control method and device for a range hood, an electronic device, and a storage medium. BACKGROUND
[0002] A range hood is mainly used to absorb oil fumes, steam, and odors generated during cooking, and then purify and discharge them outdoors. The development and popularity of range hoods are of great significance for improving the kitchen environment, reducing air pollution, and protecting the health of family members. Among them, the lifting range hood is a novel and unique kitchen exhaust device. Unlike traditional range hoods fixed on the wall or hung on the ceiling, the lifting range hood can move up and down through a mechanical device, usually hidden in a cabinet, and moved out of the cabinet when in use. This not only saves space, but also maintains the overall aesthetics of the kitchen.
[0003] However, the lifting control method of such range hoods is relatively traditional, mainly through physical buttons for operation. Users need to manually press these physical buttons on the range hood to control the lifting action. Although this method is simple and direct, the interaction is relatively single and lacks convenience.
[0004] Some lifting range hoods also use various sensors to detect user movements and execute corresponding functions accordingly. However, a common problem in designing these gesture interaction interfaces is that users need to remember multiple different gestures to complete different operations, which undoubtedly increases the complexity and learning cost of use and reduces user experience. Specifically, users may need to remember different gestures such as waving to turn on, clenching to turn off, and sliding the palm to control lifting. In this case, not only do new users feel confused when they first use it, but even experienced users may forget the meaning of specific gestures after a long time. In addition, for the elderly or people with limited finger flexibility, a complex multi-gesture system is difficult to master. SUMMARY
[0005] To solve the problems of the prior art, the embodiments of the present application provide a control method and device for a range hood, an electronic device, and a storage medium. The technical solution is as follows:
[0006] On the one hand, a control method for a range hood is provided, the range hood is used to move in a first direction, the range hood is provided with a first sensing device and a second sensing device distributed along the first direction, the first sensing device and the second sensing device are respectively used to output a gesture signal when detecting a user gesture, and the detection range of the first sensing device and the detection range of the second sensing device do not intersect; the method comprises:
[0007] determine a target sensor device outputting the current gesture signal in response to the current gesture signal; the target sensor device is the first sensor device or the second sensor device;
[0008] determine a preliminary execution action of the range hood in the first direction based on a direction of the target sensor device relative to a reference sensor device; the reference sensor device is a sensor device other than the target sensor device among the first sensor device and the second sensor device;
[0009] determine a target action based on a matching degree of a current action mode of the range hood and the preliminary execution action;
[0010] control the range hood to execute the target action.
[0011] In another aspect, a control device of a range hood is provided. The range hood is configured to move in a first direction. The range hood is provided with a first sensor device and a second sensor device distributed along the first direction. The first sensor device and the second sensor device are configured to output gesture signals when detecting user gestures, respectively. The detection range of the first sensor device and the detection range of the second sensor device do not intersect. The device comprises:
[0012] a device determination module configured to determine a target sensor device outputting a current gesture signal in response to the current gesture signal; the target sensor device is the first sensor device or the second sensor device;
[0013] an action preparation module configured to determine a preliminary execution action of the range hood in the first direction based on a direction of the target sensor device relative to a reference sensor device; the reference sensor device is a sensor device other than the target sensor device among the first sensor device and the second sensor device;
[0014] an action determination module configured to determine a target action based on a matching degree of a current action mode of the range hood and the preliminary execution action;
[0015] an action execution module configured to control the range hood to execute the target action.
[0016] In an exemplary embodiment, the action preparation module comprises:
[0017] a direction determination module configured to determine a direction of the target sensor device relative to the reference sensor device in the first direction, to obtain a target direction;
[0018] a movement determination module configured to determine that the preliminary execution action of the range hood is moving in the target direction.
[0019] In an exemplary embodiment, the action determination module comprises:
[0020] The first target action module is configured to determine the target action as the preliminary execution action in a case where the preliminary execution action does not match the current action mode of the range hood.
[0021] In an exemplary embodiment, the action determination module comprises:
[0022] The second target action module is configured to determine the target action as a current action mode of the range hood being turned off in a case where the preliminary execution action matches the current action mode of the range hood.
[0023] In an exemplary embodiment, the first direction comprises a second direction, the second direction being a subset of the first direction, and referring to a direction along which the range hood is moved to a second position; the range hood is configured to be moved along the second direction to the second position, the second position being configured to control the range hood to be in a non-working state; in a case where the target direction is the second direction, the action execution module comprises:
[0024] The action reservation module is configured to control the range hood to enter an action reservation state in a case where the current action mode indicates that the range hood is in the working state.
[0025] The first movement control module is configured to update the current action mode in the action reservation state until the updated current action mode indicates that the range hood is in the non-working state, and control the range hood to be moved along the second direction to the second position.
[0026] In an exemplary embodiment, the first direction comprises a third direction, the third direction being a subset of the first direction, and referring to a direction along which the range hood is moved to a first position; the range hood is configured to be moved along the third direction to the first position, the first position being configured to control the range hood to be in the working state; in a case where the target direction is the third direction, the action execution module comprises:
[0027] The second movement control module is configured to control the range hood to be moved along the third direction to the first position, so that the range hood enters the working state.
[0028] In another aspect, an electronic device is provided, comprising a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the control method of the range hood of any one of the above aspects.
[0029] In another aspect, a computer readable storage medium is provided, and the computer readable storage medium stores at least one instruction or at least one program, which is loaded and executed by a processor to implement the control method of the range hood according to any one of the above aspects.
[0030] In another aspect, a computer program product or computer program is provided, and the computer program product or computer program includes computer instructions stored in a computer readable storage medium. A processor of an electronic device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the electronic device to perform the control method of the range hood according to any one of the above aspects.
[0031] The embodiments of the present application can determine whether the first sensor device or the second sensor device sends the gesture signal by setting the first sensor device and the second sensor device along the movement direction (for example, the vertical direction) of the range hood, and the detection ranges of the two sensor devices do not overlap with each other. When the user makes a gesture in the detection range of the first sensor device or the second sensor device, the corresponding sensor device can detect the action and output a corresponding gesture signal. After receiving the gesture signal, it can be determined whether the first sensor device or the second sensor device sends the signal, that is, to determine the target sensor device. According to the position of the target sensor device relative to the other sensor device (that is, the reference sensor device), the action that the user is likely to perform can be determined. For example, if the first sensor device detects the gesture, the action that is ready to be performed can be upward adjustment, and vice versa, if the second sensor device detects the gesture, the action that is ready to be performed can be downward adjustment. According to the matching degree between the current action mode of the range hood (for example, whether the action of sucking oil fume is being performed, whether the action of moving in the first direction is performed, etc.) and the action that is ready to be performed, the target action to be finally performed can be determined, and the range hood is controlled to perform the confirmed target action. For example, if the current range hood is in a non-working state, that is, not in the action of sucking oil fume, and the action that is ready to be performed is downward adjustment, the target action can be confirmed as downward adjustment, and the fan is turned on to make the range hood enter the working state. The position of the sensor device that triggers the gesture signal corresponds to the action of controlling the range hood, and the user can select the direction of the gesture operation according to his own intuition without remembering complex gesture combinations, and the learning cost is low, which improves the user friendliness and significantly improves the operation experience of the user. The current action mode of the range hood is combined to control the range hood, which improves the rationality of the control mechanism, and realizes a more intuitive, convenient and accurate way of gesture controlling the range hood. BRIEF DESCRIPTION OF DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments description will be briefly introduced. Obviously, the drawings in the following description only constitute some embodiments of the present application, and for those skilled in the art, other drawings can be obtained without creative labor on the basis of these drawings.
[0033] Figure 1 is a structural schematic diagram of a range hood provided by an embodiment of the present application;
[0034] Figure 2 is a flow schematic diagram of a control method of a range hood provided by an embodiment of the present application;
[0035] Figure 3 is a flow schematic diagram of another control method of a range hood provided by an embodiment of the present application;
[0036] Figure 4 is a structural block diagram of a control device of a range hood provided by an embodiment of the present application;
[0037] Figure 5 is a hardware structural block diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0038] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments only constitute some embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0039] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and in the above-mentioned drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or server including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0040] It is understood that in the specific implementation of this application, data such as user information are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with relevant laws, regulations and standards.
[0041] Please see Figure 1 The diagram shows a structural schematic of a range hood provided in an embodiment of this application. The range hood is used to move along a first direction. A first sensing device and a second sensing device are disposed on the range hood along the first direction. The first and second sensing devices are respectively used to output gesture signals when a user gesture is detected. The detection ranges of the first and second sensing devices do not intersect. Specifically, for a lift-type range hood, the first direction is vertical. The first or second sensing device can be configured as an infrared sensor, radar sensor, camera sensor, ultrasonic sensor, capacitive sensor, optical sensor, proximity sensor, etc.
[0042] Specifically, the detection areas of the first and second sensors are spatially separated; that is, they do not share a common coverage area. Any gesture can only be detected by one of the sensors, not simultaneously by both. For example, assuming a range hood is conventionally placed, the first sensor is located at the front of the range hood, facing the user, and its detection range covers an area of a certain width and height in front of the range hood; the second sensor is located at the bottom of the range hood, and its detection range extends downwards from the bottom of the range hood to a certain distance. Figure 1 For example, A represents the height of the range hood's lifting mechanism. An infrared sensor is placed at point B above the range hood screen, and a radar sensor is placed at point D at the bottom of the range hood. This way, gestures made by the user in front of the range hood will only be detected by the first sensor, while gestures made below the range hood will only be detected by the second sensor. In practice, to ensure that the detection ranges do not overlap, the position, angle, or detection sensitivity of the sensors can be adjusted. For example, algorithms can be used to limit the effective detection area of each sensor, or physical obstructions can be used to limit the sensor's detection range. This effectively avoids misrecognition of gestures, allowing users to more clearly understand where to make a gesture to trigger a specific action, reducing the possibility of misoperation and improving the accuracy of user operations. Users can choose the appropriate gesture area to perform the action they want to execute.
[0043] In practice, by integrating a voice recognition module and corresponding voice processing software into the range hood, users can control various functions of the range hood via voice commands. Figure 1For example, a microphone is arranged at C in the figure to capture the user's voice instruction, when the microphone receives the wake-up instruction, the voice recognition module enters the working state, accepts the user's voice input, such as smoke machine down, smoke machine up, smoke machine off, etc., and identifies the corresponding smoke machine control instruction, and delivers it to the smoke machine control system for corresponding control process.
[0044] Please refer to Figure 2 It shows a control method of a smoke machine provided by an embodiment of the present application. It should be noted that the present specification provides method operation steps such as embodiments or flowcharts, but more or fewer operation steps can be included based on conventional or non-creative labor. The order of steps listed in the embodiments is only one of the many execution orders, and does not represent the only execution order. In actual system or product execution, the method order shown in the embodiments or the drawings can be executed in sequence or in parallel (for example, in a parallel processor or multi-threaded processing environment). Specifically, as shown in Figure 2 The method can include:
[0045] S201, in response to the current gesture signal, determining the target sensing device outputting the current gesture signal.
[0046] Wherein, the current gesture signal refers to the signal generated after the gesture made by the user at a certain position near the smoke machine at the current time is detected by the sensing device. Specifically, the first sensing device and the second sensing device are located at different positions of the smoke machine, and their detection ranges do not overlap. When the user makes a gesture within the detection range of one of the sensing devices, the sensing device will detect the action and convert it into an electrical signal or a digital signal.
[0047] Wherein, the target sensing device is the first sensing device or the second sensing device. Specifically, when the control system receives the gesture signal, it will determine which sensing device detects the gesture; for example, if the current gesture signal is detected by the first sensing device, then the first sensing device is the target sensing device.
[0048] S203, in the first direction, based on the direction of the target sensing device relative to the reference sensing device, determining the preliminary execution action of the smoke machine.
[0049] Wherein, the reference sensing device is the sensing device other than the target sensing device among the first sensing device and the second sensing device, i.e. the sensing device that does not detect the gesture. For example, if the first sensing device is the target sensing device, then the second sensing device is the reference sensing device.
[0050] The preparatory execution action refers to an action that is about to be executed by the range hood according to the user's intention and is preset by the range hood when the user gesture interacts with the range hood. It is not necessarily the final actual operation, but a preparation stage for confirming the user's true intention and ensuring that the range hood can accurately respond to the user's command.
[0051] Specifically, the action intended to be executed by the user is determined according to the positional relationship of the target sensing device relative to the reference sensing device. For example, for a lifting range hood, assuming that the first sensing device is arranged on the front of the range hood and is responsible for detecting gestures made by the user in front of the range hood, and the second sensing device is arranged below the range hood and is responsible for detecting gestures made by the user below the range hood. If the first sensing device detects a gesture, the target sensing device is above the reference sensing device, and the preparatory execution action can be an upward adjustment, i.e., controlling the range hood to rise; if the second sensing device detects a gesture, the target sensing device is below the reference sensing device, and the preparatory execution action can be a downward adjustment, i.e., controlling the range hood to descend.
[0052] In an exemplary embodiment, the above step S203 can include the following steps:
[0053] In the first direction, the direction of the target sensing device relative to the reference sensing device is determined to obtain a target direction;
[0054] The preparatory execution action on the range hood is determined as a movement in the target direction.
[0055] The target direction refers to the direction of the desired action conveyed by the user to the range hood through the gesture. Specifically, the target direction is determined by the user's gesture and the position of the target sensing device relative to the reference sensing device.
[0056] In a specific implementation, for a lifting range hood, if the target sensing device is above the reference sensing device, the preparatory execution action is a rising action, and if the target sensing device is below the reference sensing device, the preparatory execution action is a descending action.
[0057] As can be seen from the above technical solutions of the embodiments of the present application, by determining the position of the target sensing device relative to the reference sensing device, the range hood can be accurately controlled to rise or descend, improving the flexibility and efficiency of operation and providing a more smooth and intuitive user experience.
[0058] S205, determining a target action based on the matching degree of the current action mode of the range hood and the preparatory execution action.
[0059] The current action mode defines how the range hood should respond to the user's input, i.e., the gesture signal. Specifically, the current action mode includes, but is not limited to, whether the action of sucking oil fume is being performed, whether the action of moving in the first direction is being performed.
[0060] The matching degree is used to evaluate the correlation and rationality between the user gesture and the current action mode of the range hood, to determine whether it is reasonable to perform the preliminary execution action, so as to determine the appropriate target action.
[0061] The target action is the final execution action determined according to the user's gesture and the current action mode. In a specific implementation, the target action usually includes controlling the range hood to rise and controlling the range hood to descend.
[0062] Optionally, in the case where the preliminary execution action does not match the current action mode of the range hood, the preliminary execution action is determined as the target action.
[0063] Specifically, the preliminary execution action does not match the current action mode of the range hood, and in this case, the preliminary execution action is directly determined as the target action, i.e., the preliminary execution action is performed. For example, if the preliminary execution action is the rising action, and the range hood is currently in the standby state, the target action is to control the range hood to rise.
[0064] Referring to Figure 3 , which shows a flowchart of another control method of a range hood provided by an embodiment of the present application; taking Figure 1 as an example, an infrared sensor is arranged above the screen of the range hood at point B in the figure, and a radar sensor is arranged at the bottom of the range hood at point D in the figure; if the infrared sensor detects a user gesture, and if the range hood is in standby, the range hood is controlled to rise. The range hood is controlled in combination with the current action mode of the range hood, which improves the rationality of the control mechanism.
[0065] Optionally, in the case where the preliminary execution action matches the current action mode of the range hood, the target action is determined as the current action mode of the range hood being turned off.
[0066] Specifically, if the preliminary execution action is the same as the action currently being performed by the range hood, the range hood will stop the current action. For example, if the preliminary execution action is the rising action, and the range hood is currently in the rising state, the target action is to stop rising.
[0067] Referring to Figure 3 , which shows a flowchart of another control method of a range hood provided by an embodiment of the present application; taking Figure 1For example, at B in the figure, an infrared sensor is arranged above the screen of the range hood, and at D in the figure, a radar sensor is arranged at the bottom of the range hood; if the infrared sensor detects a user gesture, if the range hood is rising, the range hood is controlled to stop rising. The range hood is controlled in combination with the current action mode of the range hood, and the rationality of the control mechanism is improved.
[0068] S207, controlling the range hood to perform a target action.
[0069] In a specific implementation, while, after or before controlling the range hood to perform a target action, the working state of the range hood can also be controlled. For example, if the range hood is currently in a non-working state, the range hood is controlled to enter a working state while or after the range hood is controlled to descend; if the range hood is currently in a working state, the range hood is controlled to enter a non-working state while or after the range hood is controlled to ascend.
[0070] As can be seen from the above technical solutions of the embodiments of the present application, the embodiments of the present application correspond the position of the sensing device for triggering the gesture signal to the action of the range hood, so that the user can select the direction of the gesture operation according to his own intuition without needing to remember complex gesture combinations, the learning cost is low, the user friendliness is improved, and the operation experience of the user is significantly improved; the range hood is controlled in combination with the current action mode of the range hood, the rationality of the control mechanism is improved, and a more intuitive, convenient and accurate way of controlling the range hood by gestures is realized.
[0071] In an exemplary embodiment, the first direction includes a second direction, the range hood is configured to move along the second direction to a second position, and the second position is configured to control the range hood to be in a non-working state; in the case where the target direction is the second direction, the above step S207 can include the following steps:
[0072] In the case where the current action mode indicates that the range hood is in a working state, the range hood is controlled to enter an action reservation state;
[0073] In the action reservation state, the current action mode is updated until the updated current action mode indicates that the range hood is in a non-working state, and the range hood is controlled to move along the second direction to the second position.
[0074] The first direction refers to a set of movement directions that the range hood can achieve.
[0075] The second direction is a subset of the first direction, and refers to a direction along which the range hood moves to the second position. Specifically, the range hood moves along the second direction to the second position to control the range hood to be in a non-working state.
[0076] The second position is a parking position, and the range hood is in a non-working or off state when reaching the position.
[0077] In a specific implementation, for the lifting range hood, the first direction is a vertical direction, the second direction is a vertical upward direction, the range hood is lifted to the second position, for example, the inside of the upper cabinet of the range hood, and meanwhile the range hood is controlled to stop performing the function of sucking the oil fume, that is, in a non-working state.
[0078] The action reservation state refers to a waiting state of the range hood when the user indicates the range hood to perform a certain action through a gesture, but the current state of the range hood does not allow the action to be immediately performed. In this state, the range hood is ready to perform the action indicated by the user, but will not be immediately performed, but will be performed after a suitable opportunity or condition is met.
[0079] Specifically, in the case where the target direction is the second direction, if the range hood is in the working state, that is, the current action mode of the range hood is to perform the action of sucking the oil fume, the prepared action is to move in the second direction, and further, the current action mode of the range hood does not match the prepared action, it is determined that the target action is to move in the second direction, the range hood is controlled to enter the action reservation state, and until the range hood ends the work, the range hood is controlled to move in the second direction to the second position.
[0080] For example, please refer to Figure 3 , which is a flowchart of another control method of a range hood provided by an embodiment of the present application. Take Figure 1 for example, an infrared sensor is arranged above the screen of the range hood at point B in the figure, and a radar sensor is arranged at the bottom of the range hood at point D in the figure. If the infrared sensor detects a user gesture, if the range hood is working, the range hood enters a delayed shutdown state, and then the range hood is controlled to rise after the work is completed.
[0081] As can be seen from the above technical solutions of the embodiments of the present application, the target direction is obtained by determining the direction of the target sensing device relative to the reference sensing device, and the first direction is subdivided to contain the second direction, so that the range hood can be controlled to enter the action reservation state if the current action mode indicates that the range hood is in the working state when the target direction is the second direction. In the action reservation state, the current action mode is continuously updated until the updated current action mode indicates that the range hood is in the non-working state, and then the range hood is controlled to move in the second direction to the second position, so as to ensure that the user gesture does not directly affect the working state of the range hood, but first passes through the reservation mechanism to smoothly transition to the non-working state, and then moves in the second direction to the second position, so as to achieve the purpose of controlling the range hood to be in the non-working state, to prevent the user from misoperating to affect the work of the range hood.
[0082] In an exemplary embodiment, the first direction includes a third direction, the range hood is configured to move in the third direction to a first position, and the first position is configured to control the range hood to be in the working state. In the case where the target direction is the third direction, the step S207 can include the following steps:
[0083] Control the range hood to move along a third direction to the first position so that the range hood enters the working state.
[0084] The first direction refers to the set of possible directions of movement for the range hood.
[0085] Here, the third direction is a subset of the first direction, referring to the direction along which the range hood moves to the first position. Specifically, the range hood moves to the first position along the third direction to control the range hood to be in working condition.
[0086] The first position serves as a stopping point, and the range hood enters the working state when it reaches this position. In practice, the first position can be a specific location or a range, and the range hood can be in the working state when it is within this range.
[0087] In practice, for lifting range hoods, the first direction is vertical and the third direction is vertically downward. When the range hood descends to the third position, it is controlled to enter the working state and perform functions such as fume extraction.
[0088] Specifically, when the target direction is a third direction, the range hood is controlled to move along the third direction to the first position, and the range hood is controlled to enter the working state.
[0089] For example, with Figure 1 For example, an infrared sensor is installed at point B in the diagram, above the range hood screen, and a radar sensor is installed at point D, at the bottom of the range hood. When the gesture radar sensor receives a hand gesture signal, it sends a signal to the system, controlling the range hood to descend and turn on the fan to enter working mode.
[0090] As can be seen from the above technical solutions of the embodiments of this application, the embodiments of this application obtain the target direction by determining the direction of the target sensing device relative to the reference sensing device; and by subdividing the first direction into a third direction, the range hood can be controlled to move along the third direction to the first position when the target direction is the third direction, thereby enabling the range hood to enter the working state.
[0091] Corresponding to the control methods of the range hoods provided in the above embodiments, this application also provides a control device for a range hood. Since the control device for the range hoods provided in this application corresponds to the control methods of the range hoods provided in the above embodiments, the implementation methods of the aforementioned control methods for range hoods are also applicable to the control device for the range hoods provided in this embodiment, and will not be described in detail in this embodiment.
[0092] Please see Figure 4As shown in the structural schematic diagram of the control device of the range hood provided by the embodiment of the application, the device has the function of implementing the control method of the range hood in the method embodiments, which can be implemented by hardware or corresponding software executed by hardware. Specifically, the range hood is used for moving in a first direction, and the range hood is provided with a first sensing device and a second sensing device distributed along the first direction, the first sensing device and the second sensing device are respectively used for outputting a gesture signal when detecting a user gesture, and the detection range of the first sensing device and the detection range of the second sensing device do not intersect; as shown in the control method of the range hood, the device can include: Figure 4
[0093] The device determining module 410 is configured to determine a target sensing device outputting the current gesture signal in response to the current gesture signal, the target sensing device being the first sensing device or the second sensing device.
[0094] The action preparation module 420 is configured to determine a preliminary execution action of the range hood in the first direction based on a direction of the target sensing device relative to a reference sensing device, the reference sensing device being a sensing device other than the target sensing device in the first sensing device and the second sensing device.
[0095] The action determination module 430 is configured to determine a target action based on a matching degree of a current action mode of the range hood and the preliminary execution action.
[0096] The action execution module 440 is configured to control the range hood to execute the target action.
[0097] In an exemplary embodiment, the action preparation module includes:
[0098] The direction determining module is configured to determine the direction of the target sensing device relative to the reference sensing device in the first direction to obtain a target direction.
[0099] The movement determining module is configured to determine that the preliminary execution action of the range hood is movement in the target direction.
[0100] In an exemplary embodiment, the action determination module includes:
[0101] The first target action module is configured to determine the preliminary execution action as the target action in a case where the preliminary execution action does not match the current action mode of the range hood.
[0102] In an exemplary embodiment, the action determination module includes:
[0103] The second target action module is configured to determine the target action as turning off the current action mode of the range hood in a case where the preliminary execution action matches the current action mode of the range hood.
[0104] In one example embodiment, the first direction comprises a second direction, the range hood is configured to move along the second direction to a second position, the second position is configured to control the range hood to be in a non-working state; in a case that the target direction is the second direction, the action execution module comprises:
[0105] The action reservation module is configured to control the range hood to enter an action reservation state in a case that the current action mode indicates that the range hood is in the working state.
[0106] The first movement control module is configured to update the current action mode in the action reservation state, and control the range hood to move along the second direction to the second position in a case that the updated current action mode indicates that the range hood is in the non-working state.
[0107] In one example embodiment, the first direction comprises a third direction, the range hood is configured to move along the third direction to a first position, the first position is configured to control the range hood to be in the working state; in a case that the target direction is the third direction, the action execution module comprises:
[0108] The second movement control module is configured to control the range hood to move along the third direction to the first position, so that the range hood enters the working state.
[0109] It should be noted that the device provided in the above examples is only used as an example to divide the above functional modules in order to achieve its functions. In actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the device and method embodiments provided in the above examples belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be described here.
[0110] The electronic device provided in the embodiments of the present application includes a processor and a memory, the memory stores at least one instruction or at least one program, the at least one instruction or the at least one program is loaded and executed by the processor to implement any one of the control methods of the range hood provided in the above method embodiments.
[0111] The memory can be used to store software programs and modules, and the processor can execute various functional applications and data processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by functions, etc.; the data storage area can store data created according to the use of the device, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory can also include a memory controller to provide access of the processor to the memory.
[0112] The method embodiments provided by the embodiments of the application can be executed in a computer terminal, a server or similar computing device, that is, the electronic device can include a computer terminal, a server or similar computing device. Figure 5 is a hardware structure block diagram of a computer device for executing the control method of the range hood provided by the embodiments of the application, as Figure 5 indicated, the internal structure of the computer device can include but is not limited to a processor, a network interface and a memory. The processor, the network interface and the memory in the computer device can be connected through a bus or other means, and in the embodiments of the present specification, a connection through a bus is taken as an example. Figure 5
[0113] The processor (or CPU (Central Processing Unit, Central Processor)) is the computing core and control core of the computer device. The network interface can optionally include a standard wired interface, a wireless interface (such as WI-FI, a mobile communication interface, etc.). The memory is a memory device in the computer device, used for storing programs and data. It can be understood that the memory here can be a high-speed RAM storage device, or a non-volatile memory, for example, at least one disk storage device; optionally, it can also be at least one storage device located away from the aforementioned processor. The memory provides a storage space that stores the operating system of the electronic device, which can include but is not limited to a Windows system (an operating system), a Linux (an operating system), an Android (a mobile operating system) system, an IOS (a mobile operating system) system, etc., and the present application does not limit this; and in the storage space, one or more instructions suitable for being loaded and executed by the processor are also stored, and these instructions can be one or more computer programs (including program codes). In the embodiments of the present specification, the processor loads and executes one or more instructions stored in the memory to implement the control method of the range hood provided by the method embodiments.
[0114] The embodiments of the present application also provide a computer readable storage medium, which can be arranged in an electronic device to save at least one instruction or at least one program related to the control method of the range hood, and the at least one instruction or the at least one program is loaded and executed by the processor to implement any one of the control methods of the range hood provided by the method embodiments.
[0115] Optionally, in the embodiment, the storage medium can include, but is not limited to, a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various storage medium capable of storing program codes.
[0116] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. The above-mentioned embodiments of the present application are described. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve the desired result. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired result. In some embodiments, multi-task processing and parallel processing are possible or can be advantageous.
[0117] Each of the embodiments in the specification is described in a progressive manner, and the same or similar parts between each embodiment can be referred to each other. Each embodiment focuses on the difference from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiment.
[0118] A person of ordinary skill in the art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or by program to instruct relevant hardware to complete, and the program can be stored in a computer readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk.
[0119] The above is only a preferred embodiment of the present application, and is not used to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A control method for a range hood, characterized in that, The range hood is used to move along a first direction. The range hood is equipped with a first sensor and a second sensor distributed along the first direction. The first sensor and the second sensor are respectively used to output gesture signals when a user gesture is detected. The detection range of the first sensor and the detection range of the second sensor do not overlap. The method includes: In response to the current gesture signal, the target sensing device that outputs the current gesture signal is determined; the target sensing device is either the first sensing device or the second sensing device. In the first direction, based on the direction of the target sensing device relative to the reference sensing device, the preparatory action of the smoke machine is determined; the reference sensing device is a sensing device other than the target sensing device among the first sensing device and the second sensing device. The target action is determined based on the matching degree between the current operation mode of the range hood and the action to be executed. Control the smoke machine to perform the target action.
2. The control method for a smoke machine according to claim 1, characterized in that, The step of determining the preparatory action of the smoke hood based on the direction of the target sensing device relative to the reference sensing device in the first direction includes: In the first direction, the direction of the target sensing device relative to the reference sensing device is determined to obtain the target direction; The preparatory action for the smoke machine is determined to be movement along the target direction.
3. The control method for a smoke machine according to claim 2, characterized in that, The determination of the target action based on the matching degree between the current operation mode of the range hood and the pre-executed action includes: If the preparatory action does not match the current operating mode of the range hood, the preparatory action is determined as the target action.
4. The control method for a smoke machine according to claim 2, characterized in that, The determination of the target action based on the matching degree between the current operation mode of the range hood and the pre-executed action includes: If the preparatory action matches the current operating mode of the range hood, the target action is determined to be the current operating mode of turning off the range hood.
5. The control method for a smoke machine according to claim 3, characterized in that, The first direction includes a second direction, and the range hood is used to move along the second direction to a second position, the second position being used to control the range hood to be in a non-working state; When the target direction is the second direction, controlling the smoke machine to perform the target action includes: When the current operation mode indicates that the range hood is in working condition, control the range hood to enter the operation reservation state; In the action reservation state, the current action mode is updated until the updated current action mode indicates that the range hood is in a non-working state, and then the range hood is controlled to move along the second direction to the second position.
6. The control method for a smoke machine according to claim 4, characterized in that, The first direction includes a third direction, and the range hood is used to move along the third direction to a first position, the first position being used to control the range hood to be in a working state; When the target direction is the third direction, controlling the smoke machine to perform the target action includes: The range hood is controlled to move along the third direction to the first position so that the range hood enters the working state.
7. A control device for a smoke machine, characterized in that, The range hood is used to move along a first direction. The range hood is equipped with a first sensor and a second sensor distributed along the first direction. The first sensor and the second sensor are respectively used to output a gesture signal when a user gesture is detected. The detection range of the first sensor and the detection range of the second sensor do not intersect. The device includes: The device determination module is used to determine the target sensing device that outputs the current gesture signal in response to the current gesture signal; the target sensing device is the first sensing device or the second sensing device. An action preparation module is used to determine a preparatory action for the smoke machine in the first direction based on the direction of the target sensing device relative to the reference sensing device; the reference sensing device is a sensing device other than the target sensing device among the first sensing device and the second sensing device. An action determination module is used to determine a target action based on the matching degree between the current action mode of the range hood and the action to be executed. The action execution module is used to control the smoke machine to perform the target action.
8. An electronic device, characterized in that, The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the control method of the smoke machine as described in any one of claims 1 to 6.
9. A computer-readable storage medium storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by a processor to implement the control method of the smoke machine as described in any one of claims 1 to 6.
10. A computer program, characterized in that, When the computer program is executed by the processor, it implements the control method of the tobacco machine according to any one of claims 1 to 6.
Citation Information
Patent Citations
Human body intelligent identification and gesture operation control system
CN107037884A
Electronic device and data processing method
WO2020239029A1