A method and device for controlling intelligent devices of intelligent home system

Through real-time target detection and behavioral status recognition, it automatically adjusts smart home devices, solving the problem of a single and cumbersome smart home system control method, achieving more flexible and convenient device control, and improving user experience.

CN111752165BActive Publication Date: 2024-08-27广州博冠智能科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010665220.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-10
Publication Date
2024-08-27
Estimated Expiration
2040-07-10

AI Technical Summary

Technical Problem

Existing smart home systems lack flexibility and convenience in device control, have a single control method, and require users to perform a large number of active operations.

Method used

Obtain video image data through real-time target detection, use the preset behavioral state detection model to determine the user's behavioral state, and automatically adjust smart home devices according to the mapping control method, including identification of gesture action states and associated targets, and generate control data to adjust the device .

Benefits of technology

It realizes automated control of smart home equipment, reduces user operations, improves control flexibility and convenience, and optimizes user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111752165B
    Figure CN111752165B
Patent Text Reader

Abstract

The embodiment of the present application discloses a method and apparatus for controlling smart devices of a smart home system. The technical solution provided by the embodiment of the present application performs target detection in real time. When a target is detected, the video image data of the target is obtained, the video image data is input into a preset behavior state detection model, the behavior state of the current target is determined, and the corresponding smart home device of the smart home system is adjusted and controlled according to the behavior state of the current target in accordance with a preset mapping control method. By adopting the above technical means, the corresponding smart home devices of the smart home system can be automatically and intelligently controlled according to the real-time behavior state of the user, reducing the user's control operations, improving the flexibility and convenience of smart home device control, and optimizing the user's experience of using the smart home system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of smart home technology, and more particularly to a method and apparatus for controlling smart devices in a smart home system. Background Art

[0002] At present, with the rapid development of the Internet of Things and Internet technology, the demand for home intelligent home systems is becoming more and more intense. The intelligent home system combines many modern scientific technologies such as automatic control systems, computer network systems and network communication technologies to create a networked and intelligent home control system, making it more convenient to manage fragmented and disordered home equipment that has not formed a flexible and organized whole, greatly saving time costs, production costs, management costs, and control costs, and optimizing users' home use control experience.

[0003] However, in the process of using the existing smart home system, the smart home devices are generally centrally controlled through a controller or a user client, and the control method is mostly completed by the user's active operation. The control method is relatively simple and lacks flexibility and convenience. Summary of the invention

[0004] The embodiments of the present application provide a method and apparatus for controlling smart devices in a smart home system, which can automatically control smart home devices according to the user's behavior status, reduce user control operations, and improve the flexibility and convenience of smart home device control.

[0005] In a first aspect, an embodiment of the present application provides a method for controlling a smart device in a smart home system, comprising:

[0006] Performing target detection in real time, and acquiring video image data of the target when the target is detected;

[0007] Inputting the video image data into a preset behavior state detection model to determine the current behavior state of the target;

[0008] According to the current behavior state of the target, the corresponding smart home device of the smart home system is adjusted and controlled in a preset mapping control manner.

[0009] Furthermore, the video image data is input into a preset behavior state detection model to determine the current behavior state of the target, including:

[0010] Recognizing the posture action state of the target based on the video image data, and detecting the associated targets of the target;

[0011] The posture action state and the associated target are compared with a preset behavior state characteristic standard to determine the current behavior state of the target.

[0012] Furthermore, according to the current behavior state of the target, the corresponding smart home device of the smart home system is adjusted and controlled in a preset mapping control manner, including:

[0013] Based on the current behavior state of the target, a preset mapping relationship table between behavior states and mapping control modes is searched to determine a corresponding mapping control mode;

[0014] Control data is generated based on the corresponding mapping control method, and the control data is output to the corresponding smart home device of the smart home system.

[0015] Furthermore, real-time target detection is performed, including:

[0016] Target detection is performed by collecting indoor video images through cameras or by infrared detection.

[0017] Furthermore, when a target is detected, obtaining video image data of the target also includes:

[0018] In response to the target detection result, the smart home device specified by the smart home system is controlled to be turned on.

[0019] Furthermore, according to the current behavior state of the target, the corresponding smart home device of the smart home system is adjusted and controlled in a preset mapping control manner, and further includes:

[0020] The status data corresponding to the indoor environment and / or the designated area around the house are collected in real time through sensors, and the corresponding smart home devices of the smart home system are adjusted and controlled based on the status data.

