Control method and device of intelligent device, storage medium and electronic device

By detecting the operating status of smart devices and using the environment recognition model and object recognition model to automatically control the door status, the problem of low convenience in door control of smart devices is solved, and automatic adaptive management is realized when it is inconvenient for users to operate manually.

CN114839901BActive Publication Date: 2024-09-24QINGDAO HAIER TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210302055.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-25
Publication Date
2024-09-24
Estimated Expiration
2042-03-25

AI Technical Summary

Technical Problem

The door control process of smart devices is not very convenient. Users' hands may be occupied when they need to open the door, resulting in inconvenient operation.

Method used

By detecting the current operating status of the smart device, matching the corresponding state control model to automatically control the cabin door status, and using the environment recognition model and object recognition model to generate target control operations based on the environmental information inside and outside the cabin to ensure that the door's opening and closing status is inconvenient for the user. Ability to automatically make appropriate adjustments during manual operation.

Benefits of technology

It improves the convenience of smart device door control, realizes door switch status management that automatically adapts when it is inconvenient for users to operate manually, and solves the problem of poor convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114839901B
    Figure CN114839901B
Patent Text Reader

Abstract

The present application discloses a control method and device for a smart device, a storage medium and an electronic device, and relates to the field of smart home technology. The control method for the smart device comprises: detecting the current operating state of the smart device, wherein the operating state of the smart device comprises: a to-be-closed state and a to-be-opened state, wherein the to-be-closed state is used to indicate that a device door of the smart device is open and allows closing, and the to-be-opened state is used to indicate that the device door of the smart device is closed and allows opening; determining a state control model that matches the current operating state among multiple state control models as a target state control model; controlling the door state of the smart device by means of the target state control model, and adopting the above technical solution solves the problems of poor convenience in controlling the door of the smart device in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and more specifically, to a control method and device for smart devices, a storage medium, and an electronic device. Background Art

[0002] With the development of science and technology, more and more smart devices have replaced the traditional working methods, facilitated people's lives, and greatly improved people's quality of life. In daily life, most smart devices require manual operation to open the hatch. However, in some usage scenarios, when the hatch of the smart device needs to be opened, the user's hands may be occupied, and it is inconvenient to free up both hands to open the hatch. In this case, it is more troublesome to control the hatch of the smart device.

[0003] With regard to the problems in related technologies such as the poor convenience in controlling the hatch of smart devices, no effective solution has yet been proposed. Summary of the invention

[0004] The embodiments of the present application provide a control method and device for an intelligent device, a storage medium, and an electronic device, so as to at least solve the problem of poor convenience in the process of controlling the hatch of the intelligent device in the related art.

[0005] According to an embodiment of the present invention, a control method for a smart device is provided, comprising: detecting a current operating state of the smart device, wherein the operating state of the smart device comprises: a to-be-closed state and a to-be-opened state, the to-be-closed state is used to indicate that a device door of the smart device is open and allows closing, and the to-be-opened state is used to indicate that a device door of the smart device is closed and allows opening; determining a state control model among multiple state control models that matches the current operating state as a target state control model; and controlling the door state of the smart device by means of the target state control model.

[0006] Optionally, determining a state control model matching the current running state among multiple state control models as a target state control model includes:

[0007] In a case where the current running state is the to-be-closed state, determining a first state control model among the multiple state control models as the target state control model, wherein the first state control model is used to control the door state of the smart device according to the cabin environment information of the smart device;

[0008] When the current operating state is the to-be-opened state, the second state control model among the multiple state control models is determined as the target state control model, wherein the second state control model is used to control the cabin door state of the smart device according to the extravehicular environment information of the smart device.

[0009] Optionally, controlling the door state of the smart device by using the target state control model includes:

[0010] Detecting environmental information of the smart device through an environment recognition model included in the target state control model;

[0011] In the case where the environmental information meets the target trigger condition, generating a target control operation corresponding to the target trigger condition through the target state control model;

[0012] When confirmation information of the target control operation is obtained, the target control operation is performed on the smart device through the target state control model.

[0013] Optionally, detecting the environmental information of the smart device by using the environmental detection model included in the target state control model includes:

[0014] When the target state control model is the first state control model, collecting cleaning object information in the smart device cabin;

[0015] The cleaning object information is input into the object recognition model included in the first state control model, and an object recognition result output by the object recognition model is obtained as the environmental information of the smart device, wherein the object recognition result is used to indicate whether there is a cleaning object currently in the cabin of the smart device, and the object recognition model is obtained by training an initial object recognition model using a cleaning object information sample marked with a target object recognition result, and the object recognition result satisfies the target trigger condition when it is used to indicate that there is no cleaning object in the cabin of the smart device.

