Range hood control method and device, electronic equipment and storage medium
By obtaining user response data and using the neural network model to automatically control the range hood, it solves the problem of manual control of the existing range hood and improves the user experience and the freshness of the kitchen air.
Patent Information
- Application Number
- CN202410849807.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-01
AI Technical Summary
The existing range hood requires manual control, which makes it impossible to achieve humanized automatic control under inconvenient circumstances, reducing the user experience.
By obtaining the user's reaction data, including expression, voice and action data, the neural network model is used to automatically control the range hood until the user's emotion meets the preset target emotion value.
It realizes the automatic control of the range hood and improves the user experience, especially when the user cannot conveniently operate it manually, ensuring the fresh air in the kitchen.
Smart Images

Figure CN118729347A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of range hoods, and in particular to a range hood control method, device, electronic equipment and storage medium. Background Art
[0002] With the development of science and technology, the degree of automation in kitchens is getting higher and higher. For example, the fumes generated during the cooking process can be processed to ensure the freshness of the kitchen air, which can be achieved through a range hood.
[0003] However, the range hoods in the related art usually require manual control by the user. When manual control is inconvenient, humanized automatic control cannot be performed, which reduces the user experience. Summary of the invention
[0004] In view of this, an object of the present invention is to provide a range hood control method, device, electronic device and storage medium to automatically control the range hood and improve user experience.
[0005] In a first aspect, an embodiment of the present invention provides a range hood control method, the method comprising: obtaining first reaction data of a user; controlling the range hood based on the first reaction data; obtaining second reaction data after controlling the range hood; determining first user emotion data based on the second reaction data; and controlling the range hood again based on the first user emotion data until current user emotion data corresponding to the user meets a preset target emotion value.
[0006] In a preferred embodiment of the present invention, the above-mentioned first reaction data includes: user expression data, user voice data and user action data; controlling the range hood based on the first reaction data includes: determining second user emotion data based on the user expression data and user voice data; controlling the range hood based on the second user emotion data and user action data.
[0007] In a preferred embodiment of the present invention, the above-mentioned control of the range hood based on user emotion data and user action data includes: determining the user's operation intention based on user expression data, user action data and a preset weight value; outputting a first control signal corresponding to the first reaction data based on the operation intention; and controlling the range hood based on the first control signal.
[0008] In a preferred embodiment of the present invention, the above-mentioned range hood is integrated with an image acquisition module, a voice acquisition module, a body language monitoring module and a pre-trained neural network model; the image acquisition module is used to collect user expression data; the voice acquisition module is used to collect user voice data; the body language monitoring module is used to collect user action data; the neural network model is used to output a second control signal corresponding to the reaction data based on the reaction data; the reaction data includes first reaction data and second reaction data.
[0009] In a preferred embodiment of the present invention, the training method of the above-mentioned neural network model is: obtain reaction data samples and operation samples corresponding to the reaction data samples; mark the operation samples based on the reaction data samples to obtain target operation samples; normalize the reaction data samples and the target operation samples to obtain a training data set; and train the neural network model based on the training data set.
[0010] In a preferred embodiment of the present invention, before obtaining the user's first reaction data, the method also includes: correspondingly storing the third control signal of the user under the third emotional data; controlling the range hood based on the first reaction data, including: when the emotional data included in the first reaction data is the third emotional data, controlling the range hood through the third control signal.
[0011] In a preferred embodiment of the present invention, the method further includes: acquiring a pre-configured reaction data mapping relationship; determining a fourth control signal corresponding to the user's current reaction data from the reaction data mapping relationship; and controlling the range hood based on the fourth control signal.
[0012] In the second aspect, an embodiment of the present invention also provides a range hood control device, including: a first reaction data acquisition module, used to acquire the user's first reaction data; a first range hood control module, used to control the range hood based on the first reaction data; a second reaction data acquisition module, used to acquire the second reaction data after controlling the range hood; a first user emotion data determination module, used to determine the first user emotion data based on the second reaction data; a second range hood control module, used to perform the next step of controlling the range hood based on the first user emotion data, until the user emotion data corresponding to the user meets the preset target emotion value.
[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the range hood control method of the first aspect above.
[0014] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the range hood control method of the first aspect mentioned above.
[0015] The embodiments of the present invention bring the following beneficial effects:
[0016] The embodiment of the present invention provides a range hood control method, device, electronic device and storage medium, which obtains the user's first reaction data, controls the range hood based on the first reaction data, obtains the second reaction data after the range hood is controlled, determines the first user emotion data based on the second reaction data, and finally controls the range hood again based on the first user emotion data until the current user emotion data corresponding to the user meets the preset target emotion value. In this method, the range hood is first preliminarily controlled by the user's first reaction data, and then the control of the range hood is adjusted by the user's first user emotion data until the control of the range hood meets the user's needs, thereby realizing the automatic control of the range hood and improving the user experience.
[0017] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present disclosure.
[0018] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] 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 ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A flow chart of a range hood control method provided by an embodiment of the present invention;
[0021] Figure 2 A flow chart of another range hood control method provided by an embodiment of the present invention;
[0022] Figure 3a A structural diagram of a range hood control system provided by an embodiment of the present invention;
[0023] Figure 3b A flowchart of a training method for a neural network model provided by an embodiment of the present invention;
[0024] Figure 4 A schematic diagram of the structure of a range hood control device provided by an embodiment of the present invention;
[0025] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0026] 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] With the development of science and technology, the degree of automation in kitchens is getting higher and higher. For example, the fumes generated during the cooking process can be processed to ensure the freshness of the kitchen air, which can be achieved through a range hood.
[0028] However, the range hoods in the related art usually require manual control by the user. In cases where manual control is inconvenient, for example, the user's hands are covered with a lot of oil and dirt and he does not want to touch the manual control button of the range hood, or the user is short and cannot directly press the manual control button, humanized automatic control cannot be performed, which reduces the user experience.
[0029] Based on this, the range hood control method, device, electronic device and storage medium provided by the embodiment of the present invention can obtain the user's first reaction data, control the range hood based on the first reaction data, then obtain the second reaction data after the range hood is controlled, determine the first user emotion data based on the second reaction data, and finally control the range hood again based on the first user emotion data until the current user emotion data corresponding to the user meets the preset target emotion value. In this way, the range hood is first preliminarily controlled by the user's first reaction data, and then the control of the range hood is adjusted by the user's first user emotion data until the control of the range hood meets the user's needs, thereby realizing the automatic control of the range hood and improving the user experience.
[0030] To facilitate understanding of this embodiment, a range hood control method disclosed in an embodiment of the present invention is first introduced in detail.
[0031] Example 1
[0032] The embodiment of the present invention provides a range hood control method. Figure 1 The flowchart of a range hood control method provided by an embodiment of the present invention is as follows. Figure 1 As shown, the range hood control method may include the following steps:
[0033] Step S101, obtaining the user's first reaction data.
[0034] Among them, the first reaction data includes user expression data, user voice data and user action data.
[0035] Among them, the user expression data represents the user's emotions, such as happy emotions, depressed emotions, and nervous emotions, etc. Different expressions of the user can express different emotions. The correspondence between expressions and emotions can be adaptively adjusted according to the situations of different users. Different emotions can reflect the different levels of user satisfaction with the current range hood control situation. For example, when the user's emotion is happy, it can be considered that the current range hood control situation meets the user's needs. When the user's emotion is depressed, it can be considered that the current range hood control situation gradually deviates from the user's needs. When the user's emotion is nervous, it can be considered that the current range hood control situation seriously deviates from the user's needs.
[0036] Among them, the user voice data represents the user's voice intonation. For example, when the current control situation of the range hood gradually deviates from the user's needs, the user may express his or her own needs to the range hood. The user's voice intonation can be analyzed through the user voice data, and the user's emotions can be predicted through the voice intonation, thereby predicting the degree to which the current control situation of the range hood deviates from the user's needs. For example, when the user's voice tone expresses urgency, the emotion can be considered to be nervous, and when the user's voice tone is flat, the emotion can be considered to be depressed, thereby making different adjustments to the control situation of the range hood in combination with the user's emotions.
[0037] Among them, the user action data represents the user's body movements. For example, when the current control situation of the range hood gradually deviates from the user's needs, the user may directly manually adjust the range hood. In the process of moving the hand toward the manual control button of the range hood, the user's intended control option is predicted by the user's body movement, and the user's emotions are predicted by the speed of the body movement. For example, it can be considered that when the user's manual speed is very fast, the emotion is nervous, and when the user's manual speed is fast, the emotion is depressed. Through user action data and user expression data, the user's emotions can be judged more comprehensively, thereby controlling the range hood more accurately.
[0038] Among them, user expression data can be collected through an image acquisition module, user voice data can be collected through a voice acquisition module, and user action data can be collected through a body language monitoring module. The image acquisition module can be a device with a shooting function such as a camera, the voice acquisition module can be a device with a sound acquisition function such as a microphone, and the body language monitoring module can be a device with a body language analysis function such as a depth sensor.
[0039] Step S102: controlling the range hood based on the first response data.
[0040] The control of the range hood may be to control the wind speed of the range hood. The user's emotion may be determined through the user's expression data and the user's voice data in the first reaction data, and the need to control the range hood may be further determined through the user's action data.
[0041] Step S103, obtaining second response data after controlling the range hood.
[0042] Among them, the second reaction data can also include user expression data, user voice data and user action data, which are similar to the user expression data, user voice data and user action data in the above-mentioned first reaction data, and will not be repeated here.
[0043] Step S104: determining the first user emotion data based on the second reaction data.
[0044] Among them, the first user emotional data can be determined by the user expression data and the user voice data in the second reaction data. For example, if the user expression data indicates that the emotion is nervous, and the user voice data also indicates that the emotion is nervous, then it can be considered that the first user emotional data represents nervousness; if the user expression data indicates that the emotion is nervous, but the user voice data indicates that the emotion is depressed, then it can be considered that the first user emotional data represents depression; if the user expression data indicates that the emotion is depressed, but the user voice data indicates that the emotion is nervous, then it can be considered that the first user emotional data represents nervousness; if the user expression data indicates that the emotion is depressed, but the user voice data indicates that the emotion is depressed, then it can be considered that the first user emotional data represents depression; if the user expression data indicates that the emotion is happy, but the user voice data indicates that the emotion is nervous or depressed, then it can be considered that the first user emotional data represents nervousness or depression. The specific user voice data and the user expression data corresponding to the first user emotional data can be adjusted according to the actual situation, and are not limited here.
[0045] It should be noted that, since the control of the range hood does not involve voice control by the user when the user's needs are met, the user voice data does not indicate that the user is in a happy mood.
[0046] Step S105: controlling the range hood again based on the first user emotion data until the current user emotion data corresponding to the user meets the preset target emotion value.
[0047] Furthermore, the user's operation intention is determined based on the first user emotion data, the user action data in the second reaction data and a preset weight value, and a corresponding control signal is output based on the operation intention. The range hood is controlled based on the control signal until the current user emotion data corresponding to the user meets the preset target emotion value.
[0048] For example, if the emotion value corresponding to the first user emotion data reaches the first weight value among the preset weight values, the user's emotion is considered to be nervous, and then combined with the user action data, the control that the user wants to perform, that is, the user's operation intention, is predicted.
[0049] Among them, different controls correspond to different control signals, and the specific corresponding relationship can be configured in advance.
[0050] Among them, when the user is nervous or depressed, it can be considered that the user is disturbed by noise, and the range hood can be controlled to reduce the wind speed to reduce the rotation speed; when the user is happy, the range hood can be controlled to increase the wind speed to ensure fresh air in the kitchen. Furthermore, the voice assistant can provide cooking instructions or play relaxing music.
[0051] The range hood control method provided by the embodiment of the present invention can obtain the user's first reaction data, control the range hood based on the first reaction data, then obtain the second reaction data after the range hood is controlled, determine the first user emotion data based on the second reaction data, and finally control the range hood again based on the first user emotion data until the current user emotion data corresponding to the user meets the preset target emotion value. In this way, the range hood is first preliminarily controlled by the user's first reaction data, and then the control of the range hood is adjusted by the user's first user emotion data until the control of the range hood meets the user's needs, thereby realizing the automatic control of the range hood and improving the user experience.
[0052] Example 2
[0053] The embodiment of the present invention also provides another range hood control method; the method is implemented on the basis of the method in the above embodiment; the method focuses on describing a specific implementation method of controlling the range hood based on the first reaction data.
[0054] Figure 2 A flowchart of another range hood control method provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the control of the range hood based on the first reaction data may include the following steps:
[0055] Step S201, determining second user emotion data based on user expression data and user voice data.
[0056] For example, if the user expression data indicates that the emotion is nervous, and the user voice data also indicates that the emotion is nervous, then the second user emotion data can be considered to represent nervousness; if the user expression data indicates that the emotion is nervous, but the user voice data indicates that the emotion is depressed, then the second user emotion data can be considered to represent depression; if the user expression data indicates that the emotion is depressed, but the user voice data indicates that the emotion is nervous, then the second user emotion data can be considered to represent nervousness; if the user expression data indicates that the emotion is depressed, but the user voice data indicates that the emotion is depressed, then the second user emotion data can be considered to represent depression; if the user expression data indicates that the emotion is happy, but the user voice data indicates that the emotion is nervous or depressed, then the second user emotion data can be considered to represent nervousness or depression. The specific situation where the user voice data and the user expression data correspond to the second user emotion data can be adjusted according to the actual situation, and is not limited here.
[0057] Step S202: controlling the range hood based on the second user emotion data and the user action data.
[0058] Specifically, step S202 may include:
[0059] Step S2021, determining the user's operation intention based on the user expression data, the user action data and the preset weight value.
[0060] For example, if the emotion value corresponding to the user's expression data reaches the second weight value in the preset weight values, the user's emotion is considered to be nervous, and then combined with the user's action data, the control that the user wants to perform, that is, the user's operation intention, is predicted.
[0061] Step S2022: outputting a first control signal corresponding to the first reaction data based on the operation intention.
[0062] Among them, different controls correspond to different first control signals, and the specific corresponding relationship can be configured in advance.
[0063] Step S2023: controlling the range hood based on the first control signal.
[0064] The first control signal may correspond to different powers of the range hood, and the different powers of the range hood may be controlled according to different first control signals, thereby adjusting the wind speed of the range hood.
[0065] Preferably, before step S201, the method may further include: storing the third control signal of the user under the third emotion data accordingly. On this basis, step S202 may include:
[0066] Step S2024: when the emotion data included in the first reaction data is the third emotion data, the range hood is controlled by a third control signal.
[0067] Among them, the user's range hood usage habits under different emotional states can be recorded. For example, when the user's emotion corresponds to the third emotion data, the range hood will be controlled through the operation corresponding to the third control signal. The third emotion data and the third control signal are stored accordingly, and when the user starts the range hood and the emotion data is the third emotion data, the range hood is controlled through the third control signal to meet the user's personalized needs.
[0068] Furthermore, the user can pre-customize the reaction data and the control of the range hood by the reaction data. Therefore, the method may also include: obtaining a pre-configured reaction data mapping relationship; determining a fourth control signal corresponding to the user's current reaction data from the reaction data mapping relationship; and controlling the range hood based on the fourth control signal.
[0069] Among them, users can associate customized response data with the working mode of the range hood to achieve user's automatic control.
[0070] As a way of implementation, range hoods can be deployed in the smart kitchen ecosystem, and the collaborative work of smart kitchen appliances can be started through voice control commands, such as linking ovens, dishwashers and other kitchen appliances to improve the automation experience.
[0071] The range hood control method provided in the embodiment of the present invention can control the range hood according to the user's own emotional state, thereby realizing automatic control of the range hood, and recording the user's control habits of the range hood under different emotional states, allowing the user to pre-configure reaction data mapping relationships according to their own habits, etc., so as to control the range hood according to the user's habits, thereby realizing automatic control of the range hood and improving the user experience.
[0072] Example 3
[0073] The embodiment of the present invention further provides a range hood control system; the system is implemented on the basis of the method of the above embodiment.
[0074] Figure 3a A structural diagram of a range hood control system provided by an embodiment of the present invention, such as Figure 3a As shown, the range hood control system may include the following structure: a range hood, an image acquisition module, a voice acquisition module, a body language monitoring module and a pre-trained neural network model integrated in the range hood.
[0075] Specifically, the image acquisition module is used to collect user expression data; the voice acquisition module is used to collect user voice data; and the body language monitoring module is used to collect user action data.
[0076] Among them, the neural network model is used to output a second control signal corresponding to the reaction data based on the reaction data; the reaction data includes first reaction data and second reaction data.
[0077] Figure 3b A flowchart of a training method of a neural network model provided by an embodiment of the present invention, such as Figure 3b As shown, the training method of the neural network model may include the following steps:
[0078] Step S301: Acquire a reaction data sample and an operation sample corresponding to the reaction data sample.
[0079] The reaction data samples may include user expression data samples, user voice data samples and user action data samples, and the operation samples may be control operations for the reaction data samples to make the user's emotions feel pleasant.
[0080] Among them, the reaction data samples can select reaction data samples corresponding to users of different genders and ages, so that when the user's gender and age are different, the emotion can be accurately determined to accurately control the range hood.
[0081] Step S302: label the operation sample based on the reaction data sample to obtain a target operation sample.
[0082] Among them, labeling can be to assign different labels to the operation samples, such as happy expressions, depressed labels and nervous expressions.
[0083] Step S303: normalize the reaction data samples and the target operation samples to obtain a training data set.
[0084] Among them, the reaction data samples and target operation samples are made suitable for the input of the neural network model through normalization processing to carry out model training.
[0085] Step S304: training the neural network model based on the training data set.
[0086] Among them, the neural network model can be a convolutional neural network, a recurrent neural network, etc., which is not limited here. By training the neural network model, the accuracy of range hood control is improved and the user experience is improved.
[0087] Example 4
[0088] Corresponding to the above method embodiment, the embodiment of the present invention provides a range hood control device, Figure 4 A schematic diagram of the structure of a range hood control device provided by an embodiment of the present invention is shown in FIG. Figure 4 As shown, the range hood control device may include:
[0089] The first reaction data acquisition module 401 is used to acquire the user's first reaction data.
[0090] The first range hood control module 402 is used to control the range hood based on the first response data.
[0091] The second reaction data acquisition module 403 is used to acquire the second reaction data after controlling the range hood.
[0092] The first user emotion data determination module 404 is configured to determine the first user emotion data based on the second reaction data.
[0093] The second range hood control module 405 is used to perform further control on the range hood based on the first user emotion data until the user emotion data corresponding to the user meets a preset target emotion value.
[0094] The range hood control device provided by the embodiment of the present invention can obtain the user's first reaction data, control the range hood based on the first reaction data, then obtain the second reaction data after the range hood is controlled, determine the first user emotion data based on the second reaction data, and finally control the range hood again based on the first user emotion data until the current user emotion data corresponding to the user meets the preset target emotion value. In this way, the range hood is first preliminarily controlled by the user's first reaction data, and then the control of the range hood is adjusted by the user's first user emotion data until the control of the range hood meets the user's needs, thereby realizing the automatic control of the range hood and improving the user experience.
[0095] In some embodiments, the first reaction data includes: user expression data, user voice data and user action data. The first range hood control module is also used to determine the second user emotion data based on the user expression data and the user voice data; and control the range hood based on the second user emotion data and the user action data.
[0096] In some embodiments, the first range hood control module is also used to determine the user's operation intention based on user expression data, user action data and a pre-set weight value; output a first control signal corresponding to the first reaction data based on the operation intention; and control the range hood based on the first control signal.
[0097] In some embodiments, the range hood is integrated with an image acquisition module, a voice acquisition module, a body language monitoring module and a pre-trained neural network model; the image acquisition module is used to collect user expression data; the voice acquisition module is used to collect user voice data; the body language monitoring module is used to collect user action data; the neural network model is used to output a second control signal corresponding to the reaction data based on the reaction data; the reaction data includes first reaction data and second reaction data.
[0098] In some embodiments, the training method of the neural network model is: obtain reaction data samples and operation samples corresponding to the reaction data samples; mark the operation samples based on the reaction data samples to obtain target operation samples; normalize the reaction data samples and the target operation samples to obtain a training data set; and train the neural network model based on the training data set.
[0099] In some embodiments, the first reaction data acquisition module is further used to store the third control signal of the user under the third emotion data accordingly.
[0100] In some embodiments, the first range hood control module is further configured to control the range hood through a third control signal when the emotion data included in the first reaction data is third emotion data.
[0101] In some embodiments, the device also includes: a third range hood control module, used to obtain a pre-configured reaction data mapping relationship; determine a fourth control signal corresponding to the user's current reaction data from the reaction data mapping relationship; and control the range hood based on the fourth control signal.
[0102] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0103] Example 5
[0104] The embodiment of the present invention also provides an electronic device for executing the range hood control method described above; Figure 5 A structural schematic diagram of an electronic device is shown, which includes a memory 500 and a processor 501, wherein the memory 500 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor 501 to implement the above-mentioned range hood control method.
[0105] Further, Figure 5 The electronic device shown further includes a bus 502 and a communication interface 503 , and the processor 501 , the communication interface 503 and the memory 500 are connected via the bus 502 .
[0106] The memory 500 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 503 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 502 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 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0107] The processor 501 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 501. The above processor 501 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 processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 500, and the processor 501 reads the information in the memory 500 and completes the steps of the method of the above embodiment in combination with its hardware.
[0108] An embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned range hood control method. The specific implementation can be found in the method embodiment, which will not be repeated here.
[0109] The computer program product for the range hood control method provided in the embodiment of the present invention includes a computer-readable storage medium storing a non-volatile program code executable by a processor. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment and will not be repeated here.
[0110] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0111] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0112] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0113] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0114] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. 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 enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0115] Finally, it should be noted that the above-described 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-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned 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 range hood control method, It is characterized in that The method comprises: Get the user's first reaction data; controlling the range hood based on the first reaction data; Acquiring second response data after controlling the range hood; determining first user emotion data based on the second reaction data; The range hood is controlled again based on the first user emotion data until the current user emotion data corresponding to the user meets a preset target emotion value.
2. The method according to claim 1, It is characterized in that The first reaction data includes: user expression data, user voice data and user action data; the controlling the range hood based on the first reaction data includes: Determine second user emotion data based on the user expression data and the user voice data; The range hood is controlled based on the second user emotion data and the user action data.
3. The method according to claim 2, It is characterized in that The controlling the range hood based on the user emotion data and the user action data includes: Determining the user's operation intention based on the user expression data, the user action data and a preset weight value; outputting a first control signal corresponding to the first reaction data based on the operation intention; The range hood is controlled based on the first control signal.
4. The method according to claim 3, It is characterized in that The range hood is integrated with an image acquisition module, a voice acquisition module, a body language monitoring module and a pre-trained neural network model; The image acquisition module is used to collect user expression data; The voice collection module is used to collect user voice data; The body language monitoring module is used to collect user action data; The neural network model is used to output a second control signal corresponding to the reaction data based on reaction data; the reaction data includes the first reaction data and the second reaction data.
5. The method according to claim 4, It is characterized in that The training method of the neural network model is: Acquire a reaction data sample and an operation sample corresponding to the reaction data sample; Marking the operation sample based on the reaction data sample to obtain a target operation sample; Normalizing the reaction data samples and the target operation samples to obtain a training data set; The neural network model is trained based on the training data set.
6. The method according to claim 1, It is characterized in that Before obtaining the user's first reaction data, the method further includes: Correspondingly storing the third control signal of the user under the third emotion data; The controlling the range hood based on the first reaction data includes: When the emotion data included in the first reaction data is the third emotion data, the range hood is controlled by the third control signal.
7. The method according to claim 1, It is characterized in that The method further comprises: Get pre-configured response data mapping; Determine a fourth control signal corresponding to the current reaction data of the user from the reaction data mapping relationship; The range hood is controlled based on the fourth control signal.
8. A range hood control device, It is characterized in that The device comprises: A first reaction data acquisition module, used to acquire the user's first reaction data; a first range hood control module, configured to control the range hood based on the first response data; A second reaction data acquisition module, used to acquire second reaction data after controlling the range hood; A first user emotion data determination module, configured to determine the first user emotion data based on the second reaction data; The second range hood control module is used to perform further control on the range hood based on the first user emotion data until the user emotion data corresponding to the user meets a preset target emotion value.
9. An electronic device, It is characterized in that It comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the range hood control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the range hood control method according to any one of claims 1 to 7.