[0021] Furthermore, after adjusting and controlling the corresponding smart home device of the smart home system according to the preset mapping control mode according to the current behavior state of the target, the method further includes:

[0022] Determine an associated home appliance that has a preset linkage control relationship with the corresponding smart home appliance, and linkage-adjust and control the associated home appliance based on a change in the operating state of the corresponding smart home appliance.

[0023] In a second aspect, an embodiment of the present application provides a smart device control device for a smart home system, comprising:

[0024] A detection module is used to perform target detection in real time and obtain video image data of the target when the target is detected;

[0025] A determination module, used for inputting the video image data into a preset behavior state detection model to determine the current behavior state of the target;

[0026] The control module is used to adjust and control the corresponding smart home devices of the smart home system according to the current behavior state of the target in a preset mapping control manner.

[0027] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0028] memory and one or more processors;

[0029] The memory is used to store one or more programs;

[0030] When the one or more programs are executed by the one or more processors, the one or more processors implement the smart device control method for the smart home system as described in the first aspect.

[0031] In a fourth aspect, an embodiment of the present application provides a storage medium containing computer executable instructions, which, when executed by a computer processor, are used to execute the smart device control method of the smart home system as described in the first aspect.

[0032] The embodiment of the present application detects the target in real time, obtains the video image data of the target when the target is detected, inputs the video image data into a preset behavior state detection model, determines the behavior state of the current target, and adjusts and controls the corresponding smart home devices of the smart home system according to the preset mapping control method based on the behavior state of the current target. By adopting the above technical means, the corresponding smart home devices of the smart home system can be automatically and intelligently controlled according to the real-time behavior state of the user, reducing the user's control operations, improving the flexibility and convenience of smart home device control, and optimizing the user's experience of using the smart home system. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a flow chart of a smart device control method for a smart home system provided in Embodiment 1 of the present application;

[0034] Figure 2 is a flow chart for determining the behavior state in Embodiment 1 of the present application;

[0035] Figure 3 is the regulation control flow chart in the first embodiment of the present application;

[0036] Figure 4 It is a structural schematic diagram of a smart device control device of a smart home system provided in Embodiment 2 of the present application;

[0037] Figure 5 It is a structural schematic diagram of an electronic device provided in Example 3 of the present application. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.

[0039] The present application provides a method for controlling smart home devices in a smart home system, which aims to detect and identify the user's behavior state, and adjust and control the corresponding smart home devices of the smart home system according to the different behavior states of the user, so as to improve the flexibility and convenience of smart home device control and optimize the user's experience of using the smart home system. Compared with the traditional smart home system, when controlling smart home devices, it is necessary to use a controller or a user client, and the user actively performs control operations. Or it is simply to start or switch the working mode of the smart home device at a scheduled time according to the control cycle pre-set by the user. Obviously, the existing control method for smart home devices is relatively single, and the control process that the user needs to operate is relatively cumbersome, and its intelligence level is relatively low. Based on this, a method for controlling smart home devices in a smart home system according to an embodiment of the present application is provided to solve the technical problems that the existing smart home system has a single control method and cumbersome and inconvenient control.

[0040] Embodiment 1:

[0041] Figure 1 A flow chart of a smart device control method for a smart home system provided in the first embodiment of the present application is given. The smart device control method for a smart home system provided in this embodiment can be executed by a smart device control device of the smart home system. The smart device control device of the smart home system can be implemented by software and / or hardware. The smart device control device of the smart home system can be composed of two or more physical entities, or can be composed of one physical entity. Generally speaking, the smart device control device of the smart home system can be a smart home system server, a smart home gateway, etc.

[0042] The following description is made by taking the intelligent device control device of the intelligent home system as the main body of the intelligent device control method of the intelligent home system as an example. Figure 1 The smart device control method of the smart home system specifically includes:

[0043] S110, performing target detection in real time, and acquiring video image data of the target when the target is detected.

[0044] Specifically, when the embodiment of the present application detects the user behavior state, the target detection is first performed to determine whether there is a target in the current indoor environment, and further obtains the video image data of the target. Generally speaking, the target is the user. Among them, the target detection is performed by collecting indoor video images by a camera or by infrared detection. Corresponding to the method of collecting indoor video images by a camera for target detection, the camera is required to start collecting indoor video images in real time, and further perform target detection based on the collected indoor video images. Target detection is performed by a pre-set target detection model to determine whether the corresponding target is included in the indoor video image. The target detection model can be a target detection model constructed using a network such as Faster R-CNN, YOLOv3, etc. There are many specific implementation methods of target detection in the prior art, and the embodiment of the present application does not impose fixed restrictions here. On the other hand, corresponding to the method of performing target detection by infrared detection, the infrared detection data detected by the infrared detection device is compared and identified to determine whether there is a target in the current detection environment. In the infrared detection device, the presence or movement of the human body is detected by a thermoelectric element, and the output signal of the thermoelectric element is converted into a voltage signal. Then, the voltage signal is subjected to waveform analysis. Prior to this, the infrared detection device pre-stores the voltage waveform corresponding to the infrared detection of the human body. The infrared detection device outputs a detection signal only when the waveform generated by the human body is detected through waveform analysis, thereby realizing target detection.