[0016] Optionally, detecting the environmental information of the smart device through the environmental recognition model included in the target state control model includes:

[0017] When the target state control model is the second state control model, collecting an image of the environment outside the cabin of the smart device;

[0018] The image of the extra-cabin environment is input into the image recognition model included in the first state control model, and an image recognition result output by the image recognition model is obtained as the environmental information of the smart device, wherein the image recognition result is used to indicate whether there is a user carrying an object to be cleaned outside the cabin of the smart device, and the image recognition model is obtained by training an initial image recognition model using extra-cabin environment image samples marked with target image recognition results, and the image recognition result satisfies the target trigger condition when it is used to indicate that there is a user carrying an object to be cleaned outside the cabin of the smart device.

[0019] Optionally, before performing the target control operation on the smart device through the target state control model, the method further includes:

[0020] generating a voice announcement, wherein the voice announcement is used to inquire whether to execute the target control operation on the smart device;

[0021] Controlling the voice module to play the voice announcement;

[0022] collecting voice replies in response to the voice announcement;

[0023] A voice reply for indicating confirmation of executing the target control operation on the smart device is determined as confirmation information of the target control operation.

[0024] According to another embodiment of the present invention, there is also provided a control device for an intelligent device, comprising:

[0025] A detection module, used to detect the current running state of the smart device, wherein the running state of the smart device includes: a to-be-closed state and a to-be-opened state, wherein the to-be-closed state is used to indicate that the device door of the smart device is open and allows closing, and the to-be-opened state is used to indicate that the device door of the smart device is closed and allows opening;

[0026] A determination module, configured to determine a state control model matching the current operating state among a plurality of state control models as a target state control model;

[0027] A control module is used to control the door state of the smart device through the target state control model.

[0028] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the control method of the above-mentioned smart device when running.

[0029] According to another aspect of an embodiment of the present invention, there is provided an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the control method of the smart device through the computer program.

[0030] In an embodiment of the present invention, the current running state of the smart device is detected, wherein the running state of the smart device includes: a to-be-closed state and a to-be-opened state, the to-be-closed state is used to indicate that the device door of the smart device is open and allowed to be closed, and the to-be-opened state is used to indicate that the device door of the smart device is closed and allowed to be opened; a state control model matching the current running state among multiple state control models is determined as a target state control model; the door state of the smart device is controlled by the target state control model, that is, for controlling the door of the smart device, on the one hand, the switch state of the device door of the smart device can be directly converted according to the target action in the target range corresponding to the smart device, and on the other hand, when the target action is not detected within the target range, the environment information of the smart device can be detected by the environment recognition model, and then according to the target trigger condition triggered by the environment information, the corresponding target state control model is selected to generate the corresponding target control operation to control the door state of the smart device, so that when it is inconvenient for the user to manually control the switch state of the door, the switch state of the door of the smart device can be automatically controlled by a suitable method among multiple methods according to the current situation of the device. The above technical solution is adopted to solve the problem of poor convenience in the process of controlling the hatch of the smart device in the related technology, and achieve the technical effect of improving the convenience in the process of controlling the hatch of the smart device. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0032] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0033] Figure 1 It is a hardware structure block diagram of a computer terminal of a control method of an intelligent device according to an embodiment of the present invention;

[0034] Figure 2 is a flow chart of a control method of a smart device according to an embodiment of the present invention;

[0035] Figure 3is a schematic diagram of the current operating state of a smart device according to an embodiment of the present invention;

[0036] Figure 4 is a schematic diagram of an action detection process of a smart device according to an embodiment of the present invention;

[0037] Figure 5 is a schematic diagram of a first state control model and a second state control model according to an embodiment of the present invention;

[0038] Figure 6 is a schematic diagram of target triggering conditions of a smart device according to an embodiment of the present invention;

[0039] Figure 7 is a schematic diagram of a second target object according to an embodiment of the present invention;

[0040] Figure 8 is a schematic diagram of obtaining confirmation information of a smart device according to an embodiment of the present invention;

[0041] Fig. 9 is a schematic diagram of a control process of a washing machine according to an embodiment of the present invention;

[0042] Fig.10 is a structural block diagram of a control device for an intelligent device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0044] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0045] According to one aspect of an embodiment of the present application, a control method for a smart device is provided. The control method for a smart device is widely used in smart home (Smart Home), smart home, smart home device ecology, smart residential (Intelligence House) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the control method for the smart device can be applied to Figure 1 In the hardware environment composed of the terminal device 102 and the server 104 shown in FIG. Figure 1 As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.