[0045] Furthermore, based on the above target detection results, when a target is detected, video image data of the target is further acquired through the camera to facilitate subsequent detection and identification of the target's behavior status.

[0046] In one embodiment, it is also determined whether the target is a designated user based on the target detection result. Prior to this, the control device of the smart device pre-stores the facial image of the designated user, and then extracts the facial image data of the target based on the detected target, and compares this facial image data with the pre-stored facial image data of the user. If the two match, the target is determined to be a designated user. Otherwise, the target is determined to be a non-designated user. Furthermore, for a target that is judged to be a non-designated user, the control device of the smart device does not further detect and identify the behavior state of the target. In this way, it is possible to avoid excessive influence of the targets on the control device of the smart device to control each smart device, and avoid the occurrence of control conflicts.

[0047] In addition, in one embodiment, based on the above target detection results, the designated smart home devices in the smart home system are controlled to be turned on in response to the target detection results. By turning on the designated smart home devices when the target is detected to reduce the user's control operations, the flexibility of smart home device control can be achieved and the user experience can be optimized. For example, when the user enters the room, the user's presence is determined through target detection. Further based on the above target detection results, after the user is detected in the indoor environment, the smart device control device responds to this target detection result to turn on smart home devices such as indoor lights and air conditioners for user use. In this way, the manual control operation of the user after entering the house can be omitted, and the smart home device control device can replace the user to perform automated and intelligent control, thereby optimizing the user's experience.

[0048] S120: Input the video image data into a preset behavior state detection model to determine the current behavior state of the target.

[0049] Furthermore, based on the video image data collected in the above step S110, the video image data can be further identified and detected to determine the current behavior state of the target. The behavior state can be the behavior state of the user sleeping, exercising, watching TV, reading, and working. By identifying these behavior states, it is convenient to perform automatic control of the corresponding smart home devices according to these behavior states. The detection and identification of the target behavior state is performed by a preset behavior state detection model. The behavior state detection model can be a detection and recognition model based on a CNN network, which mainly identifies the posture and action of the target and the associated targets in the environment where the target is located. The associated targets are mainly related home settings in the environment where the target is located, such as beds, quilts, sofas, TVs, books, computers, table lamps and other items. And the current behavior state of the target is determined based on the identified posture and action state and the associated targets.

[0050] Reference Figure 2 , the behavior state determination process includes:

[0051] S1201, identifying the posture action state of the target based on the video image data, and detecting the associated targets of the target;

[0052] S1202: Compare the posture action state and the associated target with a preset behavior state characteristic standard to determine the current behavior state of the target.

[0053] Specifically, the recognition of the corresponding posture action state can be detected and recognized by a pre-trained posture action recognition model. The posture action recognition model mainly recognizes and detects the current posture action of the target. When the posture action recognition model detects and recognizes the posture action state action of the target, it can use a motion recognition algorithm based on a convolutional neural network to detect and recognize the posture action. Specifically, by locating several joints of the target, the action vector of the target is determined based on the joint point connection line, so as to determine the posture action state of the target. Prior to this, the posture action recognition model needs to obtain a large number of images of users containing various types of posture actions in advance, use these images as training samples, and realize the detection and recognition of user posture actions through model training. On the other hand, the recognition of the associated target of the corresponding user is detected and recognized by a pre-trained associated target detection model. Among them, the associated target detection model can be a target detection model constructed using networks such as Faster R-CNN and YOLOv3. When training and constructing the model, a large amount of image data containing items such as beds, quilts, sofas, televisions, books, computers, and table lamps are obtained as training samples, and the model is trained through the above network to construct the associated target detection model. In this way, the associated target detection model performs target detection and recognition based on the video image data in which the target is detected, and can determine the associated targets contained in the image data.

[0054] Based on the posture action state and associated targets detected and identified above, the current target behavior state can be further determined. Prior to this, the control device of the smart device pre-establishes a behavior state characteristic standard, and subsequently determines the current behavior state of the target by comparing the posture action state detected and identified with the associated target with this behavior state characteristic standard. Among them, the behavior state characteristic standard can pre-define the correspondence between the posture action state and the associated target and the behavior state. For example, the posture action state is "lying down", and the associated targets include "bed" and "quilt", and the corresponding behavior state is defined as "sleeping". In this way, when the posture action state detected and identified and the associated target determine that the current target is lying on the bed, the behavior state of the current target is determined to be "sleeping" by comparing the behavior state characteristic standard. By analogy, the detection and identification of various types of user behavior states can be realized, so as to facilitate the adaptive automatic control of smart home devices according to the different behavior states of users in the future.

[0055] S130: According to the current behavior state of the target, the corresponding smart home device of the smart home system is adjusted and controlled in a preset mapping control manner.

[0056] Based on the behavior state of the current target (i.e., the user) determined in step S120, the smart home devices of the smart home system can be controlled and adjusted with reference to the behavior state of the current target. Prior to this, the control device of the smart home device will pre-build a mapping control table of behavior states and mapping control methods, and when determining which behavior state the user is currently in, the corresponding control method is used to control the corresponding smart home device. Figure 3 ,The regulation and control process of smart home devices includes:

[0057] S1301, querying a preset mapping relationship table between behavior states and mapping control modes based on the current behavior state of the target, and determining a corresponding mapping control mode;

[0058] S1302: Generate control data based on the corresponding mapping control method, and output the control data to the corresponding smart home device of the smart home system.

[0059] After determining the behavior state of the current target, the mapping relationship table is queried using this behavior state as a data index to determine the corresponding mapping control method. Afterwards, the corresponding control data is generated based on this mapping control method to be output to the corresponding smart home device for adjustment and control. It should be noted that the above mapping control method should include the identification information of the smart home device to be adjusted and the corresponding adjustment control parameter information. Based on this smart home device identification information and adjustment control parameter information, the control device of the smart home device can generate corresponding control instructions and send them to the smart home device corresponding to the smart home device identification information, so as to realize the automatic adjustment of the smart home device. For example, assuming that the current user's behavior state is "sleeping", the mapping relationship table is queried based on this behavior state, and the mapping control method is determined to be "turning off the indoor smart lights, closing the smart curtains, and adjusting the working mode of the air conditioner or fan to the sleep mode". Then, according to this mapping control method, the smart home device generates corresponding control instructions and sends them to the smart lights, smart curtains, air conditioners or fans of the smart home system to adjust and control the operating state of the corresponding smart home device.

[0060] In the above, by performing target detection in real time, when a target is detected, the target's video image data is obtained, the video image data is input into a preset behavior state detection model, the current target's behavior state is determined, and the corresponding smart home device of the smart home system is adjusted and controlled according to the preset mapping control method based on the current target's behavior state. By adopting the above technical means, the corresponding smart home device of the smart home system can be automatically and intelligently controlled according to the user's real-time behavior state, reducing user control operations, improving the flexibility and convenience of smart home device control, and optimizing the user's experience of using the smart home system.

[0061] Furthermore, in one embodiment, the state data corresponding to the indoor environment and / or the designated area around the house is collected in real time by sensors, and the corresponding smart home devices of the smart home system are adjusted and controlled based on the state data. Exemplarily, by setting a light sensing detection element indoors, the indoor light is detected in real time. When it is detected that the indoor light brightness is higher than the set upper limit, the control device of the smart home device sends a control instruction to the smart curtain to drive and control the curtain to close. When it is detected that the indoor light brightness is higher than the set lower limit, the control device of the smart home device sends a control instruction to the smart light to drive and control the smart light to turn on. In addition, after detecting and identifying the user's behavior state according to the video image data, the indoor ambient light can also be adjusted according to the user's behavior state and the real-time detection value of the light sensing detection element. For example, if it is detected that the user is reading a book, and the current indoor light brightness does not meet the indoor brightness requirement in the "reading" scene, then according to the detection and identification results, the control device of the smart home device sends a control instruction to the smart light to adaptively increase the brightness of the smart light to meet the user's indoor brightness requirement in the "reading" scene.