[0046] The network may include but is not limited to at least one of the following: wired network, wireless network. The wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The terminal device 102 may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.

[0047] In this embodiment, a control method of an intelligent device is provided, which is applied to the above terminal device. Figure 2 1 is a flow chart of a control method of a smart device according to an embodiment of the present invention, and the flow chart includes the following steps:

[0048] Step S202, detecting the current running state of the smart device, wherein the running state of the smart device includes: a to-be-closed state and a to-be-opened state, wherein the to-be-closed state is used to indicate that the device door of the smart device is opened and allowed to be closed, and the to-be-opened state is used to indicate that the device door of the smart device is closed and allowed to be opened;

[0049] Step S204, determining a state control model matching the current running state among the multiple state control models as a target state control model;

[0050] Step S206: controlling the door state of the smart device through the target state control model.

[0051] Through the above steps, for controlling the hatch of the smart device, on the one hand, the switch state of the device hatch of the smart device can be directly converted according to the target action in the target range corresponding to the smart device. On the other hand, when the target action is not detected in the target range, the environment recognition model can be used to detect the environment information of the smart device, and then according to the target trigger condition triggered by the environment information, the corresponding target state control model is selected to generate the corresponding target control operation to control the hatch state of the smart device, so that when it is inconvenient for the user to manually control the switch state of the hatch, the switch state of the hatch of the smart device can be automatically controlled in a suitable manner among multiple methods according to the current situation of the device. The above technical solution solves the problem of poor convenience in the process of controlling the hatch of the smart device in the related technology, and achieves the technical effect of improving the convenience in the process of controlling the hatch of the smart device.

[0052] In the technical solution provided in the above step S202, the smart device may include but is not limited to any device with a door, that is, any device with a door may control the switch state of the door through the above process but is not limited to, such as: refrigerators, washing machines, ovens, smart closed cat litter boxes, etc.

[0053] Optionally, in this embodiment, the current running state may be, but is not limited to, an operation for indicating that the door of the smart device is waiting to be executed, such as: Figure 3 is a schematic diagram of the current operating state of the smart device according to an embodiment of the present invention, such as Figure 3 As shown, when the washing machine compartment is empty and the door of the washing machine is closed, the current operating state of the washing machine may be a waiting-to-be-turned-on state; when the washing machine compartment is not empty and the door of the washing machine is open, the current operating state of the washing machine may be a waiting-to-be-turned-off state.

[0054] Optionally, in this embodiment, the current operating state may be, but is not limited to, determined by the device type of the smart device and the switch state of the device door of the smart device. Different device types have different settings for the device door, and it may be, but is not limited to, determining whether the device door is allowed to be opened or closed based on the setting requirements of the device type for the device door and the switch state of the device door. If the device door is currently allowed to be opened or closed and is currently in the opposite switch state, the current operating state is determined to be a waiting to be opened state or a waiting to be closed state. If the device door is currently not allowed to be opened or closed, the current operating state may be determined after the device door is allowed to be opened or closed.

[0055] That is to say, when the device type of the smart device is to allow the hatch to be opened during operation, if the hatch of the smart device is in the open state, the state to be closed is determined as the current operation state; if the hatch of the smart device is in the closed state, the state to be opened is determined as the current operation state. When the device type of the smart device is not to allow the hatch to be opened during operation, it is necessary to detect the switch state of the device hatch when the smart device is not running. If the hatch of the smart device is in the open state, the state to be closed is determined as the current operation state; if the hatch of the smart device is in the closed state, the state to be opened is determined as the current operation state.

[0056] Optionally, in this embodiment, the smart device allows the door to be opened during operation, which may be, but is not limited to, a smart device such as a refrigerator or a microwave oven. During the operation of the refrigerator or microwave oven, the door can be opened to put in or take out items.

[0057] Optionally, in this embodiment, the case where the smart device is not allowed to open the hatch during operation may be, but is not limited to, the smart device being a washing machine, an oven, etc. For such devices, the hatch of the device is not allowed to be opened during the operation of the device, otherwise a safety accident may occur or the device may not operate normally.

[0058] In an exemplary embodiment, the current operating state of the smart device can be detected in the following ways but is not limited to: detecting a target action within a target range; when the target action is detected, converting the door state of the smart device in response to the target action; when the target action is not detected, detecting the current operating state of the smart device.

[0059] Optionally, in this embodiment, when the target action is detected, the door state of the smart device is converted in response to the target action, which may include but is not limited to controlling the door of the smart device to be opened or closed according to the current operating state. For example, the target action of a foot sweeping across the bottom of a washing machine may be sensed, and if the current operating state of the washing machine is to be closed, the door of the washing machine may be controlled to be closed; if the current operating state of the washing machine is to be opened, the door of the washing machine may be controlled to be opened.

[0060] Optionally, in this embodiment, the target range may be, but is not limited to, a range within which the smart device can perform motion detection. Figure 4 is a schematic diagram of an action detection process of a smart device according to an embodiment of the present invention. Figure 4As shown, the smart device can be but is not limited to a washing machine. An infrared sensing module is arranged under the door of the washing machine. The infrared sensing module can perform motion detection within a target range. It can detect whether there is a foot sweeping movement in a specified direction at the bottom of the smart device. When the infrared sensing module detects the foot "sweeping from left to right" or "sweeping from right to left" within the target range of the infrared sensing module, the switch state of the door of the washing machine is switched.

[0061] Optionally, in this embodiment, detecting the target action within the target range may be, but is not limited to, in one of the following ways:

[0062] Method 1: Use the infrared sensing module to detect whether there is any relevant action within the target range corresponding to the smart device;

[0063] Method 2: Use the camera module to detect whether there is a relevant action within the target range corresponding to the smart device;

[0064] Method three: Use the ultrasonic module to detect whether there is a related action within the target range corresponding to the smart device.

[0065] Optionally, in this embodiment, the target action can be but is not limited to a preset action for converting the switch state of the device door of the smart device, such as: a foot sweeping action, a kicking action, a cat scratching the door action, a shaking head action, a nodding action, etc.

[0066] In the technical solution provided in the above step S204, the target state control model may include, but is not limited to, a first state control model and a second state control model.

[0067] Optionally, in this embodiment, the target state control model may be, but is not limited to, any in-cabin or out-cabin environmental information that identifies the smart device, and may control the door state of the smart device according to the environmental information.

[0068] In an exemplary embodiment, a state control model matching the current operating state among multiple state control models can be determined as a target state control model in the following manner but is not limited to: when the current operating state is the to-be-closed state, a first state control model among the multiple state control models is determined as the target state control model, wherein the first state control model is used to control the cabin door state of the smart device according to the cabin environment information of the smart device; when the current operating state is the to-be-opened state, a second state control model among the multiple state control models is determined as the target state control model, wherein the second state control model is used to control the cabin door state of the smart device according to the cabin environment information of the smart device.

[0069] Optionally, in this embodiment, the first state control model may be, but is not limited to, any model capable of detecting the in-cabin environment information of the smart device, wherein the in-cabin environment information of the smart device may be, but is not limited to, reflected by in-cabin environment parameters (such as temperature, humidity, brightness, etc.), the state of items in the cabin, etc. The second state control model may be, but is not limited to, any model capable of detecting the out-cabin environment information of the smart device, wherein the out-cabin environment information of the smart device may be, but is not limited to, reflected by out-cabin environment parameters (such as temperature, humidity, brightness, etc.), the state of items in the cabin, etc.

[0070] Optionally, in this embodiment, Figure 5 is a schematic diagram of a first state control model and a second state control model according to an embodiment of the present invention, such as Figure 5 As shown, taking the smart device as a washing machine as an example, the first state control model may be, but is not limited to, using an artificial intelligence system to detect whether there are clothes in the cabin environment of the washing machine. The second state control model may be, but is not limited to, using an image recognition model to detect whether there is a user holding clothes to be washed in the cabin environment of the washing machine. For example, if it is detected that there is a user in the cabin environment of the washing machine, and the user's hands are holding clothes to be washed, it can be determined that there is a user holding clothes to be washed in the cabin environment.

[0071] In the technical solution provided in the above step S206, the door state of the smart device controlled by the target state control model can be but not limited to being divided into multiple parts, and a sub-model that can automatically execute the process steps is trained for each part, and multiple sub-models are obtained as the above-mentioned target state control model.

[0072] For example, if the process of controlling the door of a smart device includes three parts: environment recognition, voice prompts, and door control, then the target state control model may include, but is not limited to, an environment recognition sub-model, a voice prompt sub-model, and a door control sub-model. If the process of controlling the door of a smart device includes two parts: environment recognition and door control, then the target state control model may include, but is not limited to, an environment recognition sub-model and a door control sub-model.

[0073] In an exemplary embodiment, the door state of the smart device can be controlled through the target state control model in the following manner but not limited to: detecting environmental information of the smart device through the environment recognition model included in the target state control model; when the environmental information meets the target trigger condition, generating a target control operation corresponding to the target trigger condition through the target state control model; when confirmation information of the target control operation is obtained, executing the target control operation on the smart device through the target state control model.