[0062] In addition, in one embodiment, the associated home appliances that have a preset linkage control relationship with the corresponding smart home appliances are determined, and the associated home appliances are controlled in linkage based on the change of the running state of the corresponding smart home appliances. Exemplarily, through the linkage control of the associated home appliances, the control operation of the user can be further reduced, and more intelligent and automated smart home appliance control can be achieved. For example, the linkage control relationship between the smart curtains and the smart lights is pre-built. When the control device of the smart home appliance sends a control instruction to control the opening of the smart curtains, in response to the change of the running state of the smart curtains, according to the linkage control relationship between the smart curtains and the smart lights, the control device of the smart home appliance sends a control instruction to the smart lights, lowers the power of the smart lights to lower the brightness of the smart lights, or directly turns off the smart lights, so as to achieve the linkage control of the control device of the smart home appliance on various smart home appliances with linkage control relationships. It can be understood that when the curtains are opened, the indoor brightness will be relatively brighter due to the influence of the external ambient light. At this time, in order to avoid excessive brightness in the indoor brightness and save system power consumption, the brightness of the smart lights can be adaptively lowered or the energy-saving lamps can be directly turned off, so as to achieve the energy-saving effect of the system through linkage control, and further reduce user operations through linkage control, and optimize the user experience.

[0063] Embodiment 2:

[0064] Based on the above embodiments, Figure 4 This is a schematic diagram of the structure of a smart device control device for a smart home system provided in Example 2 of the present application. Figure 4 The smart device control apparatus of the smart home system provided in this embodiment specifically includes: a detection module 21, a determination module 22 and a control module 23.

[0065] The detection module 21 is used to detect a target in real time, and when a target is detected, obtain video image data of the target;

[0066] The determination module 22 is used to input the video image data into a preset behavior state detection model to determine the current behavior state of the target;

[0067] The control module 23 is used to adjust and control the corresponding smart home devices of the smart home system according to the current behavior state of the target in a preset mapping control manner.

[0068] In the above, by performing target detection in real time, when a target is detected, the target's video image data is obtained, the video image data is input into a preset behavior state detection model, the current target's behavior state is determined, and the corresponding smart home device of the smart home system is adjusted and controlled according to the preset mapping control method according to the current target's behavior state. By adopting the above technical means, the corresponding smart home device of the smart home system can be automatically and intelligently controlled according to the user's real-time behavior state, reducing user control operations, improving the flexibility and convenience of smart home device control, and optimizing the user's experience of the smart home system. Further, the determination module 22 includes:

[0069] an identification unit, configured to identify the posture action state of the target based on the video image data, and detect an associated target of the target;

[0070] The comparison unit is used to compare the posture action state and the associated target with a preset behavior state characteristic standard to determine the current behavior state of the target.

[0071] The control module 23 comprises:

[0072] A query unit, configured to query a preset mapping relationship table of behavior states and mapping control modes based on the current behavior state of the target, and determine a corresponding mapping control mode;

[0073] The output unit is used to generate control data based on the corresponding mapping control method, and output the control data to the corresponding smart home device of the smart home system.

[0074] The detection module 21 includes:

[0075] The response unit is used to control the start of a smart home device specified by the smart home system in response to the target detection result.

[0076] The control module 23 also includes:

[0077] The acquisition control unit is used to acquire status data corresponding to the indoor environment in real time through sensors, and adjust and control corresponding smart home devices of the smart home system based on the status data.

[0078] Specifically, it also includes:

[0079] The linkage control module is used to determine the associated home devices that have a preset linkage control relationship with the corresponding smart home devices, and to linkage-adjust and control the associated home devices based on the changes in the operating states of the corresponding smart home devices.

[0080] The smart device control apparatus of the smart home system provided in the second embodiment of the present application can be used to execute the smart device control method of the smart home system provided in the first embodiment above, and has corresponding functions and beneficial effects.

[0081] Embodiment three:

[0082] Embodiment 3 of the present application provides an electronic device, referring to Figure 5 The electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34 and an output device 35. The number of processors in the electronic device can be one or more, and the number of memories in the electronic device can be one or more. The processor, memory, communication module, input device and output device of the electronic device can be connected via a bus or other means.

[0083] The memory 32, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as the program instructions / modules corresponding to the intelligent device control method of the smart home system described in any embodiment of the present application (for example, the detection module, determination module and control module in the intelligent device control device of the smart home system). The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the device, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.

[0084] The communication module 33 is used for data transmission.

[0085] The processor 31 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory, that is, realizes the above-mentioned smart device control method of the smart home system.

[0086] The input device 34 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 35 may include a display device such as a display screen.

[0087] The electronic device provided above can be used to execute the smart device control method of the smart home system provided in the above embodiment 1, and has corresponding functions and beneficial effects.

[0088] Embodiment 4:

[0089] An embodiment of the present application also provides a storage medium containing computer executable instructions, which, when executed by a computer processor, are used to execute a method for controlling smart devices in a smart home system. The method for controlling smart devices in a smart home system includes: performing target detection in real time, and acquiring video image data of the target when the target is detected; inputting the video image data into a preset behavior state detection model to determine the current behavior state of the target; and adjusting and controlling the corresponding smart home device of the smart home system according to a preset mapping control method based on the current behavior state of the target.

[0090] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system, which is connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (for example, in different computer systems connected by a network). The storage medium may store program instructions (for example, embodied as a computer program) that can be executed by one or more processors.

[0091] Of course, the storage medium containing computer executable instructions provided in the embodiment of the present application is not limited to the smart device control method of the smart home system as described above, and can also execute related operations in the smart device control method of the smart home system provided in any embodiment of the present application.

[0092] The smart device control apparatus, storage medium and electronic device of the smart home system provided in the above embodiments can execute the smart device control method of the smart home system provided in any embodiment of the present application. For technical details not described in detail in the above embodiments, please refer to the smart device control method of the smart home system provided in any embodiment of the present application.

[0093] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.

Claims

1. A method for controlling smart devices in a smart home system, characterized in that: include: Performing target detection in real time, and acquiring video image data of the target when the target is detected; Inputting the video image data into a preset behavior state detection model to determine the current behavior state of the target, which includes identifying the posture action state of the target based on the video image data, detecting the associated target of the target, comparing the posture action state and the associated target with a preset behavior state feature standard, and determining the current behavior state of the target, wherein the identification of the posture action state of the target based on the video image data includes: locating a plurality of joints of the target, determining the action vector of the target based on the joint point connection line, and determining the posture action state of the target based on the action vector of the target; According to the current behavior state of the target, the corresponding smart home devices of the smart home system are adjusted and controlled in a preset mapping control method, including collecting status data corresponding to the indoor environment and / or a designated area around the house in real time through sensors, and adjusting and controlling the corresponding smart home devices of the smart home system based on the status data.

2. The intelligent device control method of the intelligent home system according to claim 1, characterized in that: According to the current behavior state of the target, the corresponding smart home device of the smart home system is adjusted and controlled in a preset mapping control manner, including: Based on the current behavior state of the target, a preset mapping relationship table between behavior states and mapping control modes is searched to determine a corresponding mapping control mode; Generate control data based on the corresponding mapping control method, and output the control data to the corresponding smart home device of the smart home system.

3. The intelligent device control method of the intelligent home system according to claim 1, characterized in that: Perform object detection in real time, including: Target detection is performed by collecting indoor video images through cameras or by infrared detection.

4. The intelligent device control method of the intelligent home system according to claim 1, characterized in that: When a target is detected, video image data of the target is obtained, further comprising: In response to the target detection result, the smart home device specified by the smart home system is controlled to be turned on.

5. The intelligent device control method of the intelligent home system according to any one of claims 1 to 4, characterized in that: After adjusting and controlling the corresponding smart home device of the smart home system according to the preset mapping control mode according to the current behavior state of the target, the method further includes: Determine an associated home appliance that has a preset linkage control relationship with the corresponding smart home appliance, and linkage-adjust and control the associated home appliance based on a change in the operating state of the corresponding smart home appliance.

6. A smart device control device for a smart home system, characterized in that: include: A detection module is used to perform target detection in real time and obtain video image data of the target when the target is detected; a determination module, for inputting the video image data into a preset behavior state detection model to determine the current behavior state of the target, including identifying the posture action state of the target based on the video image data, detecting the associated target of the target, comparing the posture action state and the associated target with a preset behavior state feature standard, and determining the current behavior state of the target, specifically for identifying the posture action state of the target based on the video image data, including: locating a plurality of joint points of the target, determining the action vector of the target based on the joint point connection line, and determining the posture action state of the target based on the action vector of the target; The control module is used to adjust and control the corresponding smart home devices of the smart home system according to the preset mapping control method based on the current behavior state of the target, and is specifically used to collect status data corresponding to the indoor environment and / or the designated area around the house in real time through sensors, and adjust and control the corresponding smart home devices of the smart home system based on the status data.

7. An electronic device, characterized in that: include: memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the smart device control method of the smart home system as described in any one of claims 1-5.

8. A storage medium containing computer executable instructions, characterized in that: When the computer executable instructions are executed by a computer processor, they are used to execute the smart device control method for the smart home system as described in any one of claims 1 to 5.