[0074] Optionally, in this embodiment, the environmental information may include in-cabin environmental information and out-cabin environmental information. When the environmental information meets the target trigger condition, a target control operation corresponding to the target trigger condition is generated, and then, when confirmation information of the target control operation is obtained, the target control operation is executed.

[0075] Optionally, in this embodiment, Figure 6 is a schematic diagram of target triggering conditions of a smart device according to an embodiment of the present invention, such as Figure 6 As shown, the target triggering conditions may include but are not limited to the following conditions:

[0076] Condition 1: There is a first target object in the compartment of the smart device, for example, but not limited to, there are clothes in the compartment of a washing machine;

[0077] Condition 2: There is a second target object outside the cabin of the smart device, for example, but not limited to, a user holding clothes to be washed is detected outside the cabin of a washing machine.

[0078] In an exemplary embodiment, the environmental information of the smart device can be detected by the environmental detection model included in the target state control model in the following manner, but is not limited to: when the target state control model is a first state control model, the cleaning object information in the cabin of the smart device is collected; the cleaning object information is input into the object recognition model included in the first state control model, and the object recognition result output by the object recognition model is obtained as the environmental information of the smart device, wherein the object recognition result is used to indicate whether there is a cleaning object currently in the cabin of the smart device, and the object recognition model is obtained by training an initial object recognition model using a cleaning object information sample marked with a target object recognition result, and the object recognition result satisfies the target trigger condition when used to indicate that there is no cleaning object in the cabin of the smart device.

[0079] Optionally, in this embodiment, when the target state control model is the first state control model, the cabin environment parameters of the smart device are collected, and if the first recognition result obtained by inputting the cabin environment parameters into the environment recognition model indicates that there is no cleaning object in the cabin, then it is judged that the cabin environment of the smart device meets the target trigger condition.

[0080] Optionally, in this embodiment, the cleaning object may be, but is not limited to, any items in the compartment, such as, but not limited to, clothes in the compartment of a washing machine, food in the compartment of an oven, and the like.

[0081] Optionally, in this embodiment, the first recognition result satisfies the target trigger condition when it is used to indicate that the first target object does not exist in the compartment of the smart device. That is, the target trigger condition is satisfied only when the first target object does not exist in the compartment of the smart device. For example, when there is no clothing in the compartment of a washing machine, it is determined that the environment in the compartment of the washing machine satisfies the target trigger condition.

[0082] Optionally, in this embodiment, the cleaning object information may be, but is not limited to, any information used to indicate the environment within the chamber, for example, it may be, but is not limited to, information indicating the weight of clothes within the washing machine chamber, or it may be, but is not limited to, image information indicating whether there are clothes within the washing machine chamber.

[0083] In an exemplary embodiment, the environmental information of the smart device can be detected by the environmental recognition model included in the target state control model in the following manner, but not limited to: when the target state control model is the second state control model, an image of the environment outside the cabin of the smart device is collected; the image of the environment outside the cabin is input into the image recognition model included in the first state control model, and an image recognition result output by the image recognition model is obtained as the environmental information of the smart device, wherein the image recognition result is used to indicate whether there is a user carrying an object to be cleaned outside the cabin of the smart device, and the image recognition model is obtained by training an initial image recognition model using an image sample of the environment outside the cabin marked with the target image recognition result, and the image recognition result satisfies the target trigger condition when it is used to indicate that there is a user carrying an object to be cleaned outside the cabin of the smart device.

[0084] Optionally, in this embodiment, the user carrying the object to be cleaned may be, but is not limited to, an object whose target part is in a target state. Figure 7 is a schematic diagram of a second target object according to an embodiment of the present invention, such as Figure 7 As shown, first, it is possible but not limited to detecting "whether there is a user" outside the cabin of the washing machine. If there is a user outside the cabin, it is detected "whether the user's hands are holding clothes". If the user's hands are holding clothes, it is confirmed that there is a second target object outside the cabin with the target part in the target state, that is, there is a user carrying the objects to be washed.

[0085] Optionally, in this embodiment, the image recognition result satisfies the target trigger condition when it is used to indicate that there is a user carrying an object to be washed outside the cabin of the smart device. That is, the target trigger condition is satisfied when there is a second target object with a target part in a target state outside the cabin of the smart device. For example, it can be but not limited to that the second recognition result satisfies the target trigger condition when it is used to indicate that there is a user holding clothes with both hands outside the cabin of the washing machine.

[0086] Optionally, in this embodiment, the cabin exterior environment image may include, but is not limited to, any image used to indicate the cabin exterior environment, for example, may include, but is not limited to, an image indicating the cabin exterior environment of a washing machine, and the like.

[0087] In an exemplary embodiment, before executing the target control operation on the smart device through the target state control model, it may include but is not limited to: generating a voice broadcast, wherein the voice broadcast is used to inquire whether to execute the target control operation on the smart device; controlling the voice module to play the voice broadcast; collecting voice replies in response to the voice broadcast; and determining the voice reply used to indicate confirmation of executing the target control operation on the smart device as confirmation information of the target control operation.

[0088] Optionally, in this embodiment, Figure 8 is a schematic diagram of obtaining confirmation information of a smart device according to an embodiment of the present invention, such as Figure 8 As shown, when confirmation information of the target control operation is obtained, the target control operation can be performed on the smart device through but not limited to voice interaction. For example, when the washing machine obtains the target control operation (opening the door), the voice module asks the user "whether to open the door" and, upon receiving the user's confirmation information "confirm to open the door", the target control operation is performed to open the door of the washing machine.

[0089] In order to better understand the process of the control method of the above-mentioned smart device, the control method process of the above-mentioned smart device is described below in combination with an optional embodiment, but it is not used to limit the technical solution of the embodiment of the present application.

[0090] In this embodiment, a control method for an intelligent device is provided. Fig. 9 is a schematic diagram of a control process of a washing machine according to an embodiment of the present invention. Fig. 9 As shown, it mainly includes the following steps:

[0091] Step S901: Identify whether there is a foot sweeping action through the infrared sensor at the bottom of the washing machine;

[0092] Step S902: when the foot sweeps from left to right, the cabin door is opened; when the foot sweeps from right to left, the cabin door is closed;

[0093] Step S903: If the infrared sensor at the bottom of the washing machine does not recognize the foot sweeping action, it detects whether the door is open; if the door is closed, it executes step S904; if the door is open, it executes step S905;

[0094] Step S904: when the door is closed, use image recognition control to detect whether the user is holding clothes in the specified recognition range. If it is recognized that the user is holding clothes, ask whether to open the door. After receiving the confirmation instruction, open the door;

[0095] Step S905: When the door is open, use the artificial intelligence system to detect whether there are any clothes in the specified washing machine compartment. If there are no clothes in the washing machine compartment, ask whether to close the compartment door. After receiving the confirmation instruction, close the compartment door.

[0096] Through the above implementation, without affecting the existing functions, artificial intelligence analysis, washing machine image recognition sensor, and washing machine bottom infrared sensor work together to decide whether to open or close the washing machine door. Artificial intelligence analysis or washing machine image recognition sensor or washing machine bottom infrared sensor can also be used alone to decide whether to open or close the washing machine door, which can be set by the user. The main purpose is to reduce the user's use cost, and the washing machine can be more intelligent and humane.

[0097] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0098] Fig.10 is a structural block diagram of a control device for an intelligent device according to an embodiment of the present invention; Fig.10 As shown, including:

[0099] The detection module 1002 is used to detect the current running state of the smart device, wherein the running state of the smart device includes: a to-be-closed state and a to-be-opened state, wherein the to-be-closed state is used to indicate that the device door of the smart device is opened and allowed to be closed, and the to-be-opened state is used to indicate that the device door of the smart device is closed and allowed to be opened;

[0100] A determination module 1004 is used to determine a state control model matching the current operating state among multiple state control models as a target state control model;

[0101] The control module 1006 is used to control the door state of the smart device through the target state control model.

[0102] Through the above embodiments, for controlling the hatch of the smart device, on the one hand, the switch state of the device hatch of the smart device can be directly converted according to the target action in the target range corresponding to the smart device. On the other hand, when the target action is not detected in the target range, the environment information of the smart device can be detected by the environment recognition model, and then according to the target trigger condition triggered by the environment information, the corresponding target state control model is selected to generate the corresponding target control operation to control the hatch state of the smart device, so that when it is inconvenient for the user to manually control the switch state of the hatch, the switch state of the hatch of the smart device can be automatically controlled in a suitable manner among multiple methods according to the current situation of the device. The above technical solution solves the problem of poor convenience in the process of controlling the hatch of the smart device in the related technology, and achieves the technical effect of improving the convenience in the process of controlling the hatch of the smart device.

[0103] In an exemplary embodiment, the determining module includes:

[0104] A first determining unit is used to determine, when the current operating state is the to-be-closed state, a first state control model among the multiple state control models as the target state control model, wherein the first state control model is used to control the door state of the smart device according to the cabin environment information of the smart device;

[0105] A second determination unit is used to determine a second state control model among the multiple state control models as the target state control model when the current operating state is the to-be-turned-on state, wherein the second state control model is used to control the cabin door state of the smart device according to the extravehicular environment information of the smart device.

[0106] In an exemplary embodiment, the control module comprises:

[0107] A detection unit, configured to detect environmental information of the smart device through an environment recognition model included in the target state control model;

[0108] A generating unit, configured to generate a target control operation corresponding to the target trigger condition through the target state control model when the environmental information satisfies the target trigger condition;

[0109] An execution unit is used to execute the target control operation on the smart device through the target state control model when the confirmation information of the target control operation is obtained.

[0110] In an exemplary embodiment, the detection unit is used to:

[0111] When the target state control model is the first state control model, collecting cleaning object information in the smart device cabin;

[0112] The cleaning object information is input into the object recognition model included in the first state control model, and an object recognition result output by the object recognition model is obtained as the environmental information of the smart device, wherein the object recognition result is used to indicate whether there is a cleaning object currently in the cabin of the smart device, and the object recognition model is obtained by training an initial object recognition model using a cleaning object information sample marked with a target object recognition result, and the object recognition result satisfies the target trigger condition when it is used to indicate that there is no cleaning object in the cabin of the smart device.

[0113] In an exemplary embodiment, the detection unit is used to:

[0114] When the target state control model is the second state control model, collecting an image of the environment outside the cabin of the smart device;

[0115] The image of the extra-cabin environment is input into the image recognition model included in the first state control model, and an image recognition result output by the image recognition model is obtained as the environmental information of the smart device, wherein the image recognition result is used to indicate whether there is a user carrying an object to be cleaned outside the cabin of the smart device, and the image recognition model is obtained by training an initial image recognition model using extra-cabin environment image samples marked with target image recognition results, and the image recognition result satisfies the target trigger condition when it is used to indicate that there is a user carrying an object to be cleaned outside the cabin of the smart device.

[0116] In an exemplary embodiment, the apparatus further comprises:

[0117] A generating module, used for generating a voice announcement before executing the target control operation on the smart device through the target state control model, wherein the voice announcement is used for inquiring whether to execute the target control operation on the smart device;

[0118] Controlling the voice module to play the voice announcement;

[0119] collecting voice replies in response to the voice announcement;

[0120] A voice reply for indicating confirmation of executing the target control operation on the smart device is determined as confirmation information of the target control operation.

[0121] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein the program executes any of the above methods when it is run.

[0122] Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the following steps:

[0123] S1, detecting the current running state of the smart device, wherein the running state of the smart device includes: a to-be-closed state and a to-be-opened state, wherein the to-be-closed state is used to indicate that the device door of the smart device is opened and allowed to be closed, and the to-be-opened state is used to indicate that the device door of the smart device is closed and allowed to be opened;

[0124] S2, determining a state control model matching the current running state among multiple state control models as a target state control model;

[0125] S3, controlling the door state of the smart device through the target state control model.

[0126] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0127] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0128] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0129] S1, detecting the current running state of the smart device, wherein the running state of the smart device includes: a to-be-closed state and a to-be-opened state, wherein the to-be-closed state is used to indicate that the device door of the smart device is opened and allowed to be closed, and the to-be-opened state is used to indicate that the device door of the smart device is closed and allowed to be opened;

[0130] S2, determining a state control model matching the current running state among multiple state control models as a target state control model;

[0131] S3, controlling the door state of the smart device through the target state control model.

[0132] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0133] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0134] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0135] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A control method for an intelligent device, characterized in that: include: Detecting the current running state of the smart device, wherein the current running state of the smart device includes: a to-be-closed state and a to-be-opened state, wherein the to-be-closed state is used to indicate that the device door of the smart device is open and allows closing, and the to-be-opened state is used to indicate that the device door of the smart device is closed and allows opening; Determine a state control model matching the current operating state among the multiple state control models as a target state control model; Controlling the door state of the smart device through the target state control model; The detecting the current running state of the smart device includes: Detecting the device type of the smart device, and determining the setting requirements of the smart device for the device door according to the device type, wherein the setting requirements include a first setting requirement and a second setting requirement, the first setting requirement is used to indicate that the device door is allowed to be opened or closed during the operation of the smart device, and the second setting requirement is used to indicate that the device door is not allowed to be opened or closed during the operation of the smart device; When the setting requirement is the first setting requirement and the switch state of the device door of the smart device is open, the current running state of the smart device is determined as the to-be-closed state; when the setting requirement is the first setting requirement and the switch state of the device door of the smart device is closed, the current running state of the smart device is determined as the to-be-opened state; When the setting requirement is the second setting requirement and the smart device is currently running, wait for the smart device to finish running and then detect the switch status of the device door. When the switch status of the device door is open, determine the current running state of the smart device as the to-be-closed state; when the switch status of the device door is closed, determine the current running state of the smart device as the to-be-opened state.

2. The control method of the intelligent device according to claim 1, characterized in that: The step of determining a state control model matching the current running state among the multiple state control models as a target state control model comprises: In a case where the current running state is the to-be-closed state, determining a first state control model among the multiple state control models as the target state control model, wherein the first state control model is used to control the door state of the smart device according to the cabin environment information of the smart device; When the current operating state is the to-be-opened state, the second state control model among the multiple state control models is determined as the target state control model, wherein the second state control model is used to control the cabin door state of the smart device according to the extravehicular environment information of the smart device.

3. The control method of the intelligent device according to claim 1, characterized in that: The controlling the door state of the smart device by using the target state control model includes: Detecting environmental information of the smart device through an environment recognition model included in the target state control model; In the case where the environmental information meets the target trigger condition, generating a target control operation corresponding to the target trigger condition through the target state control model; When confirmation information of the target control operation is obtained, the target control operation is performed on the smart device through the target state control model.

4. The control method of the intelligent device according to claim 3, characterized in that: The detecting the environmental information of the smart device by using the environmental detection model included in the target state control model includes: When the target state control model is the first state control model, collecting cleaning object information in the smart device cabin; The cleaning object information is input into the object recognition model included in the first state control model, and an object recognition result output by the object recognition model is obtained as the environmental information of the smart device, wherein the object recognition result is used to indicate whether there is a cleaning object currently in the cabin of the smart device, and the object recognition model is obtained by training an initial object recognition model using a cleaning object information sample marked with a target object recognition result, and the object recognition result satisfies the target trigger condition when it is used to indicate that there is no cleaning object in the cabin of the smart device.

5. The control method of the intelligent device according to claim 3, characterized in that: The detecting the environmental information of the smart device by using the environmental recognition model included in the target state control model includes: When the target state control model is the second state control model, collecting an image of the environment outside the cabin of the smart device; The image of the extra-cabin environment is input into the image recognition model included in the first state control model, and an image recognition result output by the image recognition model is obtained as the environmental information of the smart device, wherein the image recognition result is used to indicate whether there is a user carrying an object to be cleaned outside the cabin of the smart device, and the image recognition model is obtained by training an initial image recognition model using extra-cabin environment image samples marked with target image recognition results, and the image recognition result satisfies the target trigger condition when it is used to indicate that there is a user carrying an object to be cleaned outside the cabin of the smart device.

6. The control method of the smart device according to claim 3, characterized in that: Before performing the target control operation on the smart device through the target state control model, the method further includes: generating a voice announcement, wherein the voice announcement is used to inquire whether to execute the target control operation on the smart device; Controlling the voice module to play the voice announcement; collecting voice replies in response to the voice announcement; A voice reply indicating confirmation of executing the target control operation on the smart device is determined as confirmation information of the target control operation.

7. The control method of the intelligent device according to any one of claims 1 to 6, characterized in that: The detecting the current running state of the smart device includes: Detect target movement through infrared sensing within target range; When the target action is sensed, converting the door state of the smart device in response to the target action; In the case where the target action is not sensed, the current operating state of the smart device is detected.

8. A control device for an intelligent device, characterized in that: include: A detection module, used to detect the current running state of the smart device, wherein the current running state of the smart device includes: a to-be-closed state and a to-be-opened state, wherein the to-be-closed state is used to indicate that the device door of the smart device is open and allows closing, and the to-be-opened state is used to indicate that the device door of the smart device is closed and allows opening; A determination module, configured to determine a state control model matching the current operating state among a plurality of state control models as a target state control model; A control module, used to control the door state of the smart device through the target state control model; The detecting the current running state of the smart device includes: Detecting the device type of the smart device, and determining the setting requirements of the smart device for the device door according to the device type, wherein the setting requirements include a first setting requirement and a second setting requirement, the first setting requirement is used to indicate that the device door is allowed to be opened or closed during the operation of the smart device, and the second setting requirement is used to indicate that the device door is not allowed to be opened or closed during the operation of the smart device; When the setting requirement is the first setting requirement and the switch state of the device door of the smart device is open, the current running state of the smart device is determined as the to-be-closed state; when the setting requirement is the first setting requirement and the switch state of the device door of the smart device is closed, the current running state of the smart device is determined as the to-be-opened state; When the setting requirement is the second setting requirement and the smart device is currently running, wait for the smart device to finish running and then detect the switch status of the device door. When the switch status of the device door is open, determine the current running state of the smart device as the to-be-closed state; when the switch status of the device door is closed, determine the current running state of the smart device as the to-be-opened state.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 7 when executed.

10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.